blob: 8a4f6094975127626e8f2971b8e50668cbcdd67e [file] [log] [blame]
Michael Lando451a3402017-02-19 10:28:42 +02001@import "variables";
2
3.font-color {
4 .a {color: @color_a;}
5 .b {color: @color_b;}
6 .c {color: @color_c;}
7 .d {color: @color_d;}
8 .e {color: @color_e;}
9 .f {color: @color_f;}
10 .g {color: @color_g;}
11 .h {color: @color_h;}
12 .i {color: @color_i;}
13 .j {color: @color_j;}
14 .k {color: @color_k;}
15 .l {color: @color_l;}
16 .m {color: @color_m;}
17 .n {color: @color_n;}
18 .o {color: @color_o;}
19 .p {color: @color_p;}
20 .q {color: @color_q;}
21 .r {color: @color_r;}
22 .s {color: @color_s;}
23 .t {color: @color_t;}
24 .u {color: @color_t;}
25 .v {color: @color_t;}
26 .w {color: @color_t;}
27 .x {color: @color_t;}
28 .y {color: @color_t;}
29 .z {color: @color_z;}
30 .zz {color: @color_zz;}
31
32 .hover {
33 .a {color: @color_a_hover;}
34 .b {color: @color_b_hover;}
35 .c {color: @color_c_hover;}
36 .d {color: @color_d_hover;}
37 .e {color: @color_e_hover;}
38 .f {color: @color_f_hover;}
39 .g {color: @color_g_hover;}
40 .h {color: @color_h_hover;}
41 .i {color: @color_i_hover;}
42 .j {color: @color_j_hover;}
43 .k {color: @color_k_hover;}
44 .l {color: @color_l_hover;}
45 .m {color: @color_m_hover;}
46 .n {color: @color_n_hover;}
47 .o {color: @color_o_hover;}
48 .p {color: @color_p_hover;}
49 .q {color: @color_q_hover;}
50 .r {color: @color_r_hover;}
51 .s {color: @color_s_hover;}
52 .t {color: @color_t_hover;}
53 .u {color: @color_u_hover;}
54 .v {color: @color_v_hover;}
55 .w {color: @color_w_hover;}
56 .x {color: @color_x_hover;}
57 .y {color: @color_y_hover;}
58 .z {color: @color_z_hover;}
59 .zz {color: @color_zz_hover;}
60 }
61}
62
63.font-type {
64 ._1 {
65 font-family: @font-omnes-regular;
66 font-size: 14px;
67 }
68 ._2 {
69 font-family: @font-omnes-regular;
70 font-size: 20px;
71 }
72 ._3 {
73 font-family: @font-omnes-regular;
74 font-size: 12px;
75 }
76 ._4 {
77 font-family: @font-omnes-regular;
78 font-size: 16px;
79 }
80 ._5 {
81 font-family: @font-omnes-medium;
82 font-size: 30px;
83 }
84 ._6 {
85 font-family: @font-omnes-medium;
86 font-size: 16px;
87 }
88 ._7 {
89 font-family: @font-omnes-medium;
90 font-size: 14px;
91 }
92 ._8 {
93 font-family: @font-omnes-regular;
94 font-size: 11px;
95 }
96 ._9 {
97 font-family: @font-omnes-regular;
98 font-size: 13px;
99 }
100 ._10 {
101 font-family: @font-omnes-regular;
102 font-size: 18px;
103 }
104 ._11 {
105 font-family: @font-omnes-medium;
106 font-size: 20px;
107 }
108 ._12 {
109 font-family: @font-omnes-medium;
110 font-size: 17px;
111 }
112 ._13 {
113 font-family: @font-omnes-medium;
114 font-size: 12px;
115 }
116 ._14 {
117 font-family: @font-omnes-medium;
118 font-size: 11px;
119 }
120 ._15 {
121 font-family: @font-omnes-medium;
122 font-size: 24px;
123 }
124 ._16 {
125 font-family: @font-omnes-regular;
126 font-size: 10px;
127 }
128 ._17 {
129 font-family: @font-omnes-medium;
130 font-size: 15px;
131 }
132 ._18 {
133 font-family: @font-omnes-regular;
134 font-size: 15px;
135 }
136 ._19 {
137 font-family: @font-omnes-medium;
138 font-size: 18px;
139 }
140}
141
142.a_1 {.font-color > .a; .font-type > ._1;}
143.a_2 {.font-color > .a; .font-type > ._2;}
144.a_3 {.font-color > .a; .font-type > ._3;}
145.a_4 {.font-color > .a; .font-type > ._4;}
146.a_5 {.font-color > .a; .font-type > ._5;}
147.a_6 {.font-color > .a; .font-type > ._6;}
148.a_7 {.font-color > .a; .font-type > ._7;}
149.a_8 {.font-color > .a; .font-type > ._8;}
150.a_9 {.font-color > .a; .font-type > ._9;}
151.a_10 {.font-color > .a; .font-type > ._10;}
152.a_15 {.font-color > .a; .font-type > ._15;}
153
154.b_1 {.font-color > .b; .font-type > ._1;}
155.b_3 {.font-color > .b; .font-type > ._3;}
156.b_4 {.font-color > .b; .font-type > ._4;}
157.b_5 {.font-color > .b; .font-type > ._5;}
158.b_6 {.font-color > .b; .font-type > ._6;}
159.b_7 {.font-color > .b; .font-type > ._7;}
160.b_9 {.font-color > .b; .font-type > ._9;}
161.b_10 {.font-color > .b; .font-type > ._10;}
162.b_11 {.font-color > .b; .font-type > ._11;}
163.b_13 {.font-color > .b; .font-type > ._13;}
164.b_15 {.font-color > .b; .font-type > ._15;}
165.b_17 {.font-color > .b; .font-type > ._17;}
166.b_19 {.font-color > .b; .font-type > ._19;}
167
168.c_1 {.font-color > .c; .font-type > ._1;}
169.c_2 {.font-color > .c; .font-type > ._2;}
170.c_3 {.font-color > .c; .font-type > ._3;}
171.c_4 {.font-color > .c; .font-type > ._4;}
172.c_5 {.font-color > .c; .font-type > ._5;}
173.c_6 {.font-color > .c; .font-type > ._6;}
174.c_7 {.font-color > .c; .font-type > ._7;}
175.c_8 {.font-color > .c; .font-type > ._8;}
176.c_9 {.font-color > .c; .font-type > ._9;}
177.c_10 {.font-color > .c; .font-type > ._10;}
178.c_11 {.font-color > .c; .font-type > ._11;}
179.c_15 {.font-color > .c; .font-type > ._15;}
180.c_16 {.font-color > .c; .font-type > ._16;}
181.c_17 {.font-color > .c; .font-type > ._17;}
182.c_18 {.font-color > .c; .font-type > ._18;}
183
184.d_1 {.font-color > .d; .font-type > ._1;}
185.d_2 {.font-color > .d; .font-type > ._2;}
186.d_3 {.font-color > .d; .font-type > ._3;}
187.d_4 {.font-color > .d; .font-type > ._4;}
188.d_5 {.font-color > .d; .font-type > ._5;}
189.d_6 {.font-color > .d; .font-type > ._6;}
190.d_12 {.font-color > .d; .font-type > ._12;}
191
192.e_1 {.font-color > .e; .font-type > ._1;}
193.e_2 {.font-color > .e; .font-type > ._2;}
194.e_3 {.font-color > .e; .font-type > ._3;}
195.e_4 {.font-color > .e; .font-type > ._4;}
196.e_5 {.font-color > .e; .font-type > ._5;}
197.e_6 {.font-color > .e; .font-type > ._6;}
198.e_7 {.font-color > .e; .font-type > ._7;}
199
200.f_1 {.font-color > .f; .font-type > ._1;}
201.f_2 {.font-color > .f; .font-type > ._2;}
202
203.g_1 {.font-color > .g; .font-type > ._1;}
204.g_2 {.font-color > .g; .font-type > ._2;}
205.g_3 {.font-color > .g; .font-type > ._3;}
206.g_4 {.font-color > .g; .font-type > ._4;}
207.g_5 {.font-color > .g; .font-type > ._5;}
208.g_6 {.font-color > .g; .font-type > ._6;}
209.g_7 {.font-color > .g; .font-type > ._7;}
210.g_8 {.font-color > .g; .font-type > ._8;}
211.g_9 {.font-color > .g; .font-type > ._9;}
212.g_10 {.font-color > .g; .font-type > ._10;}
213.g_13 {.font-color > .g; .font-type > ._13;}
214.g_14 {.font-color > .g; .font-type > ._14;}
215
216.h_1 {.font-color > .h; .font-type > ._1;}
217.h_7 {.font-color > .h; .font-type > ._7;}
218.h_9 {.font-color > .h; .font-type > ._9;}
219
220.i_1 {.font-color > .i; .font-type > ._1;}
221.i_6 {.font-color > .i; .font-type > ._6;}
222.i_11 {.font-color > .i; .font-type > ._11;}
223.i_17 {.font-color > .i; .font-type > ._17;}
224
225.l_1 {.font-color > .l; .font-type > ._1;}
226.l_9 {.font-color > .l; .font-type > ._9;}
227
228.m_4 {.font-color > .m; .font-type > ._4;}
229.m_7 {.font-color > .m; .font-type > ._7;}
230
231.p_1 {.font-color > .p; .font-type > ._1;}
232.p_3 {.font-color > .p; .font-type > ._3;}
233.p_9 {.font-color > .p; .font-type > ._9;}
234
235.q_7 {.font-color > .q; .font-type > ._7;}
236.q_9 {.font-color > .q; .font-type > ._9;}
237.q_11 {.font-color > .q; .font-type > ._11;}
238
239.r_12 {.font-color > .r; .font-type > ._12;}
240
241.t_1 {.font-color > .t; .font-type > ._1;}
242.t_7 {.font-color > .t; .font-type > ._7;}
243.t_15 {.font-color > .t; .font-type > ._15;}
244
245/* Added by ikram - */
246.s_12 {.font-color > .s; .font-type > ._12;}
247
248.z_9 {.font-color > .z; .font-type > ._9;}
249.backgroundColor {
250 .a {background-color: @color_a;}
251 .b {background-color: @color_b;}
252 .c {background-color: @color_c;}
253 .d {background-color: @color_d;}
254 .e {background-color: @color_e;}
255 .f {background-color: @color_f;}
256 .g {background-color: @color_g;}
257 .h {background-color: @color_h;}
258 .i {background-color: @color_i;}
259 .j {background-color: @color_j;}
260 .k {background-color: @color_k;}
261 .l {background-color: @color_l;}
262 .m {background-color: @color_m;}
263 .n {background-color: @color_n;}
264 .o {background-color: @color_o;}
265 .p {background-color: @color_p;}
266 .q {background-color: @color_q;}
267 .r {background-color: @color_r;}
268 .s {background-color: @color_s;}
269 .t {background-color: @color_t;}
270 .u {background-color: @color_u;}
271 .v {background-color: @color_v;}
272 .w {background-color: @color_w;}
273 .x {background-color: @color_x;}
274 .y {background-color: @color_y;}
275 .z {background-color: @color_z;}
276 .zz {background-color: @color_zz;}
277
278 .hover {
279 .a {background-color: @color_a_hover;}
280 .b {background-color: @color_b_hover;}
281 .c {background-color: @color_c_hover;}
282 .d {background-color: @color_d_hover;}
283 .e {background-color: @color_e_hover;}
284 .f {background-color: @color_f_hover;}
285 .g {background-color: @color_g_hover;}
286 .h {background-color: @color_h_hover;}
287 .i {background-color: @color_i_hover;}
288 .j {background-color: @color_j_hover;}
289 .k {background-color: @color_k_hover;}
290 .l {background-color: @color_l_hover;}
291 .m {background-color: @color_m_hover;}
292 .n {background-color: @color_n_hover;}
293 .o {background-color: @color_o_hover;}
294 .p {background-color: @color_p_hover;}
295 .q {background-color: @color_q_hover;}
296 .r {background-color: @color_r_hover;}
297 .s {background-color: @color_s_hover;}
298 .t {background-color: @color_t_hover;}
299 .u {background-color: @color_u_hover;}
300 .v {background-color: @color_v_hover;}
301 .w {background-color: @color_w_hover;}
302 .x {background-color: @color_x_hover;}
303 .y {background-color: @color_y_hover;}
304 .z {background-color: @color_z_hover;}
305 .zz {background-color: @color_zz_hover;}
306 }
307}
308
309.bg_a {.backgroundColor > .a;}
310.bg_b {.backgroundColor > .b;}
311.bg_c {.backgroundColor > .c;}
312.bg_d {.backgroundColor > .d;}
313.bg_e {.backgroundColor > .e;}
314.bg_f {.backgroundColor > .f;}
315.bg_g {.backgroundColor > .g;}
316.bg_h {.backgroundColor > .h;}
317.bg_i {.backgroundColor > .i;}
318.bg_j {.backgroundColor > .j;}
319.bg_k {.backgroundColor > .k;}
320.bg_l {.backgroundColor > .l;}
321.bg_m {.backgroundColor > .m;}
322.bg_n {.backgroundColor > .n;}
323.bg_o {.backgroundColor > .o;}
324.bg_p {.backgroundColor > .p;}
325.bg_q {.backgroundColor > .q;}
326.bg_r {.backgroundColor > .r;}
327.bg_s {.backgroundColor > .s;}
328.bg_t {.backgroundColor > .t;}
329.bg_u {.backgroundColor > .u;}
330.bg_v {.backgroundColor > .v;}
331.bg_w {.backgroundColor > .w;}
332.bg_x {.backgroundColor > .x;}
333.bg_y {.backgroundColor > .y;}
334.bg_z {.backgroundColor > .z;}
335.bg_zz {.backgroundColor > .zz;}
336
337.bg_a_hover {.backgroundColor > .hover > .a;}
338.bg_b_hover {.backgroundColor > .hover > .b;}
339.bg_c_hover {.backgroundColor > .hover > .c;}
340.bg_d_hover {.backgroundColor > .hover > .d;}
341.bg_e_hover {.backgroundColor > .hover > .e;}
342.bg_f_hover {.backgroundColor > .hover > .f;}
343.bg_g_hover {.backgroundColor > .hover > .g;}
344.bg_h_hover {.backgroundColor > .hover > .h;}
345.bg_i_hover {.backgroundColor > .hover > .i;}
346.bg_j_hover {.backgroundColor > .hover > .j;}
347.bg_l_hover {.backgroundColor > .hover > .l;}
348.bg_m_hover {.backgroundColor > .hover > .m;}
349.bg_n_hover {.backgroundColor > .hover > .n;}
350.bg_o_hover {.backgroundColor > .hover > .o;}
351.bg_p_hover {.backgroundColor > .hover > .p;}
352.bg_q_hover {.backgroundColor > .hover > .q;}
353.bg_r_hover {.backgroundColor > .hover > .r;}
354.bg_s_hover {.backgroundColor > .hover > .s;}
355.bg_t_hover {.backgroundColor > .hover > .t;}
356.bg_u_hover {.backgroundColor > .hover > .u;}
357.bg_v_hover {.backgroundColor > .hover > .v;}
358.bg_w_hover {.backgroundColor > .hover > .w;}
359.bg_x_hover {.backgroundColor > .hover > .x;}
360.bg_y_hover {.backgroundColor > .hover > .y;}
361.bg_z_hover {.backgroundColor > .hover > .z;}
362.bg_zz_hover {.backgroundColor > .hover > .zz;}
363
364.center {margin: 0 auto;}
365.vcenter {display: table-cell;vertical-align: middle;}
366.left {float: left;}
367.right {float: right;}
368.hand {cursor: pointer;}
369.default-pointer {cursor: default;}
370.text-center {text-align: center;}
371.display-none {display: none;}
372.nowrap {white-space: nowrap;}
373.bold {font-weight: bold;}
374.full-height {height: 100%;}
375.uppercase {text-transform: uppercase;}
376.capitalize {text-transform: capitalize;}
377.disabled {
378 //background-color: #f2f2f2;
379 //border-color: #d8d8d8;
380 //background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAIklEQVQIW2NkQAKrVq36zwjjgzhhYWGMYAEYB8RmROaABADeOQ8CXl/xfgAAAABJRU5ErkJggg==) repeat;
381 //color: @color_m;
382}
383
384.border-radius(@radius) {
385 -webkit-border-radius: @radius;
386 -moz-border-radius: @radius;
387 border-radius: @radius;
388}
389
390.border-radius-top-left(@radius) {
391 -webkit-border-top-left-radius: @radius;
392 -moz-border-radius-topleft: @radius;
393 -khtml-border-top-left-radius: @radius;
394 border-top-left-radius: @radius;
395}
396
397.border-radius-top-right(@radius) {
398 -webkit-border-top-right-radius: @radius;
399 -moz-border-radius-topright: @radius;
400 -khtml-border-top-right-radius: @radius;
401 border-top-right-radius: @radius;
402}
403
404.border-radius-bottom-left(@radius) {
405 -webkit-border-bottom-left-radius: @radius;
406 -moz-border-radius-bottomleft: @radius;
407 -khtml-border-bottom-left-radius: @radius;
408 border-bottom-left-radius: @radius;
409}
410
411.border-radius-bottom-right(@radius) {
412 -webkit-border-bottom-right-radius: @radius;
413 -moz-border-radius-bottomright: @radius;
414 -khtml-border-bottom-right-radius: @radius;
415 border-bottom-right-radius: @radius;
416}
417
418.opacity(@opacity: 0.5) {
419 -moz-opacity: @opacity;
420 -khtml-opacity: @opacity;
421 -webkit-opacity: @opacity;
422 opacity: @opacity;
423}
424
425.box-shadow(@arguments) {
426 -webkit-box-shadow: @arguments;
427 -moz-box-shadow: @arguments;
428 box-shadow: @arguments;
429}
430
431.square(@size) {
432 width: @size;
433 height: @size;
434}
435
436.selfClear:after {
437 content: ".";
438 display: block;
439 height: 0px;
440 clear: both;
441 visibility: hidden;
442}
443.selfClear {
444 display: inline-block;
445}
446
447.clearfix:after {
448 content: ".";
449 display: block;
450 clear: both;
451 visibility: hidden;
452 line-height: 0;
453 height: 0;
454}
455
456.clearfix {
457 display: inline-block;
458 clear: both;
459}
460
461.gradient(@d; @st; @st_o; @ec; @ec_0;){
462 background: -webkit-linear-gradient(@d, @st @st_o, @ec @ec_0);
463 background: -moz-linear-gradient(@d, @st @st_o, @ec @ec_0);
464 background: -o-linear-gradient(@d, @st @st_o, @ec @ec_0);
465 background: -ms-linear-gradient(@d, @st @st_o, @ec @ec_0);
466 background: linear-gradient(@d, @st @st_o, @ec @ec_0);
467}
468
469.hyphenate {
470 -ms-word-break: break-all;
471 word-break: break-all;
472
473 // Non standard for webkit
474 word-break: break-word;
475
476 -webkit-hyphens: auto;
477 -moz-hyphens: auto;
478 hyphens: auto;
479}
480
481.user-select (@val;) {
482 -webkit-touch-callout: none;
483 -webkit-user-select: @val;
484 -khtml-user-select: @val;
485 -moz-user-select: @val;
486 -ms-user-select: @val;
487 user-select: @val;
488}
489
490.flex-fixed (@width) {
491 flex-basis: @width;
492 flex-grow: 0;
493 flex-shrink: 0;
494}
495
496.perfect-scrollbar {
497 position: relative;
498 overflow: hidden;
499}
500
501.noselect {
502 -webkit-touch-callout: none;
503 -webkit-user-select: none;
504 -khtml-user-select: none;
505 -moz-user-select: none;
506 -ms-user-select: none;
507 user-select: none;
508}
509
510.arrow(@size, @color){
511 content: '';
512 position: absolute;
513 top: 50%;
514 right: 100%;
515 margin-top: -@size;
516 width: 0;
517 height: 0;
518 border-right: @size solid @color;
519 border-top: @size solid transparent;
520 border-bottom: @size solid transparent;
521}
522
523.circle(@size, @color){
524 background-color: @color;
525 .border-radius(50%);
526 color: @color_c;
527 content: '';
528 height: @size;
529 width: @size;
530 text-align: center;
531 display: block;
532}
533
534.sdc-ellipsis{
535 text-overflow: ellipsis;
536 overflow: hidden;
537 display: inline-block;
538 white-space: nowrap;
539 }
540
541// Works with animate.css
542.animation-duration(@seconds) {
543 animation-duration: @seconds; //3s
544 -webkit-animation-duration: @seconds;
545 -moz-animation-duration: @seconds;
546}
547
548.animation-delay(@seconds) {
549 animation-delay: @seconds; //3s
550 -webkit-animation-delay: @seconds;
551 -moz-animation-delay: @seconds;
552}
553
554.animation-iterations(@iterations) {
555 animation-iteration-count: @iterations; // infinite;
556 -webkit-animation-iteration-count: @iterations;
557 -moz-animation-iteration-count: @iterations;
558}