am-commons 0.0.1 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/am-commons-0.0.1.gem +0 -0
  3. data/lib/am-commons/version.rb +1 -1
  4. data/package.json +1 -1
  5. data/stylesheets/_am-commons.scss +1 -2
  6. data/stylesheets/am-commons/_am-american-flags.scss +93 -0
  7. data/stylesheets/am-commons/_am-components.scss +1767 -0
  8. data/stylesheets/am-commons/_am-footer.scss +102 -0
  9. data/stylesheets/am-commons/_am-header.scss +160 -0
  10. data/stylesheets/am-commons/_am-icons-definition.scss +616 -0
  11. data/stylesheets/am-commons/_am-icons.scss +57 -0
  12. data/stylesheets/am-commons/_am-main-menu.scss +243 -0
  13. data/stylesheets/am-commons/_am-print.scss +35 -0
  14. data/stylesheets/am-commons/_am-social-menu.scss +34 -0
  15. data/stylesheets/am-commons/_am-sprite-splash.scss +109 -0
  16. data/stylesheets/am-commons/_am-utils.scss +249 -0
  17. data/stylesheets/am-commons/_am-variables.scss +69 -0
  18. data/stylesheets/am-commons/_epp-grid.scss +1395 -0
  19. data/stylesheets/am-commons/_epp-mixins.scss +38 -0
  20. data/stylesheets/am-commons/_epp-pixelator.scss +352 -0
  21. data/stylesheets/am-commons/_epp-utils.scss +1230 -0
  22. data/stylesheets/am-commons/_fonts.scss +156 -0
  23. data/stylesheets/am-commons/am-airlines.scss +74 -0
  24. data/stylesheets/am-commons/am-checkout.scss +258 -0
  25. data/stylesheets/am-commons/am-common.scss +19 -0
  26. data/stylesheets/am-commons/am-flights-result.scss +2404 -0
  27. data/stylesheets/am-commons/am-flights-resultv2.scss +390 -0
  28. data/stylesheets/am-commons/am-not-found.scss +74 -0
  29. data/stylesheets/am-commons/am.scss +16 -0
  30. data/stylesheets/am-commons/epp-visual-help.scss +36 -0
  31. data/stylesheets/am-commons/epp.scss +12 -0
  32. data/stylesheets/am-commons/flight-result-searchbox.scss +69 -0
  33. metadata +29 -8
  34. data/stylesheets/am-commons/_am.scss +0 -5
  35. data/stylesheets/am-commons/_components.scss +0 -1
  36. data/stylesheets/am-commons/_utils.scss +0 -5
  37. data/stylesheets/am-commons/am/_variables.scss +0 -0
  38. data/stylesheets/am-commons/components/_example.scss +0 -0
  39. data/stylesheets/am-commons/utils/_example.scss +0 -0
