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

190 lines
4.7 KiB
SCSS

/********
! 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;
}
/* 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);
}
}
/* Ridiculously specific selector until Nemo is updated with new style classes */
grid > paned > box > paned > box > notebook {
background-color: $base_color;
}
.nemo-window {
toolbar {
border-width: 0 0 1px;
border-style: solid;
border-color: border_normal($toolbar_bg_color);
}
/* Stupid selectors to target statusbar because nemo lacks 3.20 style class */
grid {
> widget:last-child {
button {
min-height: 15px;
min-width: 22px;
margin: 5px;
}
button:first-child {
margin-left: 20px;
}
button:first-child + button {
margin-right: 15px;
}
button:first-child + button + separator + button {
margin-left: 15px;
}
> box > scale {
margin-right: 12px;
}
}
} // END statusbar
menubar menuitem {
margin: 0px;
}
.sidebar {
.frame {
border: 0;
}
image {
padding-left: $spacing;
padding-right: $spacing;
}
.places-sidebar {
&, & .view {
background-color: mix($bg_color, $base_color, .5);
}
}
}
statusbar {
border: 0;
}
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;
}
}
toolbar {
button {
@include button($bg_color, $fg_color);
}
button.linked, .linked .button {
@include linked_button($bg_color);
}
combobox button {
padding: $spacing - 1px;
&.text-button {
padding: $spacing;
}
&.image-button {
padding: ($spacing + 1px) ($spacing - 1px) ($spacing + 1px) $spacing;
}
}
separator, separator:disabled {
color: shade($bg_color, ($contrast + .1));
border-color: currentColor;
-GtkWidget-window-dragging: true;
}
&.primary-toolbar button {
padding: 5px 6px;
}
}
}
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);
}
}
}
}
}