numix-gtk-theme/gtk-3.20/scss/apps/_nemo.scss

161 lines
4.0 KiB
SCSS
Raw Normal View History

2016-04-09 04:30:09 +00:00
/********
! Nemo *
*********/
@include exports("nemo") {
.nemo-desktop, .nemo-desktop * {
color: $white;
text-shadow: 1px 1px $black;
border: none;
&:active {
color: $fg_color;
}
&:selected {
color: $selected_fg_color;
}
&:active, &:hover, &:selected {
text-shadow: none;
}
}
.nemo-pathbar {
@include button($toolbar_bg_color, $toolbar_fg_color);
-NemoPathbarButton-border-radius: $roundness;
}
2016-04-12 06:39:53 +00:00
/* This block needs to be moved back into the scope of nemo-window
* as soon as nemo is updated to include the nemo-window style class.
*/
.sidebar .view {
-NemoPlacesTreeView-disk-full-bg-color: shade($bg_color, .8);
-NemoPlacesTreeView-disk-full-fg-color: $selected_bg_color;
-NemoPlacesTreeView-disk-full-bar-width: 2px;
-NemoPlacesTreeView-disk-full-bar-radius: 1px;
-NemoPlacesTreeView-disk-full-bottom-padding: 0px;
-NemoPlacesTreeView-disk-full-max-length: 75px;
&:selected {
-NemoPlacesTreeView-disk-full-bg-color: $selected_fg_color;
-NemoPlacesTreeView-disk-full-fg-color: shade($selected_bg_color, 1.2);
}
}
2016-04-12 15:09:50 +00:00
/* Ridiculously specific selector until Nemo is updated with new style classes */
grid > paned > box > paned > box > notebook {
background-color: $base_color;
}
2016-04-09 04:30:09 +00:00
.nemo-window {
toolbar {
border-width: 0 0 1px;
border-style: solid;
border-color: border_normal($toolbar_bg_color);
}
> grid widget:last-child {
border-top-style: solid;
border-top-color: border_normal($toolbar_bg_color);
border-top-width: 1px;
}
menubar menuitem {
margin: 0px;
}
.sidebar frame {
border: 0;
}
statusbar {
border: none;
}
.sidebar image {
padding-left: $spacing;
padding-right: $spacing;
}
paned {
border-width: 0 1px 0 0;
border-style: solid;
&, &:hover {
border-color: shade($bg_color, ($contrast + .1));
background-color: $bg_color;
}
}
notebook {
border-width: 0;
tabs {
border: 0;
}
}
2016-04-09 04:30:09 +00:00
toolbar {
2016-04-12 06:40:59 +00:00
button {
@include button($bg_color, $fg_color);
}
2016-04-09 04:30:09 +00:00
2016-04-12 06:40:59 +00:00
button.linked, .linked .button {
@include linked_button($bg_color);
}
2016-04-09 04:30:09 +00:00
2016-04-12 06:40:59 +00:00
combobox button {
padding: $spacing - 1px;
2016-04-09 04:30:09 +00:00
2016-04-12 06:40:59 +00:00
&.text-button {
padding: $spacing;
}
2016-04-09 04:30:09 +00:00
2016-04-12 06:40:59 +00:00
&.image-button {
padding: ($spacing + 1px) ($spacing - 1px) ($spacing + 1px) $spacing;
}
2016-04-09 04:30:09 +00:00
}
2016-04-12 06:40:59 +00:00
separator, separator:disabled {
color: shade($bg_color, ($contrast + .1));
border-color: currentColor;
-GtkWidget-window-dragging: true;
}
2016-04-09 04:30:09 +00:00
2016-04-12 06:40:59 +00:00
&.primary-toolbar button {
padding: 5px 6px;
}
2016-04-09 04:30:09 +00:00
}
}
NemoQueryEditor {
toolbar {
padding-top: $spacing - 3px;
padding-bottom: $spacing - 4px;
border-width: 1px 0 0;
border-style: solid;
border-color: $toolbar_bg_color;
background-color: shade($toolbar_bg_color, .9);
&:nth-child(2) {
border-color: border_normal($toolbar_bg_color);
}
&.search-bar {
border-top-width: 0;
border-bottom-width: 0;
}
&, &.search-bar {
&:last-child, &:only-child {
border-bottom-width: 1px;
border-bottom-color: border_normal($toolbar_bg_color);
}
}
}
}
}