sempli-website-lib 7.2.0 → 7.3.0-beta.0

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.
Files changed (31) hide show
  1. package/assets/interface/icons/check-circle.svg +1 -0
  2. package/assets/interface/icons/document-status-warning.svg +6 -0
  3. package/assets/interface/icons/x-circle-alert.svg +1 -0
  4. package/assets/interface/sempli_2.0/2-Financiacion-empresarial.png +0 -0
  5. package/assets/interface/sempli_2.0/2-Financiacion-empresarial.webp +0 -0
  6. package/core/intelli-styles.js +55 -0
  7. package/package.json +1 -1
  8. package/styles/master-app.scss +276 -1
  9. package/styles/master-landing.scss +288 -116
  10. package/styles/partials/_buttons.scss +7 -0
  11. package/styles/partials/_forms.scss +268 -0
  12. package/styles/partials/_modals.scss +1 -1
  13. package/styles/partials/landing/_general.scss +12 -115
  14. package/assets/interface/sempli_2.0/17-dale_superpoderes.jpeg +0 -0
  15. package/assets/interface/sempli_2.0/17-dale_superpoderes.webp +0 -0
  16. package/assets/interface/sempli_2.0/5-seguridad-y-control-min.png +0 -0
  17. package/assets/interface/sempli_2.0/5-seguridad-y-control-min.webp +0 -0
  18. package/assets/interface/sempli_2.0/7-financia-tu-capital-de-trabajo2-01.jpg +0 -0
  19. package/assets/interface/sempli_2.0/7-financia-tu-capital-de-trabajo2-01.webp +0 -0
  20. package/assets/interface/sempli_2.0/credito-a-termino.jpg +0 -0
  21. package/assets/interface/sempli_2.0/credito-a-termino.webp +0 -0
  22. package/assets/interface/sempli_2.0/credito-flexi-sub-img.jpg +0 -0
  23. package/assets/interface/sempli_2.0/credito-flexi-sub-img.webp +0 -0
  24. package/assets/interface/sempli_2.0/dale_superpoderes.jpg +0 -0
  25. package/assets/interface/sempli_2.0/dale_superpoderes.webp +0 -0
  26. package/assets/interface/sempli_2.0/flexi-01.webp +0 -0
  27. package/assets/interface/sempli_2.0/video-hero-main.mp4 +0 -0
  28. package/assets/interface/sempli_2.0/video-main.mp4 +0 -0
  29. package/assets/interface/sempli_2.0/video-main.webm +0 -0
  30. package/assets/interface/sempli_2.0/video-placeholder.jpg +0 -0
  31. package/assets/interface/sempli_2.0/video-placeholder.webp +0 -0
