aboutsummaryrefslogtreecommitdiff
path: root/common/gtk-3.0/3.16/_lightdm.scss
blob: 9b14d09cb84ba64bb110fd2d8fffb7da762f3a4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
/* the panel widget at the top */
#panel_window {
  background-color: $panel_bg;
  color: $panel_fg;
  font: bold;
  box-shadow: inset 0 -1px darken($panel_bg, 7%);

  /* the menubars/menus of the panel, i.e. indicators */
  .menubar,
  .menubar > .menuitem {
    background-color: transparent;
    color: $panel_fg;
    font: bold;
  }

  .menubar .menuitem:insensitive {
    color: darken($panel_fg, 20%);

    GtkLabel { color: inherit; }
  }
  .menubar .menu .menuitem { font: normal; }
}

/* the login window */
#login_window,
#shutdown_dialog,
#restart_dialog {
  font: normal;
  border-style: none;
  background-color: transparent;
  color: $fg_color;
}

/* the top half of the login-window, in GtkDialog terms, the content */
#content_frame {
  padding-bottom: 14px;
  background-color: transparentize($bg_color, 0.05);
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}

#content_frame .button {
  @include button(normal);

  &:hover { @include button(hover); }
  &:active, &:checked { @include button(active); }
  &:insensitive { @include button(insensitive); }
}

/* the lower half of the login-window, in GtkDialog terms the buttonbox or action area */
#buttonbox_frame {
  padding-top: 20px;
  padding-bottom: 0px;
  border-style: none;
  background-color: $osd_bg_color;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}

#buttonbox_frame .button{
  @include button(osd);

  &:hover { @include button(osd-hover); }
  &:active, &:checked { @include button(osd-active); }
  &:insensitive { @include button(osd-insensitive); }
}

#login_window #user_combobox {
  color: $fg_color;
  font: 13px;

  .menu { font: normal; }
  .arrow {}
}

/* the user's avatar box */
#user_image {
  padding: 3px;
  border-radius: 3px;
}

/* the border around the user's avatar box */
#user_image_border {}

/* the shutdown button */
#shutdown_button.button {
  color: $selected_fg_color;
  outline-color: transparentize($selected_fg_color, 0.7);
  border-color: $destructive_color;
  background-color: $destructive_color;
  background-image: none;
  background-clip: border-box;

  &:hover {
    color: $selected_fg_color;
    outline-color: transparentize($selected_fg_color, 0.7);
    border-color: lighten($destructive_color, 9%);
    background-color: lighten($destructive_color, 9%);
    background-image: none;
  }
  &:active, &:checked {
    color: $selected_fg_color;
    outline-color: transparentize($selected_fg_color, 0.7);
    border-color: darken($destructive_color, 7%);
    background-color: darken($destructive_color, 7%);
    background-image: none;
  }
}

/* the restart button */
#restart_button.button {
  $_restart_bg: #51CF74;

  color: $selected_fg_color;
  outline-color: transparentize($selected_fg_color, 0.7);
  border-color: $_restart_bg;
  background-color: $_restart_bg;
  background-image: none;
  background-clip: border-box;

  &:hover {
    color: $selected_fg_color;
    outline-color: transparentize($selected_fg_color, 0.7);
    border-color: lighten($_restart_bg, 9%);
    background-color: lighten($_restart_bg, 9%);
    background-image: none;
  }
  &:active, &:checked {
    color: $selected_fg_color;
    outline-color: transparentize($selected_fg_color, 0.7);
    border-color: darken($_restart_bg, 7%);
    background-color: darken($_restart_bg, 7%);
    background-image: none;
  }
}

/* the warning, in case a wrong password is entered or something else goes wrong according to PAM */
#greeter_infobar {
  border-bottom-width: 0;
  font: bold;
}