This repository has been archived by the owner on Nov 10, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
box.less
124 lines (114 loc) · 1.53 KB
/
box.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
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
/* Background */
.bg-black {
background-color: @black;
}
.bg-blue {
background-color: @blue;
}
.bg-blue-light {
background-color: @blue-light;
}
.bg-gray {
background-color: @gray;
}
.bg-gray-dark {
background-color: @gray-dark;
}
.bg-gray-light {
background-color: @gray-light;
}
.bg-green {
background-color: @green;
}
.bg-orange {
background-color: @orange;
}
.bg-purple {
background-color: @purple;
}
.bg-purple-light {
background-color: @purple-light;
}
.bg-pink {
background-color: @pink;
}
.bg-red {
background-color: @red;
}
.bg-white {
background-color: @white;
}
.bg-yellow {
background-color: @yellow;
}
.bg-black a,
.bg-blue a,
.bg-gray-dark a:hover,
.bg-green a,
.bg-orange a,
.bg-purple a,
.bg-red a,
.bg-yellow a {
color: #FFF;
}
.bg-blue-light a {
color: @blue;
}
.bg-gray a {
color: @gray-light;
}
.bg-gray-dark a {
color: @gray;
}
.bg-purple a:hover {
color: @purple-light;
}
.bg-purple-light a {
color: @purple;
}
.bg-pink a {
color: @red;
}
.bg-yellow a:hover {
color: darken(@yellow, 40%);
}
/* Border Radius */
.radius-0 {
.radius(0);
}
.radius-2 {
.radius(2px);
}
.radius-4 {
.radius(4px);
}
.radius-6 {
.radius(6px);
}
.radius-8 {
.radius(8px);
}
/* Border */
@border-color: #DDD;
.bd {
border: 1px solid @border-color;
}
.b-t {
border-top: 1px solid @border-color;
}
.b-b {
border-bottom: 1px solid @border-color;
}
.b-l {
border-left: 1px solid @border-color;
}
.b-r {
border-right: 1px solid @border-color;
}
.bd.dashed,
.b-t.dashed,
.b-b.dashed,
.b-l.dashed,
.b-r.dashed {
border-style: dashed;
}