1 | .lighter { font-weight:lighter; } |
---|
2 | .bolder { font-weight:bolder; } |
---|
3 | .inline { display:inline-block !important; } |
---|
4 | .block { display:block !important; } |
---|
5 | |
---|
6 | .center , .align-center{ text-align:center !important; } |
---|
7 | .align-left { text-align:left !important; } |
---|
8 | .align-right { text-align:right !important; } |
---|
9 | |
---|
10 | .middle { vertical-align:middle; } |
---|
11 | .align-middle { vertical-align:middle !important; } |
---|
12 | .align-top { vertical-align:top !important; } |
---|
13 | .align-bottom { vertical-align:bottom !important; } |
---|
14 | |
---|
15 | .position-relative { position:relative; } |
---|
16 | .position-absolute { position:absolute; } |
---|
17 | |
---|
18 | .line-height-normal { line-height: normal !important; } |
---|
19 | .line-height-1 { line-height: 1 !important; } |
---|
20 | |
---|
21 | .dark { color:@ace-dark !important; } |
---|
22 | .white { color:@ace-white !important; } |
---|
23 | .red { color:@ace-red !important; } |
---|
24 | .light-red { color:@ace-light-red !important; } |
---|
25 | .blue { color:@ace-blue !important; } |
---|
26 | .light-blue { color:@ace-light-blue !important; } |
---|
27 | .green { color:@ace-green !important; } |
---|
28 | .light-green { color:@ace-light-green !important;} |
---|
29 | .orange { color:@ace-orange !important; } |
---|
30 | .light-orange {color:@ace-light-orange !important;} |
---|
31 | .orange2 { color:@ace-orange2 !important; } |
---|
32 | .purple { color:@ace-purple !important; } |
---|
33 | .pink { color:@ace-pink !important; } |
---|
34 | .pink2 { color:@ace-pink2 !important; } |
---|
35 | .brown { color:@ace-brown !important; } |
---|
36 | .grey { color:@ace-grey !important; } |
---|
37 | .light-grey { color:@ace-light-grey !important; } |
---|
38 | |
---|
39 | |
---|
40 | |
---|
41 | .biggerX (@index) when (@index < 310) { |
---|
42 | .bigger-@{index} { font-size: unit(@index,~"%"); } |
---|
43 | .biggerX(@index + 10); |
---|
44 | } |
---|
45 | .biggerX(110); |
---|
46 | .bigger-125 { font-size:125%;} |
---|
47 | .bigger-175 { font-size:175%; } |
---|
48 | .bigger-225 { font-size:225%; } |
---|
49 | .bigger-275 { font-size:275%; } |
---|
50 | |
---|
51 | .smallerX (@index) when (@index > 10) { |
---|
52 | .smaller-@{index} { font-size: unit(@index,~"%"); } |
---|
53 | .smallerX(@index - 10); |
---|
54 | } |
---|
55 | .smallerX(90); |
---|
56 | .smaller-75 { font-size:75%;} |
---|
57 | |
---|
58 | .widthX (@index) when (@index < 105) { |
---|
59 | .width-@{index} { width: unit(@index,~"%") !important; } |
---|
60 | .widthX(@index + 5); |
---|
61 | } |
---|
62 | .widthX(20); |
---|
63 | .width-48 { width: 48% !important; } |
---|
64 | .width-auto { width: auto !important; } |
---|
65 | .height-auto { height: auto !important; } |
---|
66 | |
---|
67 | |
---|
68 | .no-padding { padding:0 !important; } |
---|
69 | .no-padding-bottom { padding-bottom:0 !important; } |
---|
70 | .no-padding-top { padding-top:0 !important; } |
---|
71 | .no-padding-left { padding-left:0 !important; } |
---|
72 | .no-padding-right { padding-right:0 !important; } |
---|
73 | .no-margin { margin:0 !important; } |
---|
74 | .no-margin-bottom { margin-bottom:0 !important; } |
---|
75 | .no-margin-top { margin-top:0 !important; } |
---|
76 | .no-margin-left { margin-left:0 !important; } |
---|
77 | .no-margin-right { margin-right:0 !important; } |
---|
78 | |
---|
79 | .no-border { border:none; } |
---|
80 | .no-border-bottom { border-bottom:none; } |
---|
81 | .no-border-top { border-top:none; } |
---|
82 | .no-border-left { border-left:none; } |
---|
83 | .no-border-right { border-right:none; } |
---|
84 | |
---|
85 | |
---|
86 | .no-underline { |
---|
87 | text-decoration:none !important; |
---|
88 | } |
---|
89 | .no-hover-underline:hover { |
---|
90 | text-decoration:none !important; |
---|
91 | } |
---|
92 | |
---|
93 | .no-shadow , .no-box-shadow { |
---|
94 | .box-shadow(none) !important; |
---|
95 | } |
---|
96 | .no-text-shadow { |
---|
97 | text-shadow:none !important; |
---|
98 | } |
---|
99 | |
---|
100 | .overflow-hidden {overflow:hidden !important;} |
---|
101 | .overflow-auto {overflow:auto !important;} |
---|
102 | .overflow-scroll {overflow:scroll !important;} |
---|
103 | .overflow-visible {overflow:visible !important;} |
---|
104 | |
---|
105 | /* <hr /> like spacing by using div, e.g <div class="hr hr-32"></div> */ |
---|
106 | .hr { |
---|
107 | display:block; |
---|
108 | height:0px; overflow:hidden; font-size:0; |
---|
109 | border-top:1px solid #E3E3E3; |
---|
110 | margin:12px 0; |
---|
111 | } |
---|
112 | .hr-double { |
---|
113 | height:3px; |
---|
114 | border-top:1px solid #E3E3E3; |
---|
115 | border-bottom:1px solid #E3E3E3; |
---|
116 | } |
---|
117 | .hr.dotted , .hr-dotted{ border-top-style:dotted;} |
---|
118 | .hr-double.dotted { border-bottom-style:dotted;} |
---|
119 | |
---|
120 | |
---|
121 | .hrX (@index) when (@index > 0) { |
---|
122 | .hr-@{index}, .hr@{index} { margin:unit(@index,px) 0; } |
---|
123 | .hrX(@index - 2); |
---|
124 | } |
---|
125 | .hrX(32); |
---|
126 | |
---|
127 | |
---|
128 | |
---|
129 | /* some spacing classes, use like <div class="space-24"></div> */ |
---|
130 | .space() { |
---|
131 | max-height:1px; |
---|
132 | min-height:1px; |
---|
133 | overflow:hidden; |
---|
134 | } |
---|
135 | .space { .space(); margin:12px 0; } |
---|
136 | .vspace-xs , .vspace-sm, .vspace-md, .vspace-lg { .space(); display:none; margin:12px 0; } /* visible only on smaller devices where grid columns are stacked on top of each other */ |
---|
137 | |
---|
138 | .spaceX (@index) when (@index > 0) { |
---|
139 | .space-@{index} { .space(); margin:unit(@index,px) 0 unit(@index - 1,px); } |
---|
140 | .vspace-@{index} , |
---|
141 | .vspace-xs-@{index} , |
---|
142 | .vspace-sm-@{index} , |
---|
143 | .vspace-md-@{index} , |
---|
144 | .vspace-lg-@{index} |
---|
145 | { |
---|
146 | .space(); |
---|
147 | margin:unit(@index,px) 0 unit(@index - 1,px) 0; |
---|
148 | } |
---|
149 | .spaceX(@index - 2); |
---|
150 | } |
---|
151 | .spaceX(32);//produce spaces |
---|
152 | |
---|
153 | |
---|
154 | |
---|
155 | |
---|
156 | /* headers */ |
---|
157 | .header { |
---|
158 | line-height:28px; |
---|
159 | margin-bottom:16px; |
---|
160 | margin-top:18px; |
---|
161 | padding-bottom:4px; |
---|
162 | border-bottom:1px solid #CCC; |
---|
163 | |
---|
164 | &.blue { |
---|
165 | border-bottom-color:desaturate(lighten(@ace-blue, 35%), 10%); |
---|
166 | } |
---|
167 | &.green { |
---|
168 | border-bottom-color:desaturate(lighten(@ace-green, 35%), 6%); |
---|
169 | } |
---|
170 | &.purple { |
---|
171 | border-bottom-color:desaturate(lighten(@ace-purple, 28%), 5%); |
---|
172 | } |
---|
173 | &.orange { |
---|
174 | border-bottom-color:desaturate(lighten(@ace-orange, 25%), 5%); |
---|
175 | } |
---|
176 | &.orange2 { |
---|
177 | border-bottom-color:desaturate(lighten(@ace-orange2, 20%), 5%); |
---|
178 | } |
---|
179 | &.red { |
---|
180 | border-bottom-color:desaturate(lighten(@ace-red, 30%), 5%); |
---|
181 | } |
---|
182 | &.grey { |
---|
183 | border-bottom-color:desaturate(lighten(@ace-grey, 30%), 5%); |
---|
184 | } |
---|
185 | &.pink { |
---|
186 | border-bottom-color:desaturate(lighten(@ace-pink, 32%), 5%); |
---|
187 | } |
---|
188 | &.pink2 { |
---|
189 | border-bottom-color:desaturate(lighten(@ace-pink2, 20%), 5%); |
---|
190 | } |
---|
191 | &.light-blue { |
---|
192 | border-bottom-color:desaturate(lighten(@ace-light-blue, 15%), 5%); |
---|
193 | } |
---|
194 | &.light-red { |
---|
195 | border-bottom-color:desaturate(lighten(@ace-light-red, 15%), 5%); |
---|
196 | } |
---|
197 | &.light-green { |
---|
198 | border-bottom-color:desaturate(lighten(@ace-light-green, 15%), 5%); |
---|
199 | } |
---|
200 | &.brown { |
---|
201 | border-bottom-color:desaturate(lighten(@ace-brown, 32%), 5%); |
---|
202 | } |
---|
203 | |
---|
204 | > [class*="icon-"] { |
---|
205 | margin-right:2px; |
---|
206 | } |
---|
207 | } |
---|
208 | |
---|
209 | .no-radius { .border-radius(0) !important; } |
---|
210 | |
---|
211 | |
---|
212 | |
---|
213 | |
---|
214 | |
---|
215 | |
---|
216 | .action-buttons a { |
---|
217 | margin:0 3px; |
---|
218 | display:inline-block; |
---|
219 | opacity:0.85; |
---|
220 | .transition(~"all 0.1s"); |
---|
221 | |
---|
222 | &:hover { |
---|
223 | text-decoration:none; |
---|
224 | .transform(~"scale(1.2)"); |
---|
225 | opacity:1; |
---|
226 | } |
---|
227 | } |
---|