Merge pull request #242 from wa4557/sassunit

adds support for unity-greeter
sass
Satyajit Sahoo 2015-08-11 22:26:24 +05:30
commit f3f9d80d48
2 changed files with 119 additions and 1 deletions

View File

@ -25,7 +25,7 @@
@import "widgets/view"; @import "widgets/view";
@import "widgets/window"; @import "widgets/window";
@import "apps/unity-greeter";
@import "apps/gedit"; @import "apps/gedit";
@import "apps/nautilus"; @import "apps/nautilus";
@import "apps/nemo"; @import "apps/nemo";

View File

@ -0,0 +1,118 @@
/***********************
! Unity Greeter *
***********************/
@include exports("unity-greeter") {
.lightdm.menu {
background-image: none;
background-color: alpha($black, 0.6);
border-color: alpha($white, 0.2);
border-radius: 4px;
padding: 1px;
color: $white;
}
.lightdm-combo .menu {
background-color: shade($dark_bg_color, 1.08);
border-radius: 0px;
padding: 0px;
color: $white;
}
.lightdm.menu .menuitem *,
.lightdm.menu .menuitem.check:active,
.lightdm.menu .menuitem.radio:active {
color: $white;
}
.lightdm.menubar {
background-image: none;
background-color: alpha(#00ff00, 0.5);
}
.lightdm-combo.combobox-entry .button,
.lightdm-combo .cell,
.lightdm-combo .button,
.lightdm-combo .entry,
.lightdm.button{
background-image: none;
background-color: alpha($black, 0.3);
border-color: alpha($white, 0.9);
border-radius: 5px;
padding: 5px;
color: $white;
}
.lightdm.button:hover {
background-image: none;
background-color: alpha($white, 0.3);
border-color: alpha($white, 0.6);
border-radius: 5px;
padding: 5px;
color: $white;
text-shadow: none;
}
.lightdm.button:active,
.lightdm.button:active:focused,
.lightdm.button:focused,
.lightdm.entry {
background-image: none;
background-color: alpha($black, 0.3);
border-color: alpha($white, 0.6);
border-radius: 5px;
padding: 7px;
color: $white;
text-shadow: none;
}
.lightdm.entry:hover,
.lightdm.entry:active,
.lightdm.entry:active:focused {
background-image: none;
border-image: none;
}
.lightdm.entry:focused {
border-color: alpha($white, 0.6);
border-width: 1px;
border-style: solid;
color: $white;
}
.lightdm.entry:selected {
background-color: alpha($white, 0.2);
}
@keyframes dashentry_spinner {
to { -gtk-icon-transform: rotate(1turn); }
}
.lightdm.entry:active {
-gtk-icon-source: -gtk-icontheme("process-working-symbolic");
animation: dashentry_spinner 1s infinite linear;
}
.lightdm.option-button {
padding: 5px;
background: none;
border: 0;
}
.lightdm.toggle-button {
background: none;
border-width: 0;
}
.lightdm.toggle-button.selected:hover {
background-color: alpha($white, 0.3);
border-color: alpha($white, 0.3);
border-width: 1px;
}
.lightdm.toggle-button.selected {
background-color: alpha($black, 0.3);
border-color: alpha($white, 0.3);
border-width: 1px;
}
}