am-commons 0.0.13 → 0.0.14

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b2cd3e3a84be5101a63cd469c49f65d4e88c0706
4
- data.tar.gz: 6ed9686458b45178f12dae6110f9b06be9571436
3
+ metadata.gz: a326f9fa178ab0a5afa5b1fa643131a45f4bd709
4
+ data.tar.gz: 312248f091ffe6625810a79c39b347cdb18d5ac1
5
5
  SHA512:
6
- metadata.gz: ec4719a1b47f60008e300f110ef394aec0779ae70cc30875b07bd7bd78d211ee358437157230f1abd819a17aadf03d99292b49879829383f8564527fff9d83ac
7
- data.tar.gz: feb94f35d99e5e26e8c38fefc0d9144c25aa434736bdd9ee5c445e2317713f93693c78367480c21c255b21713ab4081083ca424170310310b4649caad3c3361b
6
+ metadata.gz: 0cfac12154b9e6c7139295a46f895c146afc0b786db70859d37d02de998ae3072bba6ce4886f5cfbdd06b5447af55405ffc0502229ac3d15aba718fe6110353d
7
+ data.tar.gz: 41da7e5d8e488fc07e0533bf7d44e36d12b007df2de81c015009cda84c18bef71eb3cf341ef1c02091eadede42de1ec558520702eed21c17755d8358cc13534d
@@ -1,3 +1,3 @@
1
1
  module AmCommons
2
- VERSION = "0.0.13"
2
+ VERSION = "0.0.14"
3
3
  end
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "am-commons",
3
- "version": "0.0.13"
3
+ "version": "0.0.14"
4
4
  }
@@ -10,6 +10,7 @@
10
10
  @import "am-commons/epp-mixins";
11
11
  @import "am-commons/am-variables";
12
12
  @import "am-commons/am-icons";
13
+ @import "am-commons/am-amt";
13
14
  @import "am-commons/am-components";
14
15
  @import "am-commons/am-utils";
15
16
  @import "am-commons/am-print";
@@ -10,25 +10,25 @@
10
10
  background:url(http://2359891acbe3ccae04ac-e2a9c8f39dfb2e0608050999cf0e668b.r35.cf5.rackcdn.com/sprite-flags.png) no-repeat;
11
11
  display:inline-block;
12
12
  }
