|
1 | | -.translation-dropdown-container { |
2 | | - height: 3rem; |
3 | | - display: flex; |
4 | | - justify-content: space-between; |
5 | | - align-items: center; |
| 1 | +.translation.menu { |
| 2 | + left: -6px !important; |
| 3 | + width: 9.6rem !important; |
6 | 4 | } |
7 | 5 |
|
8 | | -.translation-dropdown-wrapper { |
9 | | - display: flex; |
10 | | - justify-content: space-between; |
11 | | - align-items: center; |
12 | | - flex: 1; |
| 6 | +.language.icon { |
| 7 | + font-size: 1.8em; |
| 8 | + color: #808080; |
13 | 9 | } |
14 | 10 |
|
15 | | -.translation-dropdown { |
16 | | - padding: 2px; |
17 | | - display: flex; |
18 | | - justify-content: space-between; |
19 | | - flex-direction: row; |
20 | | - align-items: center; |
21 | | - width: 100%; |
22 | | - background-color: #d3d3d3; |
23 | | -} |
24 | 11 |
|
25 | | -.translation-dropdown-component { |
| 12 | +.block-side-panel { |
26 | 13 | display: inline-block; |
27 | | -} |
| 14 | + margin-left: auto; |
28 | 15 |
|
29 | | -.translation-dropdown .ui.dropdown { |
30 | | - background-color: #f9f9f9; |
31 | | - border: 1px solid #ccc; |
32 | | - border-radius: 4px; |
33 | | - padding: 8px; |
34 | | -} |
| 16 | + .translation-dropdown-container { |
| 17 | + display: flex; |
| 18 | + justify-content: space-between; |
| 19 | + align-items: center; |
| 20 | + width: 95px !important; |
| 21 | + height: 33px !important; |
| 22 | + margin-left: 10px !important; |
35 | 23 |
|
36 | | -.translation-dropdown .ui.dropdown .menu { |
37 | | - background-color: #f9f9f9; |
38 | | -} |
| 24 | + .menu.transition.visible { |
| 25 | + font-size: small !important; |
| 26 | + width: 115px !important; |
| 27 | + } |
39 | 28 |
|
40 | | -.translation-dropdown .ui.dropdown .item { |
41 | | - color: #333; |
42 | | -} |
| 29 | + .text { |
| 30 | + font-size: small !important; |
| 31 | + color: #808080 !important; |
| 32 | + } |
| 33 | + } |
43 | 34 |
|
44 | | -.translation-dropdown .ui.dropdown i.dropdown.icon { |
45 | | - color: #333; |
46 | | -} |
| 35 | + .translation-dropdown-button { |
| 36 | + border-radius: .28571429rem; |
| 37 | + border-top-left-radius: .285714rem; |
| 38 | + border-top-right-radius: .285714rem; |
| 39 | + border-bottom-right-radius: .285714rem; |
| 40 | + border-bottom-left-radius: .285714rem; |
| 41 | + font-family: sans-serif; |
| 42 | + font-size: 100%; |
| 43 | + line-height: 1.15; |
| 44 | + text-rendering: auto; |
| 45 | + color: buttontext; |
| 46 | + letter-spacing: normal; |
| 47 | + word-spacing: normal; |
| 48 | + text-transform: none; |
| 49 | + text-shadow: none; |
| 50 | + display: flex; |
| 51 | + justify-content: space-evenly; |
| 52 | + flex-direction: column; |
| 53 | + text-align: center; |
| 54 | + align-items: flex-start; |
| 55 | + cursor: default; |
| 56 | + box-sizing: border-box; |
| 57 | + background-color: buttonface; |
| 58 | + padding: 1px 6px; |
| 59 | + border-image: initial; |
| 60 | + } |
47 | 61 |
|
48 | | -.translation-dropdown-button { |
49 | | - width: 9.6rem; |
50 | | - border-radius: .28571429rem; |
51 | | - border-top-left-radius: .285714rem; |
52 | | - border-top-right-radius: .285714rem; |
53 | | - border-bottom-right-radius: .285714rem; |
54 | | - border-bottom-left-radius: .285714rem; |
55 | | - font-family: sans-serif; |
56 | | - font-size: 100%; |
57 | | - line-height: 1.15; |
58 | | - text-rendering: auto; |
59 | | - color: buttontext; |
60 | | - letter-spacing: normal; |
61 | | - word-spacing: normal; |
62 | | - text-transform: none; |
63 | | - text-shadow: none; |
64 | | - display: flex; |
65 | | - justify-content: space-evenly; |
66 | | - flex-direction: column; |
67 | | - text-align: center; |
68 | | - align-items: flex-start; |
69 | | - cursor: default; |
70 | | - box-sizing: border-box; |
71 | | - background-color: buttonface; |
72 | | - padding: 1px 6px; |
73 | | - border-image: initial; |
74 | | -} |
| 62 | + .dropdown-toggle { |
| 63 | + width: 100%; |
75 | 64 |
|
76 | | -.translation.menu { |
77 | | - left: -6px !important; |
78 | | - margin-top: 10px !important; |
79 | | - width: 9.6rem !important; |
| 65 | + .translation-dropdown-wrapper { |
| 66 | + display: flex; |
| 67 | + justify-content: space-between; |
| 68 | + align-items: center; |
| 69 | + flex: 1; |
| 70 | + |
| 71 | + .translation-dropdown-component { |
| 72 | + display: inline-block; |
| 73 | + |
| 74 | + .translation-dropdown-icon { |
| 75 | + margin-left: 0 !important; |
| 76 | + text-align: right; |
| 77 | + color: #808080; |
| 78 | + } |
| 79 | + } |
| 80 | + |
| 81 | + .translation-length { |
| 82 | + font-size: .8em; |
| 83 | + margin-left: 5px; |
| 84 | + background-color: #808080; |
| 85 | + border-radius: 100%; |
| 86 | + color: #fff; |
| 87 | + padding: 2px 5px; |
| 88 | + margin-top: 1px; |
| 89 | + } |
| 90 | + } |
| 91 | + |
| 92 | + .translate-hidden { |
| 93 | + display: none !important; |
| 94 | + } |
| 95 | + } |
| 96 | + |
| 97 | + .translation-dropdown-container .ui.dropdown .menu > .custom-item { |
| 98 | + padding: 16px 4px !important; |
| 99 | + } |
80 | 100 | } |
| 101 | + |
0 commit comments