| 1 |
// the panel widget at the top |
| 2 |
#panel_window { |
| 3 |
background-color: $panel_bg; |
| 4 |
color: $panel_fg; |
| 5 |
font-weight: bold; |
| 6 |
box-shadow: inset 0 -1px darken($panel_bg, 7%); |
| 7 |
|
| 8 |
// the menubars/menus of the panel, i.e. indicators |
| 9 |
menubar { |
| 10 |
padding-left: 5px; |
| 11 |
|
| 12 |
&, > menuitem { |
| 13 |
background-color: transparent; |
| 14 |
color: $panel_fg; |
| 15 |
font-weight: bold; |
| 16 |
} |
| 17 |
} |
| 18 |
|
| 19 |
menubar menuitem:disabled { |
| 20 |
color: transparentize($panel_fg, 0.5); |
| 21 |
|
| 22 |
label { color: inherit; } |
| 23 |
} |
| 24 |
menubar menu > menuitem { font-weight: normal; } |
| 25 |
} |
| 26 |
|
| 27 |
// the login window |
| 28 |
#login_window, |
| 29 |
#shutdown_dialog, |
| 30 |
#restart_dialog { |
| 31 |
font-weight: normal; |
| 32 |
border-style: none; |
| 33 |
background-color: transparent; |
| 34 |
color: $fg_color; |
| 35 |
} |
| 36 |
|
| 37 |
// the top half of the login-window, in GtkDialog terms, the content |
| 38 |
#content_frame { |
| 39 |
padding-bottom: 14px; |
| 40 |
background-color: $bg_color; |
| 41 |
border-top-left-radius: 2px; |
| 42 |
border-top-right-radius: 2px; |
| 43 |
border: solid transparentize(black, 0.9); |
| 44 |
border-width: 1px 1px 0 1px; |
| 45 |
} |
| 46 |
|
| 47 |
#content_frame button { |
| 48 |
@include button(normal); |
| 49 |
|
| 50 |
&:hover { @include button(hover); } |
| 51 |
&:active, &:checked { @include button(active); } |
| 52 |
&:disabled { @include button(insensitive); } |
| 53 |
} |
| 54 |
|
| 55 |
// the lower half of the login-window, in GtkDialog terms the buttonbox or action area |
| 56 |
#buttonbox_frame { |
| 57 |
padding-top: 20px; |
| 58 |
padding-bottom: 0px; |
| 59 |
border-style: none; |
| 60 |
background-color: if($variant!='dark', $osd_bg_color, $header_bg); |
| 61 |
border-bottom-left-radius: 3px; |
| 62 |
border-bottom-right-radius: 3px; |
| 63 |
border: solid transparentize(black, 0.9); |
| 64 |
border-width: 0 1px 1px 1px; |
| 65 |
box-shadow: inset 0 1px if($variant!="dark", $dark_sidebar_border, $header_border); |
| 66 |
} |
| 67 |
|
| 68 |
#buttonbox_frame button{ |
| 69 |
@include button(osd); |
| 70 |
|
| 71 |
&:hover { @include button(osd-hover); } |
| 72 |
&:active, &:checked { @include button(osd-active); } |
| 73 |
&:disabled { @include button(osd-insensitive); } |
| 74 |
} |
| 75 |
|
| 76 |
#login_window #user_combobox { |
| 77 |
color: $fg_color; |
| 78 |
|
| 79 |
menu { font-weight: normal; } |
| 80 |
} |
| 81 |
|
| 82 |
// the user's avatar box |
| 83 |
#user_image { |
| 84 |
padding: 3px; |
| 85 |
border-radius: 2px; |
| 86 |
} |
| 87 |
|
| 88 |
// the shutdown button |
| 89 |
#shutdown_button.button { |
| 90 |
@include button(suggested_destructive, $destructive_color); |
| 91 |
|
| 92 |
&:hover { @include button(suggested_destructive, lighten($destructive_color, 10%)); } |
| 93 |
&:active, &:checked { @include button(suggested_destructive, darken($destructive_color, 10%)); } |
| 94 |
} |
| 95 |
|
| 96 |
// the restart button |
| 97 |
#restart_button.button { |
| 98 |
@include button(suggested_destructive, $suggested_color); |
| 99 |
|
| 100 |
&:hover { @include button(suggested_destructive, lighten($suggested_color, 10%)); } |
| 101 |
&:active, &:checked { @include button(suggested_destructive, darken($suggested_color, 10%)); } |
| 102 |
} |
| 103 |
|
| 104 |
// the warning, in case a wrong password is entered or something else goes wrong according to PAM |
| 105 |
#greeter_infobar { |
| 106 |
border-bottom-width: 0; |
| 107 |
font-weight: bold; |
| 108 |
} |