|
1 | 1 | @import "entry"; |
2 | 2 |
|
3 | 3 |
|
| 4 | + |
| 5 | +@mixin menu_calendar($bg, $fg) { |
| 6 | + color: $fg; |
| 7 | + |
| 8 | + &.header { |
| 9 | + border-bottom: 1px solid shade($bg, ($contrast + .1)); |
| 10 | + border-radius: 0; |
| 11 | + |
| 12 | + &:backdrop { border-color: shade($bg, ($contrast + .1)); } |
| 13 | + } |
| 14 | + |
| 15 | + &.button { |
| 16 | + @extend %undecorated_button; |
| 17 | + color: alpha($fg, .55); |
| 18 | + |
| 19 | + &:hover { |
| 20 | + @extend %undecorated_button; |
| 21 | + color: $fg; |
| 22 | + } |
| 23 | + } |
| 24 | + |
| 25 | + &:indeterminate, |
| 26 | + &:indeterminate:backdrop { color: mix($fg, $bg, .5); } |
| 27 | +} |
| 28 | + |
| 29 | + |
4 | 30 | /********* |
5 | 31 | ! Menubar |
6 | 32 | **********/ |
|
115 | 141 | } |
116 | 142 | } |
117 | 143 |
|
118 | | - calendar { |
119 | | - color: $menu_fg_color; |
120 | | - |
121 | | - &.header { |
122 | | - border-bottom: 1px solid shade($menu_bg_color, ($contrast + .1)); |
123 | | - border-radius: 0; |
124 | | - |
125 | | - &:backdrop { border-color: shade($menu_bg_color, ($contrast + .1)); } |
126 | | - } |
127 | | - |
128 | | - &.button { |
129 | | - @extend %undecorated_button; |
130 | | - |
131 | | - color: alpha($menu_fg_color, .55); |
132 | | - |
133 | | - &:hover { |
134 | | - @extend %undecorated_button; |
135 | | - |
136 | | - color: $menu_fg_color; |
137 | | - } |
138 | | - } |
139 | | - |
140 | | - &:indeterminate, |
141 | | - &:indeterminate:backdrop { color: mix($menu_fg_color, $menu_bg_color, .5); } |
142 | | - } |
| 144 | + calendar { @include menu_calendar($menu_bg_color, $menu_fg_color); } |
143 | 145 |
|
144 | 146 | // avoids labels color being overridden, see |
145 | 147 | // https://bugzilla.gnome.org/show_bug.cgi?id=767058 |
|
276 | 278 |
|
277 | 279 | button { @include button($menu_bg_color, $menu_fg_color); } |
278 | 280 |
|
| 281 | + calendar { @include menu_calendar($menu_bg_color, $menu_fg_color); } |
| 282 | + |
279 | 283 | > list, > .view, > toolbar { |
280 | 284 | border-style: none; |
281 | 285 | background-color: transparent; |
|
0 commit comments