@@ -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,6 @@
1
+ <svg width="30" height="38" viewBox="0 0 30 38" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M16.75 1H4.5C2.567 1 1 2.61177 1 4.6V33.4C1 35.3882 2.567 37 4.5 37H25.5C27.433 37 29 35.3882 29 33.4V13L16.75 1Z" stroke="#B3B302" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M13.7175 12.895L7.365 23.5C7.23403 23.7268 7.16473 23.984 7.16399 24.2459C7.16326 24.5078 7.23112 24.7653 7.36082 24.9929C7.49052 25.2204 7.67754 25.4101 7.90328 25.5429C8.12902 25.6757 8.3856 25.7471 8.6475 25.75H21.3525C21.6144 25.7471 21.871 25.6757 22.0967 25.5429C22.3225 25.4101 22.5095 25.2204 22.6392 24.9929C22.7689 24.7653 22.8367 24.5078 22.836 24.2459C22.8353 23.984 22.766 23.7268 22.635 23.5L16.2825 12.895C16.1488 12.6746 15.9605 12.4923 15.7359 12.3659C15.5113 12.2394 15.2578 12.1729 15 12.1729C14.7422 12.1729 14.4887 12.2394 14.2641 12.3659C14.0395 12.4923 13.8512 12.6746 13.7175 12.895Z" stroke="#B3B302" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M15 16.75V19.75" stroke="#B3B302" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
5
+ <path d="M15 22.75H15.0075" stroke="#B3B302" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
6
+ </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,55 @@
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 ||
8
+ input.hasAttribute('placeholder')) || input.type === 'date') {
9
+ label.classList.add('active');
10
+ } else {
11
+ label.classList.remove('active');
12
+ }
13
+ }
14
+ }
15
+
16
+ const labelContainer = input.closest('.label-container');
17
+ if (labelContainer) {
18
+ handleStateIcon(labelContainer);
19
+ }
20
+ };
21
+ const handleStateIcon = (labelContainer) => {
22
+ if (labelContainer.classList.contains('has-error') || labelContainer.classList.contains('valid-input')) {
23
+ if (!labelContainer.querySelector('.input-state-icon') && labelContainer.innerText.length <= 50) {
24
+ const iconSpan = document.createElement('span');
25
+ iconSpan.className = 'input-state-icon';
26
+ labelContainer.appendChild(iconSpan);
27
+ }
28
+ } else {
29
+ const iconSpan = labelContainer.querySelector('.input-state-icon');
30
+ if (iconSpan) {
31
+ iconSpan.remove();
32
+ }
33
+ }
34
+ };
35
+ const inputFields = document.querySelectorAll('.input-line-wrapper .input-field');
36
+ inputFields.forEach(input => {
37
+ handleLabel(input);
38
+ input.addEventListener('focus', () => handleLabel(input));
39
+ input.addEventListener('blur', () => handleLabel(input));
40
+ input.addEventListener('input', () => handleLabel(input));
41
+ });
42
+ const observer = new MutationObserver(() => {
43
+ const newInputFields = document.querySelectorAll('.input-line-wrapper .input-field');
44
+ newInputFields.forEach(input => {
45
+ if (!input.hasAttribute('data-processed')) {
46
+ handleLabel(input);
47
+ input.setAttribute('data-processed', 'true');
48
+ input.addEventListener('focus', () => handleLabel(input));
49
+ input.addEventListener('blur', () => handleLabel(input));
50
+ input.addEventListener('input', () => handleLabel(input));
51
+ }
52
+ });
53
+ });
54
+ observer.observe(document.body, { childList: true, subtree: true });
55
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sempli-website-lib",
3
- "version": "7.2.0",
3
+ "version": "7.3.0-beta.0",
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,274 @@ 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
+ .label-container {
13300
+ cursor: pointer;
13301
+ position: relative;
13302
+ display: block;
13303
+ color: rgba(17, 17, 17, 0.7);
13304
+
13305
+ &.has-error {
13306
+ .input-field {
13307
+ color: #FF425E;
13308
+ padding: 8px 24px 8px 0;
13309
+ border-bottom-color: #FF425E;
13310
+
13311
+ &:focus, &:hover {
13312
+ border-bottom-color: #FF425E;
13313
+ }
13314
+ }
13315
+
13316
+ .input-state-icon::before {
13317
+ background-image: url('/assets/swl/interface/icons/x-circle-alert.svg');
13318
+ }
13319
+ }
13320
+
13321
+ &.valid-input {
13322
+ .input-field {
13323
+ color: #1F7F45;
13324
+ padding: 8px 24px 8px 0;
13325
+ border-bottom-color: #1F7F45;
13326
+
13327
+ &:focus, &:hover {
13328
+ border-bottom-color: #1F7F45;
13329
+ }
13330
+ }
13331
+
13332
+ .input-state-icon::before {
13333
+ background-image: url('/assets/swl/interface/icons/check-circle.svg');
13334
+ }
13335
+ }
13336
+
13337
+ .input-field {
13338
+ background-color: transparent;
13339
+ border-width: 0 0 1px;
13340
+ border-radius: 0;
13341
+ box-sizing: border-box;
13342
+ caret-color: currentcolor;
13343
+ display: block;
13344
+ margin: 0;
13345
+ padding: 8px 0;
13346
+ text-align: left;
13347
+ outline: none;
13348
+ width: 100%;
13349
+ border-bottom-style: solid;
13350
+ white-space: nowrap;
13351
+ overflow: hidden;
13352
+ text-overflow: ellipsis;
13353
+ color: #111;
13354
+ border-bottom-color: rgba(17, 17, 17, 0.2);
13355
+ box-shadow: transparent 0 0 0 1000px inset;
13356
+
13357
+ /* Webkit browsers */
13358
+ &:-webkit-autofill {
13359
+ -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
13360
+ -webkit-text-fill-color: #111 !important;
13361
+ transition: background-color 5000s ease-in-out 0s;
13362
+ }
13363
+
13364
+ &:-moz-autofill {
13365
+ background-color: transparent !important;
13366
+ }
13367
+
13368
+ &:-ms-autofill {
13369
+ background-color: transparent !important;
13370
+ }
13371
+
13372
+ /* Modern browsers */
13373
+ &:autofill {
13374
+ box-shadow: 0 0 0 1000px transparent inset !important;
13375
+ background-color: transparent !important;
13376
+ }
13377
+
13378
+ &:focus, &:hover {
13379
+ border-bottom-color: #111;
13380
+ }
13381
+
13382
+ &:disabled {
13383
+ border-color: #E9EAEA;
13384
+ border-bottom-color: #B6B8BD;
13385
+ color: #B6B8BD;
13386
+
13387
+ &:focus, &:hover {
13388
+ border-bottom-color: #B6B8BD;
13389
+ cursor: not-allowed;
13390
+ }
13391
+
13392
+ + .floating-label {
13393
+ color: #B6B8BD;
13394
+ }
13395
+ }
13396
+ }
13397
+
13398
+ select.input-field {
13399
+ font-size: 0.9rem;
13400
+ -webkit-appearance: none;
13401
+ -moz-appearance: none;
13402
+ appearance: none;
13403
+ white-space: nowrap;
13404
+ height: unset;
13405
+ }
13406
+
13407
+ textarea.input-field {
13408
+ resize: none;
13409
+ white-space: pre-wrap;
13410
+ overflow-wrap: break-word;
13411
+ overflow-y: auto;
13412
+ max-height: 150px;
13413
+
13414
+ + .floating-label {
13415
+ margin-bottom: 30px;
13416
+ }
13417
+ }
13418
+
13419
+ &.select-wrapper {
13420
+ &::after {
13421
+ display: block;
13422
+ content: "";
13423
+
13424
+ border-style: solid;
13425
+ border-width: 5px 5px 0 5px;
13426
+ border-color: #D7D9E2 transparent transparent transparent;
13427
+ width: 0;
13428
+ height: 0;
13429
+
13430
+ position: absolute;
13431
+ top: 50%;
13432
+ right: 13px;
13433
+
13434
+ @include transform(translateY(-50%));
13435
+ }
13436
+ }
13437
+
13438
+ .floating-label {
13439
+ will-change: transform, color;
13440
+ transform-origin: 0 0;
13441
+ position: absolute;
13442
+ top: 0;
13443
+ left: 0;
13444
+ right: 0;
13445
+ bottom: 0;
13446
+ pointer-events: none;
13447
+ font-size: 1rem;
13448
+ min-height: 1rem;
13449
+ height: auto;
13450
+ display: flex;
13451
+ align-items: center;
13452
+ transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
13453
+ white-space: nowrap;
13454
+
13455
+ .floating-label-text {
13456
+ margin: 0;
13457
+ color: inherit;
13458
+ letter-spacing: -0.01em;
13459
+ font-size: 0.875rem;
13460
+ line-height: 1.46;
13461
+ }
13462
+
13463
+ &.active {
13464
+ transform: scale(0.84) translateY(-25px);
13465
+ }
13466
+ }
13467
+
13468
+ .input-state-icon {
13469
+ position: absolute;
13470
+ top: 0;
13471
+ bottom: 0;
13472
+ margin: auto;
13473
+ display: inline-block;
13474
+ width: 16px;
13475
+ height: 13px;
13476
+ right: 0;
13477
+
13478
+ &::before {
13479
+ content: "";
13480
+ display: block;
13481
+ width: 100%;
13482
+ height: 100%;
13483
+ background-size: contain;
13484
+ background-repeat: no-repeat;
13485
+ background-position: center;
13486
+ }
13487
+ }
13488
+ }
13489
+
13490
+ .label-text {
13491
+ margin: 0;
13492
+ color: inherit;
13493
+ letter-spacing: -0.01em;
13494
+ font-size: 1.125rem;
13495
+ line-height: 1.32;
13496
+ }
13497
+
13498
+ .error-msg {
13499
+ color: #FF425E;
13500
+ margin-top: 0.5rem;
13501
+ display: block;
13502
+ position: relative;
13503
+ font-size: 12px;
13504
+ }
13505
+
13506
+ &:has(.select-wrapper) {
13507
+ padding: 1.6rem 0;
13508
+ }
13509
+
13510
+ .select-wrapper {
13511
+ label {
13512
+ margin: 0;
13513
+ color: rgba(17, 17, 17, 0.7);;
13514
+ letter-spacing: -0.01em;
13515
+ font-size: 0.875rem;
13516
+ line-height: 1.46;
13517
+ }
13518
+
13519
+ select {
13520
+ background-color: rgba(255, 255, 255, 0.9);
13521
+ border-bottom-color: rgba(17, 17, 17, 0.2);
13522
+ width: 100%;
13523
+ padding: 5px;
13524
+ border-radius: 2px;
13525
+ height: 3rem;
13526
+ border-width: 0 0 1px;
13527
+ color: rgba(17, 17, 17, 0.7);
13528
+ overflow: hidden;
13529
+ box-sizing: border-box;
13530
+ }
13531
+ }
13532
+ }
13533
+
13259
13534
  // TOGGLE SWITCH
