|
15 | 15 | } |
16 | 16 |
|
17 | 17 |
|
18 | | -/*************** |
19 | | - ! Search bars * |
20 | | -****************/ |
| 18 | +/**************************** |
| 19 | + ! Search and Location bars * |
| 20 | +*****************************/ |
21 | 21 |
|
22 | 22 | @include exports("searchbar") { |
23 | 23 | searchbar, |
|
51 | 51 |
|
52 | 52 |
|
53 | 53 | /****************** |
54 | | -* selection mode * |
55 | | -******************/ |
| 54 | + ! Selection mode * |
| 55 | +*******************/ |
56 | 56 |
|
57 | 57 | @include exports("selectionmode") { |
58 | | - .selection-mode { |
59 | | - &.header-bar, &.toolbar { |
| 58 | + headerbar, |
| 59 | + .titlebar:not(headerbar) { |
| 60 | + &.selection-mode { |
60 | 61 | @include toolbar($selected_bg_color, $selected_fg_color); |
61 | 62 |
|
62 | 63 | button { |
|
65 | 66 | &.suggested-action { @extend .suggested-action; } |
66 | 67 | } |
67 | 68 |
|
68 | | - .selection-menu.button { |
69 | | - border: 0; |
70 | | - background-color: transparent; |
| 69 | + &:backdrop { |
| 70 | + background-color: $backdrop_selected_bg_color; |
71 | 71 | background-image: none; |
72 | | - color: shade($selected_bg_color, $contrast); |
| 72 | + } |
| 73 | + |
| 74 | + .selection-menu { |
| 75 | + &:backdrop, & { |
| 76 | + color: shade($selected_bg_color, $contrast); |
| 77 | + background-color: transparent; |
| 78 | + background-image: none; |
| 79 | + box-shadow: none; |
| 80 | + border: 0; |
73 | 81 |
|
74 | | - &:hover { color: shade($selected_bg_color, ($contrast - .1)); } |
| 82 | + &:hover { color: shade($selected_bg_color, ($contrast - .1)); } |
75 | 83 |
|
76 | | - &:active { color: shade($selected_bg_color, ($contrast - .05)); } |
| 84 | + &:active { color: shade($selected_bg_color, ($contrast - .05)); } |
| 85 | + |
| 86 | + .arrow { |
| 87 | + -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); |
| 88 | + color: transparentize($selected_fg_color, .5); |
| 89 | + -gtk-icon-shadow: none; |
| 90 | + } |
| 91 | + } |
77 | 92 | } |
78 | 93 |
|
79 | 94 | .dim-label { |
80 | | - &, .selection-menu.button & { color: shade($selected_bg_color, ($contrast - .1)); } |
| 95 | + &, .selection-menu & { color: shade($selected_bg_color, ($contrast - .1)); } |
81 | 96 | } |
82 | 97 | } |
83 | | - |
84 | | - &.toolbar { padding: $spacing; } |
85 | 98 | } |
86 | 99 | } |
0 commit comments