numix-gtk-theme/gtk-3.0/scss/_grid.scss

47 lines
893 B
SCSS
Raw Normal View History

2014-11-13 19:59:02 +00:00
@import "functions";
2014-11-23 17:06:45 +00:00
@import "global";
/******************
! Grid and flowbox
*******************/
2014-11-13 19:59:02 +00:00
.list {
background-color: shade($bg_color, 0.97);
color: $fg_color;
&-row {
border: none;
border-radius: 0;
padding: $spacing;
2014-11-13 19:59:02 +00:00
background-image: none;
background-color: transparent;
&:hover {
background-image: none;
background-color: shade($bg_color, 1.02);
}
&:selected {
&, &:hover, &:focus {
background-image: none;
background-color: $selected_bg_color;
color: $selected_fg_color;
}
}
}
}
2014-11-23 17:06:45 +00:00
.grid-child {
&, GtkFlowBox & {
padding: $spacing;
border-radius: $roundness;
&:selected {
@extend %selected_items;
outline-offset: -2px;
}
}
}