mirror of
https://github.com/encounter/numix-blue-gtk-theme.git
synced 2026-07-10 12:18:49 -07:00
Wrap modules in exports mixin so they are included only once
This commit is contained in:
+53
-51
@@ -49,67 +49,69 @@
|
||||
.menubar { -GtkToolbar-button-relief: normal; }
|
||||
}
|
||||
|
||||
.toolbar {
|
||||
@include toolbar($bg_color, $fg_color);
|
||||
@include exports("toolbar") {
|
||||
.toolbar {
|
||||
@include toolbar($bg_color, $fg_color);
|
||||
|
||||
border-style: none;
|
||||
}
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
.header-bar {
|
||||
@include toolbar($titlebar_bg_color, $titlebar_fg_color);
|
||||
.header-bar {
|
||||
@include toolbar($titlebar_bg_color, $titlebar_fg_color);
|
||||
|
||||
border-width: 0 0 1px 0;
|
||||
border-style: solid;
|
||||
}
|
||||
border-width: 0 0 1px 0;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.titlebar {
|
||||
@include linear-gradient($titlebar_bg_color);
|
||||
|
||||
border-radius: $roundness $roundness 0 0;
|
||||
color: mix($titlebar_fg_color, $titlebar_bg_color, .1);
|
||||
|
||||
&:backdrop {
|
||||
.titlebar {
|
||||
@include linear-gradient($titlebar_bg_color);
|
||||
|
||||
color: mix($titlebar_fg_color, $titlebar_bg_color, .6);
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
&.default-decoration {
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.tiled &, .maximized & { border-radius: 0; }
|
||||
|
||||
.title { font: bold; }
|
||||
|
||||
.titlebutton {
|
||||
padding: $spacing;
|
||||
border: none;
|
||||
background-image: none;
|
||||
background-color: transparent;
|
||||
border-radius: $roundness $roundness 0 0;
|
||||
color: mix($titlebar_fg_color, $titlebar_bg_color, .1);
|
||||
box-shadow: none;
|
||||
|
||||
&:hover, &:hover:focus {
|
||||
background-image: none;
|
||||
background-color: transparent;
|
||||
color: $selected_bg_color;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
&:active, &:active:hover {
|
||||
background-image: none;
|
||||
background-color: transparent;
|
||||
color: darken($selected_bg_color, 10%);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
&:backdrop {
|
||||
background: none;
|
||||
@include linear-gradient($titlebar_bg_color);
|
||||
|
||||
color: mix($titlebar_fg_color, $titlebar_bg_color, .6);
|
||||
icon-shadow: none;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
&.default-decoration {
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.tiled &, .maximized & { border-radius: 0; }
|
||||
|
||||
.title { font: bold; }
|
||||
|
||||
.titlebutton {
|
||||
padding: $spacing;
|
||||
border: none;
|
||||
background-image: none;
|
||||
background-color: transparent;
|
||||
color: mix($titlebar_fg_color, $titlebar_bg_color, .1);
|
||||
box-shadow: none;
|
||||
|
||||
&:hover, &:hover:focus {
|
||||
background-image: none;
|
||||
background-color: transparent;
|
||||
color: $selected_bg_color;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
&:active, &:active:hover {
|
||||
background-image: none;
|
||||
background-color: transparent;
|
||||
color: darken($selected_bg_color, 10%);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
&:backdrop {
|
||||
background: none;
|
||||
color: mix($titlebar_fg_color, $titlebar_bg_color, .6);
|
||||
icon-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user