2016-04-09 04:30:09 +00:00
|
|
|
/***********************
|
|
|
|
! LightDM GTK Greeter *
|
|
|
|
***********************/
|
|
|
|
|
|
|
|
@include exports("lightdm") {
|
|
|
|
#panel_window {
|
|
|
|
background-color: transparent;
|
|
|
|
background-image: none;
|
|
|
|
color: $white;
|
|
|
|
font: bold;
|
|
|
|
text-shadow: 0 1px alpha($black, .5);
|
|
|
|
-gtk-icon-shadow: 0 1px alpha($black, .5);
|
|
|
|
|
2016-05-07 06:10:44 +00:00
|
|
|
menubar {
|
|
|
|
padding-left: 5px;
|
|
|
|
|
|
|
|
&, > menuitem {
|
2016-04-09 04:30:09 +00:00
|
|
|
background-color: transparent;
|
|
|
|
background-image: none;
|
|
|
|
color: $white;
|
|
|
|
font: bold;
|
|
|
|
text-shadow: 0 1px alpha($black, .5);
|
|
|
|
-gtk-icon-shadow: 0 1px alpha($black, .5);
|
|
|
|
|
|
|
|
*:hover { color: $white; }
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-style: none;
|
|
|
|
background-color: alpha($white, .2);
|
|
|
|
background-image: none;
|
|
|
|
color: $white;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:disabled { color: alpha($white, .7); }
|
|
|
|
|
2016-05-07 06:10:44 +00:00
|
|
|
menu {
|
2016-04-09 04:30:09 +00:00
|
|
|
border-radius: 1px;
|
|
|
|
|
2016-05-07 06:10:44 +00:00
|
|
|
menuitem {
|
2016-04-09 04:30:09 +00:00
|
|
|
font: normal;
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#content_frame { padding-bottom: 14px; }
|
|
|
|
|
|
|
|
#login_window, #shutdown_dialog, #restart_dialog {
|
|
|
|
border-style: none;
|
|
|
|
border-radius: $roundness;
|
|
|
|
background-color: $lightdm_bg_color;
|
|
|
|
color: $lightdm_fg_color;
|
|
|
|
|
|
|
|
/* draw border using box-shadow */
|
|
|
|
box-shadow: inset 1px 0 mix(shade($lightdm_bg_color, .7), $lightdm_fg_color, .21),
|
|
|
|
inset -1px 0 mix(shade($lightdm_bg_color, .7), $lightdm_fg_color, .21),
|
|
|
|
inset 0 1px mix(shade($lightdm_bg_color, .7), $lightdm_fg_color, .21),
|
|
|
|
inset 0 -1px mix(shade($lightdm_bg_color, .7), $lightdm_fg_color, .21);
|
|
|
|
|
2016-05-07 06:10:44 +00:00
|
|
|
button {
|
2016-04-09 04:30:09 +00:00
|
|
|
padding: 3px 15px;
|
|
|
|
border-width: 1px;
|
|
|
|
border-radius: $roundness;
|
|
|
|
border-style: solid;
|
|
|
|
border-color: shade($lightdm_bg_color, .8);
|
|
|
|
background-color: shade($lightdm_bg_color, 1.08);
|
|
|
|
background-image: none;
|
|
|
|
color: $lightdm_fg_color;
|
|
|
|
transition: all 150ms ease-out;
|
|
|
|
|
|
|
|
&.default, &:focus, &:active:focus {
|
|
|
|
border-color: shade($selected_bg_color, .8);
|
|
|
|
background-color: shade($selected_bg_color, 1.08);
|
|
|
|
background-image: none;
|
|
|
|
color: $selected_fg_color;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-color: shade($selected_bg_color, .7);
|
|
|
|
background-color: $selected_bg_color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#login_window {
|
2016-05-07 06:10:44 +00:00
|
|
|
menu { border-radius: 1px; }
|
2016-04-09 04:30:09 +00:00
|
|
|
|
2016-05-07 06:10:44 +00:00
|
|
|
combobox button {
|
2016-04-09 04:30:09 +00:00
|
|
|
&, &:hover, &:active, &:active:hover,
|
|
|
|
&:focus, &:hover:focus, &:active:focus, &:active:hover:focus {
|
|
|
|
padding: 0;
|
|
|
|
background: none;
|
|
|
|
border-style: none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-05-07 06:10:44 +00:00
|
|
|
entry {
|
2016-04-09 04:30:09 +00:00
|
|
|
padding: 3px 5px;
|
|
|
|
border-width: 1px;
|
|
|
|
border-style: solid;
|
|
|
|
border-color: shade($lightdm_bg_color, .8);
|
|
|
|
border-radius: $roundness;
|
|
|
|
background-color: shade($lightdm_bg_color, .9);
|
|
|
|
background-image: none;
|
|
|
|
color: $lightdm_fg_color;
|
|
|
|
box-shadow: none;
|
|
|
|
transition: all 150ms ease-out;
|
|
|
|
|
|
|
|
&:focus, &:hover {
|
|
|
|
border-color: shade($lightdm_bg_color, .7);
|
|
|
|
|
|
|
|
box-shadow: inset 1px 0 alpha($dark_shadow, .1),
|
|
|
|
inset 0 1px alpha($dark_shadow, .12),
|
|
|
|
inset -1px 0 alpha($dark_shadow, .1),
|
|
|
|
inset 0 -1px alpha($dark_shadow, .05);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#user_combobox {
|
|
|
|
color: $lightdm_fg_color;
|
|
|
|
font: 18px;
|
|
|
|
|
2016-05-07 06:10:44 +00:00
|
|
|
menu { font: normal; }
|
2016-04-09 04:30:09 +00:00
|
|
|
|
2016-05-07 06:10:44 +00:00
|
|
|
arrow { color: mix($lightdm_fg_color, $lightdm_bg_color, .5); }
|
2016-04-09 04:30:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#user_image {
|
|
|
|
padding: 3px;
|
|
|
|
border-radius: $roundness;
|
|
|
|
|
|
|
|
/* draw border using box-shadow */
|
|
|
|
box-shadow: inset 1px 0 shade($lightdm_bg_color, .7),
|
|
|
|
inset -1px 0 shade($lightdm_bg_color, .7),
|
|
|
|
inset 0 1px shade($lightdm_bg_color, .7),
|
|
|
|
inset 0 -1px shade($lightdm_bg_color, .7);
|
|
|
|
}
|
|
|
|
|
|
|
|
#user_image_border {
|
|
|
|
border-radius: $roundness;
|
|
|
|
background-color: shade($lightdm_bg_color, .9);
|
|
|
|
background-image: none;
|
|
|
|
box-shadow: inset 1px 0 alpha($dark_shadow, .07),
|
|
|
|
inset 0 1px alpha($dark_shadow, .08),
|
|
|
|
inset -1px 0 alpha($dark_shadow, .07),
|
|
|
|
inset 0 -1px alpha($dark_shadow, .05);
|
|
|
|
}
|
|
|
|
|
|
|
|
#buttonbox_frame {
|
|
|
|
padding-top: 10px;
|
|
|
|
padding-bottom: 0;
|
|
|
|
border-style: none;
|
|
|
|
border-bottom-left-radius: $roundness;
|
|
|
|
border-bottom-right-radius: $roundness;
|
|
|
|
background-color: transparent;
|
|
|
|
background-image: none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* shutdown button */
|
|
|
|
#shutdown_button {
|
|
|
|
border-color: shade($error_bg_color, .8);
|
|
|
|
background-color: shade($error_bg_color, 1.08);
|
|
|
|
background-image: none;
|
|
|
|
color: $error_fg_color;
|
|
|
|
|
|
|
|
&:hover, &:active, &:active:hover {
|
|
|
|
border-color: shade($error_bg_color, .7);
|
|
|
|
background-color: $error_bg_color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* restart button */
|
|
|
|
#restart_button {
|
|
|
|
border-color: shade($warning_bg_color, .8);
|
|
|
|
background-color: shade($warning_bg_color, 1.08);
|
|
|
|
background-image: none;
|
|
|
|
color: $warning_fg_color;
|
|
|
|
|
|
|
|
&:hover, &:active, &:active:hover {
|
|
|
|
border-color: shade($warning_bg_color, .7);
|
|
|
|
background-color: $warning_bg_color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* password warning */
|
|
|
|
#greeter_infobar { font: bold; }
|
|
|
|
}
|