am-commons 0.0.11 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/am-commons/version.rb +1 -1
- data/package.json +1 -1
- data/stylesheets/am-commons/_am-components.scss +851 -239
- data/stylesheets/am-commons/_am-icons-definition.scss +10 -1
- data/stylesheets/am-commons/_am-icons.scss +8 -10
- data/stylesheets/am-commons/_am-utils.scss +294 -40
- data/stylesheets/am-commons/_am-variables.scss +4 -0
- data/stylesheets/am-commons/_epp-utils.scss +50 -5
- metadata +4 -4
@@ -1,4 +1,13 @@
|
|
1
|
-
|
1
|
+
@font-face {
|
2
|
+
font-family: 'almundo';
|
3
|
+
src:url('fonts/almundo.eot?67zp9l');
|
4
|
+
src:url('fonts/almundo.eot?#iefix67zp9l') format('embedded-opentype'),
|
5
|
+
url('fonts/almundo.ttf?67zp9l') format('truetype'),
|
6
|
+
url('fonts/almundo.woff?67zp9l') format('woff'),
|
7
|
+
url('fonts/almundo.svg?67zp9l#almundo') format('svg');
|
8
|
+
font-weight: normal;
|
9
|
+
font-style: normal;
|
10
|
+
}
|
2
11
|
|
3
12
|
[class^="icon-"], [class*=" icon-"] {
|
4
13
|
font-family: 'almundo';
|
@@ -3,21 +3,19 @@
|
|
3
3
|
//---------------------------------\\
|
4
4
|
|
5
5
|
// 01 TODO ORDENAR
|
6
|
-
@font-face {
|
7
|
-
font-family: 'almundo';
|
8
|
-
src:url('fonts/almundo.eot?67zp9l');
|
9
|
-
src:url('fonts/almundo.eot?#iefix67zp9l') format('embedded-opentype'),
|
10
|
-
url('fonts/almundo.ttf?67zp9l') format('truetype'),
|
11
|
-
url('fonts/almundo.woff?67zp9l') format('woff'),
|
12
|
-
url('fonts/almundo.svg?67zp9l#almundo') format('svg');
|
13
|
-
font-weight: normal;
|
14
|
-
font-style: normal;
|
15
|
-
}
|
16
6
|
|
17
7
|
[class^="icon-"], [class*=" icon-"] {
|
18
8
|
display:inline-block;
|
19
9
|
}
|
20
10
|
|
11
|
+
[class*="icon-none"] {
|
12
|
+
color:transparent;
|
13
|
+
}
|
14
|
+
|
15
|
+
[class="icon-star"] {
|
16
|
+
color:$star;
|
17
|
+
}
|
18
|
+
|
21
19
|
@import "am-icons-definition";
|
22
20
|
|
23
21
|
.icon-SME { // Seguro de Viajes
|
@@ -4,11 +4,15 @@
|
|
4
4
|
|
5
5
|
|
6
6
|
// 01 Tipography
|
7
|
-
// 01-
|
8
|
-
//
|
9
|
-
// 01-
|
10
|
-
// 01-
|
11
|
-
// 02
|
7
|
+
// 01-01 Text
|
8
|
+
// 01-01-01 Media Queries
|
9
|
+
// 01-02 Only Readers
|
10
|
+
// 01-03 Link Style
|
11
|
+
// 02 Colors
|
12
|
+
// 02-01 Font Colors
|
13
|
+
// 02-02 Background Colors
|
14
|
+
// 03 Transition
|
15
|
+
// 04 Rotation
|
12
16
|
|
13
17
|
|
14
18
|
//---------------------------------\\
|
@@ -17,41 +21,40 @@
|
|
17
21
|
|
18
22
|
//--------------Text-------------\\
|
19
23
|
|
20
|
-
.am-text--legal, .text--legal {
|
24
|
+
.am-text--legal, .text--legal, .font-10 {
|
21
25
|
@include font-rem(normal,10px,16px);
|
22
26
|
}
|
23
|
-
|
24
|
-
.am-title--smallest, .am-text--smallest, .text--smallest{
|
27
|
+
.am-title--smallest, .am-text--smallest, .text--smallest, .font-12{
|
25
28
|
@include font-rem(normal,12px,16px);
|
26
29
|
}
|
27
|
-
.am-title--smaller, .am-text--smaller, .text--smaller{
|
30
|
+
.am-title--smaller, .am-text--smaller, .text--smaller, .font-14{
|
28
31
|
@include font-rem(normal,14px,16px);
|
29
32
|
}
|
30
|
-
.am-title--xxs, .am-text--xxs, .text--xxs{
|
33
|
+
.am-title--xxs, .am-text--xxs, .text--xxs, .font-16{
|
31
34
|
@include font-rem(normal,16px,24px);
|
32
35
|
}
|
33
|
-
.am-title--xs, .am-text--xs, .text--xs{
|
36
|
+
.am-title--xs, .am-text--xs, .text--xs, .font-18{
|
34
37
|
@include font-rem(normal,18px,24px);
|
35
38
|
}
|
36
|
-
.am-title--sm, .am-text--sm, .text--sm{
|
39
|
+
.am-title--sm, .am-text--sm, .text--sm, .font-20{
|
37
40
|
@include font-rem(normal,20px,24px);
|
38
41
|
}
|
39
|
-
.am-title--md, .am-text--md, .text--md{
|
42
|
+
.am-title--md, .am-text--md, .text--md, .font-24{
|
40
43
|
@include font-rem(normal,24px,32px);
|
41
44
|
}
|
42
|
-
.am-title--lg, .am-text--lg, .text--lg{
|
45
|
+
.am-title--lg, .am-text--lg, .text--lg, .font-28{
|
43
46
|
@include font-rem(normal,28px,32px);
|
44
47
|
}
|
45
|
-
.am-title--xl, .am-text--xl, .text--xl{
|
48
|
+
.am-title--xl, .am-text--xl, .text--xl, .font-32{
|
46
49
|
@include font-rem(normal,32px,40px);
|
47
50
|
}
|
48
|
-
.am-title--xxl, .am-text--xxl, .text--xxl{
|
51
|
+
.am-title--xxl, .am-text--xxl, .text--xxl, .font-36{
|
49
52
|
@include font-rem(normal,36px,40px);
|
50
53
|
}
|
51
|
-
.am-title--larger, .am-text--larger, .text--larger{
|
54
|
+
.am-title--larger, .am-text--larger, .text--larger, .font-48{
|
52
55
|
@include font-rem(normal,48px,56px);
|
53
56
|
}
|
54
|
-
.am-title--largest, .am-text--largest, .text--largest{
|
57
|
+
.am-title--largest, .am-text--largest, .text--largest, .font-56{
|
55
58
|
@include font-rem(normal,56px,64px);
|
56
59
|
}
|
57
60
|
.am-title--shadow, .am-text--shadow, .text--shadow{
|
@@ -60,11 +63,132 @@
|
|
60
63
|
.am-title--bold, .am-text--bold, .text--bold {
|
61
64
|
font-weight:bold;
|
62
65
|
}
|
63
|
-
|
64
66
|
.text--italic {
|
65
67
|
font-style:italic;
|
66
68
|
}
|
67
69
|
|
70
|
+
//--------------Text Media Queries-------------\\
|
71
|
+
|
72
|
+
// Phone to 767
|
73
|
+
@media (max-width:767px) {
|
74
|
+
.text--legal--ph, .font-10--ph {
|
75
|
+
@include font-rem(normal,10px,16px);
|
76
|
+
}
|
77
|
+
.text--smallest--ph, .font-12--ph{
|
78
|
+
@include font-rem(normal,12px,16px);
|
79
|
+
}
|
80
|
+
.text--smaller--ph, .font-14--ph{
|
81
|
+
@include font-rem(normal,14px,16px);
|
82
|
+
}
|
83
|
+
.text--xxs--ph, .font-16--ph{
|
84
|
+
@include font-rem(normal,16px,24px);
|
85
|
+
}
|
86
|
+
.text--xs--ph, .font-18--ph{
|
87
|
+
@include font-rem(normal,18px,24px);
|
88
|
+
}
|
89
|
+
.text--sm--ph, .font-20--ph{
|
90
|
+
@include font-rem(normal,20px,24px);
|
91
|
+
}
|
92
|
+
.text--md--ph, .font-24--ph{
|
93
|
+
@include font-rem(normal,24px,32px);
|
94
|
+
}
|
95
|
+
.text--lg--ph, .font-28--ph{
|
96
|
+
@include font-rem(normal,28px,32px);
|
97
|
+
}
|
98
|
+
.text--xl--ph, .font-32--ph{
|
99
|
+
@include font-rem(normal,32px,40px);
|
100
|
+
}
|
101
|
+
.text--xxl--ph, .font-36--ph{
|
102
|
+
@include font-rem(normal,36px,40px);
|
103
|
+
}
|
104
|
+
.text--larger--ph, .font-48--ph{
|
105
|
+
@include font-rem(normal,48px,56px);
|
106
|
+
}
|
107
|
+
.text--largest--ph, .font-56--ph{
|
108
|
+
@include font-rem(normal,56px,64px);
|
109
|
+
}
|
110
|
+
}
|
111
|
+
|
112
|
+
// Tablet from 768 to 1151
|
113
|
+
@media (min-width:768px) and (max-width:1151px) {
|
114
|
+
.text--legal--tb, .font-10--tb {
|
115
|
+
@include font-rem(normal,10px,16px);
|
116
|
+
}
|
117
|
+
.text--smallest--tb, .font-12--tb{
|
118
|
+
@include font-rem(normal,12px,16px);
|
119
|
+
}
|
120
|
+
.text--smaller--tb, .font-14--tb{
|
121
|
+
@include font-rem(normal,14px,16px);
|
122
|
+
}
|
123
|
+
.text--xxs--tb, .font-16--tb{
|
124
|
+
@include font-rem(normal,16px,24px);
|
125
|
+
}
|
126
|
+
.text--xs--tb, .font-18--tb{
|
127
|
+
@include font-rem(normal,18px,24px);
|
128
|
+
}
|
129
|
+
.text--sm--tb, .font-20--tb{
|
130
|
+
@include font-rem(normal,20px,24px);
|
131
|
+
}
|
132
|
+
.text--md--tb, .font-24--tb{
|
133
|
+
@include font-rem(normal,24px,32px);
|
134
|
+
}
|
135
|
+
.text--lg--tb, .font-28--tb{
|
136
|
+
@include font-rem(normal,28px,32px);
|
137
|
+
}
|
138
|
+
.text--xl--tb, .font-32--tb{
|
139
|
+
@include font-rem(normal,32px,40px);
|
140
|
+
}
|
141
|
+
.text--xxl--tb, .font-36--tb{
|
142
|
+
@include font-rem(normal,36px,40px);
|
143
|
+
}
|
144
|
+
.text--larger--tb, .font-48--tb{
|
145
|
+
@include font-rem(normal,48px,56px);
|
146
|
+
}
|
147
|
+
.text--largest--tb, .font-56--tb{
|
148
|
+
@include font-rem(normal,56px,64px);
|
149
|
+
}
|
150
|
+
}
|
151
|
+
|
152
|
+
// Desktop from 1152
|
153
|
+
@media (min-width:1152px) {
|
154
|
+
.text--legal--dt, .font-10--dt {
|
155
|
+
@include font-rem(normal,10px,16px);
|
156
|
+
}
|
157
|
+
.text--smallest--dt, .font-12--dt{
|
158
|
+
@include font-rem(normal,12px,16px);
|
159
|
+
}
|
160
|
+
.text--smaller--dt, .font-14--dt{
|
161
|
+
@include font-rem(normal,14px,16px);
|
162
|
+
}
|
163
|
+
.text--xxs--dt, .font-16--dt{
|
164
|
+
@include font-rem(normal,16px,24px);
|
165
|
+
}
|
166
|
+
.text--xs--dt, .font-18--dt{
|
167
|
+
@include font-rem(normal,18px,24px);
|
168
|
+
}
|
169
|
+
.text--sm--dt, .font-20--dt{
|
170
|
+
@include font-rem(normal,20px,24px);
|
171
|
+
}
|
172
|
+
.text--md--dt, .font-24--dt{
|
173
|
+
@include font-rem(normal,24px,32px);
|
174
|
+
}
|
175
|
+
.text--lg--dt, .font-28--dt{
|
176
|
+
@include font-rem(normal,28px,32px);
|
177
|
+
}
|
178
|
+
.text--xl--dt, .font-32--dt{
|
179
|
+
@include font-rem(normal,32px,40px);
|
180
|
+
}
|
181
|
+
.text--xxl--dt, .font-36--dt{
|
182
|
+
@include font-rem(normal,36px,40px);
|
183
|
+
}
|
184
|
+
.text--larger--dt, .font-48--dt{
|
185
|
+
@include font-rem(normal,48px,56px);
|
186
|
+
}
|
187
|
+
.text--largest--dt, .font-56--dt{
|
188
|
+
@include font-rem(normal,56px,64px);
|
189
|
+
}
|
190
|
+
}
|
191
|
+
|
68
192
|
//-----------Only Readers----------\\
|
69
193
|
|
70
194
|
.am-only-readers, .only-readers{
|
@@ -93,8 +217,11 @@
|
|
93
217
|
}
|
94
218
|
}
|
95
219
|
|
96
|
-
|
220
|
+
//---------------------------------\\
|
221
|
+
//--------------Colors-------------\\
|
222
|
+
//---------------------------------\\
|
97
223
|
|
224
|
+
//------------Font Colors-----------\\
|
98
225
|
|
99
226
|
.color--primary-light {
|
100
227
|
color: $blue-light;
|
@@ -105,7 +232,6 @@
|
|
105
232
|
.color--primary-dark {
|
106
233
|
color: $blue-dark;
|
107
234
|
}
|
108
|
-
|
109
235
|
.color--secondary-light {
|
110
236
|
color: $orange-light;
|
111
237
|
}
|
@@ -115,7 +241,6 @@
|
|
115
241
|
.color--secondary-dark {
|
116
242
|
color: $orange-dark;
|
117
243
|
}
|
118
|
-
|
119
244
|
.color--link-light {
|
120
245
|
color: $link-light;
|
121
246
|
}
|
@@ -125,7 +250,6 @@
|
|
125
250
|
.color--link-dark {
|
126
251
|
color: $link-dark;
|
127
252
|
}
|
128
|
-
|
129
253
|
.color--facebook {
|
130
254
|
color: $facebook;
|
131
255
|
}
|
@@ -135,7 +259,6 @@
|
|
135
259
|
.color--facebook-dark {
|
136
260
|
color: $facebook-dark;
|
137
261
|
}
|
138
|
-
|
139
262
|
.color--error, .color--important {
|
140
263
|
color: $error;
|
141
264
|
}
|
@@ -172,20 +295,6 @@
|
|
172
295
|
.color--notification-dark {
|
173
296
|
color: $notification-dark;
|
174
297
|
}
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
298
|
.color--gray-lightest {
|
190
299
|
color: $gray-lightest;
|
191
300
|
}
|
@@ -207,14 +316,12 @@
|
|
207
316
|
.color--gray-darkest {
|
208
317
|
color: $gray-darkest;
|
209
318
|
}
|
210
|
-
|
211
319
|
.color--cyan-light {
|
212
320
|
color: $cyan-light;
|
213
321
|
}
|
214
322
|
.color--cyan {
|
215
323
|
color: $cyan;
|
216
324
|
}
|
217
|
-
|
218
325
|
.color--red-light {
|
219
326
|
color: $red-light;
|
220
327
|
}
|
@@ -239,6 +346,145 @@
|
|
239
346
|
.color--black {
|
240
347
|
color: $black;
|
241
348
|
}
|
349
|
+
.color--tripadvisor {
|
350
|
+
color:$tripadvisor;
|
351
|
+
}
|
352
|
+
.color--star {
|
353
|
+
color:$star;
|
354
|
+
}
|
355
|
+
|
356
|
+
//------------Background Colors-----------\\
|
357
|
+
|
358
|
+
|
359
|
+
.bg--primary-light {
|
360
|
+
background-color: $blue-light;
|
361
|
+
}
|
362
|
+
.bg--primary {
|
363
|
+
background-color: $blue;
|
364
|
+
}
|
365
|
+
.bg--primary-dark {
|
366
|
+
background-color: $blue-dark;
|
367
|
+
}
|
368
|
+
.bg--secondary-light {
|
369
|
+
background-color: $orange-light;
|
370
|
+
}
|
371
|
+
.bg--secondary {
|
372
|
+
background-color: $orange;
|
373
|
+
}
|
374
|
+
.bg--secondary-dark {
|
375
|
+
background-color: $orange-dark;
|
376
|
+
}
|
377
|
+
.bg--link-light {
|
378
|
+
background-color: $link-light;
|
379
|
+
}
|
380
|
+
.bg--link {
|
381
|
+
background-color: $link;
|
382
|
+
}
|
383
|
+
.bg--link-dark {
|
384
|
+
background-color: $link-dark;
|
385
|
+
}
|
386
|
+
.bg--facebook {
|
387
|
+
background-color: $facebook;
|
388
|
+
}
|
389
|
+
.bg--facebook-light {
|
390
|
+
background-color: $facebook-light;
|
391
|
+
}
|
392
|
+
.bg--facebook-dark {
|
393
|
+
background-color: $facebook-dark;
|
394
|
+
}
|
395
|
+
.bg--error, .bg--important {
|
396
|
+
background-color: $error;
|
397
|
+
}
|
398
|
+
.bg--error-light, .bg--important-light {
|
399
|
+
background-color: $error-light;
|
400
|
+
}
|
401
|
+
.bg--error-dark, .bg--important-dark {
|
402
|
+
background-color: $error-dark;
|
403
|
+
}
|
404
|
+
.bg--ok {
|
405
|
+
background-color: $ok;
|
406
|
+
}
|
407
|
+
.bg--ok-light {
|
408
|
+
background-color: $ok-light;
|
409
|
+
}
|
410
|
+
.bg--ok-dark {
|
411
|
+
background-color: $ok-dark;
|
412
|
+
}
|
413
|
+
.bg--warning {
|
414
|
+
background-color: $warning;
|
415
|
+
}
|
416
|
+
.bg--warning-light {
|
417
|
+
background-color: $warning-light;
|
418
|
+
}
|
419
|
+
.bg--warning-dark {
|
420
|
+
background-color: $warning-dark;
|
421
|
+
}
|
422
|
+
.bg--notification {
|
423
|
+
background-color: $notification;
|
424
|
+
}
|
425
|
+
.bg--notification-light {
|
426
|
+
background-color: $notification-light;
|
427
|
+
}
|
428
|
+
.bg--notification-dark {
|
429
|
+
background-color: $notification-dark;
|
430
|
+
}
|
431
|
+
.bg--gray-lightest {
|
432
|
+
background-color: $gray-lightest;
|
433
|
+
}
|
434
|
+
.bg--gray-lighter {
|
435
|
+
background-color: $gray-lighter;
|
436
|
+
}
|
437
|
+
.bg--gray-light {
|
438
|
+
background-color: $gray-light;
|
439
|
+
}
|
440
|
+
.bg--gray {
|
441
|
+
background-color: $gray;
|
442
|
+
}
|
443
|
+
.bg--gray-dark {
|
444
|
+
background-color: $gray-dark;
|
445
|
+
}
|
446
|
+
.bg--gray-darker {
|
447
|
+
background-color: $gray-darker;
|
448
|
+
}
|
449
|
+
.bg--gray-darkest {
|
450
|
+
background-color: $gray-darkest;
|
451
|
+
}
|
452
|
+
.bg--cyan-light {
|
453
|
+
background-color: $cyan-light;
|
454
|
+
}
|
455
|
+
.bg--cyan {
|
456
|
+
background-color: $cyan;
|
457
|
+
}
|
458
|
+
.bg--red-light {
|
459
|
+
background-color: $red-light;
|
460
|
+
}
|
461
|
+
.bg--red {
|
462
|
+
background-color: $red;
|
463
|
+
}
|
464
|
+
.bg--red-dark {
|
465
|
+
background-color: $red-dark;
|
466
|
+
}
|
467
|
+
.bg--green-light {
|
468
|
+
background-color: $green-light;
|
469
|
+
}
|
470
|
+
.bg--green {
|
471
|
+
background-color: $green;
|
472
|
+
}
|
473
|
+
.bg--green-dark {
|
474
|
+
background-color: $green-dark;
|
475
|
+
}
|
476
|
+
.bg--white {
|
477
|
+
background-color: $white;
|
478
|
+
}
|
479
|
+
.bg--black {
|
480
|
+
background-color: $black;
|
481
|
+
}
|
482
|
+
.bg--tripadvisor {
|
483
|
+
background-color:$tripadvisor;
|
484
|
+
}
|
485
|
+
.bg--star {
|
486
|
+
background-color:$star;
|
487
|
+
}
|
242
488
|
|
243
489
|
//---------------------------------\\
|
244
490
|
//------------Transition-----------\\
|
@@ -247,3 +493,11 @@
|
|
247
493
|
.transition {
|
248
494
|
@include transition(all, 0.2s, ease);
|
249
495
|
}
|
496
|
+
|
497
|
+
//---------------------------------\\
|
498
|
+
//------------Rotation-------------\\
|
499
|
+
//---------------------------------\\
|
500
|
+
|
501
|
+
.rotation {
|
502
|
+
@include rotate(180deg);
|
503
|
+
}
|