@salla.sa/twilight-components 1.0.62 → 1.0.63
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.
- package/dist/cjs/{index-543e387e.js → index-e729d94c.js} +8 -87
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/salla-branches.cjs.entry.js +3 -3
- package/dist/cjs/salla-button.cjs.entry.js +2 -2
- package/dist/cjs/salla-conditional-fields.cjs.entry.js +1 -1
- package/dist/cjs/salla-infinite-scroll.cjs.entry.js +2 -2
- package/dist/cjs/salla-installment.cjs.entry.js +74 -0
- package/dist/cjs/salla-localization-modal.cjs.entry.js +2 -2
- package/dist/cjs/salla-login-modal.cjs.entry.js +4 -4
- package/dist/cjs/salla-modal_2.cjs.entry.js +4 -4
- package/dist/cjs/salla-offer-modal.cjs.entry.js +3 -3
- package/dist/cjs/salla-product-availability.cjs.entry.js +5 -4
- package/dist/cjs/salla-quantity-input.cjs.entry.js +1 -1
- package/dist/cjs/salla-rating-modal.cjs.entry.js +4 -4
- package/dist/cjs/salla-rating-stars.cjs.entry.js +22 -20
- package/dist/cjs/salla-tel-input.cjs.entry.js +2 -2
- package/dist/cjs/salla-verify-modal.cjs.entry.js +3 -3
- package/dist/cjs/twilight-components.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -2
- package/dist/collection/components/salla-branches/salla-branches.css +3 -1086
- package/dist/collection/components/salla-branches/salla-branches.js +1 -1
- package/dist/collection/components/salla-button/salla-button.css +3 -1086
- package/dist/collection/components/salla-infinite-scroll/salla-infinite-scroll.css +3 -1086
- package/dist/collection/components/salla-installment/salla-installment.css +105 -0
- package/dist/collection/components/salla-installment/salla-installment.js +135 -0
- package/dist/collection/components/salla-localization-modal/salla-localization-modal.css +15 -18
- package/dist/collection/components/salla-login-modal/salla-login-modal.css +3 -1086
- package/dist/collection/components/salla-login-modal/salla-login-modal.js +2 -2
- package/dist/collection/components/salla-modal/salla-modal.css +3 -1086
- package/dist/collection/components/salla-offer-modal/salla-offer-modal.css +6 -1086
- package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +2 -2
- package/dist/collection/components/salla-product-availability/salla-product-availability.css +3 -1086
- package/dist/collection/components/salla-product-availability/salla-product-availability.js +4 -4
- package/dist/collection/components/salla-rating-modal/salla-rating-modal.css +17 -1087
- package/dist/collection/components/salla-rating-modal/salla-rating-modal.js +3 -2
- package/dist/collection/components/salla-rating-stars/salla-rating-stars.css +3 -1086
- package/dist/collection/components/salla-rating-stars/salla-rating-stars.js +20 -18
- package/dist/collection/components/salla-search/salla-search.css +3 -1086
- package/dist/collection/components/salla-search/salla-search.js +1 -1
- package/dist/collection/components/salla-tel-input/salla-tel-input.css +223 -227
- package/dist/collection/components/salla-verify-modal/salla-verify-modal.css +3 -1086
- package/dist/collection/components/salla-verify-modal/salla-verify-modal.js +1 -1
- package/dist/components/salla-branches.js +2 -2
- package/dist/components/salla-button.js +1 -1
- package/dist/components/salla-infinite-scroll.js +1 -1
- package/dist/components/salla-installment.d.ts +7 -0
- package/dist/components/salla-installment.js +73 -0
- package/dist/components/salla-localization-modal.js +1 -1
- package/dist/components/salla-login-modal.js +3 -3
- package/dist/components/salla-modal.js +1 -1
- package/dist/components/salla-offer-modal.js +2 -2
- package/dist/components/salla-product-availability.js +5 -4
- package/dist/components/salla-rating-modal.js +3 -3
- package/dist/components/salla-rating-stars.js +21 -19
- package/dist/components/salla-search.js +2 -2
- package/dist/components/salla-tel-input.js +1 -1
- package/dist/components/salla-verify-modal.js +2 -2
- package/dist/esm/{index-2423ebcb.js → index-8c9eabea.js} +8 -87
- package/dist/esm/loader.js +2 -2
- package/dist/esm/salla-branches.entry.js +3 -3
- package/dist/esm/salla-button.entry.js +2 -2
- package/dist/esm/salla-conditional-fields.entry.js +1 -1
- package/dist/esm/salla-infinite-scroll.entry.js +2 -2
- package/dist/esm/salla-installment.entry.js +70 -0
- package/dist/esm/salla-localization-modal.entry.js +2 -2
- package/dist/esm/salla-login-modal.entry.js +4 -4
- package/dist/esm/salla-modal_2.entry.js +4 -4
- package/dist/esm/salla-offer-modal.entry.js +3 -3
- package/dist/esm/salla-product-availability.entry.js +5 -4
- package/dist/esm/salla-quantity-input.entry.js +1 -1
- package/dist/esm/salla-rating-modal.entry.js +4 -4
- package/dist/esm/salla-rating-stars.entry.js +22 -20
- package/dist/esm/salla-tel-input.entry.js +2 -2
- package/dist/esm/salla-verify-modal.entry.js +3 -3
- package/dist/esm/twilight-components.js +2 -2
- package/dist/twilight-components/{p-e3cbda45.entry.js → p-0c3cea73.entry.js} +1 -1
- package/dist/twilight-components/p-11bf3444.entry.js +1 -0
- package/dist/twilight-components/p-29fdfcd3.entry.js +1 -0
- package/dist/twilight-components/p-2c88c8a0.entry.js +1 -0
- package/dist/twilight-components/p-2e6ee2bc.js +1 -0
- package/dist/twilight-components/p-40df26b0.entry.js +1 -0
- package/dist/twilight-components/p-5a8f3684.entry.js +1 -0
- package/dist/twilight-components/p-75ff6410.entry.js +1 -0
- package/dist/twilight-components/p-791e7cb1.entry.js +1 -0
- package/dist/twilight-components/p-7f8ba787.entry.js +1 -0
- package/dist/twilight-components/{p-01accdcd.entry.js → p-9a7943e6.entry.js} +1 -1
- package/dist/twilight-components/p-b79f8eca.entry.js +1 -0
- package/dist/twilight-components/p-c1bad97f.entry.js +1 -0
- package/dist/twilight-components/{p-0e85664f.entry.js → p-c24a274d.entry.js} +1 -1
- package/dist/twilight-components/p-da60f8ae.entry.js +1 -0
- package/dist/twilight-components/p-fd6c850b.entry.js +1 -0
- package/dist/twilight-components/twilight-components.esm.js +1 -1
- package/dist/types/components/salla-installment/salla-installment.d.ts +11 -0
- package/dist/types/components.d.ts +19 -26
- package/package.json +1 -1
- package/dist/cjs/salla-tabby.cjs.entry.js +0 -19
- package/dist/cjs/salla-tamara.cjs.entry.js +0 -19
- package/dist/collection/components/salla-tabby/salla-tabby.css +0 -1117
- package/dist/collection/components/salla-tabby/salla-tabby.js +0 -14
- package/dist/collection/components/salla-tamara/salla-tamara.css +0 -1135
- package/dist/collection/components/salla-tamara/salla-tamara.js +0 -15
- package/dist/components/salla-tabby.d.ts +0 -7
- package/dist/components/salla-tabby.js +0 -18
- package/dist/components/salla-tamara.d.ts +0 -7
- package/dist/components/salla-tamara.js +0 -19
- package/dist/esm/salla-tabby.entry.js +0 -15
- package/dist/esm/salla-tamara.entry.js +0 -15
- package/dist/twilight-components/p-0ee36dd8.entry.js +0 -1
- package/dist/twilight-components/p-1fb0ca8a.js +0 -1
- package/dist/twilight-components/p-1ffd27c4.entry.js +0 -1
- package/dist/twilight-components/p-2012882b.entry.js +0 -1
- package/dist/twilight-components/p-3d9fd3d3.entry.js +0 -1
- package/dist/twilight-components/p-5b2cdd7c.entry.js +0 -1
- package/dist/twilight-components/p-728bd268.entry.js +0 -1
- package/dist/twilight-components/p-72985a41.entry.js +0 -1
- package/dist/twilight-components/p-747f80df.entry.js +0 -1
- package/dist/twilight-components/p-81a7a676.entry.js +0 -1
- package/dist/twilight-components/p-880711d4.entry.js +0 -1
- package/dist/twilight-components/p-8dd742df.entry.js +0 -1
- package/dist/twilight-components/p-9642541b.entry.js +0 -1
- package/dist/twilight-components/p-a24588ab.entry.js +0 -1
- package/dist/twilight-components/twilight-components.css +0 -1
- package/dist/types/components/salla-tabby/salla-tabby.d.ts +0 -3
- package/dist/types/components/salla-tamara/salla-tamara.d.ts +0 -3
|
@@ -71,7 +71,7 @@ export class SallaSearch {
|
|
|
71
71
|
h("div", { class: "s-search-results" }, (_a = this.results) === null || _a === void 0 ? void 0 :
|
|
72
72
|
_a.data.map(item => h("a", { href: item.url, class: "s-search-product", innerHTML: this.productSlot
|
|
73
73
|
.replace(/\{name\}/g, item.name)
|
|
74
|
-
.replace(/\{price\}/g, item.price) //todo:: get discounted price too
|
|
74
|
+
.replace(/\{price\}/g, salla.money(item.price)) //todo:: get discounted price too
|
|
75
75
|
.replace(/\{image\}/g, item.image_url) })),
|
|
76
76
|
h("p", { ref: el => this.noResults = el, class: "s-search-no-results-placeholder" }, this.noResultsText)));
|
|
77
77
|
return (this.inline ?
|
|
@@ -1,13 +1,226 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
/*
|
|
3
|
+
* Global flags style [imported from Int-tel-input]
|
|
4
|
+
*/
|
|
5
|
+
.iti {
|
|
6
|
+
width: 100%;
|
|
7
|
+
position: relative;
|
|
8
|
+
display: inline-block;
|
|
9
|
+
}
|
|
10
|
+
.iti * {
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
-moz-box-sizing: border-box;
|
|
13
|
+
}
|
|
14
|
+
.iti__hide {
|
|
15
|
+
display: none;
|
|
16
|
+
}
|
|
17
|
+
.iti__v-hide {
|
|
18
|
+
visibility: hidden;
|
|
19
|
+
}
|
|
20
|
+
.iti input, .iti input[type=text], .iti input[type=tel] {
|
|
21
|
+
position: relative;
|
|
22
|
+
z-index: 0;
|
|
23
|
+
direction: ltr !important;
|
|
24
|
+
margin-top: 0 !important;
|
|
25
|
+
margin-bottom: 0 !important;
|
|
26
|
+
padding-left: 95px !important;
|
|
27
|
+
padding-right: 15px !important;
|
|
28
|
+
margin-left: 0 !important;
|
|
29
|
+
}
|
|
30
|
+
.iti__flag-container {
|
|
31
|
+
width: 100%;
|
|
32
|
+
position: absolute;
|
|
33
|
+
top: 0;
|
|
34
|
+
bottom: 0;
|
|
35
|
+
left: 0;
|
|
36
|
+
padding: 1px;
|
|
37
|
+
}
|
|
38
|
+
.iti__selected-flag {
|
|
39
|
+
width: 80px;
|
|
40
|
+
z-index: 1;
|
|
41
|
+
position: relative;
|
|
42
|
+
display: flex;
|
|
43
|
+
align-items: center;
|
|
44
|
+
height: 100%;
|
|
45
|
+
float: left;
|
|
46
|
+
padding: 0 15px;
|
|
47
|
+
box-shadow: none !important;
|
|
48
|
+
outline: none !important;
|
|
49
|
+
}
|
|
50
|
+
.ltr .iti__selected-flag {
|
|
51
|
+
justify-content: flex-end;
|
|
52
|
+
}
|
|
53
|
+
.iti__selected-flag:before {
|
|
54
|
+
content: "";
|
|
55
|
+
display: block;
|
|
56
|
+
width: 1px;
|
|
57
|
+
height: 70%;
|
|
58
|
+
background: #eee;
|
|
59
|
+
position: absolute;
|
|
60
|
+
top: 15%;
|
|
61
|
+
right: 0;
|
|
62
|
+
}
|
|
63
|
+
.iti__selected-flag .iti__flag {
|
|
64
|
+
display: none;
|
|
65
|
+
}
|
|
66
|
+
.iti__arrow {
|
|
67
|
+
width: 15px;
|
|
68
|
+
height: 15px;
|
|
69
|
+
line-height: 15px;
|
|
70
|
+
position: absolute;
|
|
71
|
+
left: 10px;
|
|
72
|
+
top: 50%;
|
|
73
|
+
transform: translateY(-50%);
|
|
74
|
+
}
|
|
75
|
+
.iti__arrow:after {
|
|
76
|
+
content: "";
|
|
77
|
+
font-family: sallaicons;
|
|
78
|
+
font-size: 16px;
|
|
79
|
+
color: #999;
|
|
80
|
+
opacity: 0.65;
|
|
81
|
+
}
|
|
82
|
+
.iti__arrow--up:after {
|
|
83
|
+
transform: rotate(180deg);
|
|
84
|
+
}
|
|
85
|
+
.iti__country-list {
|
|
86
|
+
width: 100%;
|
|
87
|
+
max-height: 160px;
|
|
88
|
+
position: absolute;
|
|
89
|
+
top: 100%;
|
|
90
|
+
left: 0;
|
|
91
|
+
z-index: 2;
|
|
92
|
+
list-style: none;
|
|
93
|
+
margin: 0;
|
|
94
|
+
padding: 0;
|
|
95
|
+
margin: 5px 0 0 0;
|
|
96
|
+
border-radius: 5px;
|
|
97
|
+
box-shadow: 0px 2px 4px 2px rgba(0, 0, 0, 0.05);
|
|
98
|
+
border: 1px solid #f5f7f9;
|
|
99
|
+
background-color: white;
|
|
100
|
+
white-space: nowrap;
|
|
101
|
+
overflow: hidden;
|
|
102
|
+
overflow-y: auto;
|
|
103
|
+
-webkit-overflow-scrolling: touch;
|
|
104
|
+
}
|
|
105
|
+
.iti__country-list::-webkit-scrollbar {
|
|
106
|
+
width: 4px;
|
|
107
|
+
}
|
|
108
|
+
.dark .iti__country-list {
|
|
109
|
+
background-color: #52525b;
|
|
110
|
+
border-color: #52525b;
|
|
111
|
+
}
|
|
112
|
+
.iti__country-list li {
|
|
113
|
+
display: flex;
|
|
114
|
+
align-items: center;
|
|
115
|
+
justify-content: flex-start;
|
|
116
|
+
flex-direction: row;
|
|
117
|
+
padding: 8px 10px;
|
|
118
|
+
transition: background-color 0.3s;
|
|
119
|
+
}
|
|
120
|
+
.iti__country-list li span {
|
|
121
|
+
font-size: 12px;
|
|
122
|
+
}
|
|
123
|
+
.iti__country-list li:hover, .iti__country-list li.highlighted {
|
|
124
|
+
background-color: rgba(0, 0, 0, 0.05);
|
|
125
|
+
}
|
|
126
|
+
.iti__country-list--dropup {
|
|
127
|
+
bottom: 100%;
|
|
128
|
+
top: unset;
|
|
129
|
+
margin: 0 0 5px 0;
|
|
130
|
+
}
|
|
131
|
+
@media (max-width: 500px) {
|
|
132
|
+
.iti__country-list {
|
|
133
|
+
white-space: normal;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
.iti__flag-box {
|
|
137
|
+
display: inline-block;
|
|
138
|
+
width: 20px;
|
|
139
|
+
margin: 0 0 0 5px;
|
|
140
|
+
}
|
|
141
|
+
.iti__divider {
|
|
142
|
+
padding-bottom: 5px;
|
|
143
|
+
margin-bottom: 5px;
|
|
144
|
+
border-bottom: 1px solid #eee;
|
|
145
|
+
}
|
|
146
|
+
.iti__country {
|
|
147
|
+
padding: 5px 10px;
|
|
148
|
+
outline: none;
|
|
149
|
+
}
|
|
150
|
+
.iti__dial-code {
|
|
151
|
+
font-family: Arial;
|
|
152
|
+
color: #999;
|
|
153
|
+
unicode-bidi: plaintext;
|
|
154
|
+
letter-spacing: 1px;
|
|
155
|
+
}
|
|
156
|
+
.iti__country.iti__highlight {
|
|
157
|
+
background-color: rgba(0, 0, 0, 0.05);
|
|
158
|
+
}
|
|
159
|
+
.iti__flag-box, .iti__country-name, .iti__dial-code {
|
|
160
|
+
vertical-align: middle;
|
|
161
|
+
}
|
|
162
|
+
.iti__country-name {
|
|
163
|
+
flex: auto;
|
|
164
|
+
margin: 0;
|
|
165
|
+
padding: 0 10px;
|
|
166
|
+
white-space: normal;
|
|
167
|
+
line-height: 1.3;
|
|
168
|
+
}
|
|
169
|
+
.iti--allow-dropdown .iti__flag-container, .iti--separate-dial-code .iti__flag-container {
|
|
170
|
+
left: 0;
|
|
171
|
+
}
|
|
172
|
+
.iti--allow-dropdown .iti__flag-container:hover {
|
|
173
|
+
cursor: pointer;
|
|
174
|
+
}
|
|
175
|
+
.iti--allow-dropdown input[disabled] + .iti__flag-container:hover,
|
|
176
|
+
.iti--allow-dropdown input[readonly] + .iti__flag-container:hover {
|
|
177
|
+
cursor: default;
|
|
178
|
+
}
|
|
179
|
+
.iti--allow-dropdown input[disabled] + .iti__flag-container:hover .iti__selected-flag,
|
|
180
|
+
.iti--allow-dropdown input[readonly] + .iti__flag-container:hover .iti__selected-flag {
|
|
181
|
+
background-color: transparent;
|
|
182
|
+
}
|
|
183
|
+
.iti--separate-dial-code .iti__selected-dial-code {
|
|
184
|
+
unicode-bidi: plaintext;
|
|
185
|
+
direction: ltr;
|
|
186
|
+
letter-spacing: 1px;
|
|
187
|
+
font-family: "Arial", serif;
|
|
188
|
+
font-size: 13px;
|
|
189
|
+
}
|
|
190
|
+
.iti--container {
|
|
191
|
+
position: absolute;
|
|
192
|
+
top: -1000px;
|
|
193
|
+
z-index: 1060;
|
|
194
|
+
padding: 1px;
|
|
195
|
+
}
|
|
196
|
+
.iti--container:hover {
|
|
197
|
+
cursor: pointer;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.iti-mobile .iti--container {
|
|
201
|
+
inset: 0;
|
|
202
|
+
margin: 20px;
|
|
203
|
+
width: calc(100% - 40px);
|
|
204
|
+
position: fixed;
|
|
205
|
+
z-index: 9999;
|
|
206
|
+
}
|
|
207
|
+
.iti-mobile .iti__country-list {
|
|
208
|
+
max-height: 100%;
|
|
209
|
+
width: 100%;
|
|
210
|
+
inset: 0;
|
|
211
|
+
}
|
|
212
|
+
.iti-mobile .iti__country {
|
|
213
|
+
padding: 10px 10px;
|
|
214
|
+
line-height: 1.5em;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
/*
|
|
218
|
+
* Salla Tel Input Component: used to get the telephone input, in login and register steps and also in user profile.
|
|
219
|
+
* You can use these classes to target the elements in the component.
|
|
220
|
+
*/
|
|
221
|
+
/*
|
|
222
|
+
* Global flag style
|
|
223
|
+
*/
|
|
11
224
|
.iti__flag {
|
|
12
225
|
width: 20px;
|
|
13
226
|
}
|
|
@@ -1083,221 +1296,4 @@
|
|
|
1083
1296
|
}
|
|
1084
1297
|
.iti__flag.iti__np {
|
|
1085
1298
|
background-color: transparent;
|
|
1086
|
-
}
|
|
1087
|
-
|
|
1088
|
-
.iti {
|
|
1089
|
-
width: 100%;
|
|
1090
|
-
position: relative;
|
|
1091
|
-
display: inline-block;
|
|
1092
|
-
}
|
|
1093
|
-
.iti * {
|
|
1094
|
-
box-sizing: border-box;
|
|
1095
|
-
-moz-box-sizing: border-box;
|
|
1096
|
-
}
|
|
1097
|
-
.iti__hide {
|
|
1098
|
-
display: none;
|
|
1099
|
-
}
|
|
1100
|
-
.iti__v-hide {
|
|
1101
|
-
visibility: hidden;
|
|
1102
|
-
}
|
|
1103
|
-
.iti input, .iti input[type=text], .iti input[type=tel] {
|
|
1104
|
-
position: relative;
|
|
1105
|
-
z-index: 0;
|
|
1106
|
-
direction: ltr !important;
|
|
1107
|
-
margin-top: 0 !important;
|
|
1108
|
-
margin-bottom: 0 !important;
|
|
1109
|
-
padding-left: 95px !important;
|
|
1110
|
-
padding-right: 15px !important;
|
|
1111
|
-
margin-left: 0 !important;
|
|
1112
|
-
}
|
|
1113
|
-
.iti__flag-container {
|
|
1114
|
-
width: 100%;
|
|
1115
|
-
position: absolute;
|
|
1116
|
-
top: 0;
|
|
1117
|
-
bottom: 0;
|
|
1118
|
-
left: 0;
|
|
1119
|
-
padding: 1px;
|
|
1120
|
-
}
|
|
1121
|
-
.iti__selected-flag {
|
|
1122
|
-
width: 80px;
|
|
1123
|
-
z-index: 1;
|
|
1124
|
-
position: relative;
|
|
1125
|
-
display: flex;
|
|
1126
|
-
align-items: center;
|
|
1127
|
-
height: 100%;
|
|
1128
|
-
float: left;
|
|
1129
|
-
padding: 0 15px;
|
|
1130
|
-
box-shadow: none !important;
|
|
1131
|
-
outline: none !important;
|
|
1132
|
-
}
|
|
1133
|
-
.ltr .iti__selected-flag {
|
|
1134
|
-
justify-content: flex-end;
|
|
1135
|
-
}
|
|
1136
|
-
.iti__selected-flag:before {
|
|
1137
|
-
content: "";
|
|
1138
|
-
display: block;
|
|
1139
|
-
width: 1px;
|
|
1140
|
-
height: 70%;
|
|
1141
|
-
background: #eee;
|
|
1142
|
-
position: absolute;
|
|
1143
|
-
top: 15%;
|
|
1144
|
-
right: 0;
|
|
1145
|
-
}
|
|
1146
|
-
.iti__selected-flag .iti__flag {
|
|
1147
|
-
display: none;
|
|
1148
|
-
}
|
|
1149
|
-
.iti__arrow {
|
|
1150
|
-
width: 15px;
|
|
1151
|
-
height: 15px;
|
|
1152
|
-
line-height: 15px;
|
|
1153
|
-
position: absolute;
|
|
1154
|
-
left: 10px;
|
|
1155
|
-
top: 50%;
|
|
1156
|
-
transform: translateY(-50%);
|
|
1157
|
-
}
|
|
1158
|
-
.iti__arrow:after {
|
|
1159
|
-
content: "";
|
|
1160
|
-
font-family: sallaicons;
|
|
1161
|
-
font-size: 16px;
|
|
1162
|
-
color: #999;
|
|
1163
|
-
opacity: 0.65;
|
|
1164
|
-
}
|
|
1165
|
-
.iti__arrow--up:after {
|
|
1166
|
-
transform: rotate(180deg);
|
|
1167
|
-
}
|
|
1168
|
-
.iti__country-list {
|
|
1169
|
-
width: 100%;
|
|
1170
|
-
max-height: 160px;
|
|
1171
|
-
position: absolute;
|
|
1172
|
-
top: 100%;
|
|
1173
|
-
left: 0;
|
|
1174
|
-
z-index: 2;
|
|
1175
|
-
list-style: none;
|
|
1176
|
-
margin: 0;
|
|
1177
|
-
padding: 0;
|
|
1178
|
-
margin: 5px 0 0 0;
|
|
1179
|
-
border-radius: 5px;
|
|
1180
|
-
box-shadow: 0px 2px 4px 2px rgba(0, 0, 0, 0.05);
|
|
1181
|
-
border: 1px solid #f5f7f9;
|
|
1182
|
-
background-color: white;
|
|
1183
|
-
white-space: nowrap;
|
|
1184
|
-
overflow: hidden;
|
|
1185
|
-
overflow-y: auto;
|
|
1186
|
-
-webkit-overflow-scrolling: touch;
|
|
1187
|
-
}
|
|
1188
|
-
.iti__country-list::-webkit-scrollbar {
|
|
1189
|
-
width: 4px;
|
|
1190
|
-
}
|
|
1191
|
-
.dark .iti__country-list {
|
|
1192
|
-
background-color: #52525b;
|
|
1193
|
-
border-color: #52525b;
|
|
1194
|
-
}
|
|
1195
|
-
.iti__country-list li {
|
|
1196
|
-
display: flex;
|
|
1197
|
-
align-items: center;
|
|
1198
|
-
justify-content: flex-start;
|
|
1199
|
-
flex-direction: row;
|
|
1200
|
-
padding: 8px 10px;
|
|
1201
|
-
transition: background-color 0.3s;
|
|
1202
|
-
}
|
|
1203
|
-
.iti__country-list li span {
|
|
1204
|
-
font-size: 12px;
|
|
1205
|
-
}
|
|
1206
|
-
.iti__country-list li:hover, .iti__country-list li.highlighted {
|
|
1207
|
-
background-color: rgba(0, 0, 0, 0.05);
|
|
1208
|
-
}
|
|
1209
|
-
.iti__country-list--dropup {
|
|
1210
|
-
bottom: 100%;
|
|
1211
|
-
top: unset;
|
|
1212
|
-
margin: 0 0 5px 0;
|
|
1213
|
-
}
|
|
1214
|
-
@media (max-width: 500px) {
|
|
1215
|
-
.iti__country-list {
|
|
1216
|
-
white-space: normal;
|
|
1217
|
-
}
|
|
1218
|
-
}
|
|
1219
|
-
.iti__flag-box {
|
|
1220
|
-
display: inline-block;
|
|
1221
|
-
width: 20px;
|
|
1222
|
-
margin: 0 0 0 5px;
|
|
1223
|
-
}
|
|
1224
|
-
.iti__divider {
|
|
1225
|
-
padding-bottom: 5px;
|
|
1226
|
-
margin-bottom: 5px;
|
|
1227
|
-
border-bottom: 1px solid #eee;
|
|
1228
|
-
}
|
|
1229
|
-
.iti__country {
|
|
1230
|
-
padding: 5px 10px;
|
|
1231
|
-
outline: none;
|
|
1232
|
-
}
|
|
1233
|
-
.iti__dial-code {
|
|
1234
|
-
font-family: Arial;
|
|
1235
|
-
color: #999;
|
|
1236
|
-
unicode-bidi: plaintext;
|
|
1237
|
-
letter-spacing: 1px;
|
|
1238
|
-
}
|
|
1239
|
-
.iti__country.iti__highlight {
|
|
1240
|
-
background-color: rgba(0, 0, 0, 0.05);
|
|
1241
|
-
}
|
|
1242
|
-
.iti__flag-box, .iti__country-name, .iti__dial-code {
|
|
1243
|
-
vertical-align: middle;
|
|
1244
|
-
}
|
|
1245
|
-
.iti__country-name {
|
|
1246
|
-
flex: auto;
|
|
1247
|
-
margin: 0;
|
|
1248
|
-
padding: 0 10px;
|
|
1249
|
-
white-space: normal;
|
|
1250
|
-
line-height: 1.3;
|
|
1251
|
-
}
|
|
1252
|
-
.iti--allow-dropdown .iti__flag-container, .iti--separate-dial-code .iti__flag-container {
|
|
1253
|
-
left: 0;
|
|
1254
|
-
}
|
|
1255
|
-
.iti--allow-dropdown .iti__flag-container:hover {
|
|
1256
|
-
cursor: pointer;
|
|
1257
|
-
}
|
|
1258
|
-
.iti--allow-dropdown input[disabled] + .iti__flag-container:hover,
|
|
1259
|
-
.iti--allow-dropdown input[readonly] + .iti__flag-container:hover {
|
|
1260
|
-
cursor: default;
|
|
1261
|
-
}
|
|
1262
|
-
.iti--allow-dropdown input[disabled] + .iti__flag-container:hover .iti__selected-flag,
|
|
1263
|
-
.iti--allow-dropdown input[readonly] + .iti__flag-container:hover .iti__selected-flag {
|
|
1264
|
-
background-color: transparent;
|
|
1265
|
-
}
|
|
1266
|
-
.iti--separate-dial-code .iti__selected-dial-code {
|
|
1267
|
-
unicode-bidi: plaintext;
|
|
1268
|
-
direction: ltr;
|
|
1269
|
-
letter-spacing: 1px;
|
|
1270
|
-
font-family: "Arial", serif;
|
|
1271
|
-
font-size: 13px;
|
|
1272
|
-
}
|
|
1273
|
-
.iti--container {
|
|
1274
|
-
position: absolute;
|
|
1275
|
-
top: -1000px;
|
|
1276
|
-
z-index: 1060;
|
|
1277
|
-
padding: 1px;
|
|
1278
|
-
}
|
|
1279
|
-
.iti--container:hover {
|
|
1280
|
-
cursor: pointer;
|
|
1281
|
-
}
|
|
1282
|
-
|
|
1283
|
-
.iti-mobile .iti--container {
|
|
1284
|
-
inset: 0;
|
|
1285
|
-
margin: 20px;
|
|
1286
|
-
width: calc(100% - 40px);
|
|
1287
|
-
position: fixed;
|
|
1288
|
-
z-index: 9999;
|
|
1289
|
-
}
|
|
1290
|
-
.iti-mobile .iti__country-list {
|
|
1291
|
-
max-height: 100%;
|
|
1292
|
-
width: 100%;
|
|
1293
|
-
inset: 0;
|
|
1294
|
-
}
|
|
1295
|
-
.iti-mobile .iti__country {
|
|
1296
|
-
padding: 10px 10px;
|
|
1297
|
-
line-height: 1.5em;
|
|
1298
|
-
}
|
|
1299
|
-
|
|
1300
|
-
/*
|
|
1301
|
-
* Salla Tel Input Component: used to get the telephone input, in login and register steps and also in user profile.
|
|
1302
|
-
* You can use these classes to target the elements in the component.
|
|
1303
|
-
*/
|
|
1299
|
+
}
|