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

194 lines
5.9 KiB
SCSS
Raw Normal View History

2015-01-23 18:54:03 +00:00
/***********************
! LightDM GTK Greeter *
***********************/
@include exports("lightdm") {
#panel_window {
background-color: transparent;
background-image: none;
2015-08-06 23:10:35 +00:00
color: $white;
2015-01-23 18:54:03 +00:00
font: bold;
2015-08-16 13:28:10 +00:00
text-shadow: 0 1px fade-out($black, .5);
icon-shadow: 0 1px fade-out($black, .5);
2015-01-23 18:54:03 +00:00
.menubar {
&, > .menuitem {
background-color: transparent;
background-image: none;
2015-08-06 23:10:35 +00:00
color: $white;
2015-01-23 18:54:03 +00:00
font: bold;
2015-08-16 13:28:10 +00:00
text-shadow: 0 1px fade-out($black, .5);
icon-shadow: 0 1px fade-out($black, .5);
2015-01-23 18:54:03 +00:00
2015-08-06 23:10:35 +00:00
*:hover { color: $white; }
2015-01-23 18:54:03 +00:00
&:hover {
border-style: none;
2015-08-16 13:28:10 +00:00
background-color: fade-out($white, .8);
2015-01-23 18:54:03 +00:00
background-image: none;
2015-08-06 23:10:35 +00:00
color: $white;
2015-01-23 18:54:03 +00:00
}
2015-08-16 13:28:10 +00:00
&:insensitive { color: fade-out($white, .3); }
2015-01-23 18:54:03 +00:00
.menu {
border-radius: 1px;
.menuitem {
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 */
2015-08-06 23:10:35 +00:00
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);
2015-01-23 18:54:03 +00:00
.button {
padding: 3px 15px;
border-width: 1px;
border-radius: $roundness;
border-style: solid;
2015-08-06 23:10:35 +00:00
border-color: shade($lightdm_bg_color, .8);
2015-01-23 18:54:03 +00:00
background-color: shade($lightdm_bg_color, 1.08);
background-image: none;
color: $lightdm_fg_color;
transition: all 150ms ease-out;
&.default, &:focus, &:active:focus {
2015-08-06 23:10:35 +00:00
border-color: shade($selected_bg_color, .8);
2015-01-23 18:54:03 +00:00
background-color: shade($selected_bg_color, 1.08);
background-image: none;
color: $selected_fg_color;
&:hover {
2015-08-06 23:10:35 +00:00
border-color: shade($selected_bg_color, .7);
2015-01-23 18:54:03 +00:00
background-color: $selected_bg_color;
}
}
}
}
#login_window {
.menu { border-radius: 1px; }
GtkComboBox .button {
&, &:hover, &:active, &:active:hover,
&:focus, &:hover:focus, &:active:focus, &:active:hover:focus {
padding: 0;
background: none;
border-style: none;
box-shadow: none;
}
}
.entry {
padding: 3px 5px;
border-width: 1px;
border-style: solid;
2015-08-06 23:10:35 +00:00
border-color: shade($lightdm_bg_color, .8);
2015-01-23 18:54:03 +00:00
border-radius: $roundness;
2015-08-06 23:10:35 +00:00
background-color: shade($lightdm_bg_color, .9);
2015-01-23 18:54:03 +00:00
background-image: none;
color: $lightdm_fg_color;
box-shadow: none;
transition: all 150ms ease-out;
&:focus, &:hover {
2015-08-06 23:10:35 +00:00
border-color: shade($lightdm_bg_color, .7);
2015-01-23 18:54:03 +00:00
2015-08-16 13:28:10 +00:00
box-shadow: inset 1px 0 fade-out($dark_shadow, .9),
inset 0 1px fade-out($dark_shadow, .98),
inset -1px 0 fade-out($dark_shadow, .9),
inset 0 -1px fade-out($dark_shadow, .05);
2015-01-23 18:54:03 +00:00
}
}
}
#user_combobox {
color: $lightdm_fg_color;
font: 18px;
.menu { font: normal; }
2015-08-06 23:10:35 +00:00
.arrow { color: mix($lightdm_fg_color, $lightdm_bg_color, .5); }
2015-01-23 18:54:03 +00:00
}
#user_image {
padding: 3px;
border-radius: $roundness;
/* draw border using box-shadow */
2015-08-06 23:10:35 +00:00
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);
2015-01-23 18:54:03 +00:00
}
#user_image_border {
border-radius: $roundness;
2015-08-06 23:10:35 +00:00
background-color: shade($lightdm_bg_color, .9);
2015-01-23 18:54:03 +00:00
background-image: none;
2015-08-16 13:28:10 +00:00
box-shadow: inset 1px 0 fade-out($dark_shadow, .03),
inset 0 1px fade-out($dark_shadow, .02),
inset -1px 0 fade-out($dark_shadow, .03),
inset 0 -1px fade-out($dark_shadow, .05);
2015-01-23 18:54:03 +00:00
}
#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 {
2015-08-06 23:10:35 +00:00
border-color: shade($error_bg_color, .8);
2015-01-23 18:54:03 +00:00
background-color: shade($error_bg_color, 1.08);
background-image: none;
color: $error_fg_color;
&:hover, &:active, &:active:hover {
2015-08-06 23:10:35 +00:00
border-color: shade($error_bg_color, .7);
2015-01-23 18:54:03 +00:00
background-color: $error_bg_color;
}
}
/* restart button */
#restart_button {
2015-08-06 23:10:35 +00:00
border-color: shade($warning_bg_color, .8);
2015-01-23 18:54:03 +00:00
background-color: shade($warning_bg_color, 1.08);
background-image: none;
color: $warning_fg_color;
&:hover, &:active, &:active:hover {
2015-08-06 23:10:35 +00:00
border-color: shade($warning_bg_color, .7);
2015-01-23 18:54:03 +00:00
background-color: $warning_bg_color;
}
}
/* password warning */
#greeter_infobar { font: bold; }
}