sempli-website-lib 7.0.0 → 7.1.0-beta.1

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.
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#1F7F45" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-check-circle"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#FF425E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x-circle"><circle cx="12" cy="12" r="10"></circle><line x1="15" y1="9" x2="9" y2="15"></line><line x1="9" y1="9" x2="15" y2="15"></line></svg>
@@ -0,0 +1,54 @@
1
+ document.addEventListener('DOMContentLoaded', () => {
2
+ const handleLabel = (input) => {
3
+ const wrapper = input.closest('.input-line-wrapper');
4
+ if (wrapper) {
5
+ const label = wrapper.querySelector('.floating-label');
6
+ if (label) {
7
+ if (input.value.trim() !== '' || document.activeElement === input || input.hasAttribute('placeholder')) {
8
+ label.classList.add('active');
9
+ } else {
10
+ label.classList.remove('active');
11
+ }
12
+ }
13
+ }
14
+
15
+ const labelContainer = input.closest('.label-container');
16
+ if (labelContainer) {
17
+ handleStateIcon(labelContainer);
18
+ }
19
+ };
20
+ const handleStateIcon = (labelContainer) => {
21
+ if (labelContainer.classList.contains('has-error') || labelContainer.classList.contains('valid-input')) {
22
+ if (!labelContainer.querySelector('.input-state-icon') && labelContainer.innerText.length <= 50) {
23
+ const iconSpan = document.createElement('span');
24
+ iconSpan.className = 'input-state-icon';
25
+ labelContainer.appendChild(iconSpan);
26
+ }
27
+ } else {
28
+ const iconSpan = labelContainer.querySelector('.input-state-icon');
29
+ if (iconSpan) {
30
+ iconSpan.remove();
31
+ }
32
+ }
33
+ };
34
+ const inputFields = document.querySelectorAll('.input-line-wrapper .input-field');
35
+ inputFields.forEach(input => {
36
+ handleLabel(input);
37
+ input.addEventListener('focus', () => handleLabel(input));
38
+ input.addEventListener('blur', () => handleLabel(input));
39
+ input.addEventListener('input', () => handleLabel(input));
40
+ });
41
+ const observer = new MutationObserver(() => {
42
+ const newInputFields = document.querySelectorAll('.input-line-wrapper .input-field');
43
+ newInputFields.forEach(input => {
44
+ if (!input.hasAttribute('data-processed')) {
45
+ handleLabel(input);
46
+ input.setAttribute('data-processed', 'true');
47
+ input.addEventListener('focus', () => handleLabel(input));
48
+ input.addEventListener('blur', () => handleLabel(input));
49
+ input.addEventListener('input', () => handleLabel(input));
50
+ }
51
+ });
52
+ });
53
+ observer.observe(document.body, { childList: true, subtree: true });
54
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sempli-website-lib",
3
- "version": "7.0.0",
3
+ "version": "7.1.0-beta.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.0.3",
6
6
  "@angular/core": "^18.0.3"
@@ -12302,6 +12302,13 @@ body#app, .app-layout {
12302
12302
  margin: 0 10px 10px 0;
12303
12303
  @include border-radius(4px);
12304
12304
 
12305
+ &.rounded {
12306
+ border-radius: 30px;
12307
+ padding: 6px 20px;
12308
+ margin: 0;
12309
+ text-align: center;
12310
+ }
12311
+
12305
12312
  &:hover {
12306
12313
  background-color: $color-primary-dark;
12307
12314
  color: white;
@@ -13256,6 +13263,241 @@ button.cursor-pointer {
13256
13263
 
13257
13264
  }
13258
13265
 
13266
+ // INPUT WRAPPER
13267
+ .input-line-wrapper {
13268
+ font-size: 1rem;
13269
+ max-width: 100%;
13270
+ padding: 1.5rem 0;
13271
+ position: relative;
13272
+
13273
+ &.group {
13274
+ display: flex;
13275
+ justify-content: space-between;
13276
+
13277
+ @include responsive-max($breakpoint-small) {
13278
+ flex-direction: column;
13279
+ }
13280
+
13281
+ > label {
13282
+ color: rgba(17, 17, 17, 0.7);
13283
+ font-size: 0.875rem;
13284
+ }
13285
+
13286
+ .row-group {
13287
+ display: flex;
13288
+ gap: 15px;
13289
+
13290
+ .input-wrapper {
13291
+ margin: 0;
13292
+ > label {
13293
+ font-size: 0.875rem;
13294
+ }
13295
+ }
13296
+ }
13297
+ }
13298
+
13299
+ input[type=date],
13300
+ input[type=datetime],
13301
+ input[type=datetime-local],
13302
+ input[type=email],
13303
+ input[type=month],
13304
+ input[type=number],
13305
+ input[type=password],
13306
+ input[type=range],
13307
+ input[type=search],
13308
+ input[type=tel],
13309
+ input[type=text],
13310
+ input[type=time],
13311
+ input[type=url],
13312
+ input[type=week] {
13313
+ &:disabled {
13314
+ background-color: #F4F4F4;
13315
+ border-color: #E9EAEA;
13316
+ color: #B6B8BD;
13317
+ }
13318
+ }
13319
+
13320
+ .label-container {
13321
+ cursor: pointer;
13322
+ position: relative;
13323
+ display: block;
13324
+ color: rgba(17, 17, 17, 0.7);
13325
+
13326
+ &.has-error {
13327
+ .input-field {
13328
+ color: #FF425E;
13329
+ padding: 8px 24px 8px 0;
13330
+ border-bottom-color: #FF425E;
13331
+
13332
+ &:focus, &:hover {
13333
+ border-bottom-color: #FF425E;
13334
+ }
13335
+ }
13336
+
13337
+ .input-state-icon::before {
13338
+ background-image: url('/assets/swl/interface/icons/x-circle-alert.svg');
13339
+ }
13340
+ }
13341
+
13342
+ &.valid-input {
13343
+ .input-field {
13344
+ color: #1F7F45;
13345
+ padding: 8px 24px 8px 0;
13346
+ border-bottom-color: #1F7F45;
13347
+
13348
+ &:focus, &:hover {
13349
+ border-bottom-color: #1F7F45;
13350
+ }
13351
+ }
13352
+
13353
+ .input-state-icon::before {
13354
+ background-image: url('/assets/swl/interface/icons/check-circle.svg');
13355
+ }
13356
+ }
13357
+
13358
+ .input-field {
13359
+ background-color: transparent;
13360
+ border-width: 0 0 1px;
13361
+ border-radius: 0;
13362
+ box-sizing: border-box;
13363
+ caret-color: currentcolor;
13364
+ display: block;
13365
+ margin: 0;
13366
+ padding: 8px 0;
13367
+ text-align: left;
13368
+ outline: none;
13369
+ width: 100%;
13370
+ border-bottom-style: solid;
13371
+ white-space: nowrap;
13372
+ overflow: hidden;
13373
+ text-overflow: ellipsis;
13374
+ color: #111;
13375
+ border-bottom-color: rgba(17, 17, 17, 0.2);
13376
+
13377
+ &:focus, &:hover {
13378
+ border-bottom-color: #111;
13379
+ }
13380
+ }
13381
+
13382
+ select.input-field {
13383
+ font-size: 0.9rem;
13384
+ -webkit-appearance: none;
13385
+ -moz-appearance: none;
13386
+ appearance: none;
13387
+ white-space: nowrap;
13388
+ }
13389
+
13390
+ &.select-wrapper {
13391
+ &::after {
13392
+ display: block;
13393
+ content: "";
13394
+
13395
+ border-style: solid;
13396
+ border-width: 5px 5px 0 5px;
13397
+ border-color: #D7D9E2 transparent transparent transparent;
13398
+ width: 0;
13399
+ height: 0;
13400
+
13401
+ position: absolute;
13402
+ top: 50%;
13403
+ right: 13px;
13404
+
13405
+ @include transform(translateY(-50%));
13406
+ }
13407
+ }
13408
+
13409
+ .floating-label {
13410
+ will-change: transform, color;
13411
+ transform-origin: 0 0;
13412
+ position: absolute;
13413
+ top: 0;
13414
+ left: 0;
13415
+ right: 0;
13416
+ bottom: 0;
13417
+ pointer-events: none;
13418
+ font-size: 1rem;
13419
+ min-height: 1rem;
13420
+ height: auto;
13421
+ display: flex;
13422
+ align-items: center;
13423
+ transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
13424
+ white-space: nowrap;
13425
+
13426
+ .floating-label-text {
13427
+ margin: 0;
13428
+ color: inherit;
13429
+ letter-spacing: -0.01em;
13430
+ font-size: 0.875rem;
13431
+ line-height: 1.46;
13432
+ }
13433
+
13434
+ &.active {
13435
+ transform: scale(0.84) translateY(-25px);
13436
+ }
13437
+ }
13438
+
13439
+ .input-state-icon {
13440
+ position: absolute;
13441
+ top: 0;
13442
+ bottom: 0;
13443
+ margin: auto;
13444
+ display: inline-block;
13445
+ width: 16px;
13446
+ height: 13px;
13447
+ right: 0;
13448
+
13449
+ &::before {
13450
+ content: "";
13451
+ display: block;
13452
+ width: 100%;
13453
+ height: 100%;
13454
+ background-size: contain;
13455
+ background-repeat: no-repeat;
13456
+ background-position: center;
13457
+ }
13458
+ }
13459
+ }
13460
+
13461
+ .label-text {
13462
+ margin: 0;
13463
+ color: inherit;
13464
+ letter-spacing: -0.01em;
13465
+ font-size: 1.125rem;
13466
+ line-height: 1.32;
13467
+ }
13468
+
13469
+ .error-msg {
13470
+ color: #FF425E;
13471
+ margin-top: 0.5rem;
13472
+ display: block;
13473
+ position: relative;
13474
+ font-size: 12px;
13475
+ }
13476
+
13477
+ .select-wrapper {
13478
+ label {
13479
+ margin: 0;
13480
+ color: rgba(17, 17, 17, 0.7);;
13481
+ letter-spacing: -0.01em;
13482
+ font-size: 0.875rem;
13483
+ line-height: 1.46;
13484
+ }
13485
+
13486
+ select {
13487
+ background-color: rgba(255, 255, 255, 0.9);
13488
+ border-bottom-color: rgba(17, 17, 17, 0.2);
13489
+ width: 100%;
13490
+ padding: 5px;
13491
+ border-radius: 2px;
13492
+ height: 3rem;
13493
+ border-width: 0 0 1px;
13494
+ color: rgba(17, 17, 17, 0.7);
13495
+ overflow: hidden;
13496
+ box-sizing: border-box;
13497
+ }
13498
+ }
13499
+ }
13500
+
13259
13501
  // TOGGLE SWITCH
13260
13502
  .toggle-button-with-label {
13261
13503
  display: flex;
@@ -13588,7 +13830,7 @@ button.cursor-pointer {
13588
13830
  right: 0;
13589
13831
  bottom: 0;
13590
13832
  left: 0;
13591
- z-index: 3;
13833
+ z-index: 50;
13592
13834
  }
13593
13835
 
13594
13836
  .modal-box {
@@ -12082,6 +12082,13 @@ $breakPoints: (
12082
12082
  margin: 0 10px 10px 0;
12083
12083
  @include border-radius(4px);
12084
12084
 
12085
+ &.rounded {
12086
+ border-radius: 30px;
12087
+ padding: 6px 20px;
12088
+ margin: 0;
12089
+ text-align: center;
12090
+ }
12091
+
12085
12092
  &:hover {
12086
12093
  background-color: $color-primary-dark;
12087
12094
  color: white;
@@ -13036,6 +13043,241 @@ button.cursor-pointer {
13036
13043
 
13037
13044
  }
13038
13045
 
13046
+ // INPUT WRAPPER
13047
+ .input-line-wrapper {
13048
+ font-size: 1rem;
13049
+ max-width: 100%;
13050
+ padding: 1.5rem 0;
13051
+ position: relative;
13052
+
13053
+ &.group {
13054
+ display: flex;
13055
+ justify-content: space-between;
13056
+
13057
+ @include responsive-max($breakpoint-small) {
13058
+ flex-direction: column;
13059
+ }
13060
+
13061
+ > label {
13062
+ color: rgba(17, 17, 17, 0.7);
13063
+ font-size: 0.875rem;
13064
+ }
13065
+
13066
+ .row-group {
13067
+ display: flex;
13068
+ gap: 15px;
13069
+
13070
+ .input-wrapper {
13071
+ margin: 0;
13072
+ > label {
13073
+ font-size: 0.875rem;
13074
+ }
13075
+ }
13076
+ }
13077
+ }
13078
+
13079
+ input[type=date],
13080
+ input[type=datetime],
13081
+ input[type=datetime-local],
13082
+ input[type=email],
13083
+ input[type=month],
13084
+ input[type=number],
13085
+ input[type=password],
13086
+ input[type=range],
13087
+ input[type=search],
13088
+ input[type=tel],
13089
+ input[type=text],
13090
+ input[type=time],
13091
+ input[type=url],
13092
+ input[type=week] {
13093
+ &:disabled {
13094
+ background-color: #F4F4F4;
13095
+ border-color: #E9EAEA;
13096
+ color: #B6B8BD;
13097
+ }
13098
+ }
13099
+
13100
+ .label-container {
13101
+ cursor: pointer;
13102
+ position: relative;
13103
+ display: block;
13104
+ color: rgba(17, 17, 17, 0.7);
13105
+
13106
+ &.has-error {
13107
+ .input-field {
13108
+ color: #FF425E;
13109
+ padding: 8px 24px 8px 0;
13110
+ border-bottom-color: #FF425E;
13111
+
13112
+ &:focus, &:hover {
13113
+ border-bottom-color: #FF425E;
13114
+ }
13115
+ }
13116
+
13117
+ .input-state-icon::before {
13118
+ background-image: url('/assets/swl/interface/icons/x-circle-alert.svg');
13119
+ }
13120
+ }
13121
+
13122
+ &.valid-input {
13123
+ .input-field {
13124
+ color: #1F7F45;
13125
+ padding: 8px 24px 8px 0;
13126
+ border-bottom-color: #1F7F45;
13127
+
13128
+ &:focus, &:hover {
13129
+ border-bottom-color: #1F7F45;
13130
+ }
13131
+ }
13132
+
13133
+ .input-state-icon::before {
13134
+ background-image: url('/assets/swl/interface/icons/check-circle.svg');
13135
+ }
13136
+ }
13137
+
13138
+ .input-field {
13139
+ background-color: transparent;
13140
+ border-width: 0 0 1px;
13141
+ border-radius: 0;
13142
+ box-sizing: border-box;
13143
+ caret-color: currentcolor;
13144
+ display: block;
13145
+ margin: 0;
13146
+ padding: 8px 0;
13147
+ text-align: left;
13148
+ outline: none;
13149
+ width: 100%;
13150
+ border-bottom-style: solid;
13151
+ white-space: nowrap;
13152
+ overflow: hidden;
13153
+ text-overflow: ellipsis;
13154
+ color: #111;
13155
+ border-bottom-color: rgba(17, 17, 17, 0.2);
13156
+
13157
+ &:focus, &:hover {
13158
+ border-bottom-color: #111;
13159
+ }
13160
+ }
13161
+
13162
+ select.input-field {
13163
+ font-size: 0.9rem;
13164
+ -webkit-appearance: none;
13165
+ -moz-appearance: none;
13166
+ appearance: none;
13167
+ white-space: nowrap;
13168
+ }
13169
+
13170
+ &.select-wrapper {
13171
+ &::after {
13172
+ display: block;
13173
+ content: "";
13174
+
13175
+ border-style: solid;
13176
+ border-width: 5px 5px 0 5px;
13177
+ border-color: #D7D9E2 transparent transparent transparent;
13178
+ width: 0;
13179
+ height: 0;
13180
+
13181
+ position: absolute;
13182
+ top: 50%;
13183
+ right: 13px;
13184
+
13185
+ @include transform(translateY(-50%));
13186
+ }
13187
+ }
13188
+
13189
+ .floating-label {
13190
+ will-change: transform, color;
13191
+ transform-origin: 0 0;
13192
+ position: absolute;
13193
+ top: 0;
13194
+ left: 0;
13195
+ right: 0;
13196
+ bottom: 0;
13197
+ pointer-events: none;
13198
+ font-size: 1rem;
13199
+ min-height: 1rem;
13200
+ height: auto;
13201
+ display: flex;
13202
+ align-items: center;
13203
+ transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
13204
+ white-space: nowrap;
13205
+
13206
+ .floating-label-text {
13207
+ margin: 0;
13208
+ color: inherit;
13209
+ letter-spacing: -0.01em;
13210
+ font-size: 0.875rem;
13211
+ line-height: 1.46;
13212
+ }
13213
+
13214
+ &.active {
13215
+ transform: scale(0.84) translateY(-25px);
13216
+ }
13217
+ }
13218
+
13219
+ .input-state-icon {
13220
+ position: absolute;
13221
+ top: 0;
13222
+ bottom: 0;
13223
+ margin: auto;
13224
+ display: inline-block;
13225
+ width: 16px;
13226
+ height: 13px;
13227
+ right: 0;
13228
+
13229
+ &::before {
13230
+ content: "";
13231
+ display: block;
13232
+ width: 100%;
13233
+ height: 100%;
13234
+ background-size: contain;
13235
+ background-repeat: no-repeat;
13236
+ background-position: center;
13237
+ }
13238
+ }
13239
+ }
13240
+
13241
+ .label-text {
13242
+ margin: 0;
13243
+ color: inherit;
13244
+ letter-spacing: -0.01em;
13245
+ font-size: 1.125rem;
13246
+ line-height: 1.32;
13247
+ }
13248
+
13249
+ .error-msg {
13250
+ color: #FF425E;
13251
+ margin-top: 0.5rem;
13252
+ display: block;
13253
+ position: relative;
13254
+ font-size: 12px;
13255
+ }
13256
+
13257
+ .select-wrapper {
13258
+ label {
13259
+ margin: 0;
13260
+ color: rgba(17, 17, 17, 0.7);;
13261
+ letter-spacing: -0.01em;
13262
+ font-size: 0.875rem;
13263
+ line-height: 1.46;
13264
+ }
13265
+
13266
+ select {
13267
+ background-color: rgba(255, 255, 255, 0.9);
13268
+ border-bottom-color: rgba(17, 17, 17, 0.2);
13269
+ width: 100%;
13270
+ padding: 5px;
13271
+ border-radius: 2px;
13272
+ height: 3rem;
13273
+ border-width: 0 0 1px;
13274
+ color: rgba(17, 17, 17, 0.7);
13275
+ overflow: hidden;
13276
+ box-sizing: border-box;
13277
+ }
13278
+ }
13279
+ }
13280
+
13039
13281
  // TOGGLE SWITCH
13040
13282
  .toggle-button-with-label {
13041
13283
  display: flex;
@@ -13368,7 +13610,7 @@ button.cursor-pointer {
13368
13610
  right: 0;
13369
13611
  bottom: 0;
13370
13612
  left: 0;
13371
- z-index: 3;
13613
+ z-index: 50;
13372
13614
  }
13373
13615
 
13374
13616
  .modal-box {
@@ -11,6 +11,13 @@
11
11
  margin: 0 10px 10px 0;
12
12
  @include border-radius(4px);
13
13
 
14
+ &.rounded {
15
+ border-radius: 30px;
16
+ padding: 6px 20px;
17
+ margin: 0;
18
+ text-align: center;
19
+ }
20
+
14
21
  &:hover {
15
22
  background-color: $color-primary-dark;
16
23
  color: white;
@@ -518,6 +518,241 @@
518
518
 
519
519
  }
520
520
 
521
+ // INPUT WRAPPER
522
+ .input-line-wrapper {
523
+ font-size: 1rem;
524
+ max-width: 100%;
525
+ padding: 1.5rem 0;
526
+ position: relative;
527
+
528
+ &.group {
529
+ display: flex;
530
+ justify-content: space-between;
531
+
532
+ @include responsive-max($breakpoint-small) {
533
+ flex-direction: column;
534
+ }
535
+
536
+ > label {
537
+ color: rgba(17, 17, 17, 0.7);
538
+ font-size: 0.875rem;
539
+ }
540
+
541
+ .row-group {
542
+ display: flex;
543
+ gap: 15px;
544
+
545
+ .input-wrapper {
546
+ margin: 0;
547
+ > label {
548
+ font-size: 0.875rem;
549
+ }
550
+ }
551
+ }
552
+ }
553
+
554
+ input[type=date],
555
+ input[type=datetime],
556
+ input[type=datetime-local],
557
+ input[type=email],
558
+ input[type=month],
559
+ input[type=number],
560
+ input[type=password],
561
+ input[type=range],
562
+ input[type=search],
563
+ input[type=tel],
564
+ input[type=text],
565
+ input[type=time],
566
+ input[type=url],
567
+ input[type=week] {
568
+ &:disabled {
569
+ background-color: #F4F4F4;
570
+ border-color: #E9EAEA;
571
+ color: #B6B8BD;
572
+ }
573
+ }
574
+
575
+ .label-container {
576
+ cursor: pointer;
577
+ position: relative;
578
+ display: block;
579
+ color: rgba(17, 17, 17, 0.7);
580
+
581
+ &.has-error {
582
+ .input-field {
583
+ color: #FF425E;
584
+ padding: 8px 24px 8px 0;
585
+ border-bottom-color: #FF425E;
586
+
587
+ &:focus, &:hover {
588
+ border-bottom-color: #FF425E;
589
+ }
590
+ }
591
+
592
+ .input-state-icon::before {
593
+ background-image: url('/assets/swl/interface/icons/x-circle-alert.svg');
594
+ }
595
+ }
596
+
597
+ &.valid-input {
598
+ .input-field {
599
+ color: #1F7F45;
600
+ padding: 8px 24px 8px 0;
601
+ border-bottom-color: #1F7F45;
602
+
603
+ &:focus, &:hover {
604
+ border-bottom-color: #1F7F45;
605
+ }
606
+ }
607
+
608
+ .input-state-icon::before {
609
+ background-image: url('/assets/swl/interface/icons/check-circle.svg');
610
+ }
611
+ }
612
+
613
+ .input-field {
614
+ background-color: transparent;
615
+ border-width: 0 0 1px;
616
+ border-radius: 0;
617
+ box-sizing: border-box;
618
+ caret-color: currentcolor;
619
+ display: block;
620
+ margin: 0;
621
+ padding: 8px 0;
622
+ text-align: left;
623
+ outline: none;
624
+ width: 100%;
625
+ border-bottom-style: solid;
626
+ white-space: nowrap;
627
+ overflow: hidden;
628
+ text-overflow: ellipsis;
629
+ color: #111;
630
+ border-bottom-color: rgba(17, 17, 17, 0.2);
631
+
632
+ &:focus, &:hover {
633
+ border-bottom-color: #111;
634
+ }
635
+ }
636
+
637
+ select.input-field {
638
+ font-size: 0.9rem;
639
+ -webkit-appearance: none;
640
+ -moz-appearance: none;
641
+ appearance: none;
642
+ white-space: nowrap;
643
+ }
644
+
645
+ &.select-wrapper {
646
+ &::after {
647
+ display: block;
648
+ content: "";
649
+
650
+ border-style: solid;
651
+ border-width: 5px 5px 0 5px;
652
+ border-color: #D7D9E2 transparent transparent transparent;
653
+ width: 0;
654
+ height: 0;
655
+
656
+ position: absolute;
657
+ top: 50%;
658
+ right: 13px;
659
+
660
+ @include transform(translateY(-50%));
661
+ }
662
+ }
663
+
664
+ .floating-label {
665
+ will-change: transform, color;
666
+ transform-origin: 0 0;
667
+ position: absolute;
668
+ top: 0;
669
+ left: 0;
670
+ right: 0;
671
+ bottom: 0;
672
+ pointer-events: none;
673
+ font-size: 1rem;
674
+ min-height: 1rem;
675
+ height: auto;
676
+ display: flex;
677
+ align-items: center;
678
+ transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
679
+ white-space: nowrap;
680
+
681
+ .floating-label-text {
682
+ margin: 0;
683
+ color: inherit;
684
+ letter-spacing: -0.01em;
685
+ font-size: 0.875rem;
686
+ line-height: 1.46;
687
+ }
688
+
689
+ &.active {
690
+ transform: scale(0.84) translateY(-25px);
691
+ }
692
+ }
693
+
694
+ .input-state-icon {
695
+ position: absolute;
696
+ top: 0;
697
+ bottom: 0;
698
+ margin: auto;
699
+ display: inline-block;
700
+ width: 16px;
701
+ height: 13px;
702
+ right: 0;
703
+
704
+ &::before {
705
+ content: "";
706
+ display: block;
707
+ width: 100%;
708
+ height: 100%;
709
+ background-size: contain;
710
+ background-repeat: no-repeat;
711
+ background-position: center;
712
+ }
713
+ }
714
+ }
715
+
716
+ .label-text {
717
+ margin: 0;
718
+ color: inherit;
719
+ letter-spacing: -0.01em;
720
+ font-size: 1.125rem;
721
+ line-height: 1.32;
722
+ }
723
+
724
+ .error-msg {
725
+ color: #FF425E;
726
+ margin-top: 0.5rem;
727
+ display: block;
728
+ position: relative;
729
+ font-size: 12px;
730
+ }
731
+
732
+ .select-wrapper {
733
+ label {
734
+ margin: 0;
735
+ color: rgba(17, 17, 17, 0.7);;
736
+ letter-spacing: -0.01em;
737
+ font-size: 0.875rem;
738
+ line-height: 1.46;
739
+ }
740
+
741
+ select {
742
+ background-color: rgba(255, 255, 255, 0.9);
743
+ border-bottom-color: rgba(17, 17, 17, 0.2);
744
+ width: 100%;
745
+ padding: 5px;
746
+ border-radius: 2px;
747
+ height: 3rem;
748
+ border-width: 0 0 1px;
749
+ color: rgba(17, 17, 17, 0.7);
750
+ overflow: hidden;
751
+ box-sizing: border-box;
752
+ }
753
+ }
754
+ }
755
+
521
756
  // TOGGLE SWITCH
522
757
  .toggle-button-with-label {
523
758
  display: flex;
@@ -10,7 +10,7 @@
10
10
  right: 0;
11
11
  bottom: 0;
12
12
  left: 0;
13
- z-index: 3;
13
+ z-index: 50;
14
14
  }
15
15
 
16
16
  .modal-box {