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

181 lines
4.6 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);
}
2016-04-13 07:04:57 +00:00
/* 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
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;
}
.places-sidebar {
&, & .view {
background-color: mix($bg_color, $base_color, .5);
}
2016-04-13 08:19:11 +00:00
.view:selected {
&:focus, & {
@extend %selected_items;
}
}
2016-04-13 07:04:57 +00:00
}
2016-04-09 04:30:09 +00:00
}
2016-04-13 07:04:57 +00:00
statusbar {
border: 0;
2016-04-09 04:30:09 +00:00
}
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);
}
}
}
}
}