2016-04-09 04:30:09 +00:00
|
|
|
/********
|
|
|
|
! Nemo *
|
|
|
|
*********/
|
|
|
|
|
|
|
|
@include exports("nemo") {
|
|
|
|
.nemo-desktop, .nemo-desktop * {
|
2016-07-02 05:44:33 +00:00
|
|
|
&, &:backdrop {
|
|
|
|
color: $white;
|
|
|
|
text-shadow: 1px 1px $black;
|
2016-04-09 04:30:09 +00:00
|
|
|
|
2016-07-02 05:44:33 +00:00
|
|
|
&:active { color: $fg_color; }
|
2016-04-09 04:30:09 +00:00
|
|
|
|
2016-07-02 05:44:33 +00:00
|
|
|
&:selected { color: $selected_fg_color; }
|
2016-04-09 04:30:09 +00:00
|
|
|
|
2016-07-02 05:44:33 +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);
|
|
|
|
|
2016-05-09 10:31:38 +00:00
|
|
|
button {
|
|
|
|
@include button($bg_color, $fg_color);
|
|
|
|
}
|
|
|
|
|
2016-05-15 12:19:06 +00:00
|
|
|
.linked > button { @include linked_button($bg_color); }
|
2016-05-09 10:31:38 +00:00
|
|
|
|
|
|
|
separator, separator:disabled {
|
|
|
|
color: shade($bg_color, ($contrast + .1));
|
|
|
|
border-color: currentColor;
|
|
|
|
-GtkWidget-window-dragging: true;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.primary-toolbar button {
|
2016-08-29 21:53:11 +00:00
|
|
|
min-width: 28px;
|
|
|
|
padding: 3px;
|
2016-05-09 10:31:38 +00:00
|
|
|
}
|
2016-09-03 09:00:42 +00:00
|
|
|
|
2016-05-09 10:31:38 +00:00
|
|
|
/* 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 {
|
2016-08-29 21:53:11 +00:00
|
|
|
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;
|
|
|
|
}
|
2016-05-09 10:31:38 +00:00
|
|
|
|
|
|
|
statusbar {
|
|
|
|
border: 0;
|
|
|
|
}
|
2016-04-13 07:04:57 +00:00
|
|
|
}
|
2016-05-09 10:31:38 +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;
|
|
|
|
}
|
|
|
|
|
2016-05-09 10:31:38 +00:00
|
|
|
.nemo-places-sidebar {
|
2016-04-13 07:04:57 +00:00
|
|
|
&, & .view {
|
|
|
|
background-color: mix($bg_color, $base_color, .5);
|
|
|
|
}
|
2016-05-09 10:31:38 +00:00
|
|
|
|
|
|
|
.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
|
|
|
}
|
2016-05-09 10:31:38 +00:00
|
|
|
|
|
|
|
/* Nemo Query Editor (File Search Bar) */
|
2016-07-02 05:44:33 +00:00
|
|
|
+ separator + box .primary-toolbar {
|
|
|
|
@include linear-gradient(shade($bg_color, .98)); // Searchbar color (_actionbar.scss)
|
|
|
|
|
2016-05-09 10:31:38 +00:00
|
|
|
padding-top: $spacing - 3px;
|
|
|
|
padding-bottom: $spacing - 4px;
|
2016-07-02 05:44:33 +00:00
|
|
|
border-bottom: 1px solid $borders_color;
|
2016-05-09 10:31:38 +00:00
|
|
|
|
|
|
|
button:nth-child(2) {
|
|
|
|
border-right: none;
|
2016-07-02 05:44:33 +00:00
|
|
|
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
|
|
|
|
2016-05-09 10:31:38 +00:00
|
|
|
button:nth-child(3) {
|
|
|
|
margin-left: -6px;
|
|
|
|
border-left: none;
|
2016-07-02 05:44:33 +00:00
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
2016-05-09 10:31:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
}
|
2016-05-09 10:31:38 +00:00
|
|
|
} // END Nemo Query Editor
|
|
|
|
} // END .sidebar
|
2016-04-09 04:30:09 +00:00
|
|
|
|
2016-05-09 10:31:38 +00:00
|
|
|
notebook {
|
|
|
|
background-color: $base_color;
|
|
|
|
border-width: 0;
|
2016-04-09 04:30:09 +00:00
|
|
|
|
2016-05-09 10:31:38 +00:00
|
|
|
tabs {
|
|
|
|
border: 0;
|
2016-04-09 04:30:09 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|