numix-gtk-theme/gtk-3.0/scss/apps/_unity.scss

75 lines
2.3 KiB
SCSS
Raw Normal View History

2015-01-23 18:54:03 +00:00
@import "panel";
/****************
! Unity styles *
*****************/
@include exports("unity") {
UnityDecoration {
-UnityDecoration-extents: 28px 1px 1px 1px;
-UnityDecoration-input-extents: 10px;
-UnityDecoration-shadow-offset-x: 1px;
-UnityDecoration-shadow-offset-y: 1px;
2015-08-06 23:10:35 +00:00
-UnityDecoration-active-shadow-color: rgba(0, 0, 0, .7);
2015-01-23 18:54:03 +00:00
-UnityDecoration-active-shadow-radius: 8px;
2015-08-06 23:10:35 +00:00
-UnityDecoration-inactive-shadow-color: rgba(0, 0, 0, .5);
2015-01-23 18:54:03 +00:00
-UnityDecoration-inactive-shadow-radius: 5px;
-UnityDecoration-glow-size: 10px;
-UnityDecoration-glow-color: $selected_bg_color;
-UnityDecoration-title-indent: 10px;
-UnityDecoration-title-fade: 35px;
2015-08-06 23:10:35 +00:00
-UnityDecoration-title-alignment: 0;
2015-01-23 18:54:03 +00:00
&.top {
border: 1px solid mix(shade($titlebar_bg_color, 0.7), $titlebar_fg_color, 0.21);
2015-08-06 23:10:35 +00:00
border-bottom: 0;
2015-01-23 18:54:03 +00:00
border-radius: 2px 2px 0 0;
padding: 1px 8px 0 8px;
2015-01-23 18:54:03 +00:00
background-color: $titlebar_bg_color;
2015-08-06 23:10:35 +00:00
color: mix($titlebar_fg_color, $titlebar_bg_color, .1);
2015-01-23 18:54:03 +00:00
text-shadow: none;
&:backdrop {
border: 1px solid mix(shade($titlebar_bg_color, 0.7), $titlebar_fg_color, 0.12);
border-bottom: 0;
background-color: $titlebar_bg_color;
2015-08-06 23:10:35 +00:00
color: mix($titlebar_fg_color, $titlebar_bg_color, .4);
2015-01-23 18:54:03 +00:00
}
}
&.left, &.right, &.bottom {
background-color: mix(shade($titlebar_bg_color, 0.7), $titlebar_fg_color, 0.21);
2015-01-23 18:54:03 +00:00
&:backdrop {
background-color: mix(shade($titlebar_bg_color, 0.7), $titlebar_fg_color, 0.12);
}
2015-01-23 18:54:03 +00:00
}
}
UnityPanelWidget, .unity-panel {
@extend %panel;
2015-08-06 23:10:35 +00:00
border: 0;
2015-01-23 18:54:03 +00:00
}
.unity-panel {
&.menuitem, .menuitem {
border-width: 0 1px;
color: $panel_fg_color;
&:hover, *:hover {
2015-08-06 23:10:35 +00:00
border-color: mix($panel_bg_color, $panel_fg_color, .21);
background-color: mix($panel_bg_color, $panel_fg_color, .21);
2015-01-23 18:54:03 +00:00
background-image: none;
color: shade($panel_fg_color, 1.08);
}
}
}
SheetStyleDialog.unity-force-quit { background-color: $bg_color; }
}