Skip to content

Commit

Permalink
Make lightdm-gtk-greeter's restart button blue (fixes shimmerproject#206
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ochosi committed Jan 22, 2018
1 parent 76c75ba commit a76278a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 48 deletions.
29 changes: 5 additions & 24 deletions gtk-3.0/_lightdm-gtk-greeter.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,11 @@ $variant: 'light';

button {
padding: 3px 15px;
/***********************
* login/unlock button *
***********************/
&#login_button {
/************************************
* login/unlock and restart buttons *
************************************/
&#login_button,
&#restart_button {
border-color: shade($selected_bg_color, 0.8);
background-image: linear-gradient(to bottom,
shade($selected_bg_color, 1.02),
Expand Down Expand Up @@ -83,26 +84,6 @@ $variant: 'light';
);
}
}
/******************
* restart button *
******************/
&#restart_button {
border-color: shade($warning_color, 0.8);
background-image: linear-gradient(to bottom,
shade($warning_color, 1.02),
shade($warning_color, 0.95) 90%,
shade($warning_color, 0.90)
);
color: $selected_fg_color;
&:hover,&:active {
border-color: shade($warning_color, 0.7);
background-image: linear-gradient(to bottom,
shade($warning_color, 1.12),
shade($warning_color, 1.05) 90%,
shade($warning_color, 1.00)
);
}
}
}
}

Expand Down
38 changes: 14 additions & 24 deletions gtk-3.0/gtk-contained.css
Original file line number Diff line number Diff line change
Expand Up @@ -4573,26 +4573,29 @@ XfdesktopIconView.view {
.lightdm-gtk-greeter #shutdown_dialog button,
.lightdm-gtk-greeter #restart_dialog button {
padding: 3px 15px;
/***********************
* login/unlock button *
***********************/
/************************************
* login/unlock and restart buttons *
************************************/
/*******************
* shutdown button *
*******************/
/******************
* restart button *
******************/ }
.lightdm-gtk-greeter #login_window button#login_button,
*******************/ }
.lightdm-gtk-greeter #login_window button#login_button, .lightdm-gtk-greeter #login_window button#restart_button,
.lightdm-gtk-greeter #shutdown_dialog button#login_button,
.lightdm-gtk-greeter #restart_dialog button#login_button {
.lightdm-gtk-greeter #shutdown_dialog button#restart_button,
.lightdm-gtk-greeter #restart_dialog button#login_button,
.lightdm-gtk-greeter #restart_dialog button#restart_button {
border-color: shade(#398ee7, 0.8);
background-image: linear-gradient(to bottom, shade(#398ee7, 1.02), shade(#398ee7, 0.95) 90%, shade(#398ee7, 0.9));
color: #ffffff; }
.lightdm-gtk-greeter #login_window button#login_button:hover, .lightdm-gtk-greeter #login_window button#login_button:active,
.lightdm-gtk-greeter #login_window button#login_button:hover, .lightdm-gtk-greeter #login_window button#login_button:active, .lightdm-gtk-greeter #login_window button#restart_button:hover, .lightdm-gtk-greeter #login_window button#restart_button:active,
.lightdm-gtk-greeter #shutdown_dialog button#login_button:hover,
.lightdm-gtk-greeter #shutdown_dialog button#login_button:active,
.lightdm-gtk-greeter #shutdown_dialog button#restart_button:hover,
.lightdm-gtk-greeter #shutdown_dialog button#restart_button:active,
.lightdm-gtk-greeter #restart_dialog button#login_button:hover,
.lightdm-gtk-greeter #restart_dialog button#login_button:active {
.lightdm-gtk-greeter #restart_dialog button#login_button:active,
.lightdm-gtk-greeter #restart_dialog button#restart_button:hover,
.lightdm-gtk-greeter #restart_dialog button#restart_button:active {
border-color: shade(#398ee7, 0.7);
background-image: linear-gradient(to bottom, shade(#398ee7, 1.12), shade(#398ee7, 1.05) 90%, shade(#398ee7, 1)); }
.lightdm-gtk-greeter #login_window button#shutdown_button,
Expand All @@ -4608,19 +4611,6 @@ XfdesktopIconView.view {
.lightdm-gtk-greeter #restart_dialog button#shutdown_button:active {
border-color: shade(#cc0000, 0.7);
background-image: linear-gradient(to bottom, shade(#cc0000, 1.12), shade(#cc0000, 1.05) 90%, shade(#cc0000, 1)); }
.lightdm-gtk-greeter #login_window button#restart_button,
.lightdm-gtk-greeter #shutdown_dialog button#restart_button,
.lightdm-gtk-greeter #restart_dialog button#restart_button {
border-color: shade(#f57900, 0.8);
background-image: linear-gradient(to bottom, shade(#f57900, 1.02), shade(#f57900, 0.95) 90%, shade(#f57900, 0.9));
color: #ffffff; }
.lightdm-gtk-greeter #login_window button#restart_button:hover, .lightdm-gtk-greeter #login_window button#restart_button:active,
.lightdm-gtk-greeter #shutdown_dialog button#restart_button:hover,
.lightdm-gtk-greeter #shutdown_dialog button#restart_button:active,
.lightdm-gtk-greeter #restart_dialog button#restart_button:hover,
.lightdm-gtk-greeter #restart_dialog button#restart_button:active {
border-color: shade(#f57900, 0.7);
background-image: linear-gradient(to bottom, shade(#f57900, 1.12), shade(#f57900, 1.05) 90%, shade(#f57900, 1)); }
.lightdm-gtk-greeter #content_frame {
padding-bottom: 14px; }
.lightdm-gtk-greeter #login_window menu {
Expand Down

0 comments on commit a76278a

Please sign in to comment.