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