|
7 | 7 |
|
8 | 8 |
|
9 | 9 | .ba-hidden { |
10 | | - display: none; |
| 10 | + display: none !important; |
11 | 11 | } |
12 | | -.ba-dialog-back { |
13 | | - display: inline-block; |
14 | | - margin-right: 1.5rem !important; |
| 12 | +.ba-hidden-overflow { |
| 13 | + overflow: hidden; |
15 | 14 | } |
16 | | -html[dir="rtl"] .ba-dialog-back { |
17 | | - margin-left: 1.5rem !important; |
18 | | - margin-right: 0; |
19 | | - transform: rotate(180deg); |
| 15 | +.ba-preview-holder { |
| 16 | + height: 50%; |
| 17 | +} |
| 18 | +.ba-preview-file { |
| 19 | + max-width: 100%; |
| 20 | + height: auto; |
| 21 | +} |
| 22 | +.ba-attachment { |
| 23 | + padding-top: 8px !important; |
| 24 | + padding-bottom: 8px !important; |
| 25 | + border-bottom: 1px solid #e5e5e5; |
| 26 | +} |
| 27 | +.ba-attachment:first-child { |
| 28 | + padding-top: 0; |
| 29 | +} |
| 30 | +.ba-attachment:last-child { |
| 31 | + padding-bottom: 0; |
| 32 | + border-bottom: 0; |
20 | 33 | } |
21 | 34 | .ba-link, .ba-link:hover { |
22 | 35 | text-decoration: none; |
23 | 36 | } |
24 | | -.ba-filename { |
| 37 | +.ba-link { |
| 38 | + max-width: 100%; |
| 39 | + white-space: nowrap; |
| 40 | + overflow: hidden; |
| 41 | + text-overflow: ellipsis; |
| 42 | + vertical-align: middle; |
25 | 43 | color: #000; |
26 | 44 | font-size: .9rem; |
27 | 45 | font-weight: 300; |
28 | 46 | line-height: 1.2; |
29 | | - display: -moz-box; |
30 | | - display: -webkit-box; |
31 | | - overflow: hidden; |
32 | | - text-overflow: ellipsis; |
33 | | - -o-box-orient: vertical; |
34 | | - -o-line-clamp: 1; |
35 | | - -moz-box-orient: vertical; |
36 | | - -moz-line-clamp: 1; |
37 | | - -webkit-box-orient: vertical; |
38 | | - -webkit-line-clamp: 1; |
39 | | -} |
40 | | -[data-theme="dark"] .ba-filename { |
41 | | - color: #fff; |
42 | 47 | } |
43 | | -.ba-file-link { |
44 | | - color: #bababa; |
45 | | - font-size: .8rem; |
46 | | -} |
47 | | -[data-theme="dark"] .ba-file-link { |
48 | | - color: #e9e9e9; |
| 48 | +[data-theme="dark"] .ba-link { |
| 49 | + color: #fff; |
49 | 50 | } |
50 | 51 | .ba-meta { |
| 52 | + padding: 0; |
51 | 53 | color: #000; |
52 | 54 | font-size: .7rem; |
53 | 55 | font-weight: 300; |
54 | | - line-height: 1.2; |
| 56 | + text-align: center; |
55 | 57 | } |
56 | 58 | [data-theme="dark"] .ba-meta { |
57 | 59 | color: #fff; |
58 | 60 | } |
59 | 61 | .ba-file { |
60 | | - width: 30px; |
61 | | - height: 30px; |
62 | | - margin-left: 5px; |
| 62 | + width: 25px !important; |
| 63 | + height: 25px !important; |
| 64 | + margin-left: 0; |
| 65 | + margin-right: 10px; |
63 | 66 | background-position: center center; |
64 | 67 | background-repeat: no-repeat; |
65 | 68 | background-size: contain; |
66 | 69 | background-attachment: fixed; |
67 | 70 | } |
68 | 71 | html[dir="rtl"] .ba-file { |
69 | | - margin-left: 0; |
70 | | - margin-right: 5px; |
| 72 | + margin-left: 10px; |
| 73 | + margin-right: 0; |
71 | 74 | } |
72 | 75 | .ba-image { |
73 | 76 | background-image: url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="0.75em" height="1em" preserveAspectRatio="xMidYMid meet" viewBox="0 0 384 512"%3E%3Cpath fill="%2324c824" d="M64 0C28.7 0 0 28.7 0 64v384c0 35.3 28.7 64 64 64h256c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zm192 0v128h128L256 0zM128 256c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32zm88 32c5.3 0 10.2 2.6 13.2 6.9l88 128c3.4 4.9 3.7 11.3 1 16.5S310 448 304 448H80c-5.8 0-11.1-3.1-13.9-8.1s-2.8-11.2.2-16.1l48-80c2.9-4.8 8.1-7.8 13.7-7.8s10.8 2.9 13.7 7.8l12.8 21.4l48.3-70.2c3-4.3 7.9-6.9 13.2-6.9z"%2F%3E%3C%2Fsvg%3E'); |
|
0 commit comments