13260
13535
  .toggle-button-with-label {
13261
13536
  display: flex;
@@ -13588,7 +13863,7 @@ button.cursor-pointer {
13588
13863
  right: 0;
13589
13864
  bottom: 0;
13590
13865
  left: 0;
13591
- z-index: 3;
13866
+ z-index: 50;
13592
13867
  }
13593
13868
 
13594
13869
  .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,274 @@ 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
+ .label-container {
13080
+ cursor: pointer;
13081
+ position: relative;
13082
+ display: block;
13083
+ color: rgba(17, 17, 17, 0.7);
13084
+
13085
+ &.has-error {
13086
+ .input-field {
13087
+ color: #FF425E;
13088
+ padding: 8px 24px 8px 0;
13089
+ border-bottom-color: #FF425E;
13090
+
13091
+ &:focus, &:hover {
13092
+ border-bottom-color: #FF425E;
13093
+ }
13094
+ }
13095
+
13096
+ .input-state-icon::before {
13097
+ background-image: url('/assets/swl/interface/icons/x-circle-alert.svg');
13098
+ }
13099
+ }
13100
+
13101
+ &.valid-input {
13102
+ .input-field {
13103
+ color: #1F7F45;
13104
+ padding: 8px 24px 8px 0;
13105
+ border-bottom-color: #1F7F45;
13106
+
13107
+ &:focus, &:hover {
13108
+ border-bottom-color: #1F7F45;
13109
+ }
13110
+ }
13111
+
13112
+ .input-state-icon::before {
13113
+ background-image: url('/assets/swl/interface/icons/check-circle.svg');
13114
+ }
13115
+ }
13116
+
13117
+ .input-field {
13118
+ background-color: transparent;
13119
+ border-width: 0 0 1px;
13120
+ border-radius: 0;
13121
+ box-sizing: border-box;
13122
+ caret-color: currentcolor;
13123
+ display: block;
13124
+ margin: 0;
13125
+ padding: 8px 0;
13126
+ text-align: left;
13127
+ outline: none;
13128
+ width: 100%;
13129
+ border-bottom-style: solid;
13130
+ white-space: nowrap;
13131
+ overflow: hidden;
13132
+ text-overflow: ellipsis;
13133
+ color: #111;
13134
+ border-bottom-color: rgba(17, 17, 17, 0.2);
13135
+ box-shadow: transparent 0 0 0 1000px inset;
13136
+
13137
+ /* Webkit browsers */
13138
+ &:-webkit-autofill {
13139
+ -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
13140
+ -webkit-text-fill-color: #111 !important;
13141
+ transition: background-color 5000s ease-in-out 0s;
13142
+ }
13143
+
13144
+ &:-moz-autofill {
13145
+ background-color: transparent !important;
13146
+ }
13147
+
13148
+ &:-ms-autofill {
13149
+ background-color: transparent !important;
13150
+ }
13151
+
13152
+ /* Modern browsers */
13153
+ &:autofill {
13154
+ box-shadow: 0 0 0 1000px transparent inset !important;
13155
+ background-color: transparent !important;
13156
+ }
13157
+
13158
+ &:focus, &:hover {
13159
+ border-bottom-color: #111;
13160
+ }
13161
+
13162
+ &:disabled {
13163
+ border-color: #E9EAEA;
13164
+ border-bottom-color: #B6B8BD;
13165
+ color: #B6B8BD;
13166
+
13167
+ &:focus, &:hover {
13168
+ border-bottom-color: #B6B8BD;
13169
+ cursor: not-allowed;
13170
+ }
13171
+
13172
+ + .floating-label {
13173
+ color: #B6B8BD;
13174
+ }
13175
+ }
13176
+ }
13177
+
13178
+ select.input-field {
13179
+ font-size: 0.9rem;
13180
+ -webkit-appearance: none;
13181
+ -moz-appearance: none;
13182
+ appearance: none;
13183
+ white-space: nowrap;
13184
+ height: unset;
13185
+ }
13186
+
13187
+ textarea.input-field {
13188
+ resize: none;
13189
+ white-space: pre-wrap;
13190
+ overflow-wrap: break-word;
13191
+ overflow-y: auto;
13192
+ max-height: 150px;
13193
+
13194
+ + .floating-label {
13195
+ margin-bottom: 30px;
13196
+ }
13197
+ }
13198
+
13199
+ &.select-wrapper {
13200
+ &::after {
13201
+ display: block;
13202
+ content: "";
13203
+
13204
+ border-style: solid;
13205
+ border-width: 5px 5px 0 5px;
13206
+ border-color: #D7D9E2 transparent transparent transparent;
13207
+ width: 0;
13208
+ height: 0;
13209
+
13210
+ position: absolute;
13211
+ top: 50%;
13212
+ right: 13px;
13213
+
13214
+ @include transform(translateY(-50%));
13215
+ }
13216
+ }
13217
+
13218
+ .floating-label {
13219
+ will-change: transform, color;
13220
+ transform-origin: 0 0;
13221
+ position: absolute;
13222
+ top: 0;
13223
+ left: 0;
13224
+ right: 0;
13225
+ bottom: 0;
13226
+ pointer-events: none;
13227
+ font-size: 1rem;
13228
+ min-height: 1rem;
13229
+ height: auto;
13230
+ display: flex;
13231
+ align-items: center;
13232
+ transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
13233
+ white-space: nowrap;
13234
+
13235
+ .floating-label-text {
13236
+ margin: 0;
13237
+ color: inherit;
13238
+ letter-spacing: -0.01em;
13239
+ font-size: 0.875rem;
13240
+ line-height: 1.46;
13241
+ }
13242
+
13243
+ &.active {
13244
+ transform: scale(0.84) translateY(-25px);
13245
+ }
13246
+ }
13247
+
13248
+ .input-state-icon {
13249
+ position: absolute;
13250
+ top: 0;
13251
+ bottom: 0;
13252
+ margin: auto;
13253
+ display: inline-block;
13254
+ width: 16px;
13255
+ height: 13px;
13256
+ right: 0;
13257
+
13258
+ &::before {
13259
+ content: "";
13260
+ display: block;
13261
+ width: 100%;
13262
+ height: 100%;
13263
+ background-size: contain;
13264
+ background-repeat: no-repeat;
13265
+ background-position: center;
13266
+ }
13267
+ }
13268
+ }
13269
+
13270
+ .label-text {
13271
+ margin: 0;
13272
+ color: inherit;
13273
+ letter-spacing: -0.01em;
13274
+ font-size: 1.125rem;
13275
+ line-height: 1.32;
13276
+ }
13277
+
13278
+ .error-msg {
13279
+ color: #FF425E;
13280
+ margin-top: 0.5rem;
13281
+ display: block;
13282
+ position: relative;
13283
+ font-size: 12px;
13284
+ }
13285
+
13286
+ &:has(.select-wrapper) {
13287
+ padding: 1.6rem 0;
13288
+ }
13289
+
13290
+ .select-wrapper {
13291
+ label {
13292
+ margin: 0;
13293
+ color: rgba(17, 17, 17, 0.7);;
13294
+ letter-spacing: -0.01em;
13295
+ font-size: 0.875rem;
13296
+ line-height: 1.46;
13297
+ }
13298
+
13299
+ select {
13300
+ background-color: rgba(255, 255, 255, 0.9);
13301
+ border-bottom-color: rgba(17, 17, 17, 0.2);
13302
+ width: 100%;
13303
+ padding: 5px;
13304
+ border-radius: 2px;
13305
+ height: 3rem;
13306
+ border-width: 0 0 1px;
13307
+ color: rgba(17, 17, 17, 0.7);
13308
+ overflow: hidden;
13309
+ box-sizing: border-box;
13310
+ }
13311
+ }
13312
+ }
13313
+
13039
13314
  // TOGGLE SWITCH
