@appscode/design-system 1.1.0-beta.4 → 1.1.0-beta.5

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.
@@ -1,394 +1,901 @@
1
1
  // Input fields
2
2
 
3
- .ac-file-upload {
4
- margin-bottom: 20px;
3
+ // .ac-file-upload {
4
+ // margin-bottom: 20px;
5
+
6
+ // &:last-child {
7
+ // margin-bottom: 0;
8
+ // }
9
+
10
+ // &.style-2 {
11
+ // label {
12
+ // &.file-label {
13
+ // position: relative;
14
+ // z-index: 1;
15
+
16
+ // span.ac-placeholder {
17
+ // position: absolute;
18
+ // left: 180px;
19
+ // top: 10px;
20
+ // z-index: 1;
21
+ // font-size: 13px;
22
+ // color: $ac-label-text;
23
+ // font-weight: 400;
24
+ // }
25
+ // }
26
+
27
+ // .file-cta {
28
+ // background-color: $primary;
29
+ // margin-top: 3.5px;
30
+ // margin-left: 3px;
31
+ // height: 26px;
32
+
33
+ // .file-label {
34
+ // color: $white-100;
35
+ // font-weight: 400;
36
+ // }
37
+ // }
38
+ // }
39
+ // }
40
+
41
+ // label {
42
+ // background-color: transparent;
43
+ // height: 36px;
44
+ // font-weight: 400;
45
+ // border-radius: 4px;
46
+ // border: 1px solid $ac-label-text;
47
+ // font-size: 13px;
48
+
49
+ // .file-cta {
50
+ // background-color: transparent;
51
+ // border: none;
52
+ // }
53
+
54
+ // &:hover {
55
+ // border-color: $black-80;
56
+ // }
57
+
58
+ // &.bg-white {
59
+ // background-color: $white-100;
60
+ // }
61
+
62
+ // &:focus {
63
+ // border: 1px solid $primary;
64
+ // outline: none;
65
+ // background-color: $white-100;
66
+ // }
67
+ // }
68
+ // }
69
+
70
+ // input#captcha {
71
+ // background-color: $white-100;
72
+ // height: 36px;
73
+ // font-weight: 400;
74
+ // width: 100%;
75
+ // border-radius: 4px;
76
+ // border: 1px solid $primary-90;
77
+ // padding: 8px 15px;
78
+ // font-size: 13px;
79
+ // transition: background-color 0.3s ease-in-out;
80
+
81
+ // &:focus {
82
+ // outline: none;
83
+ // border-bottom: 1px solid $ac-label-text;
84
+ // }
85
+ // }
86
+
87
+ // // AC-Checkbox
88
+ // .ac-single-checkbox {
89
+ // .is-checkradio {
90
+ // position: unset !important;
91
+ // }
92
+
93
+ // .is-checkradio[type="checkbox"].ac-checkbox + label::before {
94
+ // height: 16px;
95
+ // width: 16px;
96
+ // background-color: $primary-90;
97
+ // }
98
+
99
+ // .is-checkradio[type="checkbox"].ac-checkbox:checked + label::before {
100
+ // background-color: $primary;
101
+ // border-color: $primary;
102
+ // }
103
+
104
+ // .is-checkradio[type="checkbox"].ac-checkbox + label::after {
105
+ // top: 6px;
106
+ // left: 6px;
107
+ // border-color: $black-80;
108
+ // width: 0.3rem;
109
+ // height: 0.5rem;
110
+ // }
111
+
112
+ // .is-checkradio[type="checkbox"].ac-checkbox:checked + label::after {
113
+ // border-color: $white-100;
114
+ // }
115
+
116
+ // .is-checkradio[type="checkbox"].ac-checkbox + label {
117
+ // color: $primary-10;
118
+ // font-size: 13px !important;
119
+ // padding-left: 25px;
120
+ // user-select: none;
121
+ // }
122
+
123
+ // .is-checkradio[type="checkbox"].ac-checkbox:checked + label {
124
+ // color: $primary !important;
125
+ // }
126
+
127
+ // .is-checkradio[type="checkbox"].ac-checkbox + label {
128
+ // color: $primary-10;
129
+ // font-size: 13px;
130
+ // padding-left: 25px;
131
+ // user-select: none;
132
+ // }
133
+
134
+ // .is-checkradio[type="checkbox"],
135
+ // .is-checkradio[type="radio"] {
136
+ // display: none;
137
+ // }
138
+ // }
139
+
140
+ // .ac-single-radio {
141
+ // &.is-selected {
142
+ // .is-checkradio[type="radio"].ac-radio + label {
143
+ // color: $primary;
144
+ // }
145
+ // }
146
+ // }
147
+
148
+ // .is-checkradio[type="checkbox"] + label::before,
149
+ // .is-checkradio[type="checkbox"] + label:before {
150
+ // top: 3px;
151
+ // }
152
+
153
+ // // AC-Switch
154
+ // .ac-single-switch {
155
+ // label {
156
+ // user-select: none;
157
+ // font-size: 13px;
158
+ // font-weight: 400;
159
+ // color: $primary-10;
160
+
161
+ // &::before {
162
+ // background-color: #cad3df;
163
+ // }
164
+ // }
165
+
166
+ // .button.is-information {
167
+ // margin-top: 6px;
168
+ // }
169
+
170
+ // &.is-small {
171
+ // label {
172
+ // font-size: 13px !important;
173
+ // }
174
+ // .switch[type="checkbox"] + label {
175
+ // font-size: 13px;
176
+ // padding-top: 0;
177
+ // padding-left: 40px;
178
+ // height: auto;
179
+
180
+ // &::before {
181
+ // width: 30px;
182
+ // height: 16.2px;
183
+ // }
184
+
185
+ // &::after {
186
+ // top: 2px;
187
+ // left: 2px;
188
+ // width: 12px;
189
+ // height: 12px;
190
+ // }
191
+ // }
192
+
193
+ // .switch[type="checkbox"]:checked + label {
194
+ // &::after {
195
+ // left: 15px;
196
+ // }
197
+ // }
198
+ // }
199
+
200
+ // .switch {
201
+ // &[type="checkbox"] + label {
202
+ // padding-top: 3px;
203
+ // &::before {
204
+ // background-color: $ac-gray-light;
205
+ // }
206
+ // }
207
+
208
+ // &.ac-switch {
209
+ // &.is-primary {
210
+ // @include ac-switch($primary);
211
+ // }
212
+
213
+ // &.is-link {
214
+ // @include ac-switch($info);
215
+ // }
216
+
217
+ // &.is-info {
218
+ // @include ac-switch($info);
219
+ // }
220
+
221
+ // &.is-success {
222
+ // @include ac-switch($success);
223
+ // }
224
+
225
+ // &.is-warning {
226
+ // @include ac-switch($warning);
227
+ // }
228
+
229
+ // &.is-danger {
230
+ // @include ac-switch($danger);
231
+ // }
232
+ // }
233
+ // }
234
+ // }
235
+
236
+ // .ac-single-switch.is-small .switch[type="checkbox"] + label,
237
+ // .buttons.are-small
238
+ // .ac-single-switch.button.ac-button
239
+ // .switch[type="checkbox"]
240
+ // + label {
241
+ // height: 19px;
242
+ // }
243
+
244
+ // // transparent input
245
+ // .transparent-input {
246
+ // display: flex;
247
+ // align-items: center;
248
+ // width: calc(100% - 100px);
249
+
250
+ // span {
251
+ // width: 100%;
252
+ // }
253
+
254
+ // input {
255
+ // border: none;
256
+ // background-color: transparent;
257
+ // font-size: 18px;
258
+ // font-weight: 400;
259
+ // font-family: $font-heading;
260
+ // color: $primary-20;
261
+ // width: 100%;
262
+ // padding: 5px 0;
263
+
264
+ // &:focus {
265
+ // outline: none;
266
+ // border-bottom: 1px solid $ac-label-text;
267
+ // }
268
+ // }
269
+ // }
270
+
271
+ // // AC-Radio
272
+ // .ac-single-radio {
273
+ // .is-checkradio[type="radio"] {
274
+ // & + label {
275
+ // padding-left: 25px;
276
+ // font-size: 13px;
277
+ // padding: 0.3rem 0.5rem 0.2rem 1.5rem;
278
+
279
+ // &::after {
280
+ // background-color: $primary;
281
+ // width: 16px;
282
+ // height: 16px;
283
+ // top: 5px;
284
+ // }
285
+
286
+ // &:after {
287
+ // background-color: $primary;
288
+ // }
289
+
290
+ // &:before {
291
+ // border-color: $primary;
292
+ // width: 16px;
293
+ // height: 16px;
294
+ // top: 5px;
295
+ // }
296
+ // }
297
+
298
+ // &:hover {
299
+ // &:not([disabled]) {
300
+ // & + label {
301
+ // &:before {
302
+ // border-color: $primary !important;
303
+ // }
304
+ // }
305
+ // }
306
+ // }
307
+ // }
308
+
309
+ // .is-checkradio[type="radio"]:checked {
310
+ // & + label {
311
+ // color: $primary;
312
+ // }
313
+ // }
314
+ // }
315
+ // // dark theme start
316
+ // .is-dark-theme {
317
+ // .ac-single-input {
318
+ // input,
319
+ // .file-input,
320
+ // .ac-dropdown-content {
321
+ // background-color: transparent;
322
+ // }
323
+
324
+ // label {
325
+ // color: $ac-label-text;
326
+ // }
327
+ // .button.is-information:focus {
328
+ // background-color: $dark-bg-light;
329
+ // }
330
+ // }
331
+ // }
332
+ // // dark theme end
333
+ // /****************************************
334
+ // Responsive Classes
335
+ // *****************************************/
336
+ // // Extra small devices (portrait phones, less than 576px)
337
+ // @media (max-width: 575.98px) {
338
+ // .ac-single-input {
339
+ // input {
340
+ // height: 36px;
341
+ // font-size: 13px;
342
+ // font-weight: 400;
343
+ // }
344
+
345
+ // label {
346
+ // top: 9px;
347
+ // font-size: 13px;
348
+
349
+ // &.show-label {
350
+ // top: -9px;
351
+ // font-size: 12px;
352
+ // }
353
+ // }
354
+
355
+ // textarea {
356
+ // font-size: 13px;
357
+ // }
358
+
359
+ // span {
360
+ // &.eye {
361
+ // i.fa {
362
+ // padding: 10px;
363
+ // }
364
+ // }
365
+ // }
366
+
367
+ // .ac-search-button {
368
+ // margin-top: -18px;
369
+ // }
370
+ // }
371
+
372
+ // .ac-file-upload {
373
+ // label {
374
+ // height: 36px;
375
+ // font-size: 13px;
376
+ // }
377
+ // }
378
+ // }
379
+
380
+ // // Small devices (landscape phones, 576px and up)
381
+ // @media (min-width: 576px) and (max-width: 767.98px) {
382
+ // }
383
+
384
+ // // Medium devices (tablets, 768px and up)
385
+ // @media (min-width: 768px) and (max-width: 991.98px) {
386
+ // }
387
+
388
+ // // Large devices (desktops, 992px and up)
389
+ // @media (min-width: 992px) and (max-width: 1199.98px) {
390
+ // }
391
+
392
+ // // Extra large devices (large desktops, 1200px and up)
393
+ // @media (min-width: 1200px) {
394
+ // }
395
+ .ac-single-input {
396
+ position: relative;
397
+ z-index: 1;
398
+ margin-bottom: 15px;
399
+
400
+ &.is-disable {
401
+ opacity: 0.5;
5
402
 
6
- &:last-child {
7
- margin-bottom: 0;
403
+ input,
404
+ .button.is-information,
405
+ .eye i.fa {
406
+ cursor: not-allowed;
407
+ }
8
408
  }
9
409
 
10
- &.style-2 {
11
- label {
12
- &.file-label {
13
- position: relative;
14
- z-index: 1;
15
-
16
- span.ac-placeholder {
17
- position: absolute;
18
- left: 180px;
19
- top: 10px;
20
- z-index: 1;
21
- font-size: 13px;
22
- color: $ac-label-text;
23
- font-weight: 400;
24
- }
25
- }
26
-
27
- .file-cta {
28
- background-color: $primary;
29
- margin-top: 3.5px;
30
- margin-left: 3px;
31
- height: 26px;
410
+ &.is-information {
411
+ input {
412
+ padding-right: 45px;
32
413
 
33
- .file-label {
34
- color: $white-100;
35
- font-weight: 400;
36
- }
414
+ &[type="password"] {
415
+ padding-right: 80px;
37
416
  }
38
417
  }
418
+
419
+ span.eye i.fa {
420
+ right: 35px;
421
+ }
39
422
  }
40
423
 
41
- label {
42
- background-color: transparent;
43
- height: 36px;
44
- font-weight: 400;
45
- border-radius: 4px;
46
- border: 1px solid $ac-label-text;
47
- font-size: 13px;
424
+ &.is-success {
48
425
 
49
- .file-cta {
50
- background-color: transparent;
51
- border: none;
426
+ input,
427
+ .ac-card,
428
+ textarea {
429
+ border: 1px solid $primary !important;
52
430
  }
53
431
 
54
- &:hover {
55
- border-color: $black-80;
432
+ p {
433
+ color: $primary;
56
434
  }
435
+ }
57
436
 
58
- &.bg-white {
59
- background-color: $white-100;
60
- }
437
+ &.is-danger {
61
438
 
62
- &:focus {
63
- border: 1px solid $primary;
64
- outline: none;
65
- background-color: $white-100;
439
+ input,
440
+ .ac-card,
441
+ textarea {
442
+ border: 1px solid $danger;
66
443
  }
67
- }
68
- }
69
444
 
70
- input#captcha {
71
- background-color: $white-100;
72
- height: 36px;
73
- font-weight: 400;
74
- width: 100%;
75
- border-radius: 4px;
76
- border: 1px solid $primary-90;
77
- padding: 8px 15px;
78
- font-size: 13px;
79
- transition: background-color 0.3s ease-in-out;
80
-
81
- &:focus {
82
- outline: none;
83
- border-bottom: 1px solid $ac-label-text;
445
+ p {
446
+ color: $danger;
447
+ }
84
448
  }
85
- }
86
449
 
87
- // AC-Checkbox
88
- .ac-single-checkbox {
89
- .is-checkradio {
90
- position: unset !important;
91
- }
450
+ &.is-loading {
92
451
 
93
- .is-checkradio[type="checkbox"].ac-checkbox + label::before {
94
- height: 16px;
95
- width: 16px;
96
- background-color: $primary-90;
97
- }
452
+ input,
453
+ .ac-card,
454
+ textarea {
455
+ border: 1px solid $info;
456
+ opacity: 0.5;
457
+ }
98
458
 
99
- .is-checkradio[type="checkbox"].ac-checkbox:checked + label::before {
100
- background-color: $primary;
101
- border-color: $primary;
459
+ p {
460
+ color: $info;
461
+ opacity: 0.5;
462
+ }
102
463
  }
103
464
 
104
- .is-checkradio[type="checkbox"].ac-checkbox + label::after {
105
- top: 6px;
106
- left: 6px;
107
- border-color: $black-80;
108
- width: 0.3rem;
109
- height: 0.5rem;
110
- }
465
+ &.borderless-input {
466
+ input {
467
+ border: none;
468
+ font-size: 13px;
469
+ padding: 4px 7px;
470
+ height: 30px;
471
+ background-color: $white-100;
472
+ padding-right: 30px;
111
473
 
112
- .is-checkradio[type="checkbox"].ac-checkbox:checked + label::after {
113
- border-color: $white-100;
114
- }
474
+ &[type="password"] {
475
+ padding-right: 30px;
476
+ }
115
477
 
116
- .is-checkradio[type="checkbox"].ac-checkbox + label {
117
- color: $primary-10;
118
- font-size: 13px !important;
119
- padding-left: 25px;
120
- user-select: none;
121
- }
478
+ &:focus {
479
+ outline: none;
480
+ border: none;
481
+ }
482
+ }
122
483
 
123
- .is-checkradio[type="checkbox"].ac-checkbox:checked + label {
124
- color: $primary !important;
484
+ span.eye {
485
+ i.fa {
486
+ padding: 9px;
487
+ font-size: 12px;
488
+ }
489
+ }
125
490
  }
126
491
 
127
- .is-checkradio[type="checkbox"].ac-checkbox + label {
128
- color: $primary-10;
129
- font-size: 13px;
130
- padding-left: 25px;
131
- user-select: none;
132
- }
492
+ &.is-normal {
493
+ input {
494
+ height: 45px;
495
+ font-size: 15px;
496
+ font-weight: 400;
497
+ }
133
498
 
134
- .is-checkradio[type="checkbox"],
135
- .is-checkradio[type="radio"] {
136
- display: none;
137
- }
138
- }
499
+ .button {
500
+ &.is-information {
501
+ height: 45px;
502
+ width: 45px;
503
+ margin-top: 0;
504
+ }
505
+ }
139
506
 
140
- .ac-single-radio {
141
- &.is-selected {
142
- .is-checkradio[type="radio"].ac-radio + label {
143
- color: $primary;
507
+ span.eye i.fa {
508
+ padding: 14px 10px;
144
509
  }
145
- }
146
- }
147
510
 
148
- .is-checkradio[type="checkbox"] + label::before,
149
- .is-checkradio[type="checkbox"] + label:before {
150
- top: 3px;
151
- }
511
+ .ac-search-button {
512
+ margin-top: -22.5px;
513
+ }
152
514
 
153
- // AC-Switch
154
- .ac-single-switch {
155
- label {
156
- user-select: none;
157
- font-size: 13px;
158
- font-weight: 400;
159
- color: $primary-10;
515
+ label {
516
+ top: 13px;
517
+ font-size: 13px;
160
518
 
161
- &::before {
162
- background-color: #cad3df;
519
+ &.show-label {
520
+ font-size: 12px;
521
+ color: $black-40;
522
+ top: -9px;
523
+ font-weight: 500;
524
+ background-color: $white-100;
525
+ }
163
526
  }
164
- }
165
527
 
166
- .button.is-information {
167
- margin-top: 6px;
528
+ .control {
529
+ &.has-icons-right {
530
+ .icon {
531
+ height: 45px;
532
+ width: 30px;
533
+ font-size: 13px;
534
+ }
535
+ }
536
+ }
168
537
  }
169
538
 
170
539
  &.is-small {
171
- label {
172
- font-size: 13px !important;
540
+ input {
541
+ height: 36px;
542
+ font-size: 13px;
543
+ font-weight: 400;
173
544
  }
174
- .switch[type="checkbox"] + label {
545
+
546
+ .button {
547
+ &.is-information {
548
+ height: 36px;
549
+ width: 36px;
550
+ margin-top: 0;
551
+ padding: 10px;
552
+ }
553
+ }
554
+
555
+ span.eye i.fa {
556
+ padding: 10px;
557
+ }
558
+
559
+ .ac-search-button {
560
+ margin-top: -18px;
561
+ }
562
+
563
+ label {
564
+ top: 8px;
175
565
  font-size: 13px;
176
- padding-top: 0;
177
- padding-left: 40px;
178
- height: auto;
179
566
 
180
- &::before {
181
- width: 30px;
182
- height: 16.2px;
567
+ &.switch-label {
568
+ top: 0;
183
569
  }
184
570
 
185
- &::after {
186
- top: 2px;
187
- left: 2px;
188
- width: 12px;
189
- height: 12px;
571
+ &.show-label {
572
+ font-size: 12px;
573
+ top: -9px;
574
+ font-weight: 500;
575
+ color: $black-40;
576
+
577
+ &.is-required {
578
+ &:after {
579
+ width: calc(100% + 10px);
580
+ }
581
+ }
190
582
  }
191
583
  }
192
584
 
193
- .switch[type="checkbox"]:checked + label {
194
- &::after {
195
- left: 15px;
585
+ .control {
586
+ &.has-icons-right {
587
+ .icon {
588
+ height: 36px;
589
+ width: 25px;
590
+ font-size: 13px;
591
+ }
196
592
  }
197
593
  }
198
594
  }
199
595
 
200
- .switch {
201
- &[type="checkbox"] + label {
202
- padding-top: 3px;
203
- &::before {
204
- background-color: $ac-gray-light;
205
- }
596
+ &.is-extra-small {
597
+ input {
598
+ height: 32px;
599
+ font-size: 13px;
600
+ font-weight: 400;
206
601
  }
207
602
 
208
- &.ac-switch {
209
- &.is-primary {
210
- @include ac-switch($primary);
603
+ .button {
604
+ &.is-information {
605
+ height: 32px;
606
+ width: 32px;
607
+ margin-top: 0;
211
608
  }
609
+ }
212
610
 
213
- &.is-link {
214
- @include ac-switch($info);
215
- }
611
+ span.eye i.fa {
612
+ padding: 10px;
613
+ }
216
614
 
217
- &.is-info {
218
- @include ac-switch($info);
615
+ .ac-search-button {
616
+ margin-top: 0px;
617
+ top: 0;
618
+ display: flex;
619
+ align-items: center;
620
+ width: 40px;
621
+ justify-content: center;
622
+
623
+ svg {
624
+ width: 18px;
219
625
  }
626
+ }
627
+
628
+ label {
629
+ top: 8px;
630
+ font-size: 13px;
220
631
 
221
- &.is-success {
222
- @include ac-switch($success);
632
+ &.switch-label {
633
+ top: 0;
223
634
  }
224
635
 
225
- &.is-warning {
226
- @include ac-switch($warning);
636
+ &.show-label {
637
+ font-size: 12px;
638
+ top: -9px;
227
639
  }
640
+ }
228
641
 
229
- &.is-danger {
230
- @include ac-switch($danger);
642
+ .control {
643
+ &.has-icons-right {
644
+ .icon {
645
+ height: 32px;
646
+ width: 25px;
647
+ font-size: 13px;
648
+ }
231
649
  }
232
650
  }
233
651
  }
234
- }
235
652
 
236
- .ac-single-switch.is-small .switch[type="checkbox"] + label,
237
- .buttons.are-small
238
- .ac-single-switch.button.ac-button
239
- .switch[type="checkbox"]
240
- + label {
241
- height: 19px;
242
- }
243
-
244
- // transparent input
245
- .transparent-input {
246
- display: flex;
247
- align-items: center;
248
- width: calc(100% - 100px);
249
-
250
- span {
251
- width: 100%;
653
+ &:last-child {
654
+ margin-bottom: 0;
252
655
  }
253
656
 
254
- input {
255
- border: none;
256
- background-color: transparent;
257
- font-size: 18px;
258
- font-weight: 400;
259
- font-family: $font-heading;
260
- color: $primary-20;
261
- width: 100%;
262
- padding: 5px 0;
657
+ &.is-dark {
658
+ input {
659
+ background-color: $primary-10;
660
+ border-color: transparent;
661
+ color: $white-100;
263
662
 
264
- &:focus {
265
- outline: none;
266
- border-bottom: 1px solid $ac-label-text;
663
+ &::placeholder {
664
+ color: $primary-10;
665
+ }
666
+
667
+ button {
668
+ i.fa {
669
+ color: $white-100;
670
+ }
671
+ }
267
672
  }
268
673
  }
269
- }
270
674
 
271
- // AC-Radio
272
- .ac-single-radio {
273
- .is-checkradio[type="radio"] {
274
- & + label {
275
- padding-left: 25px;
276
- font-size: 13px;
277
- padding: 0.3rem 0.5rem 0.2rem 1.5rem;
675
+ label {
676
+ font-size: 13px;
677
+ left: 15px;
678
+ top: 11px;
679
+ cursor: text;
680
+ color: $primary-10;
681
+ position: absolute;
682
+ z-index: 2;
683
+ transition: 0.3s ease-in-out;
278
684
 
279
- &::after {
280
- background-color: $primary;
281
- width: 16px;
282
- height: 16px;
283
- top: 5px;
685
+ .is-required {
686
+ color: $danger;
687
+
688
+ img {
689
+ position: absolute;
690
+ top: 7px;
691
+ padding-left: 3px;
284
692
  }
693
+ }
694
+
695
+ &.show-label {
696
+ top: -9px;
697
+ left: 10px;
698
+ padding: 0 5px;
699
+ font-size: 13px;
700
+ color: $black-40;
285
701
 
286
702
  &:after {
287
- background-color: $primary;
703
+ position: absolute;
704
+ content: "";
705
+ left: 0;
706
+ top: 50%;
707
+ background-color: $white-100;
708
+ width: 100%;
709
+ height: 2px;
710
+ margin-top: -1px;
711
+ z-index: -1;
288
712
  }
289
713
 
290
- &:before {
291
- border-color: $primary;
292
- width: 16px;
293
- height: 16px;
294
- top: 5px;
714
+ // &.is-required {
715
+ // &:after {
716
+ // width: calc(100% + 10px);
717
+ // }
718
+ // }
719
+ }
720
+ }
721
+
722
+ .button {
723
+ &.is-information {
724
+ background-color: transparent;
725
+ border: none;
726
+ position: absolute;
727
+ right: 0;
728
+ height: 32px;
729
+ width: 32px;
730
+ margin-top: 0;
731
+
732
+ &:focus {
733
+ outline: none;
734
+ box-shadow: none;
735
+ background-color: #e4e8ef;
736
+ transform: scale(0.8);
295
737
  }
296
738
  }
739
+ }
297
740
 
298
- &:hover {
299
- &:not([disabled]) {
300
- & + label {
301
- &:before {
302
- border-color: $primary !important;
741
+ .ac-search-button {
742
+ background-color: transparent;
743
+ border: none;
744
+ position: absolute;
745
+ left: 0;
746
+ top: 50%;
747
+ width: 32px;
748
+ height: 100%;
749
+ margin-top: -15px;
750
+ color: $primary-20;
751
+ cursor: pointer;
752
+ }
753
+
754
+ .ac-dropdown-content {
755
+ position: absolute;
756
+ background-color: $primary-90;
757
+ width: 100%;
758
+ height: auto;
759
+ box-shadow: 0px 4px 16px rgba(132, 147, 168, 0.6);
760
+ border-radius: 4px;
761
+ overflow: hidden;
762
+
763
+ ul {
764
+ li {
765
+ a {
766
+ color: $primary-10;
767
+ display: block;
768
+ font-size: 13px;
769
+ padding: 8px 20px;
770
+ transition: 0.3s;
771
+
772
+ &:hover {
773
+ background-color: hsla(var(--hsl-hue),
774
+ var(--hsl-saturation),
775
+ var(--hsl-lightness),
776
+ 0.2);
777
+ color: $primary;
303
778
  }
304
779
  }
305
780
  }
306
781
  }
307
782
  }
308
783
 
309
- .is-checkradio[type="radio"]:checked {
310
- & + label {
311
- color: $primary;
784
+ .ac-textarea {
785
+ .ac-label {
786
+ &.is-required {
787
+ &:after {
788
+ width: calc(100% + 10px);
789
+ }
790
+ }
312
791
  }
313
- }
314
- }
315
- // dark theme start
316
- .is-dark-theme {
317
- .ac-single-input {
318
- input,
319
- .file-input,
320
- .ac-dropdown-content {
792
+
793
+ textarea {
794
+ border: 1px solid $primary-80;
321
795
  background-color: transparent;
322
- }
796
+ padding: 10px 15px;
797
+ min-height: 50px;
323
798
 
324
- label {
325
- color: $ac-label-text;
326
- }
327
- .button.is-information:focus {
328
- background-color: $dark-bg-light;
799
+ &.bg-white {
800
+ background-color: transparent;
801
+ }
802
+
803
+ &:focus {
804
+ outline: none;
805
+ border: 1px solid $primary;
806
+ }
329
807
  }
330
808
  }
331
- }
332
- // dark theme end
333
- /****************************************
334
- Responsive Classes
335
- *****************************************/
336
- // Extra small devices (portrait phones, less than 576px)
337
- @media (max-width: 575.98px) {
338
- .ac-single-input {
339
- input {
340
- height: 36px;
341
- font-size: 13px;
342
- font-weight: 400;
809
+
810
+ input,
811
+ .ac-card,
812
+ textarea {
813
+ background-color: $white-100;
814
+ color: $primary-10;
815
+ height: 45px;
816
+ font-weight: 400;
817
+ width: 100%;
818
+ border-radius: 4px;
819
+ border: 1px solid $primary-80;
820
+ padding: 8px 15px;
821
+ font-size: 13px;
822
+
823
+ &:hover {
824
+ border-color: $black-70;
343
825
  }
344
826
 
345
- label {
346
- top: 9px;
347
- font-size: 13px;
827
+ &.bg-white {
828
+ background-color: $white-100;
829
+ }
348
830
 
349
- &.show-label {
350
- top: -9px;
351
- font-size: 12px;
352
- }
831
+ &.StripeElement--focus {
832
+ border: 1px solid $primary;
353
833
  }
354
834
 
355
- textarea {
356
- font-size: 13px;
835
+ &:focus {
836
+ border: 1px solid $primary;
837
+ outline: none;
838
+ background-color: $white-100;
357
839
  }
358
840
 
359
- span {
360
- &.eye {
361
- i.fa {
362
- padding: 10px;
363
- }
364
- }
841
+ &[type="password"] {
842
+ padding-right: 40px;
365
843
  }
366
844
 
367
- .ac-search-button {
368
- margin-top: -18px;
845
+ &[type="search"] {
846
+ padding-left: 30px;
369
847
  }
848
+
849
+ transition: background-color 0.3s ease-in-out;
370
850
  }
371
851
 
372
- .ac-file-upload {
373
- label {
374
- height: 36px;
375
- font-size: 13px;
852
+ .ac-card {
853
+ height: 36px;
854
+ padding: 10px 20px;
855
+ }
856
+
857
+ textarea {
858
+ height: 55px;
859
+ }
860
+
861
+ b.isRequired {
862
+ color: $danger;
863
+ font-size: 13px;
864
+ position: absolute;
865
+ right: 5px;
866
+ z-index: 9;
867
+ }
868
+
869
+ span.eye {
870
+ i.fa {
871
+ color: $primary-80;
872
+ position: absolute;
873
+ cursor: pointer;
874
+ padding: 15px;
875
+ right: 0;
876
+ top: 0;
376
877
  }
377
878
  }
378
- }
379
879
 
380
- // Small devices (landscape phones, 576px and up)
381
- @media (min-width: 576px) and (max-width: 767.98px) {
382
- }
880
+ .is-danger {
881
+ font-size: 12px;
882
+ line-height: 22px;
883
+ color: $danger;
884
+ text-align: left;
383
885
 
384
- // Medium devices (tablets, 768px and up)
385
- @media (min-width: 768px) and (max-width: 991.98px) {
886
+ i.fa {
887
+ padding-right: 10px;
888
+ }
889
+ }
386
890
  }
387
891
 
388
- // Large devices (desktops, 992px and up)
389
- @media (min-width: 992px) and (max-width: 1199.98px) {
892
+ .ac-input.ac-search {
893
+ width: 42px;
894
+ transition: 0.3s ease-in-out;
895
+ padding: 0;
390
896
  }
391
897
 
392
- // Extra large devices (large desktops, 1200px and up)
393
- @media (min-width: 1200px) {
394
- }
898
+ .ac-search:focus {
899
+ width: 200px !important;
900
+ padding-right: 10px;
901
+ }