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
| // MIXINS
// ==========================================
.rounded-corners (@radius1: 5px, @radius2: 5px, @radius3: 5px, @radius4: 5px) {
-webkit-border-radius: @radius1 @radius2 @radius3 @radius4;
-moz-border-radius: @radius1 @radius2 @radius3 @radius4;
-ms-border-radius: @radius1 @radius2 @radius3 @radius4;
-o-border-radius: @radius1 @radius2 @radius3 @radius4;
border-radius: @radius1 @radius2 @radius3 @radius4;
}
.drop-shadow (@x: 0, @y: 1px, @blur: 2px, @spread: 0, @alpha: 0.25) {
-webkit-box-shadow: @x @y @blur @spread rgba(0, 0, 0, @alpha);
-moz-box-shadow: @x @y @blur @spread rgba(0, 0, 0, @alpha);
box-shadow: @x @y @blur @spread rgba(0, 0, 0, @alpha);
}
.gradient (@startColor: #eee, @endColor: white) {
background-color: @startColor;
background: -webkit-gradient(linear, left top, left bottom, from(@startColor), to(@endColor));
background: -webkit-linear-gradient(top, @startColor, @endColor);
background: -moz-linear-gradient(top, @startColor, @endColor);
background: -ms-linear-gradient(top, @startColor, @endColor);
background: -o-linear-gradient(top, @startColor, @endColor);
}
// Colors
// ==========================================
@silver_light: #edf1f2;
@silver_white: #f7f8fa;
@silver_dark: #eef7fc;
@silver_border: #c3d5d9;
@grey: #8f8f8f;
@blue_dark: #76ccea;
@blue_light: #badff2;
// Styles
// ==========================================
body {
background-color: @silver_light;
}
.container.lf{
width: 322px;
color: @grey;
a {color: @grey;}
.logf {
margin-top: 50px;
.rounded-corners(5px, 5px, 5px, 5px);
.drop-shadow(0px, 0px, 6px, 2px, 0.05);
}
.lfhead, .lfbody, .lffooter{
border: 1px solid @silver_border;
background-color: @silver_white;
min-height: 20px;
// line-height: 15px;
}
.lfhead {
border-bottom: 0;
.rounded-corners(5px, 5px, 0, 0);
}
.lfbody {
border-top: 0;
border-bottom: 0;
.input-group-addon {
color: @grey;
}
.form-control:focus {
.drop-shadow(0px, 0px, 6px, 2px, 0.05);
border-color: @blue_dark;
}
}
.lffooter {
background-color: @silver_dark;
.rounded-corners(0, 0, 5px, 5px);
padding-top: 16px;
.text-left {
padding-top: 8px;
}
label {
font-weight: normal;
color: @grey;
}
input[type='button'], input[type='reset'], input[type='submit'] {
.rounded-corners(18px, 18px, 18px, 18px);
border-color: @blue_dark;
.gradient(@blue_light, @blue_dark);
font-weight: bold;
.drop-shadow(0px, 1px, 2px, 1px, 0.10);
text-shadow: 1px 1px @blue_dark;
&:hover {
.gradient(@blue_dark, @blue_light);
}
}
}
.lflinks {
padding-top: 8px;
}
} |