77 lines
1.8 KiB
SCSS
77 lines
1.8 KiB
SCSS
/***********************
|
|
! Fallback mode panel *
|
|
************************/
|
|
|
|
@include exports("panel") {
|
|
%panel {
|
|
@include linear-gradient($panel_bg_color);
|
|
|
|
color: $panel_fg_color;
|
|
}
|
|
|
|
PanelWidget, PanelApplet, PanelToplevel {
|
|
@extend %panel;
|
|
|
|
padding: 0;
|
|
}
|
|
|
|
PanelApplet {
|
|
border: none;
|
|
|
|
.button {
|
|
-GtkButton-inner-border: 2;
|
|
|
|
border-width: 0 1px;
|
|
border-radius: 0;
|
|
border-color: transparent;
|
|
background-color: transparent;
|
|
background-image: none;
|
|
color: $panel_fg_color;
|
|
|
|
&:hover, &:prelight {
|
|
@include linear-gradient(mix($panel_bg_color, $panel_fg_color, 0.11));
|
|
|
|
border-color: mix($panel_bg_color, $panel_fg_color, 0.11);
|
|
color: shade($panel_fg_color, 1.08);
|
|
}
|
|
|
|
&:active, &:checked {
|
|
@include linear-gradient(mix($panel_bg_color, $panel_fg_color, 0.21), to top);
|
|
|
|
border-color: mix($panel_bg_color, $panel_fg_color, 0.21);
|
|
color: shade($panel_fg_color, 1.08);
|
|
|
|
&:prelight {
|
|
@include linear-gradient(mix($panel_bg_color, $panel_fg_color, 0.31), to top);
|
|
|
|
border-color: mix($panel_bg_color, $panel_fg_color, 0.31);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
PanelSeparator {
|
|
@extend %panel;
|
|
|
|
border: none;
|
|
}
|
|
|
|
PanelApplet > GtkMenuBar.menubar, PanelMenuBar.menubar, .gnome-panel-menu-bar {
|
|
&.menuitem {
|
|
@extend %panel;
|
|
|
|
border: none;
|
|
|
|
-PanelMenuBar-icon-visible: true;
|
|
}
|
|
}
|
|
|
|
PanelAppletFrame {
|
|
@extend %panel;
|
|
|
|
border: none;
|
|
}
|
|
|
|
WnckPager, WnckTasklist { @extend %panel; }
|
|
}
|