2014-11-23 17:06:45 +00:00
|
|
|
/*********
|
|
|
|
! Sidebar
|
|
|
|
**********/
|
2014-11-13 18:15:48 +00:00
|
|
|
|
2014-12-08 19:35:19 +00:00
|
|
|
@include exports("sidebar") {
|
|
|
|
.sidebar {
|
2015-08-06 23:10:35 +00:00
|
|
|
&, &.view, .view, GtkScrolledWindow {
|
2014-12-08 19:35:19 +00:00
|
|
|
background-color: $bg_color;
|
2015-08-16 13:39:04 +00:00
|
|
|
color: mix($fg_color, $bg_color, .9);
|
2014-12-08 19:35:19 +00:00
|
|
|
|
|
|
|
&.separator {
|
|
|
|
&, &:hover, &:focus {
|
|
|
|
border-width: 1px;
|
|
|
|
border-style: solid;
|
2015-08-06 23:10:35 +00:00
|
|
|
border-color: shade($bg_color, .9);
|
|
|
|
color: shade($bg_color, .9);
|
2014-12-08 19:35:19 +00:00
|
|
|
}
|
2014-11-14 16:13:25 +00:00
|
|
|
}
|
2014-11-13 18:15:48 +00:00
|
|
|
}
|
|
|
|
|
2014-12-08 19:35:19 +00:00
|
|
|
row, .view row {
|
2014-12-28 14:54:48 +00:00
|
|
|
&:selected {
|
|
|
|
&, &:hover, &:focus {
|
2015-08-06 23:10:35 +00:00
|
|
|
border: 0;
|
2014-12-28 14:54:48 +00:00
|
|
|
background-image: none;
|
|
|
|
background-color: $selected_bg_color;
|
|
|
|
color: $selected_fg_color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:prelight {
|
2015-08-06 23:10:35 +00:00
|
|
|
border: 0;
|
2014-12-28 14:54:48 +00:00
|
|
|
background-image: none;
|
|
|
|
background-color: shade($selected_bg_color, 1.05);
|
|
|
|
color: $selected_fg_color;
|
|
|
|
}
|
|
|
|
}
|
2014-11-13 18:15:48 +00:00
|
|
|
|
2014-12-08 19:35:19 +00:00
|
|
|
&:prelight {
|
2015-08-06 23:10:35 +00:00
|
|
|
border: 0;
|
2014-12-08 19:35:19 +00:00
|
|
|
background-image: none;
|
2015-05-31 16:20:35 +00:00
|
|
|
background-color: shade($bg_color, 1.05);
|
2014-12-08 19:35:19 +00:00
|
|
|
}
|
2014-11-13 18:15:48 +00:00
|
|
|
}
|
|
|
|
|
2014-12-08 19:35:19 +00:00
|
|
|
.frame { border-width: 0; }
|
2014-11-13 18:15:48 +00:00
|
|
|
|
2014-12-08 19:35:19 +00:00
|
|
|
GtkAssistant & {
|
2014-12-28 14:54:48 +00:00
|
|
|
padding: $spacing;
|
2014-12-08 19:35:19 +00:00
|
|
|
border-width: 0 1px 0 0;
|
|
|
|
border-style: solid;
|
|
|
|
border-right-color: border_normal($bg_color);
|
|
|
|
border-radius: 0;
|
|
|
|
background-color: $bg_color;
|
2015-08-16 13:39:04 +00:00
|
|
|
color: mix($fg_color, $bg_color, .9);
|
2014-11-13 18:15:48 +00:00
|
|
|
|
2014-12-08 19:35:19 +00:00
|
|
|
&:dir(ltr) { border-width: 0 1px 0 0; }
|
2015-08-06 23:10:35 +00:00
|
|
|
|
2014-12-08 19:35:19 +00:00
|
|
|
&:dir(rtl) { border-width: 0 0 0 1px; }
|
2014-11-23 17:06:45 +00:00
|
|
|
|
2015-05-31 16:20:35 +00:00
|
|
|
.label {
|
2014-12-08 19:35:19 +00:00
|
|
|
padding: $spacing ($spacing * 2);
|
2014-11-23 17:06:45 +00:00
|
|
|
|
2015-08-16 13:39:04 +00:00
|
|
|
&.highlight { background-color: mix($bg_color, $fg_color, .2); }
|
2014-12-08 19:35:19 +00:00
|
|
|
}
|
2014-11-23 17:06:45 +00:00
|
|
|
|
2014-12-08 19:35:19 +00:00
|
|
|
&.csd .sidebar { border-top-style: none; }
|
2014-11-23 17:06:45 +00:00
|
|
|
|
2014-12-08 19:35:19 +00:00
|
|
|
.highlight { font: bold; }
|
|
|
|
}
|
2014-11-13 18:15:48 +00:00
|
|
|
}
|
|
|
|
}
|
2014-12-06 11:57:06 +00:00
|
|
|
|
|
|
|
|
2015-05-31 16:20:35 +00:00
|
|
|
/******
|
|
|
|
! Paned
|
|
|
|
*******/
|
2014-12-06 11:57:06 +00:00
|
|
|
|
2015-05-31 16:20:35 +00:00
|
|
|
@include exports("paned") {
|
|
|
|
GtkPaned {
|
|
|
|
-GtkPaned-handle-size: 1;
|
|
|
|
-gtk-icon-source: none;
|
|
|
|
|
|
|
|
margin: 0 $spacing;
|
2014-12-06 11:57:06 +00:00
|
|
|
}
|
2015-05-31 16:20:35 +00:00
|
|
|
|
|
|
|
|
|
|
|
GtkPaned:dir(rtl) {
|
|
|
|
margin-right: 0;
|
|
|
|
margin-left: $spacing;
|
|
|
|
}
|
|
|
|
|
2015-08-06 23:10:35 +00:00
|
|
|
GtkPaned .pane-separator { background-color: shade($bg_color, .9); }
|
2015-05-31 16:20:35 +00:00
|
|
|
|
|
|
|
GtkPaned.wide {
|
|
|
|
-GtkPaned-handle-size: 4;
|
|
|
|
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
GtkPaned.wide .pane-separator {
|
|
|
|
background-color: transparent;
|
|
|
|
border-style: none solid;
|
2015-08-06 23:10:35 +00:00
|
|
|
border-color: shade($bg_color, .9);
|
2015-05-31 16:20:35 +00:00
|
|
|
border-width: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
GtkPaned.wide.vertical .pane-separator { border-style: solid none; }
|
2014-12-06 11:57:06 +00:00
|
|
|
}
|