2016-04-09 04:30:09 +00:00
|
|
|
/***********************
|
|
|
|
! Unity Greeter *
|
|
|
|
***********************/
|
|
|
|
|
|
|
|
@include exports("unity-greeter") {
|
2016-08-28 16:36:10 +00:00
|
|
|
@keyframes dashentry_spinner {
|
|
|
|
to { -gtk-icon-transform: rotate(1turn); }
|
|
|
|
}
|
2016-04-09 04:30:09 +00:00
|
|
|
|
2016-08-28 16:36:10 +00:00
|
|
|
%lightdm-button {
|
2016-04-09 04:30:09 +00:00
|
|
|
background-image: none;
|
2016-08-28 16:36:10 +00:00
|
|
|
background-color: fade-out($black, .7);
|
|
|
|
border-color: fade-out($white, .1);
|
|
|
|
border-radius: ($roundness * 2) + 1px;
|
|
|
|
padding: $spacing;
|
2016-04-09 04:30:09 +00:00
|
|
|
color: $white;
|
|
|
|
}
|
|
|
|
|
2016-08-28 16:36:10 +00:00
|
|
|
.lightdm {
|
|
|
|
&.menu {
|
|
|
|
background-image: none;
|
|
|
|
background-color: fade-out($black, .4);
|
|
|
|
border-color: fade-out($white, .8);
|
|
|
|
border-radius: $roundness * 2;
|
|
|
|
padding: 1px;
|
2016-04-09 04:30:09 +00:00
|
|
|
|
2016-08-28 16:36:10 +00:00
|
|
|
color: $white;
|
2016-04-09 04:30:09 +00:00
|
|
|
|
2016-08-28 16:36:10 +00:00
|
|
|
.menuitem { *, &.check:active, &.radio:active { color: $white; } }
|
|
|
|
}
|
2016-04-09 04:30:09 +00:00
|
|
|
|
2016-08-28 16:36:10 +00:00
|
|
|
&.menubar { *, &.menuitem { padding: $spacing - 3px; } }
|
|
|
|
|
|
|
|
&.option-button {
|
|
|
|
padding: $spacing;
|
|
|
|
background: none;
|
|
|
|
border: 0;
|
2016-04-09 04:30:09 +00:00
|
|
|
}
|
2016-08-28 16:36:10 +00:00
|
|
|
|
|
|
|
&.toggle-button {
|
|
|
|
background: none;
|
|
|
|
border-width: 0;
|
|
|
|
|
|
|
|
&.selected {
|
|
|
|
background-color: fade-out($black, .7);
|
|
|
|
border-color: fade-out($white, .7);
|
|
|
|
border-width: 1px;
|
|
|
|
|
|
|
|
&:hover { background-color: fade-out($white, .7); }
|
|
|
|
}
|
2016-04-09 04:30:09 +00:00
|
|
|
}
|
|
|
|
|
2016-08-28 16:36:10 +00:00
|
|
|
&.button {
|
|
|
|
@extend %lightdm-button;
|
2016-04-09 04:30:09 +00:00
|
|
|
|
2016-08-28 16:36:10 +00:00
|
|
|
&:hover {
|
|
|
|
background-color: fade-out($white, .7);
|
|
|
|
border-color: fade-out($white, .4);
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
2016-04-09 04:30:09 +00:00
|
|
|
|
2016-08-28 16:36:10 +00:00
|
|
|
&.entry, &.button:active, &.button:active:focus, &.button:focus {
|
|
|
|
background-image: none;
|
|
|
|
background-color: fade-out($black, .7);
|
|
|
|
border-color: fade-out($white, .4);
|
|
|
|
border-radius: ($roundness * 2) + 1px;
|
|
|
|
padding: $spacing + 2px;
|
|
|
|
color: $white;
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
2016-04-09 04:30:09 +00:00
|
|
|
|
2016-08-28 16:36:10 +00:00
|
|
|
&.entry {
|
|
|
|
&:hover, &:active, &:active:focus {
|
|
|
|
background-image: none;
|
|
|
|
border-image: none;
|
|
|
|
}
|
2016-04-09 04:30:09 +00:00
|
|
|
|
2016-08-28 16:36:10 +00:00
|
|
|
&:active {
|
|
|
|
-gtk-icon-source: -gtk-icontheme("process-working-symbolic");
|
|
|
|
animation: dashentry_spinner 1s infinite linear;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
border-color: fade-out($white, .4);
|
|
|
|
border-width: 1px;
|
|
|
|
border-style: solid;
|
|
|
|
color: $white;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:selected { background-color: fade-out($white, .8); }
|
|
|
|
}
|
2016-04-09 04:30:09 +00:00
|
|
|
}
|
2016-08-28 16:36:10 +00:00
|
|
|
|
|
|
|
.lightdm-combo {
|
|
|
|
&.combobox-entry .button, .cell, .button, .entry { @extend %lightdm-button; }
|
|
|
|
|
|
|
|
&.menu {
|
|
|
|
background-color: shade($dark_bg_color, 1.08);
|
|
|
|
border-radius: 0;
|
|
|
|
padding: 0;
|
|
|
|
color: $white;
|
|
|
|
}
|
2016-04-09 04:30:09 +00:00
|
|
|
}
|
|
|
|
}
|