Skip to content

Instantly share code, notes, and snippets.

@geki-yaba
Created October 16, 2016 17:52
Show Gist options
  • Save geki-yaba/19262f9af9b2a6f838636e6f019e96a3 to your computer and use it in GitHub Desktop.
Save geki-yaba/19262f9af9b2a6f838636e6f019e96a3 to your computer and use it in GitHub Desktop.
mate-screensaver lock dialog: dark Green-Submarine theme
/* mate-screensaver lock dialog */
/* taken from lightdm (other-applications.css) */
.lock-dialog.background {
border-radius: 10px;
border-style: solid;
border-width: 2px;
border-color: shade(@bg_dark_color, 0.8);
background-color: @bg_dark_color;
}
.lock-dialog frame {
border-radius: 0px;
border-style: none;
border-width: 0px;
}
.lock-dialog notebook {
background-color: @bg_dark_color;
color: @theme_text_dark_color;
}
.lock-dialog entry,
.lock-dialog entry:focus {
background-color: transparent;
background-image: -gtk-gradient(linear,
left top, left bottom,
from (shade(@bg_dark_color, 1.16)),
color-stop (0.15, shade(@bg_dark_color, 1.26)),
color-stop (0.50, shade(@bg_dark_color, 1.28)),
to (shade(@bg_dark_color, 1.30)));
color: shade (@menu_fg_dark_color, 1.0);
box-shadow: inset 0px 1px shade(@theme_text_dark_color, 0.3),
inset 1px 0px shade(@theme_text_dark_color, 0.3),
inset -1px 0px shade(@theme_text_dark_color, 0.3),
inset 0px -1px shade(@theme_text_dark_color, 0.3);
/* color of the cursor */
caret-color: shade (@theme_text_dark_color, 1.0);
}
.lock-dialog button,
.lock-dialog button:focus {
background-image: -gtk-gradient (linear,
left top, left bottom,
from (shade(@bg_dark_color, 2.03)),
to (shade(@bg_dark_color, 1.17)));
box-shadow: none;
color: @theme_text_dark_color;
}
.lock-dialog button:hover,
.lock-dialog button:hover:active {
background-image: -gtk-gradient (linear,
left top, left bottom,
from (shade(@bg_dark_color, 2.03)),
to (shade(@bg_dark_color, 1.17)));
box-shadow: inset 0px 1px shade(@selected_bg_color, 1.05),
inset 1px 0px shade(@selected_bg_color, 0.97),
inset -1px 0px shade(@selected_bg_color, 0.93),
inset 0px -1px shade(@selected_bg_color, 0.93);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment