4
4
@import " ./mat-modal" ;
5
5
@import " ./mat-button" ;
6
6
7
- html , body {
7
+ html ,
8
+ body {
8
9
height : 100% ;
9
- font-family : ' Montserrat' , sans-serif ;
10
+ font-family : " Montserrat" , sans-serif ;
10
11
background-color : $colivery-background ;
11
12
}
12
13
13
- .info-button , .info-button :hover {
14
+ .info-button ,
15
+ .info-button :hover {
14
16
background-color : $colivery-blue ;
15
17
}
16
18
17
- .cancel-button , .cancel-button :hover {
19
+ .cancel-button ,
20
+ .cancel-button :hover {
18
21
background-color : #cc0000 ;
19
22
}
20
23
21
- .success-button , .success-button :hover {
24
+ .success-button ,
25
+ .success-button :hover {
22
26
background-color : $colivery-green ;
23
27
}
24
28
@@ -66,12 +70,47 @@ h3.slogan {
66
70
.horizontal-scroll {
67
71
width : 100% ;
68
72
display : block ;
69
- height : 100% ;
73
+ height : 100% ;
70
74
overflow-x : scroll ;
71
75
overflow-y : hidden ;
72
76
white-space : nowrap ;
73
77
}
74
78
79
+ input .invalid :not (.browser-default ),
80
+ input .invalid :not (.browser-default ):focus ,
81
+ textarea .materialize-textarea.invalid ,
82
+ textarea .materialize-textarea.invalid :focus ,
83
+ .select-wrapper.invalid > input .select-dropdown ,
84
+ .select-wrapper.invalid > input .select-dropdown :focus {
85
+ border : 2px solid $error-color !important ;
86
+ }
87
+
88
+ input :not (.browser-default ),
89
+ input :not (.browser-default ):focus ,
90
+ textarea .materialize-textarea ,
91
+ textarea .materialize-textarea :focus ,
92
+ .select-wrapper > input .select-dropdown ,
93
+ .select-wrapper > input .select-dropdown :focus {
94
+ border : 2px solid $colivery-orange !important ;
95
+ }
96
+
97
+ input :not (.browser-default ),
98
+ textarea .materialize-textarea {
99
+ background-color : #fff !important ;
100
+ box-shadow : none !important ;
101
+ border : 2px solid $input-border-color !important ;
102
+ border-radius : 5px !important ;
103
+ padding-left : 10px !important ;
104
+ padding-right : 10px !important ;
105
+ width : calc (100% - 20px ) !important ;
106
+ }
107
+
108
+ .input-field > label :not (.label-icon ) {
109
+ transform : translateY (12px ) translateX (10px );
110
+ }
111
+ .input-field > label :not (.label-icon ).active {
112
+ transform : translateY (-20px ) scale (0.8 );
113
+ }
75
114
76
115
/* Mobile */
77
116
@media screen and (max-width : 768px ) {
@@ -159,9 +198,9 @@ h5 .order-card-icon {
159
198
160
199
.order-line {
161
200
padding-left : 10px ;
162
- padding-top : 4px ;
201
+ padding-top : 4px ;
163
202
padding-bottom : 4px ;
164
- line-height : 1.3rem ;
203
+ line-height : 1.3rem ;
165
204
}
166
205
167
206
.material-align-middle {
@@ -194,15 +233,13 @@ h5 .order-card-icon {
194
233
}
195
234
color : $colivery-orange ;
196
235
text-decoration : underline ;
197
-
198
236
}
199
237
200
238
.action-button {
201
239
bottom : 14px !important ;
202
240
right : 14px !important ;
203
241
}
204
242
205
-
206
243
/* webkit scrollbar */
207
244
208
245
/* Let's get this party started */
@@ -212,7 +249,7 @@ h5 .order-card-icon {
212
249
213
250
/* Track */
214
251
::-webkit-scrollbar-track {
215
- -webkit-box-shadow : inset 0 0 6px rgba (0 ,0 , 0 , 0.3 );
252
+ -webkit-box-shadow : inset 0 0 6px rgba (0 , 0 , 0 , 0.3 );
216
253
-webkit-border-radius : 10px ;
217
254
border-radius : 10px ;
218
255
}
@@ -221,9 +258,9 @@ h5 .order-card-icon {
221
258
::-webkit-scrollbar-thumb {
222
259
-webkit-border-radius : 10px ;
223
260
border-radius : 10px ;
224
- background : $colivery-orange ;
225
- -webkit-box-shadow : inset 0 0 6px rgba (0 ,0 , 0 , 0.5 );
261
+ background : $colivery-orange ;
262
+ -webkit-box-shadow : inset 0 0 6px rgba (0 , 0 , 0 , 0.5 );
226
263
}
227
264
::-webkit-scrollbar-thumb :window-inactive {
228
- background : $colivery-orange ;
229
- }
265
+ background : $colivery-orange ;
266
+ }
0 commit comments