2015-05-16 20:50:01 +00:00
|
|
|
// Decorations
|
|
|
|
UnityDecoration {
|
2015-05-18 10:55:25 +00:00
|
|
|
-UnityDecoration-extents: 28px 1 1 1;
|
2015-05-16 20:50:01 +00:00
|
|
|
-UnityDecoration-input-extents: 10px;
|
|
|
|
|
|
|
|
-UnityDecoration-shadow-offset-x: 0px;
|
2015-05-18 10:55:25 +00:00
|
|
|
-UnityDecoration-shadow-offset-y: 3px;
|
2015-07-16 20:57:43 +00:00
|
|
|
-UnityDecoration-active-shadow-color: rgba(0, 0, 0, 0.2);
|
2015-05-18 10:55:25 +00:00
|
|
|
-UnityDecoration-active-shadow-radius: 12px;
|
|
|
|
-UnityDecoration-inactive-shadow-color: rgba(0, 0, 0, 0.07);
|
|
|
|
-UnityDecoration-inactive-shadow-radius: 7px;
|
2015-05-16 20:50:01 +00:00
|
|
|
|
|
|
|
-UnityDecoration-glow-size: 10px;
|
|
|
|
-UnityDecoration-glow-color: $selected_bg_color;
|
|
|
|
|
|
|
|
-UnityDecoration-title-indent: 10px;
|
|
|
|
-UnityDecoration-title-fade: 35px;
|
|
|
|
-UnityDecoration-title-alignment: 0.0;
|
|
|
|
|
|
|
|
&.top {
|
2015-07-09 21:21:15 +00:00
|
|
|
border: 1px solid if($darker=='true' or $variant == 'dark', darken($header_bg, 7%), transparentize(black, 0.9));
|
2015-05-16 20:50:01 +00:00
|
|
|
border-bottom-width: 0;
|
|
|
|
border-radius: 4px 4px 0 0;
|
|
|
|
padding: 1px 6px 0 6px;
|
|
|
|
|
|
|
|
background-image: linear-gradient(to bottom, opacify($header_bg, 1));
|
|
|
|
color: $header_fg; // The foreground color will be used to paint the text
|
|
|
|
|
|
|
|
box-shadow: inset 0 1px lighten($header_bg, 3%);
|
|
|
|
|
|
|
|
&:backdrop {
|
|
|
|
border-bottom-width: 0;
|
2015-09-28 23:01:38 +00:00
|
|
|
//background-image: linear-gradient(to bottom, opacify($header_bg_backdrop, 1));
|
2015-05-16 20:50:01 +00:00
|
|
|
color: transparentize($header_fg, 0.3);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.left, &.right, &.bottom,
|
|
|
|
&.left:backdrop, &.right:backdrop, &.bottom:backdrop {
|
2015-07-09 21:21:15 +00:00
|
|
|
background-image: linear-gradient(to bottom, if($darker=='true' or $variant == 'dark', darken($header_bg, 7%), transparentize(black, 0.9)));
|
2015-05-16 20:50:01 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Panel Style
|
|
|
|
UnityPanelWidget,
|
|
|
|
.unity-panel {
|
2016-05-29 17:14:44 +00:00
|
|
|
background-image: linear-gradient(to bottom, #2f343f);
|
2015-05-18 10:22:28 +00:00
|
|
|
color: lighten($panel_fg, 20%);
|
2015-05-16 20:50:01 +00:00
|
|
|
box-shadow: none;
|
2015-09-11 15:12:52 +00:00
|
|
|
|
2015-09-14 10:08:55 +00:00
|
|
|
&:backdrop { color: lighten($panel_fg, 1%); }
|
2015-05-16 20:50:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.unity-panel.menubar.menuitem:hover,
|
|
|
|
.unity-panel.menubar .menuitem *:hover {
|
|
|
|
border-radius: 0;
|
2015-10-10 12:02:13 +00:00
|
|
|
color: $selected_fg_color;
|
|
|
|
background-image: linear-gradient(to bottom, $selected_bg_color);
|
2015-05-16 20:50:01 +00:00
|
|
|
border-bottom: none;
|
|
|
|
}
|
2016-04-24 09:58:54 +00:00
|
|
|
|
|
|
|
// Unity Greeter
|
|
|
|
.lightdm.menu {
|
|
|
|
background-image: none;
|
|
|
|
background-color: transparentize(black, 0.6);
|
|
|
|
border-color: transparentize(white, 0.2);
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 1px;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lightdm-combo .menu {
|
|
|
|
background-color: lighten($header_bg, 8);
|
|
|
|
border-radius: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lightdm.menu .menuitem *,
|
|
|
|
.lightdm.menu .menuitem.check:active,
|
|
|
|
.lightdm.menu .menuitem.radio:active {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lightdm.menubar {
|
|
|
|
color: transparentize(white, 0.2);
|
|
|
|
background-image: none;
|
|
|
|
background-color: transparentize(black, 0.5);
|
|
|
|
|
|
|
|
& > .menuitem {
|
|
|
|
padding: 2px 6px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.lightdm-combo.combobox-entry .button,
|
|
|
|
.lightdm-combo .cell,
|
|
|
|
.lightdm-combo .button,
|
|
|
|
.lightdm-combo .entry,
|
|
|
|
.lightdm.button,
|
|
|
|
.lightdm.entry {
|
|
|
|
background-image: none;
|
|
|
|
background-color: transparentize(black, 0.7);
|
|
|
|
border-color: transparentize(white, 0.6);
|
|
|
|
border-radius: 10px;
|
|
|
|
padding: 7px;
|
|
|
|
color: white;
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lightdm.button,
|
|
|
|
.lightdm.button:hover,
|
|
|
|
.lightdm.button:active,
|
|
|
|
.lightdm.button:active:focused,
|
|
|
|
.lightdm.entry,
|
|
|
|
.lightdm.entry:hover,
|
|
|
|
.lightdm.entry:active,
|
|
|
|
.lightdm.entry:active:focused {
|
|
|
|
background-image: none;
|
|
|
|
border-image: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lightdm.button:focused,
|
|
|
|
.lightdm.entry:focused {
|
|
|
|
border-color: transparentize(white, 0.9);
|
|
|
|
border-width: 1px;
|
|
|
|
border-style: solid;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lightdm.entry:selected {
|
|
|
|
background-color: transparentize(white, 0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
.lightdm.entry:active {
|
|
|
|
-gtk-icon-source: -gtk-icontheme("process-working-symbolic");
|
|
|
|
animation: dashentry_spinner 1s infinite linear;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lightdm.option-button {
|
|
|
|
padding: 2px;
|
|
|
|
background: none;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lightdm.toggle-button {
|
|
|
|
background: none;
|
|
|
|
border-width: 0;
|
|
|
|
|
|
|
|
&.selected {
|
|
|
|
background-color: transparentize(black, 0.3);
|
|
|
|
border-width: 1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes dashentry_spinner {
|
|
|
|
to {
|
|
|
|
-gtk-icon-transform: rotate(1turn);
|
|
|
|
}
|
|
|
|
}
|