mirror of
https://github.com/luneko/SweetTokyoNight.git
synced 2025-12-13 15:29:53 +01:00
Initial commit
This commit is contained in:
47
gtk-3.0/widgets/_lists.scss
Normal file
47
gtk-3.0/widgets/_lists.scss
Normal file
@@ -0,0 +1,47 @@
|
||||
/*********
|
||||
* Lists *
|
||||
*********/
|
||||
list {
|
||||
color: $text_color;
|
||||
background-color: $base_color;
|
||||
border-color: $borders_color;
|
||||
|
||||
&:backdrop {
|
||||
background-color: $backdrop_base_color;
|
||||
border-color: $backdrop_borders_color;
|
||||
}
|
||||
}
|
||||
|
||||
row {
|
||||
padding: 5px 11px;
|
||||
transition: all 150ms $ease-out-quad;
|
||||
|
||||
label {
|
||||
padding-left: 8px;
|
||||
}
|
||||
|
||||
&:hover { transition: none; }
|
||||
|
||||
&:backdrop { transition: $backdrop_transition; }
|
||||
|
||||
&.activatable {
|
||||
&.has-open-popup, // this is for indicathing which row generated a popover see https://bugzilla.gnome.org/show_bug.cgi?id=754411
|
||||
|
||||
&:hover { background-color: if(variant == light, transparentize($fg_color, 0.9), transparentize($fg_color, 0.95)); }
|
||||
|
||||
&:active { box-shadow: inset 0 2px 2px -2px transparentize(black, 0.8); }
|
||||
|
||||
&:backdrop:hover { background-color: transparent; }
|
||||
|
||||
&:selected {
|
||||
&:active { box-shadow: inset 0 2px 3px -1px transparentize(black, 0.5); }
|
||||
|
||||
&.has-open-popup,
|
||||
&:hover { background-color: transparentize($selected_bg_color, 0.5); }
|
||||
|
||||
&:backdrop { background-color: $backdrop_selected_bg_color; }
|
||||
}
|
||||
}
|
||||
|
||||
&:selected { @extend %selected_items; }
|
||||
}
|
||||
Reference in New Issue
Block a user