2 .horizontal(@startColor: #555, @endColor: #333) {
3 background-color: @endColor;
4 background-image: -moz-linear-gradient(left, @startColor, @endColor); // FF 3.6+
5 background-image: -webkit-gradient(linear, 0 0, 100% 0, from(@startColor), to(@endColor)); // Safari 4+, Chrome 2+
6 background-image: -webkit-linear-gradient(left, @startColor, @endColor); // Safari 5.1+, Chrome 10+
7 background-image: -o-linear-gradient(left, @startColor, @endColor); // Opera 11.10
8 background-image: linear-gradient(to right, @startColor, @endColor); // Standard, IE10
9 background-repeat: repeat-x;
10 filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",argb(@startColor),argb(@endColor))); // IE9 and down
12 .vertical(@startColor: #555, @endColor: #333) {
13 background-color: mix(@startColor, @endColor, 60%);
14 background-image: -moz-linear-gradient(top, @startColor, @endColor); // FF 3.6+
15 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor), to(@endColor)); // Safari 4+, Chrome 2+
16 background-image: -webkit-linear-gradient(top, @startColor, @endColor); // Safari 5.1+, Chrome 10+
17 background-image: -o-linear-gradient(top, @startColor, @endColor); // Opera 11.10
18 background-image: linear-gradient(to bottom, @startColor, @endColor); // Standard, IE10
19 background-repeat: repeat-x;
20 filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@startColor),argb(@endColor))); // IE9 and down
22 .directional(@startColor: #555, @endColor: #333, @deg: 45deg) {
23 background-color: @endColor;
24 background-repeat: repeat-x;
25 background-image: -moz-linear-gradient(@deg, @startColor, @endColor); // FF 3.6+
26 background-image: -webkit-linear-gradient(@deg, @startColor, @endColor); // Safari 5.1+, Chrome 10+
27 background-image: -o-linear-gradient(@deg, @startColor, @endColor); // Opera 11.10
28 background-image: linear-gradient(@deg, @startColor, @endColor); // Standard, IE10
30 .vertical-three-colors(@startColor: #00b3ee, @midColor: #7a43b6, @colorStop: 50%, @endColor: #c3325f) {
31 background-color: mix(@midColor, @endColor, 80%);
32 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor), color-stop(@colorStop, @midColor), to(@endColor));
33 background-image: -webkit-linear-gradient(@startColor, @midColor @colorStop, @endColor);
34 background-image: -moz-linear-gradient(top, @startColor, @midColor @colorStop, @endColor);
35 background-image: -o-linear-gradient(@startColor, @midColor @colorStop, @endColor);
36 background-image: linear-gradient(@startColor, @midColor @colorStop, @endColor);
37 background-repeat: no-repeat;
38 filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@startColor),argb(@endColor))); // IE9 and down, gets no color-stop at all for proper fallback
40 .radial(@innerColor: #555, @outerColor: #333) {
41 background-color: @outerColor;
42 background-image: -webkit-gradient(radial, center center, 0, center center, 460, from(@innerColor), to(@outerColor));
43 background-image: -webkit-radial-gradient(circle, @innerColor, @outerColor);
44 background-image: -moz-radial-gradient(circle, @innerColor, @outerColor);
45 background-image: -o-radial-gradient(circle, @innerColor, @outerColor);
46 background-repeat: no-repeat;
48 .striped(@color: #555, @angle: 45deg) {
49 background-color: @color;
50 background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25, rgba(255,255,255,.15)), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, rgba(255,255,255,.15)), color-stop(.75, rgba(255,255,255,.15)), color-stop(.75, transparent), to(transparent));
51 background-image: -webkit-linear-gradient(@angle, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);
52 background-image: -moz-linear-gradient(@angle, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);
53 background-image: -o-linear-gradient(@angle, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);
54 background-image: linear-gradient(@angle, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);
60 font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
72 background-color: red;
105 border-left: 1px solid #999;
110 text-decoration: none;
119 .clickable-dummy, .pointer {
128 background-color: #eeeeee;
129 #gradient > .vertical(#eeeeee, #dddddd);
132 #gradient > .vertical(#bdfade, #76fabc);
138 -webkit-box-sizing: border-box;
139 -moz-box-sizing: border-box;
140 box-sizing: border-box;
142 border: 1px solid #AAA;
143 #gradient > .vertical(#eeeeee, #dddddd);
154 border-left: 1px solid #e5e5e5;
166 background-color: #eeeeee;
167 #gradient > .vertical(#eeeeee, #dddddd);
170 #gradient > .vertical(#b1d1f9, #64a8f9);
176 -webkit-box-sizing: border-box;
177 -moz-box-sizing: border-box;
178 box-sizing: border-box;
180 border: 1px solid #AAA;
181 #gradient > .vertical(#eeeeee, #dddddd);
192 border-left: 1px solid #e5e5e5;