-
Notifications
You must be signed in to change notification settings - Fork 275
/
login.less
99 lines (84 loc) · 1.71 KB
/
login.less
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
// {{{ICINGA_LICENSE_HEADER}}}
// {{{ICINGA_LICENSE_HEADER}}}
#login {
width: 100%;
height: 100%;
.logo {
background-color: #555;
-moz-background-image: linear-gradient(to bottom, #333, #555);
-ms-background-image: linear-gradient(to bottom, #333, #555);
-o-background-image: linear-gradient(to bottom, #333, #555);
-webkit-background-image: linear-gradient(to bottom, #333, #555);
background-image: linear-gradient(to bottom, #333, #555);
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 60%;
border-bottom: 1px solid #333;
text-align: center;
}
.image {
position: absolute;
bottom: 1em;
left: 0px;
right: 0px;
text-align: center;
}
.image img {
width: 400px;
}
.form {
position: absolute;
font-size: 0.9em;
top: 42%;
left: 0;
bottom: 0;
right: 0;
}
.form h1 {
text-align: left;
font-size: 1.5em;
margin-left: auto;
margin-right: auto;
width: 12em;
color: @colorTextDefault;
}
.form label {
font-weight: normal;
display: inline-block;
line-height: 2.5em;
width: 10em;
margin-right: 1em;
text-align: right;
}
form {
margin-left: auto;
margin-right: auto;
width: 40em;
}
form input {
width: 18em;
padding: 0.5em;
background: #ddd;
color: #333;
border: 1px solid #ddd;
}
form input:focus {
background: white;
}
input[type=submit] {
color: #eee;
border-color: #777;
background: #777;
margin-left: 10.1em;
}
input[type=submit]:hover, a.button:hover, input[type=submit]:focus {
background-color: #333;
border-color: #333;
}
.footer {
font-size: 0.9em;
text-align: center;
}
}