| 1 |
@charset "UTF-8"; |
| 2 |
|
| 3 |
/********* |
| 4 |
* Links * |
| 5 |
*********/ |
| 6 |
%link, |
| 7 |
*:link { |
| 8 |
color: gtk("@link_color"); |
| 9 |
&:visited { |
| 10 |
color: gtk("@link_visited_color"); |
| 11 |
*:selected & { |
| 12 |
color: gtkmix( |
| 13 |
gtk("@theme_selected_fg_color"), |
| 14 |
gtk("@theme_selected_bg_color"), |
| 15 |
0.6 |
| 16 |
); |
| 17 |
} |
| 18 |
} |
| 19 |
&:hover { |
| 20 |
color: gtkshade("@link_color", 1.1); |
| 21 |
*:selected & { |
| 22 |
color: gtkmix( |
| 23 |
gtk("@theme_selected_fg_color"), |
| 24 |
gtk("@theme_selected_bg_color"), |
| 25 |
0.9 |
| 26 |
); |
| 27 |
} |
| 28 |
} |
| 29 |
&:active { |
| 30 |
color: gtk("@link_color"); |
| 31 |
*:selected & { |
| 32 |
color: gtkmix( |
| 33 |
gtk("@theme_selected_fg_color"), |
| 34 |
gtk("@theme_selected_bg_color"), |
| 35 |
0.8 |
| 36 |
); |
| 37 |
} |
| 38 |
} |
| 39 |
&:backdrop, |
| 40 |
&:backdrop:hover, |
| 41 |
&:backdrop:hover:selected { |
| 42 |
color: gtk("@theme_unfocused_selected_bg_color"); |
| 43 |
} |
| 44 |
@at-root %link_selected, |
| 45 |
&:selected, |
| 46 |
*:selected & { |
| 47 |
color: gtkmix( |
| 48 |
gtk("@theme_selected_fg_color"), |
| 49 |
gtk("@theme_selected_bg_color"), |
| 50 |
0.8 |
| 51 |
); |
| 52 |
} |
| 53 |
} |
| 54 |
|
| 55 |
button:link, |
| 56 |
button:visited { |
| 57 |
@extend %undecorated_button; |
| 58 |
|
| 59 |
@extend *, :link; |
| 60 |
|
| 61 |
text-shadow: none; |
| 62 |
|
| 63 |
&:hover, |
| 64 |
&:active, |
| 65 |
&:checked { |
| 66 |
@extend %undecorated_button; |
| 67 |
|
| 68 |
text-shadow: none; |
| 69 |
} |
| 70 |
|
| 71 |
> label { |
| 72 |
@extend %link; |
| 73 |
|
| 74 |
text-decoration-line: underline; |
| 75 |
} |
| 76 |
} |