13
- .flag.flag--ar,.flag.flag--AAR {
13
+ .flag.flag--ar,.flag.flag--ARG {
14
14
  background-position: -16px 0
15
15
  }
16
- .flag.flag--bo ,.flag.flag--ABO {
16
+ .flag.flag--bo ,.flag.flag--BOL {
17
17
  background-position: -32px 0
18
18
  }
19
- .flag.flag--br ,.flag.flag--ABR {
19
+ .flag.flag--br ,.flag.flag--BRA {
20
20
  background-position: -48px 0
21
21
  }
22
22
  .flag.flag--ca, .flag.flag--ACA {
23
23
  background-position: -64px 0
24
24
  }
25
- .flag.flag--cl, .flag.flag--ACL {
25
+ .flag.flag--cl, .flag.flag--CHL {
26
26
  background-position: -80px 0
27
27
  }
28
- .flag.flag--co,.flag.flag--ACO {
28
+ .flag.flag--co,.flag.flag--COL {
29
29
  background-position: 0 -11px
30
30
  }
31
- .flag.flag--cr ,.flag.flag--ACR {
31
+ .flag.flag--cr ,.flag.flag--CRI {
32
32
  background-position: -16px -11px
33
33
  }
34
34
  .flag.flag--cu , .flag.flag--ACU {
@@ -37,13 +37,13 @@
37
37
  .flag.flag--de, .flag.flag--ADE {
38
38
  background-position: -48px -11px
39
39
  }
40
- .flag.flag--dm, .flag.flag--ADO {
40
+ .flag.flag--dm, .flag.flag--DOM {
41
41
  background-position: -64px -11px
42
42
  }
43
- .flag.flag--ec , .flag.flag--AEC {
43
+ .flag.flag--ec , .flag.flag--ECU {
44
44
  background-position: -80px -11px
45
45
  }
46
- .flag.flag--es , .flag.flag--AES {
46
+ .flag.flag--es , .flag.flag--ESP {
47
47
  background-position: 0 -22px
48
48
  }
49
49
  .flag.flag--fr , .flag.flag--AFR {
@@ -52,37 +52,37 @@
52
52
  .flag.flag--gb , .flag.flag--ADE {
53
53
  background-position: -32px -22px
54
54
  }
55
- .flag.flag--gt, .flag.flag--AGT {
55
+ .flag.flag--gt, .flag.flag--GTM {
56
56
  background-position: -48px -22px
57
57
  }
58
- .flag.flag--hn, .flag.flag--AHN {
58
+ .flag.flag--hn, .flag.flag--HND {
59
59
  background-position: -64px -22px
60
60
  }
61
- .flag.flag--mx , .flag.flag--AMX {
61
+ .flag.flag--mx , .flag.flag--MEX {
62
62
  background-position: -80px -22px
63
63
  }
64
- .flag.flag--ni , .flag.flag--ANI {
64
+ .flag.flag--ni , .flag.flag--NIC {
65
65
  background-position: 0 -33px
66
66
  }
67
- .flag.flag--pa , .flag.flag--APA {
67
+ .flag.flag--pa , .flag.flag--PAN {
68
68
  background-position: -16px -33px
69
69
  }
70
- .flag.flag--pe, .flag.flag--APE {
70
+ .flag.flag--pe, .flag.flag--PER {
71
71
  background-position: -32px -33px
72
72
  }
73
- .flag.flag--pr , .flag.flag--APR {
73
+ .flag.flag--pr , .flag.flag--PRI {
74
74
  background-position: -48px -33px
75
75
  }
76
- .flag.flag--py , .flag.flag--APY {
76
+ .flag.flag--py , .flag.flag--PRY {
77
77
  background-position: -64px -33px
78
78
  }
79
- .flag.flag--sv, .flag.flag--ASV {
79
+ .flag.flag--sv, .flag.flag--SLV {
80
80
  background-position: -80px -33px
81
81
  }
82
- .flag.flag--us , .flag.flag--ASU {
82
+ .flag.flag--us , .flag.flag--USA {
83
83
  background-position: 0 -44px
84
84
  }
85
- .flag.flag--uy, .flag.flag--AUY {
85
+ .flag.flag--uy, .flag.flag--URY {
86
86
  background-position: -16px -44px
87
87
  }
88
88
  .flag.flag--ve ,.flag.flag--AVE{
@@ -256,16 +256,18 @@ ul{
256
256
  @include box-shadow (none);
257
257
  @include text-shadow(none);
258
258
  &:hover{
259
- background-image: -webkit-linear-gradient(bottom left, rgba(black, 0.1) 25%, transparent 25%, transparent 50%, rgba(black, 0.1) 50%, rgba(black, 0.1) 75%, transparent 75%, transparent);
260
- background-image: -o-linear-gradient(bottom left, rgba(black, 0.1) 25%, transparent 25%, transparent 50%, rgba(black, 0.1) 50%, rgba(black, 0.1) 75%, transparent 75%, transparent);
261
- background-image: linear-gradient(to top right, rgba(black, 0.1) 25%, transparent 25%, transparent 50%, rgba(black, 0.1) 50%, rgba(black, 0.1) 75%, transparent 75%, transparent);
262
- color:$gray-lighter;
263
- cursor:default;
264
- -webkit-animation: barberpole 0.5s linear infinite;
265
- -webkit-animation: barberpole 0.5s linear infinite;
266
- -moz-animation: barberpole 0.5s linear infinite;
267
- -o-animation: barberpole 0.5s linear infinite;
268
- animation: barberpole 0.5s linear infinite;
259
+ @extend .button--loading;
260
+ //background-image: -webkit-linear-gradient(bottom left, rgba(black, 0.1) 25%, transparent 25%, transparent 50%, rgba(black, 0.1) 50%, rgba(black, 0.1) 75%, transparent 75%, transparent);
261
+ //background-image: -o-linear-gradient(bottom left, rgba(black, 0.1) 25%, transparent 25%, transparent 50%, rgba(black, 0.1) 50%, rgba(black, 0.1) 75%, transparent 75%, transparent);
262
+ //background-image: linear-gradient(to top right, rgba(black, 0.1) 25%, transparent 25%, transparent 50%, rgba(black, 0.1) 50%, rgba(black, 0.1) 75%, transparent 75%, transparent);
263
+ //color:$gray-lighter;
264
+ //cursor:default;
265
+ //-webkit-animation: barberpole 0.5s linear infinite;
266
+ //-webkit-animation: barberpole 0.5s linear infinite;
267
+ //-moz-animation: barberpole 0.5s linear infinite;
268
+ //-o-animation: barberpole 0.5s linear infinite;
269
+ //animation: barberpole 0.5s linear infinite;
270
+ //background-color:$gray-light;
269
271
  }
270
272
  }
271
273
  &.button--link{
@@ -357,6 +359,24 @@ ul{
357
359
 
358
360
  //--------------Logo-------------\\
359
361
 
362
+ .logo-am {
363
+
364
+ width:192px;
365
+ height:32px;
366
+ margin:8px;
367
+
368
+ &--sm {
369
+ width:144px;
370
+ height:24px;
371
+ }
372
+
373
+ &--lg {
374
+ width:432px;
375
+ height:72px;
376
+ }
377
+
378
+ }
379
+
360
380
  .background-am-logo {
361
381
  background:rgba(255,255,255,0.5);
362
382
  padding-top:16px;
@@ -582,7 +602,6 @@ ul{
582
602
  left: 0;
583
603
  background: white;
584
604
  border: 1px solid $gray-lighter;
585
- display: none;
586
605
  list-style-type: none;
587
606
  margin: 0;
588
607
  padding: 0;
@@ -667,7 +686,7 @@ ul{
667
686
 
668
687
  .search{
669
688
  background-repeat: repeat-x;
670
- height: 344px;
689
+ height: 336px;
671
690
  margin-bottom: 32px;
672
691
  @include respond-to(ph){
673
692
  height: auto;
@@ -678,8 +697,8 @@ ul{
678
697
  &__ctn{
679
698
  background-position: center center;
680
699
  background-size: cover;
681
- padding-top: 16px;
682
- padding-bottom: 16px;
700
+ padding-top: 8px;
701
+ padding-bottom: 8px;
683
702
  height: 312px;
684
703
  @include respond-to(ph){
685
704
  height: auto;
@@ -692,17 +711,47 @@ ul{
692
711
  position: relative;
693
712
  z-index: 2;
694
713
  min-height: 312px;
714
+ .form {
715
+ padding:8px;
716
+ }
695
717
  label{
696
718
  color: white;
697
- font-size: 14px;
719
+ @include font-rem(bold,14px,24px);
720
+ }
721
+ .label-xs {
722
+ display:inline-block;
723
+ margin-right:16px;
724
+ @include font-rem(bold,12px,16px);
725
+
726
+ & .description {
727
+ display:inline-block;
728
+
729
+ &:first-letter {
730
+ text-transform:uppercase;
731
+ }
732
+
733
+ }
734
+
735
+ .field-radio {
736
+ vertical-align:top;
737
+ margin-right:8px;
738
+
739
+ @include respond-to(ph) {
740
+ margin-right:4px;
741
+ }
742
+
743
+ }
744
+
745
+ @include respond-to(ph) {
746
+ margin-right:8px;
747
+ }
748
+
698
749
  }
699
750
  input[type="text"], input[type="search"], select{
700
751
  margin-bottom: 8px;
701
752
  }
702
- h1{
703
- font-size: 24px;
704
- line-height: 32px;
705
- font-weight: normal;
753
+ h1, .title{
754
+ @include font-rem(normal,18px,24px);
706
755
  color:white;
707
756
  margin-bottom: 8px;
708
757
  }
@@ -837,8 +886,110 @@ ul{
837
886
  background:$white;
838
887
  padding:0px;
839
888
 
889
+ // &__container {
890
+ // min-width:0;
891
+ // }
892
+
840
893
  &__container {
841
- min-width:0;
894
+ padding:16px 8px;
895
+ background:$white;
896
+ min-width:120px;
897
+ border-width:0px 1px 1px 1px;
898
+ border-style:solid;
899
+ border-color:$gray-lightest;
900
+
901
+ & .label-age {
902
+ //background:$notification-light;
903
+ //padding:4px;
904
+ display:inline-block;
905
+ line-height:32px !important;
906
+ //margin-top:4px;
907
+ }
908
+
909
+ & .separator {
910
+ border-bottom:1px dashed $gray-lighter;
911
+ }
912
+
913
+ & .circle-button {
914
+ @include font-rem(normal, 24px, 24px);
915
+ cursor:pointer;
916
+
917
+ &--disabled {
918
+ cursor:auto;
919
+ color:$gray-lighter;
920
+ border-color:$gray-lighter;
921
+ }
922
+
923
+ }
924
+
925
+ & .number-input {
926
+ @include font-rem(normal, 24px, 24px);
927
+ display:inline-block;
928
+ text-align:center;
929
+ min-width:24px;
930
+ vertical-align:top;
931
+ }
932
+
933
+ & .highlight {
934
+ background:$warning;
935
+ }
936
+
937
+ & .text-option {
938
+
939
+ }
940
+
941
+ &__list {
942
+ list-style:none;
943
+ margin-bottom:0px !important;
944
+
945
+ &__item {
946
+ cursor:pointer;
947
+ margin-bottom:8px;
948
+
949
+ &:hover {
950
+ background:$gray-lighter;
951
+ font-weight:bold;
952
+ color:$gray-darker;
953
+ }
954
+ }
955
+ }
956
+
957
+ }
958
+
959
+ &--passenger {
960
+ display:none;
961
+ margin-top:4px !important;
962
+ box-sizing:border-box;
963
+ min-width:288px;
964
+ position:absolute;
965
+ z-index:3;
966
+ //box-shadow:1px -1px 0px $gray-lighter inset, -1px 0px 0px $gray-lighter inset;
967
+ box-shadow:0px 0px 3px rgba(0,0,0,0.75);
968
+ @include border-radius(4px);
969
+ border:4px solid $gray-lighter;
970
+
971
+ @include respond-to(ph) {
972
+ min-width:240px !important;
973
+ max-width:280px !important;
974
+ }
975
+
976
+ & .label-child {
977
+ color:$gray-darker !important;
978
+ line-height: (16px / 16px) * 1rem !important;
979
+ font-size: (12px / 16px) * 1rem !important;
980
+
981
+ &-xs {
982
+ line-height: (16px / 16px) * 1rem !important;
983
+ font-size: (12px / 16px) * 1rem !important;
984
+ color:$gray-darker !important;
985
+ font-weight:normal !important;
986
+ }
987
+ }
988
+
989
+ & input:focus {
990
+ border:2px solid $gray-lighter;
991
+ }
992
+
842
993
  }
843
994
 
844
995
  &--persons {
@@ -896,6 +1047,15 @@ ul{
896
1047
 
897
1048
  }
898
1049
  &--flight{
1050
+
1051
+ & .searchbox {
1052
+ background-color:$orange-dark;
1053
+ }
1054
+
1055
+ .type-group {
1056
+ margin-bottom:8px;
1057
+ }
1058
+
899
1059
  //background-image: url('http://2359891acbe3ccae04ac-e2a9c8f39dfb2e0608050999cf0e668b.r35.cf5.rackcdn.com/cover-paris-bg.png');
900
1060
  background-image: url('http://2359891acbe3ccae04ac-e2a9c8f39dfb2e0608050999cf0e668b.r35.cf5.rackcdn.com/cover-grecia-bg.jpg');
901
1061
  @include respond-to(ph){
@@ -905,6 +1065,7 @@ ul{
905
1065
  //background-image: none!important;
906
1066
  }
907
1067
  .search__ctn{
1068
+
908
1069
  //background-image: url('http://2359891acbe3ccae04ac-e2a9c8f39dfb2e0608050999cf0e668b.r35.cf5.rackcdn.com/cover-paris.png');
909
1070
  background-image: url('http://2359891acbe3ccae04ac-e2a9c8f39dfb2e0608050999cf0e668b.r35.cf5.rackcdn.com/cover-grecia.png');
910
1071
  @include respond-to(ph){
@@ -919,6 +1080,81 @@ ul{
919
1080
  display: inline-block;
920
1081
  }
921
1082
  }
1083
+
1084
+ .addStep {
1085
+ color:$white;
1086
+ cursor:pointer;
1087
+ padding-top:16px;
1088
+ padding-bottom:16px;
1089
+ border-top:1px solid $orange-dark;
1090
+ border-bottom:1px solid $orange-dark;
1091
+ @include font-rem(normal,14px,16px);
1092
+ margin-top:8px;
1093
+ margin-bottom:16px;
1094
+
1095
+ & [class*="icon-"] {
1096
+ @include font-rem(bold,14px,16px);
1097
+ vertical-align:middle;
1098
+ margin-right:8px;
1099
+ }
1100
+
1101
+ &-text {
1102
+ text-decoration:underline;
1103
+ @include font-rem(bold,14px,16px);
1104
+ }
1105
+
1106
+ }
1107
+
1108
+ .removeStep {
1109
+ color:$white;
1110
+
1111
+ &-text {
1112
+ text-decoration:underline;
1113
+ }
1114
+
1115
+ &-ctn {
1116
+ cursor:pointer;
1117
+ }
1118
+
1119
+ }
1120
+
1121
+ .add-hotel {
1122
+ margin: 24px 0 8px 0;
1123
+
1124
+ .field {
1125
+ margin-right:8px;
1126
+ }
1127
+
1128
+ .label{
1129
+ display: inline-block;
1130
+ @include font-rem(normal,12px,16px);
1131
+ }
1132
+
1133
+ &__modif {
1134
+ display:inline-block;
1135
+ color:$white;
1136
+ margin-left:16px;
1137
+ padding-left:16px;
1138
+ border-left:1px solid $orange;
1139
+ cursor:pointer;
1140
+ }
1141
+
1142
+ & .icon {
1143
+ @include font-rem(bold,14px,16px);
1144
+ margin-right:8px;
1145
+ vertical-align:middle;
1146
+ }
1147
+
1148
+ & .text {
1149
+ display:inline-block;
1150
+ @include font-rem(bold,14px,16px);
1151
+ }
1152
+
1153
+ @include respond-to(ph) {
1154
+ margin-top:8px;
1155
+ }
1156
+ }
1157
+
922
1158
  }
923
1159
  }
924
1160
  &--hotel{
@@ -1053,15 +1289,28 @@ ul{
1053
1289
  .jumbopromo{
1054
1290
  background-color: $gray;
1055
1291
  background-color: rgba(0,0,0,0.2);
1292
+ padding:8px;
1293
+ text-align:center;
1294
+
1056
1295
  .jumbopromo__txt{
1057
- color: white;
1296
+ color: $white;
1058
1297
  @include font-rem(normal,24px,32px);
1059
1298
  @include text-shadow(1px 1px 1px black);
1060
1299
  }
1061
- img{
1062
- width: 100%;
1063
- max-width: 624px;
1300
+
1301
+ .promoslider {
1302
+
1303
+ .item {
1304
+
1305
+ img{
1306
+ width: 100%;
1307
+ max-width: 624px;
1308
+ }
1309
+
1310
+ }
1311
+
1064
1312
  }
1313
+
1065
1314
  }
1066
1315
 
1067
1316
 
@@ -1123,6 +1372,10 @@ ul{
1123
1372
  background:$error-light;
1124
1373
  }
1125
1374
 
1375
+ .alert__close {
1376
+ color:$error;
1377
+ }
1378
+
1126
1379
  }
1127
1380
 
1128
1381
  &--warning {
@@ -1139,6 +1392,10 @@ ul{
1139
1392
  background:$warning-light;
1140
1393
  }
1141
1394
 
1395
+ .alert__close {
1396
+ color:$warning-dark;
1397
+ }
1398
+
1142
1399
  }
1143
1400
 
1144
1401
  &--ok {
@@ -1154,6 +1411,11 @@ ul{
1154
1411
  .alert__text {
1155
1412
  background:$ok-light;
1156
1413
  }
1414
+
1415
+ .alert__close {
1416
+ color:$ok;
1417
+ }
1418
+
1157
1419
  }
1158
1420
  &--notification {
1159
1421
 
@@ -1168,6 +1430,11 @@ ul{
1168
1430
  .alert__text {
1169
1431
  background:$notification-light;
1170
1432
  }
1433
+
1434
+ .alert__close {
1435
+ color:$notification;
1436
+ }
1437
+
1171
1438
  }
1172
1439
  &--arrow-bottom {
1173
1440
 
@@ -1263,6 +1530,19 @@ ul{
1263
1530
  @include font-rem(normal,16px,16px,null);
1264
1531
  }
1265
1532
  }
1533
+ &--dismiss {
1534
+ .alert__close {
1535
+ position:absolute;
1536
+ top:50%;
1537
+ right:16px;
1538
+ margin-top:-8px;
1539
+ @include font-rem(normal,16px,16px,null);
1540
+ cursor:pointer;
1541
+ }
1542
+ .alert__text {
1543
+ padding-right:48px;
1544
+ }
1545
+ }
1266
1546
  }
1267
1547
 
1268
1548
  //--------------Modal-------------\\
@@ -1560,7 +1840,7 @@ ul{
1560
1840
  &__item {
1561
1841
  display:inline-block;
1562
1842
  margin-left:0px;
1563
- @include font-rem(normal, 13px, 16px);
1843
+ @include font-rem(normal, 14px, 16px);
1564
1844
 
1565
1845
  border-top:1px solid $gray-lighter;
1566
1846
  border-bottom:1px solid $gray-lighter;
@@ -1923,7 +2203,7 @@ ul{
1923
2203
  z-index:10;
1924
2204
  position:absolute !important;
1925
2205
  @include background-clip(padding-box);
1926
- padding:8px 0px;
2206
+ padding:0px;
1927
2207
  box-shadow:0px 0px 3px rgba(0,0,0,0.75);
1928
2208
  @include border-radius(4px);
1929
2209
  border:4px solid $gray-lighter;
@@ -1932,19 +2212,63 @@ ul{
1932
2212
 
1933
2213
 
1934
2214
  li {
1935
- line-height: 24px;
1936
2215
  margin: 0;
1937
- padding: 4px 8px;
1938
- font-weight:bold;
1939
-
1940
- &:hover, &.current{
2216
+ line-height: initial;
2217
+ span:hover, span.current{
1941
2218
  background:$cyan-light;
1942
2219
  cursor: pointer;
2220
+
2221
+ & mark {
2222
+ background:$cyan-light;
2223
+ }
2224
+
1943
2225
  }
1944
2226
 
1945
- & mark {
1946
- font-weight:normal !important;
2227
+ span{
2228
+ line-height: 24px;
2229
+ font-size:12px;
2230
+ margin: 0;
2231
+ padding: 2px 8px 2px 32px;
2232
+ font-weight: normal;
2233
+ display: inline-block;
2234
+ width: 100%;
2235
+ @include box-sizing(border-box);
2236
+ mark {
2237
+ font-weight: bold !important;
2238
+ background:$white;
2239
+ &:hover {
2240
+ background:$cyan-light;
2241
+ }
2242
+ }
1947
2243
  }
2244
+
2245
+ .group-title {
2246
+ background:$gray-lightest;
2247
+ margin-bottom:0px;
2248
+ color:$gray;
2249
+
2250
+ .title__icon, .title__text {
2251
+ @include font-rem(normal,14px,16px);
2252
+ width:auto;
2253
+ display:inline-block;
2254
+ font-weight:bold;
2255
+ &:hover{
2256
+ background:$gray-lightest;
2257
+ cursor:auto;
2258
+ }
2259
+ }
2260
+
2261
+ .title__icon {
2262
+ padding-left:8px;
2263
+ font-weight:normal;
2264
+ }
2265
+
2266
+ .title__text {
2267
+ padding:0;
2268
+ }
2269
+
2270
+ }
2271
+
1948
2272
  }
1949
2273
  }
1950
2274
  }