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

74 lines
1.7 KiB
SCSS
Raw Normal View History

2014-11-13 18:15:48 +00:00
@import "functions";
2014-11-23 17:06:45 +00:00
@import "global";
/*********
! Sidebar
**********/
2014-11-13 18:15:48 +00:00
.sidebar {
&, &.view, & .view, & GtkScrolledWindow {
background-color: $bg_color;
color: mix($fg_color, $bg_color, 0.1);
&.separator {
2014-11-14 16:13:25 +00:00
&, &:hover, &:focus {
border-width: 1px;
border-style: solid;
border-color: shade($bg_color, 0.9);
color: shade($bg_color, 0.9);
}
2014-11-13 18:15:48 +00:00
}
}
row, .view row {
&:selected {
&, &:hover, &:focus {
2014-11-14 16:13:25 +00:00
border: none;
2014-11-13 18:15:48 +00:00
background-image: none;
2014-11-14 16:13:25 +00:00
background-color: $selected_bg_color;
2014-11-13 18:15:48 +00:00
color: $selected_fg_color;
}
&:prelight {
2014-11-14 16:13:25 +00:00
border: none;
2014-11-13 18:15:48 +00:00
background-image: none;
2014-11-14 16:13:25 +00:00
background-color: shade($selected_bg_color, 1.05);
2014-11-13 18:15:48 +00:00
color: $selected_fg_color;
}
}
&:prelight {
2014-11-14 16:13:25 +00:00
border: none;
2014-11-13 18:15:48 +00:00
background-image: none;
2014-11-14 16:13:25 +00:00
background-color: shade($bg_color, 0.95);
2014-11-13 18:15:48 +00:00
color: $fg_color;
}
}
.frame { border-width: 0; }
GtkAssistant & {
padding: 4px;
border-width: 0 1px 0 0;
border-style: solid;
border-right-color: border_normal($bg_color);
border-radius: 0;
background-color: $bg_color;
color: mix($fg_color, $bg_color, 0.1);
2014-11-23 17:06:45 +00:00
&:dir(ltr) { border-width: 0 1px 0 0; }
&:dir(rtl) { border-width: 0 0 0 1px; }
GtkLabel {
padding: $spacing ($spacing * 2);
&.highlight { background-color: mix($bg_color, $fg_color, 0.80); }
}
&.csd .sidebar { border-top-style: none; }
2014-11-13 18:15:48 +00:00
.highlight { font: bold; }
}
}