13040
13315
  .toggle-button-with-label {
13041
13316
  display: flex;
@@ -13368,7 +13643,7 @@ button.cursor-pointer {
13368
13643
  right: 0;
13369
13644
  bottom: 0;
13370
13645
  left: 0;
13371
- z-index: 3;
13646
+ z-index: 50;
13372
13647
  }
13373
13648
 
13374
13649
  .modal-box {
@@ -16738,6 +17013,10 @@ span.results-table-item-value {
16738
17013
  font-size: 40px;
16739
17014
  }
16740
17015
 
17016
+ @media screen and (min-width: 1450px) {
17017
+ font-size: 44px;
17018
+ }
17019
+
16741
17020
  @media screen and (min-width: 1700px) {
16742
17021
  font-size: 48px;
16743
17022
  }
@@ -16800,6 +17079,10 @@ span.results-table-item-value {
16800
17079
  @media screen and (min-width: 1280px) {
16801
17080
  font-size: 20px;
16802
17081
  }
17082
+
17083
+ @media screen and (min-width: 1350px) {
17084
+ font-size: 22px;
17085
+ }
16803
17086
  }
16804
17087
 
16805
17088
  .home-paragraph {
@@ -16876,73 +17159,7 @@ span.results-table-item-value {
16876
17159
  }
16877
17160
 
16878
17161
  .btn-space {
16879
- margin: 30px 0 0 0;
16880
- }
16881
-
16882
- .btn-space-modal {
16883
- margin: 10px;
16884
- }
16885
-
16886
- .custom-height-img-flexi {
16887
- max-height: 210px;
16888
- min-height: 210px;
16889
- padding: 0;
16890
-
16891
- @media screen and (max-width: 600px) {
16892
- padding: 40px 40px 0 40px;
16893
- }
16894
- }
16895
-
16896
- .section-custom-texts {
16897
- height: max-content;
16898
- }
16899
-
16900
- .max-height-260 {
16901
- max-height: 260px !important;
16902
- }
16903
-
16904
- .mt-20 {
16905
- margin-top: 20px !important;
16906
- }
16907
-
16908
- .padding-img {
16909
- @media screen and (max-width: 600px) {
16910
- padding: 20px !important;
16911
- }
16912
- }
16913
-
16914
- .custom-container-column {
16915
- @media screen and (max-width: 995px) {
16916
- padding: 20px;
16917
- }
16918
- }
16919
-
16920
- .section-custom-space-top {
16921
- margin-top: 150px;
16922
-
16923
- @media screen and (max-width: 768px) {
16924
- margin-top: 0px;
16925
- }
16926
- }
16927
-
16928
- .ul-disc {
16929
- list-style-type: disc;
16930
- }
16931
-
16932
- .mtb-15 {
16933
- margin: 15px 0;
16934
- }
16935
-
16936
- .mt-15 {
16937
- margin-top: 15px;
16938
- }
16939
-
16940
- .height-max-content {
16941
- height: max-content;
16942
- }
16943
-
16944
- .img-custom-border {
16945
- border-radius: 40px;
17162
+ margin: 30px 0 10px 0;
16946
17163
  }
16947
17164
 
16948
17165
  .section {
@@ -16973,18 +17190,6 @@ span.results-table-item-value {
16973
17190
  height: 100%;
16974
17191
  }
16975
17192
 
16976
- .section-video-main {
16977
- width: 100%;
16978
- height: 100%;
16979
- display: flex;
16980
- align-items: center;
16981
- border-radius: 0 0 0 0;
16982
-
16983
- @media screen and (min-width: 769px) {
16984
- border-radius: 0 0 0 40%;
16985
- }
16986
- }
16987
-
16988
17193
  .space-elements {
16989
17194
  justify-content: space-between;
16990
17195
  gap: 20px;
@@ -17032,7 +17237,7 @@ span.results-table-item-value {
17032
17237
  }
17033
17238
 
17034
17239
  .text-gray-subtitle {
17035
- color: #434448;
17240
+ color: #848A9E;
17036
17241
  font-size: 20px;
17037
17242
  width: 80%;
17038
17243
  }
@@ -17048,8 +17253,7 @@ span.results-table-item-value {
17048
17253
 
17049
17254
  .back-gray {
17050
17255
  background-color: #efefef;
17051
- border-radius: 40px;
17052
- height: 100%;
17256
+ border-radius: 30px;
17053
17257
  }
17054
17258
 
17055
17259
  .back-navy-blue {
@@ -17313,19 +17517,7 @@ span.results-table-item-value {
17313
17517
  width: 100%;
17314
17518
  padding: 20px;
17315
17519
  box-sizing: border-box;
17316
- background-repeat: no-repeat;
17317
- background-position: center;
17318
- background-size: cover;
17319
- height: 80vw;
17320
- max-height: 663px;
17321
- margin: 0 auto;
17322
- border-radius: 50px;
17323
- }
17324
-
17325
- .section-flexi-picture {
17326
- width: 100%;
17327
- padding: 20px;
17328
- box-sizing: border-box;
17520
+ background-image: url("/assets/swl/interface/sempli_2.0/7-financia-tu-capital-de-trabajo.png");
17329
17521
  background-repeat: no-repeat;
17330
17522
  background-position: center;
17331
17523
  background-size: cover;
@@ -17857,26 +18049,6 @@ span.results-table-item-value {
17857
18049
  }
17858
18050
  }
17859
18051
 
17860
- .webp .website-imgs {
17861
- .section-lending-picture {
17862
- background-image: url("/assets/swl/interface/sempli_2.0/credito-a-termino.webp");
17863
- }
17864
-
17865
- .section-flexi-picture {
17866
- background-image: url("/assets/swl/interface/sempli_2.0/7-financia-tu-capital-de-trabajo2-01.webp");
17867
- }
17868
- }
17869
-
17870
- .no-webp .website-imgs {
17871
- .section-lending-picture {
17872
- background-image: url("/assets/swl/interface/sempli_2.0/credito-a-termino.jpg");
17873
- }
17874
-
17875
- .section-flexi-picture {
17876
- background-image: url("/assets/swl/interface/sempli_2.0/7-financia-tu-capital-de-trabajo2-01.jpg");
17877
- }
17878
- }
17879
-
17880
18052
  /*=============== END HOME SEMPLI 2.0 ===============*/
17881
18053
 
17882
18054
  /*#############################################################################
@@ -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,274 @@
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
+ .label-container {
555
+ cursor: pointer;
556
+ position: relative;
557
+ display: block;
558
+ color: rgba(17, 17, 17, 0.7);
559
+
560
+ &.has-error {
561
+ .input-field {
562
+ color: #FF425E;
563
+ padding: 8px 24px 8px 0;
564
+ border-bottom-color: #FF425E;
565
+
566
+ &:focus, &:hover {
567
+ border-bottom-color: #FF425E;
568
+ }
569
+ }
570
+
571
+ .input-state-icon::before {
572
+ background-image: url('/assets/swl/interface/icons/x-circle-alert.svg');
573
+ }
574
+ }
575
+
576
+ &.valid-input {
577
+ .input-field {
578
+ color: #1F7F45;
579
+ padding: 8px 24px 8px 0;
580
+ border-bottom-color: #1F7F45;
581
+
582
+ &:focus, &:hover {
583
+ border-bottom-color: #1F7F45;
584
+ }
585
+ }
586
+
587
+ .input-state-icon::before {
588
+ background-image: url('/assets/swl/interface/icons/check-circle.svg');
589
+ }
590
+ }
591
+
592
+ .input-field {
593
+ background-color: transparent;
594
+ border-width: 0 0 1px;
595
+ border-radius: 0;
596
+ box-sizing: border-box;
597
+ caret-color: currentcolor;
598
+ display: block;
599
+ margin: 0;
600
+ padding: 8px 0;
601
+ text-align: left;
602
+ outline: none;
603
+ width: 100%;
604
+ border-bottom-style: solid;
605
+ white-space: nowrap;
606
+ overflow: hidden;
607
+ text-overflow: ellipsis;
608
+ color: #111;
609
+ border-bottom-color: rgba(17, 17, 17, 0.2);
610
+ box-shadow: transparent 0 0 0 1000px inset;
611
+
612
+ /* Webkit browsers */
613
+ &:-webkit-autofill {
614
+ -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
615
+ -webkit-text-fill-color: #111 !important;
616
+ transition: background-color 5000s ease-in-out 0s;
617
+ }
618
+
619
+ &:-moz-autofill {
620
+ background-color: transparent !important;
621
+ }
622
+
623
+ &:-ms-autofill {
624
+ background-color: transparent !important;
625
+ }
626
+
627
+ /* Modern browsers */
628
+ &:autofill {
629
+ box-shadow: 0 0 0 1000px transparent inset !important;
630
+ background-color: transparent !important;
631
+ }
632
+
633
+ &:focus, &:hover {
634
+ border-bottom-color: #111;
635
+ }
636
+
637
+ &:disabled {
638
+ border-color: #E9EAEA;
639
+ border-bottom-color: #B6B8BD;
640
+ color: #B6B8BD;
641
+
642
+ &:focus, &:hover {
643
+ border-bottom-color: #B6B8BD;
644
+ cursor: not-allowed;
645
+ }
646
+
647
+ + .floating-label {
648
+ color: #B6B8BD;
649
+ }
650
+ }
651
+ }
652
+
653
+ select.input-field {
654
+ font-size: 0.9rem;
655
+ -webkit-appearance: none;
656
+ -moz-appearance: none;
657
+ appearance: none;
658
+ white-space: nowrap;
659
+ height: unset;
660
+ }
661
+
662
+ textarea.input-field {
663
+ resize: none;
664
+ white-space: pre-wrap;
665
+ overflow-wrap: break-word;
666
+ overflow-y: auto;
667
+ max-height: 150px;
668
+
669
+ + .floating-label {
670
+ margin-bottom: 30px;
671
+ }
672
+ }
673
+
674
+ &.select-wrapper {
675
+ &::after {
676
+ display: block;
677
+ content: "";
678
+
679
+ border-style: solid;
680
+ border-width: 5px 5px 0 5px;
681
+ border-color: #D7D9E2 transparent transparent transparent;
682
+ width: 0;
683
+ height: 0;
684
+
685
+ position: absolute;
686
+ top: 50%;
687
+ right: 13px;
688
+
689
+ @include transform(translateY(-50%));
690
+ }
691
+ }
692
+
693
+ .floating-label {
694
+ will-change: transform, color;
695
+ transform-origin: 0 0;
696
+ position: absolute;
697
+ top: 0;
698
+ left: 0;
699
+ right: 0;
700
+ bottom: 0;
701
+ pointer-events: none;
702
+ font-size: 1rem;
703
+ min-height: 1rem;
704
+ height: auto;
705
+ display: flex;
706
+ align-items: center;
707
+ transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
708
+ white-space: nowrap;
709
+
710
+ .floating-label-text {
711
+ margin: 0;
712
+ color: inherit;
713
+ letter-spacing: -0.01em;
714
+ font-size: 0.875rem;
715
+ line-height: 1.46;
716
+ }
717
+
718
+ &.active {
719
+ transform: scale(0.84) translateY(-25px);
720
+ }
721
+ }
722
+
723
+ .input-state-icon {
724
+ position: absolute;
725
+ top: 0;
726
+ bottom: 0;
727
+ margin: auto;
728
+ display: inline-block;
729
+ width: 16px;
730
+ height: 13px;
731
+ right: 0;
732
+
733
+ &::before {
734
+ content: "";
735
+ display: block;
736
+ width: 100%;
737
+ height: 100%;
738
+ background-size: contain;
739
+ background-repeat: no-repeat;
740
+ background-position: center;
741
+ }
742
+ }
743
+ }
744
+
745
+ .label-text {
746
+ margin: 0;
747
+ color: inherit;
748
+ letter-spacing: -0.01em;
749
+ font-size: 1.125rem;
750
+ line-height: 1.32;
751
+ }
752
+
753
+ .error-msg {
754
+ color: #FF425E;
755
+ margin-top: 0.5rem;
756
+ display: block;
757
+ position: relative;
758
+ font-size: 12px;
759
+ }
760
+
761
+ &:has(.select-wrapper) {
762
+ padding: 1.6rem 0;
763
+ }
764
+
765
+ .select-wrapper {
766
+ label {
767
+ margin: 0;
768
+ color: rgba(17, 17, 17, 0.7);;
769
+ letter-spacing: -0.01em;
770
+ font-size: 0.875rem;
771
+ line-height: 1.46;
772
+ }
773
+
774
+ select {
775
+ background-color: rgba(255, 255, 255, 0.9);
776
+ border-bottom-color: rgba(17, 17, 17, 0.2);
777
+ width: 100%;
778
+ padding: 5px;
779
+ border-radius: 2px;
780
+ height: 3rem;
781
+ border-width: 0 0 1px;
782
+ color: rgba(17, 17, 17, 0.7);
783
+ overflow: hidden;
784
+ box-sizing: border-box;
785
+ }
786
+ }
787
+ }
788
+
521
789
  // TOGGLE SWITCH
522
790
  .toggle-button-with-label {
523
791
  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 {
@@ -1488,6 +1488,10 @@ span.results-table-item-value {
1488
1488
  font-size: 40px;
1489
1489
  }
1490
1490
 
1491
+ @media screen and (min-width: 1450px) {
1492
+ font-size: 44px;
1493
+ }
1494
+
1491
1495
  @media screen and (min-width: 1700px) {
1492
1496
  font-size: 48px;
1493
1497
  }
@@ -1550,6 +1554,10 @@ span.results-table-item-value {
1550
1554
  @media screen and (min-width: 1280px) {
1551
1555
  font-size: 20px;
1552
1556
  }
1557
+
1558
+ @media screen and (min-width: 1350px) {
1559
+ font-size: 22px;
1560
+ }
1553
1561
  }
1554
1562
 
1555
1563
  .home-paragraph {
@@ -1626,73 +1634,7 @@ span.results-table-item-value {
1626
1634
  }
1627
1635
 
1628
1636
  .btn-space {
1629
- margin: 30px 0 0 0;
1630
- }
1631
-
1632
- .btn-space-modal {
1633
- margin: 10px;
1634
- }
1635
-
1636
- .custom-height-img-flexi {
1637
- max-height: 210px;
1638
- min-height: 210px;
1639
- padding: 0;
1640
-
1641
- @media screen and (max-width: 600px) {
1642
- padding: 40px 40px 0 40px;
1643
- }
1644
- }
1645
-
1646
- .section-custom-texts {
1647
- height: max-content;
1648
- }
1649
-
1650
- .max-height-260 {
1651
- max-height: 260px !important;
1652
- }
1653
-
1654
- .mt-20 {
1655
- margin-top: 20px !important;
1656
- }
1657
-
1658
- .padding-img {
1659
- @media screen and (max-width: 600px) {
1660
- padding: 20px !important;
1661
- }
1662
- }
1663
-
1664
- .custom-container-column {
1665
- @media screen and (max-width: 995px) {
1666
- padding: 20px;
1667
- }
1668
- }
1669
-
1670
- .section-custom-space-top {
1671
- margin-top: 150px;
1672
-
1673
- @media screen and (max-width: 768px) {
1674
- margin-top: 0px;
1675
- }
1676
- }
1677
-
1678
- .ul-disc {
1679
- list-style-type: disc;
1680
- }
1681
-
1682
- .mtb-15 {
1683
- margin: 15px 0;
1684
- }
1685
-
1686
- .mt-15 {
1687
- margin-top: 15px;
1688
- }
1689
-
1690
- .height-max-content {
1691
- height: max-content;
1692
- }
1693
-
1694
- .img-custom-border {
1695
- border-radius: 40px;
1637
+ margin: 30px 0 10px 0;
1696
1638
  }
1697
1639
 
1698
1640
  .section {
@@ -1723,18 +1665,6 @@ span.results-table-item-value {
1723
1665
  height: 100%;
1724
1666
  }
1725
1667
 
1726
- .section-video-main {
1727
- width: 100%;
1728
- height: 100%;
1729
- display: flex;
1730
- align-items: center;
1731
- border-radius: 0 0 0 0;
1732
-
1733
- @media screen and (min-width: 769px) {
1734
- border-radius: 0 0 0 40%;
1735
- }
1736
- }
1737
-
1738
1668
  .space-elements {
1739
1669
  justify-content: space-between;
1740
1670
  gap: 20px;
@@ -1782,7 +1712,7 @@ span.results-table-item-value {
1782
1712
  }
1783
1713
 
1784
1714
  .text-gray-subtitle {
1785
- color: #434448;
1715
+ color: #848A9E;
1786
1716
  font-size: 20px;
1787
1717
  width: 80%;
1788
1718
  }
@@ -1798,8 +1728,7 @@ span.results-table-item-value {
1798
1728
 
1799
1729
  .back-gray {
1800
1730
  background-color: #efefef;
1801
- border-radius: 40px;
1802
- height: 100%;
1731
+ border-radius: 30px;
1803
1732
  }
1804
1733
 
1805
1734
  .back-navy-blue {
@@ -2063,19 +1992,7 @@ span.results-table-item-value {
2063
1992
  width: 100%;
2064
1993
  padding: 20px;
2065
1994
  box-sizing: border-box;
2066
- background-repeat: no-repeat;
2067
- background-position: center;
2068
- background-size: cover;
2069
- height: 80vw;
2070
- max-height: 663px;
2071
- margin: 0 auto;
2072
- border-radius: 50px;
2073
- }
2074
-
2075
- .section-flexi-picture {
2076
- width: 100%;
2077
- padding: 20px;
2078
- box-sizing: border-box;
1995
+ background-image: url("/assets/swl/interface/sempli_2.0/7-financia-tu-capital-de-trabajo.png");
2079
1996
  background-repeat: no-repeat;
2080
1997
  background-position: center;
2081
1998
  background-size: cover;
@@ -2607,24 +2524,4 @@ span.results-table-item-value {
2607
2524
  }
2608
2525
  }
2609
2526
 
2610
- .webp .website-imgs {
2611
- .section-lending-picture {
2612
- background-image: url("/assets/swl/interface/sempli_2.0/credito-a-termino.webp");
2613
- }
2614
-
2615
- .section-flexi-picture {
2616
- background-image: url("/assets/swl/interface/sempli_2.0/7-financia-tu-capital-de-trabajo2-01.webp");
2617
- }
2618
- }
2619
-
2620
- .no-webp .website-imgs {
2621
- .section-lending-picture {
2622
- background-image: url("/assets/swl/interface/sempli_2.0/credito-a-termino.jpg");
2623
- }
2624
-
2625
- .section-flexi-picture {
2626
- background-image: url("/assets/swl/interface/sempli_2.0/7-financia-tu-capital-de-trabajo2-01.jpg");
2627
- }
2628
- }
2629
-
2630
2527
  /*=============== END HOME SEMPLI 2.0 ===============*/