|
8 | 8 | .visibility-dropdown__trigger { |
9 | 9 | display: flex; |
10 | 10 | align-items: center; |
11 | | - gap: #{math.div(8, $base-font-size)}rem; |
12 | | - padding: #{math.div(8, $base-font-size)}rem #{math.div(12, $base-font-size)}rem; |
| 11 | + gap: #{math.div(3, $base-font-size)}rem; |
| 12 | + margin-right: 0.5rem; |
| 13 | + padding: 0.5rem 0.7rem; |
| 14 | + border-radius: #{math.div(15, $base-font-size)}rem; |
13 | 15 | cursor: pointer; |
14 | 16 | font-size: #{math.div(14, $base-font-size)}rem; |
15 | 17 | transition: all 0.2s ease; |
16 | | - min-width: #{math.div(120, $base-font-size)}rem; |
| 18 | +} |
17 | 19 |
|
| 20 | +.visibility-dropdown__trigger-toolbar { |
18 | 21 | @include themify() { |
19 | | - color: getThemifyVariable("primary-text-color"); |
| 22 | + color: getThemifyVariable("toolbar-button-color"); |
| 23 | + background-color: getThemifyVariable("toolbar-button-background-color"); |
| 24 | + |
| 25 | + & g, |
| 26 | + & path { |
| 27 | + fill: getThemifyVariable('toolbar-button-color'); |
| 28 | + } |
| 29 | + } |
| 30 | + |
| 31 | + &:hover { |
| 32 | + @include themify() { |
| 33 | + background-color: getThemifyVariable("button-background-hover-color") !important; |
| 34 | + color: getThemifyVariable("button-hover-color") !important; |
| 35 | + |
| 36 | + & g, |
| 37 | + & path { |
| 38 | + fill: getThemifyVariable('button-hover-color') !important; |
| 39 | + } |
| 40 | + } |
20 | 41 | } |
21 | 42 | } |
22 | 43 |
|
23 | 44 | .visibility-dropdown__menu { |
24 | 45 | position: absolute; |
25 | 46 | top: 100%; |
26 | | - left: 0; |
27 | 47 | right: 0; |
28 | 48 | z-index: 10000000; |
29 | 49 | margin-top: #{math.div(4, $base-font-size)}rem; |
30 | 50 | min-width: #{math.div(233, $base-font-size)}rem; |
31 | 51 | overflow: hidden; |
| 52 | + border-radius: #{math.div(6, $base-font-size)}rem; |
32 | 53 |
|
33 | 54 | @include themify() { |
34 | 55 | border: 1px solid getThemifyVariable("modal-border-color"); |
35 | | - box-shadow: 0 #{math.div(4, $base-font-size)}rem #{math.div(12, $base-font-size)}rem rgba(0, 0, 0, 0.15); |
| 56 | + color: getThemifyVariable("primary-text-color"); |
| 57 | + background-color: getThemifyVariable("modal-background-color"); |
36 | 58 | } |
37 | 59 | } |
38 | 60 |
|
|
54 | 76 |
|
55 | 77 | &:hover { |
56 | 78 | @include themify() { |
57 | | - background-color: getThemifyVariable("file-selected-color") !important; |
| 79 | + background-color: getThemifyVariable("button-background-hover-color") !important; |
| 80 | + color: getThemifyVariable("button-hover-color") !important; |
| 81 | + |
| 82 | + & g { |
| 83 | + fill: getThemifyVariable('button-hover-color') !important; |
| 84 | + } |
58 | 85 | } |
59 | 86 | } |
60 | 87 |
|
61 | 88 | &.selected { |
62 | 89 | @include themify() { |
63 | 90 | background-color: getThemifyVariable("table-row-stripe-color"); |
64 | 91 | } |
65 | | - |
66 | | - // &:hover { |
67 | | - // @include themify() { |
68 | | - // background-color: getThemifyVariable("table-row-stripe-color") !important; |
69 | | - // } |
70 | | - // } |
71 | 92 | } |
72 | 93 | } |
73 | 94 |
|
|
87 | 108 | .visibility-option__description { |
88 | 109 | font-size: #{math.div(12, $base-font-size)}rem; |
89 | 110 | margin-left: #{math.div(20, $base-font-size)}rem; |
90 | | - |
91 | | - @include themify() { |
92 | | - color: getThemifyVariable("inactive-text-color"); |
93 | | - } |
94 | 111 | } |
95 | 112 |
|
96 | 113 | .visibility-icon { |
97 | 114 | width: #{math.div(16, $base-font-size)}rem; |
98 | 115 | height: #{math.div(16, $base-font-size)}rem; |
99 | 116 | flex-shrink: 0; |
| 117 | + padding-bottom: 1px; |
100 | 118 | } |
101 | 119 |
|
102 | 120 | .dropdown-arrow { |
|
0 commit comments