@@ -0,0 +1,390 @@
1
+ @import "compass/css3";
2
+ @import "compass/support";
3
+ @import "compass/utilities/general/clearfix";
4
+ @import "compass/css3/transition";
5
+
6
+ @import "am-variables";
7
+ @import "epp-mixins";
8
+
9
+
10
+ @import "am-utils";
11
+ @import "am-icons";
12
+
13
+ .aside {
14
+ padding:0px 8px !important;
15
+ }
16
+
17
+ .search {
18
+ margin-bottom:16px !important;
19
+ }
20
+
21
+ .search__ctn {
22
+ padding:0px !important;
23
+ background-image:none;
24
+ height:auto;
25
+ }
26
+
27
+ .searchbox {
28
+ padding:8px !important;
29
+
30
+ & .label-child {
31
+ color:$gray-darker !important;
32
+ line-height: (16px / 16px) * 1rem !important;
33
+ font-size: (12px / 16px) * 1rem !important;
34
+ }
35
+
36
+ & input:focus {
37
+ border:2px solid $gray-lighter;
38
+ }
39
+
40
+ }
41
+
42
+
43
+
44
+ .cluster {
45
+ margin-bottom:24px !important;
46
+
47
+ &:after {
48
+ content:"";
49
+ position:absolute;
50
+ top:0px;
51
+ right:0px;
52
+ height:0px;
53
+ width:0px;
54
+ }
55
+
56
+ & .segment {
57
+ margin-bottom:8px;
58
+
59
+ &__header {
60
+ background:#DFDFDF;
61
+ }
62
+
63
+ &__items {
64
+ padding:8px 0px !important;
65
+ min-height:40px;
66
+
67
+ &__item {
68
+ padding:0px;
69
+
70
+ &__graphic {
71
+ display:table-cell;
72
+ vertical-align:middle;
73
+
74
+ @include respond-to(ph) {
75
+ padding-left:40px !important;
76
+ }
77
+
78
+ @include respond-to(ph) {
79
+ display:block;
80
+ }
81
+
82
+ &-container {
83
+ width:auto;
84
+ display:table-cell;
85
+
86
+ @include respond-to(ph) {
87
+ display:block;
88
+ }
89
+ }
90
+
91
+ &-table {
92
+ display:table;
93
+ }
94
+
95
+ &-cell {
96
+ display:table-cell;
97
+ width:32px;
98
+ vertical-align:middle;
99
+ }
100
+ }
101
+
102
+ &--time {
103
+ width:72px;
104
+ padding-left:8px !important;
105
+ padding-right:16px !important;
106
+
107
+ @include respond-to(ph) {
108
+ width:auto !important;
109
+ padding-left:40px !important;
110
+ }
111
+ }
112
+
113
+ &--fixed {
114
+ width:auto;
115
+
116
+ &__info--airline {
117
+
118
+ @include respond-to(ph) {
119
+ padding-left:0px !important;
120
+ }
121
+ }
122
+ }
123
+
124
+ &--graphic {
125
+ width:192px;
126
+ padding-left:16px;
127
+ @include respond-to(ph) {
128
+ padding-left: 40px !important;
129
+ width:auto !important;
130
+ }
131
+ }
132
+
133
+ &--detail {
134
+ width:192px;
135
+ padding-right:16px !important;
136
+
137
+ @include respond-to(ph) {
138
+ width:auto !important;
139
+ padding-left:40px !important;
140
+ }
141
+
142
+ }
143
+
144
+ &--detail--view {
145
+ @include respond-to(ph){
146
+ padding-left:0px !important;
147
+ }
148
+ & .display-table {
149
+ @include respond-to(ph) {
150
+ width:auto;
151
+ }
152
+ }
153
+ }
154
+
155
+
156
+
157
+ }
158
+
159
+ }
160
+
161
+ &-detail-horizontal {
162
+ width:100px !important;
163
+ }
164
+
165
+ &-detail-step-horizontal__description {
166
+ position:static !important;
167
+ display:table-cell;
168
+ vertical-align:middle;
169
+ }
170
+
171
+ &-detail-step-horizontal--fixed {
172
+ width:32px;
173
+ }
174
+
175
+ &-detail-step-horizontal__visual {
176
+ height:24px;
177
+ }
178
+
179
+ & .view-detail {
180
+ position:static;
181
+
182
+ &-icon {
183
+ position:static;
184
+ }
185
+
186
+ }
187
+
188
+ & .flight-line-horizontal {
189
+ top:calc(50% - 12px);
190
+ }
191
+
192
+ & .airport-point {
193
+ top:calc(50% - 18px);
194
+ }
195
+
196
+ & .airport-point--stop {
197
+ left:calc(50% - 8px);
198
+ }
199
+
200
+ & .airport-point--change {
201
+ left:calc(50% - 8px);
202
+ }
203
+
204
+ & .airport-point--stop-vertical {
205
+ top:calc(50% - 9px) !important;
206
+ left:calc(50% - 14px) !important;
207
+ }
208
+
209
+ & .airport-point--change-vertical {
210
+ top:calc(50% - 9px) !important;
211
+ left:calc(50% - 14px) !important;
212
+ }
213
+
214
+ & .airport-point-vertical {
215
+ top:calc(50% - 9px) !important;
216
+ }
217
+
218
+ & .airport-point--technique-horizontal {
219
+ top:calc(50% - 17px) !important;
220
+ left:calc(50% - 8px) !important;
221
+ }
222
+
223
+ &-detail-step__description--info__cell {
224
+ white-space:nowrap;
225
+
226
+ &:last-child {
227
+ white-space:normal;
228
+ }
229
+
230
+ }
231
+
232
+ &-detail-step__info {
233
+ width:228px;
234
+ }
235
+
236
+ }
237
+
238
+ }
239
+
240
+ .price-box {
241
+ padding:0px 0px 0px 8px !important;
242
+
243
+ @include respond-to(ph) {
244
+ padding-left:0px !important;
245
+ }
246
+
247
+ &__container {
248
+ @include respond-to(ph) {
249
+ min-width:100%;
250
+ }
251
+ }
252
+ }
253
+
254
+ .separator-left {
255
+ border-left:1px solid $gray-lighter;
256
+
257
+ @include respond-to(ph) {
258
+ border-left:none;
259
+ }
260
+ }
261
+
262
+ .airline-name {
263
+ width:112px;
264
+ vertical-align:middle;
265
+ @include respond-to(ph) {
266
+ width:auto;
267
+ }
268
+ }
269
+
270
+ .searchv2{
271
+
272
+ &__details__ctn {
273
+ position:relative;
274
+ }
275
+
276
+ &__details {
277
+ display:inline-block;
278
+ background:$white;
279
+ padding:0px;
280
+
281
+ &__container {
282
+ min-width:0;
283
+ }
284
+
285
+ &--passenger {
286
+ width:calc(100% - 16px);
287
+ box-sizing:border-box;
288
+ position:absolute;
289
+ top:40px;
290
+ z-index:3;
291
+ left:8px;
292
+ min-width:0;
293
+ }
294
+
295
+ }
296
+
297
+
298
+ }
299
+
300
+ .search__details--passenger {
301
+ margin-top:-4px !important;
302
+ }
303
+
304
+ .duration {
305
+ padding-left:4px;
306
+ padding-right:2px;
307
+ }
308
+
309
+ .header-inbound {
310
+ width:84px;
311
+ }
312
+
313
+ .header-outbound {
314
+ width:96px;
315
+ }
316
+
317
+ .header-time {
318
+ width:164px;
319
+ }
320
+
321
+ .table-view-detail {
322
+ @include respond-to(ph) {
323
+ width:176px;
324
+ }
325
+ }
326
+
327
+ .select-age {
328
+ margin-bottom:0px !important;
329
+ }
330
+
331
+ .position-relative {
332
+ position:relative;
333
+ }
334
+
335
+
336
+ .slider-currency {
337
+
338
+ &.ui-slider {
339
+ position:relative;
340
+ box-sizing:border-box;
341
+ background:$white;
342
+ border:4px solid $gray-lighter;
343
+ @include border-radius(2px);
344
+ height:8px;
345
+ }
346
+
347
+ &.ui-slider .ui-slider-handle {
348
+ box-sizing:border-box;
349
+ background:$white;
350
+ border:6px solid $gray;
351
+ @include border-radius(50%);
352
+ width:24px;
353
+ height:24px;
354
+ position:absolute;
355
+ top:-11px;
356
+ cursor:pointer;
357
+ z-index: 1;
358
+ &:hover {
359
+ border-color:$orange;
360
+ }
361
+
362
+ &:focus {
363
+ outline:none;
364
+ }
365
+ }
366
+
367
+ &.ui-slider .ui-slider-range {
368
+ //background:$orange-dark;
369
+ //background-size:6px 1px !important;
370
+ //background: repeating-linear-gradient(to right, rgba(255,121,0,1) 0px, rgba(255,121,0,1) 2px, rgba(204,204,204,1) 3px, rgba(204,204,204,1) 4px);
371
+ background-color:$orange;
372
+ height:2px;
373
+ margin-top:-1px;
374
+ color:$gray-lighter;
375
+ }
376
+
377
+ }
378
+
379
+ .slider-currency-input {
380
+ border:none !important;
381
+ background:transparent !important;
382
+ font-weight:bold !important;
383
+ padding:0px !important;
384
+ }
385
+
386
+ .filters__container__buttons {
387
+ text-align:left !important;
388
+ border-top:none !important;
389
+ padding-top:0px !important;
390
+ }
@@ -0,0 +1,74 @@
1
+ @import "compass/css3";
2
+ @import "compass/support";
3
+ @import "compass/utilities/general/clearfix";
4
+ @import "compass/css3/transition";
5
+
6
+ @import "am-variables";
7
+ @import "epp-mixins";
8
+
9
+ //@import "am-sprite-splash";
10
+
11
+
12
+ body{
13
+ background-color: #B9D3EF;
14
+ }
15
+
16
+ .bg-splash{
17
+ //background-image: url($cdn-url+'bg-404.png');
18
+ background-image: url('http://static.almundo.com/img/common/bg-404.jpg');
19
+ background-repeat: no-repeat;
20
+ background-size: cover;
21
+ background-position: center center;
22
+ height: 100%;
23
+ width: 100%;
24
+ position: fixed;
25
+ top:0;
26
+ left:0;
27
+ bottom:0;
28
+ right:0;
29
+ z-index: -1;
30
+ }
31
+
32
+ .logo {
33
+ margin-top:80px;
34
+ //margin-left:120px;
35
+ }
36
+
37
+ .text-404 {
38
+ position:absolute;
39
+ left:8.3333%;
40
+ bottom:160px;
41
+
42
+ @include respond-to(tb) {
43
+ left: 16.6667%;
44
+ }
45
+
46
+ @include respond-to(ph) {
47
+ position:static;
48
+ margin-top:64px;
49
+ }
50
+ }
51
+
52
+ .link {
53
+ color:$white !important;
54
+ text-decoration: underline !important;
55
+ }
56
+
57
+ @media (max-height:573px) {
58
+
59
+ .text-404 {
60
+
61
+ position:static;
62
+ margin-top:64px;
63
+
64
+ @include respond-to(dt) {
65
+ margin-left: 8.3333%;
66
+ }
67
+
68
+ @include respond-to(tb) {
69
+ margin-left: 16.6667%;
70
+ }
71
+
72
+ }
73
+
74
+ }
@@ -0,0 +1,16 @@
1
+ //---------------------------------\\
2
+ //----------Table of Content-------\\
3
+ //---------------------------------\\
4
+
5
+ // 01 Import epp mixins
6
+ // 02 Import Variables
7
+ // 03 Import Components
8
+ // 04 Import Icons
9
+
10
+ @import "epp-mixins";
11
+ @import "am-variables";
12
+ @import "am-components";
13
+ @import "am-icons";
14
+ @import "am-utils";
15
+ @import "am-print";
16
+
@@ -0,0 +1,36 @@
1
+ body{
2
+ background-color: transparent;
3
+ background-image: linear-gradient(0deg, transparent 90%, rgba(255, 0, 0, 0.5) 100%),
4
+ linear-gradient(90deg, transparent 90%, rgba(255, 0, 0, 0.5) 100%);
5
+ background-size:8px 8px;
6
+ background-position:0px 0px;
7
+ }
8
+
9
+
10
+ a,blockquote,caption,dd,figcaption,form,h1,h2,h3,h4,h5,h6,p,pre,label,li{
11
+ background: rgba(24, 65, 192, 0.2);
12
+ }
13
+ [class*="epp-ctn"]{
14
+ background: rgba(50,50,50,0.4);
15
+ }
16
+ [class*="epp-cl-"] {
17
+ outline:1px solid red;
18
+ }
19
+ /*Phone de 0 a 767*/
20
+ @media (max-width:767px){
21
+ body:before{
22
+ content:"PHONE 0 a 767";
23
+ }
24
+ }
25
+ /*Tablet 768 a 1151*/
26
+ @media (min-width:768px) and (max-width:1151px){
27
+ body:before{
28
+ content:"TABLET 768 a 1151";
29
+ }
30
+ }
31
+ /*Desktop*/
32
+ @media (min-width:1152px){
33
+ body:before{
34
+ content:"DESKTOP desde 1152";
35
+ }
36
+ }
@@ -0,0 +1,12 @@
1
+ @import "compass/css3";
2
+ @import "compass/support";
3
+ @import "compass/utilities/general/clearfix";
4
+ @import "compass/css3/transition";
5
+
6
+ @import "epp-pixelator";
7
+ @import "epp-grid";
8
+ @import "epp-utils";
9
+ @import "epp-mixins";
10
+
11
+
12
+
@@ -0,0 +1,69 @@
1
+ @import "compass/css3";
2
+ @import "compass/support";
3
+ @import "compass/utilities/general/clearfix";
4
+ @import "compass/css3/transition";
5
+ @import "am-variables";
6
+
7
+
8
+ .widget-lateral-busqueda{
9
+ background: $orange;
10
+ padding: 15px;
11
+ margin-bottom: 15px;
12
+ .widget-lateral-busqueda-form label {
13
+ font-size: 11px;
14
+ color: white;
15
+ }
16
+ }
17
+ .widget-lateral-busqueda-titulo{
18
+ color: white;
19
+ font-size: 16px;
20
+ margin-bottom: 15px;
21
+ display: inline-block;
22
+ }
23
+
24
+ .btn-buscador-action{
25
+ background: $blue;
26
+ color: white;
27
+ }
28
+ .cancelSearch {
29
+ background: url(img/ui-bg_autocomplete-error.gif) no-repeat scroll 0 0 red;
30
+ display: none;
31
+ height: 12px;
32
+ overflow: hidden;
33
+ position: absolute;
34
+ bottom: 9px;
35
+ text-indent: -9999px;
36
+ width: 12px;
37
+ z-index: 1;
38
+ display: inline;
39
+ right: 21px;
40
+ }
41
+ .form_errores {
42
+ display: none;
43
+ padding: 7px !important;
44
+ }
45
+ .mensaje-error {
46
+ background: red;
47
+ color: #fff;
48
+ font-size: 12px;
49
+ font-weight: bold;
50
+ line-height: 30px;
51
+ padding: 0 7px;
52
+ }
53
+ input.error {
54
+ background-color: pink;
55
+ border: 1px solid red;
56
+ }
57
+ .radio label, .checkbox label {
58
+ display: inline;
59
+ margin-bottom: 0;
60
+ font-weight: normal;
61
+ cursor: pointer;
62
+ }
63
+ .checkbox{
64
+ label{
65
+ .business-label{
66
+ padding-left: 0;
67
+ }
68
+ }
69
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: am-commons
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emiliano Mongelo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-05 00:00:00.000000000 Z
11
+ date: 2015-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: compass
@@ -41,12 +41,33 @@ files:
41
41
  - lib/am-commons/version.rb
42
42
  - package.json
43
43
  - stylesheets/_am-commons.scss
44
- - stylesheets/am-commons/_am.scss
45
- - stylesheets/am-commons/_components.scss
46
- - stylesheets/am-commons/_utils.scss
47
- - stylesheets/am-commons/am/_variables.scss
48
- - stylesheets/am-commons/components/_example.scss
49
- - stylesheets/am-commons/utils/_example.scss
44
+ - stylesheets/am-commons/_am-american-flags.scss
45
+ - stylesheets/am-commons/_am-components.scss
46
+ - stylesheets/am-commons/_am-footer.scss
47
+ - stylesheets/am-commons/_am-header.scss
48
+ - stylesheets/am-commons/_am-icons-definition.scss
49
+ - stylesheets/am-commons/_am-icons.scss
50
+ - stylesheets/am-commons/_am-main-menu.scss
51
+ - stylesheets/am-commons/_am-print.scss
52
+ - stylesheets/am-commons/_am-social-menu.scss
53
+ - stylesheets/am-commons/_am-sprite-splash.scss
54
+ - stylesheets/am-commons/_am-utils.scss
55
+ - stylesheets/am-commons/_am-variables.scss
56
+ - stylesheets/am-commons/_epp-grid.scss
57
+ - stylesheets/am-commons/_epp-mixins.scss
58
+ - stylesheets/am-commons/_epp-pixelator.scss
59
+ - stylesheets/am-commons/_epp-utils.scss
60
+ - stylesheets/am-commons/_fonts.scss
61
+ - stylesheets/am-commons/am-airlines.scss
62
+ - stylesheets/am-commons/am-checkout.scss
63
+ - stylesheets/am-commons/am-common.scss
64
+ - stylesheets/am-commons/am-flights-result.scss
65
+ - stylesheets/am-commons/am-flights-resultv2.scss
66
+ - stylesheets/am-commons/am-not-found.scss
67
+ - stylesheets/am-commons/am.scss
68
+ - stylesheets/am-commons/epp-visual-help.scss
69
+ - stylesheets/am-commons/epp.scss
70
+ - stylesheets/am-commons/flight-result-searchbox.scss
50
71
  - templates/project/manifest.rb
51
72
  homepage: http://www.almundo.com/
52
73
  licenses: []
@@ -1,5 +0,0 @@
1
- // ### Sass
2
-
3
- // #### Import
4
-
5
- @import "am/variables";
@@ -1 +0,0 @@
1
- @import "components/example";
@@ -1,5 +0,0 @@
1
- // ### Sass
2
-
3
- // #### Import
4
-
5
- @import "utils/example";
File without changes
File without changes
File without changes