_lightdm.scss
ASCII text
1
// based css:
2
// http://bazaar.launchpad.net/~lightdm-gtk-greeter-team/lightdm-gtk-greeter/trunk/view/head:/data/sample-lightdm-gtk-greeter.css
3
4
/************************
5
* LightDM GTK+ Greeter *
6
************************/
7
// the panel widget at the top
8
#panel_window {
9
background-color: scale-alpha($black, $lower_opacity);
10
// color: $white;
11
// font-weight: bold;
12
13
// the menubars/menus of the panel, i.e. indicators
14
menubar,
15
separator { background-color: transparent; }
16
17
menubar > menuitem {
18
color: $secondary_inverse_fg_color;
19
20
&:hover { color: $inverse_fg_color; }
21
22
&:disabled { color: $disabled_secondary_inverse_fg_color; }
23
}
24
}
25
26
// the login window
27
#login_window,
28
#shutdown_dialog,
29
#restart_dialog {
30
margin: 8px;
31
border-radius: 2px;
32
box-shadow: $shadow_2, inset 0 1px $highlight_color;
33
background-color: $lighter_bg_color;
34
}
35
36
// the top half of the login-window, in GtkDialog terms, the content
37
#content_frame {
38
padding-bottom: 20px;
39
border-bottom: 1px solid $border_color;
40
}
41
42
#login_window {
43
// the user-combobox
44
#user_combobox button { @extend %combo_flat; }
45
46
// the entries, one for the username, one for the password
47
entry { @extend %entry.flat; }
48
}
49
50
// the buttons, alternatively this could also be done with a simple ".lightdm-gtk-greeter button"
51
#login_window button,
52
#shutdown_dialog button,
53
#restart_dialog button {
54
}
55
56
.lightdm-gtk-greeter button { @extend %simple_flat_button; }
57
58
// the user's avatar box
59
#user_image {
60
}
61
62
// the border around the user's avatar box
63
#user_image_border {
64
}
65
66
// the lower half of the login-window, in GtkDialog terms the buttonbox or action area
67
#buttonbox_frame {
68
padding-top: 24px;
69
70
button { margin: -16px; }
71
}
72
73
// the shutdown button
74
#shutdown_button {
75
}
76
77
// the restart button
78
#restart_button {
79
}
80
81
// the warning, in case a wrong password is entered or something else goes wrong according to PAM
82
#greeter_infobar {
83
margin-top: -1px;
84
// font-weight: bold;
85
}
86