|
7 | 7 | .button:hover { -gtk-#{$image-effect}: none; } |
8 | 8 |
|
9 | 9 | label, #{$search} { |
10 | | - color: darken(white, 0.1); |
| 10 | + color: darken($fg_color, 0.1); |
11 | 11 |
|
12 | 12 | &:disabled { |
13 | | - color: transparentize(white, 0.4); |
| 13 | + color: transparentize($fg_color, 0.4); |
14 | 14 | } |
15 | 15 | } |
16 | 16 |
|
|
48 | 48 | > row { |
49 | 49 | padding: 0; |
50 | 50 | margin: 0; |
| 51 | + |
| 52 | + &:focus { |
| 53 | + image, label { |
| 54 | + color: $selected_fg_color; |
| 55 | + } |
| 56 | + background-color: $selected_bg_color; |
| 57 | + } |
| 58 | + |
51 | 59 | } |
52 | 60 |
|
53 | 61 | button.flat { |
|
87 | 95 | .image-button { |
88 | 96 | @extend %reset_style; |
89 | 97 |
|
| 98 | + color: $fg_color; |
90 | 99 | transition-property: background-color; |
91 | 100 | transition: 170ms ease-out; |
92 | 101 | padding: 4px; |
|
96 | 105 |
|
97 | 106 | &:hover { background-color: transparentize(white, 0.9); } |
98 | 107 | &:active { background-color: transparentize(white, 0.8); } |
| 108 | + &:focus { |
| 109 | + image, label { |
| 110 | + color: $selected_fg_color; |
| 111 | + } |
| 112 | + background-color: $selected_bg_color; |
| 113 | + } |
99 | 114 | } |
100 | 115 |
|
101 | 116 | .user-icon-button { |
|
108 | 123 |
|
109 | 124 | &:hover { background-color: transparentize(white, 0.9); } |
110 | 125 | &:active { background-color: transparentize(white, 0.8); } |
| 126 | + &:focus { |
| 127 | + image, label { |
| 128 | + color: $selected_fg_color; |
| 129 | + } |
| 130 | + background-color: $selected_bg_color; |
| 131 | + } |
111 | 132 | } |
112 | 133 | } |
113 | 134 |
|
|
119 | 140 | margin-bottom: 6px; |
120 | 141 | padding: 8px; |
121 | 142 |
|
| 143 | + > row:focus { |
| 144 | + image, label { |
| 145 | + color: $selected_fg_color; |
| 146 | + } |
| 147 | + background-color: $selected_bg_color; |
| 148 | + } |
| 149 | + |
122 | 150 | button { |
123 | 151 | @extend %reset_style; |
124 | 152 |
|
| 153 | + color: $fg_color; |
125 | 154 | transition-property: background-color, color; |
126 | 155 | transition: 170ms ease-out; |
127 | 156 | padding: 4px 8px 4px 2px; |
|
160 | 189 | transition: 170ms ease-out; |
161 | 190 |
|
162 | 191 | &:hover { background-color: transparentize(white, 0.9); } |
163 | | - &:active, &:checked { |
| 192 | + &:active, &:checked, &:focus { |
164 | 193 | label { |
165 | 194 | color: $selected_fg_color; |
166 | 195 | } |
|
0 commit comments