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

168 lines
4.9 KiB
SCSS
Raw Normal View History

2016-04-09 04:30:09 +00:00
/********
! Nemo *
*********/
@include exports("nemo") {
.nemo-desktop, .nemo-desktop * {
&, &:backdrop {
color: $white;
text-shadow: 1px 1px $black;
2016-04-09 04:30:09 +00:00
&:active { color: $fg_color; }
2016-04-09 04:30:09 +00:00
&:selected { color: $selected_fg_color; }
2016-04-09 04:30:09 +00:00
&:active, &:hover, &:selected { text-shadow: none; }
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);
button {
@include button($bg_color, $fg_color);
}
2016-05-15 12:19:06 +00:00
.linked > button { @include linked_button($bg_color); }
separator, separator:disabled {
color: shade($bg_color, ($contrast + .1));
border-color: currentColor;
-GtkWidget-window-dragging: true;
}
&.primary-toolbar button {
min-width: 28px;
padding: 3px;
}
/* Path Bar */
toolitem stack {
margin-left: 15px;
widget button {
@include linked_button($toolbar_bg_color);
-NemoPathbarButton-border-radius: $roundness;
}
}
} // END toolbar
/* Status Bar */
2016-04-13 07:04:57 +00:00
grid {
> widget:last-child {
button {
min-height: 16px;
min-width: 16px;
2016-08-31 11:42:27 +00:00
padding: ($spacing - 1px);
2016-04-13 07:04:57 +00:00
}
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;
}
statusbar {
border: 0;
}
2016-04-13 07:04:57 +00:00
}
} // END Status Bar
2016-04-09 04:30:09 +00:00
2016-04-13 07:04:57 +00:00
.sidebar {
.frame {
border: 0;
}
2016-04-09 04:30:09 +00:00
2016-04-13 07:04:57 +00:00
image {
padding-left: $spacing;
padding-right: $spacing;
}
.nemo-places-sidebar {
2016-04-13 07:04:57 +00:00
&, & .view {
background-color: mix($bg_color, $base_color, .5);
}
.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);
&:focus, & {
@extend %selected_items;
}
2016-04-13 08:19:11 +00:00
}
}
2016-04-13 07:04:57 +00:00
}
/* Nemo Query Editor (File Search Bar) */
+ separator + box .primary-toolbar {
@include linear-gradient(shade($bg_color, .98)); // Searchbar color (_actionbar.scss)
padding-top: $spacing - 3px;
padding-bottom: $spacing - 4px;
border-bottom: 1px solid $borders_color;
button:nth-child(2) {
border-right: none;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
2016-04-12 06:40:59 +00:00
}
2016-04-09 04:30:09 +00:00
button:nth-child(3) {
margin-left: -6px;
border-left: none;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
button.flat {
$bg: $bg_color;
$fg: $fg_color;
$border_strength: if(lightness($bg) > 50, 0, .1);
$shadow_strength: if(lightness($bg) > 50, 0, .1);
$button_bg: if(hue($bg) == 0deg, shade($bg, 1.2), $bg);
@extend %button;
@include linear-gradient($button_bg);
@include border(rgba(0, 0, 0, .12 + $border_strength));
color: $fg;
box-shadow: 0 1px 2px -1px alpha($dark_shadow, .12 + $shadow_strength);
padding: 5px 6px;
2016-04-12 06:40:59 +00:00
}
} // END Nemo Query Editor
} // END .sidebar
2016-04-09 04:30:09 +00:00
notebook {
background-color: $base_color;
border-width: 0;
2016-04-09 04:30:09 +00:00
tabs {
border: 0;
2016-04-09 04:30:09 +00:00
}
}
}
}