@unifiedsoftware/styles 2.0.0-beta.9 → 2.0.1-beta.2
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/css/fci.css +273 -116
- package/css/fci.min.css +1 -1
- package/css/styles.css +1429 -1095
- package/css/styles.min.css +1 -1
- package/package.json +1 -1
- package/scss/_utilities.scss +340 -1
- package/scss/components/_accordion.scss +5 -0
- package/scss/components/_button.scss +3 -3
- package/scss/components/_descriptions.scss +1 -0
- package/scss/components/_icon.scss +28 -0
- package/scss/components/_index.scss +5 -5
- package/scss/components/_input.scss +19 -7
- package/scss/components/_list.scss +1 -1
- package/scss/components/_swipe.scss +2 -2
- package/scss/components/_tabs.scss +1 -1
- package/scss/themes/fci/_tokens.scss +9 -2
- package/scss/themes/fci/components/_accordion.scss +46 -34
- package/scss/themes/fci/components/_button.scss +65 -5
- package/scss/themes/fci/components/_card.scss +27 -59
- package/scss/themes/fci/components/_checkbox.scss +1 -1
- package/scss/themes/fci/components/_icon.scss +2 -1
- package/scss/themes/fci/components/_input.scss +69 -16
- package/scss/themes/fci/components/_list.scss +22 -10
- package/scss/themes/fci/components/_tabs.scss +32 -2
package/scss/_utilities.scss
CHANGED
|
@@ -319,7 +319,6 @@ $rounded-sizes: (
|
|
|
319
319
|
overflow: hidden;
|
|
320
320
|
color: var(--#{$prefix}overlay-color);
|
|
321
321
|
opacity: var(--#{$prefix}overlay-opacity);
|
|
322
|
-
z-index: -1;
|
|
323
322
|
pointer-events: none;
|
|
324
323
|
background-color: currentColor;
|
|
325
324
|
transition: var(--#{$prefix}overlay-transition, background-color, opacity, 0.1s cubic-bezier(0.215, 0.61, 0.355, 1));
|
|
@@ -419,6 +418,174 @@ $rounded-sizes: (
|
|
|
419
418
|
);
|
|
420
419
|
}
|
|
421
420
|
|
|
421
|
+
.#{$prefix}glow {
|
|
422
|
+
--shadow-color: rgb(var(--#{$prefix}glow-color) / var(--#{$prefix}glow-alpha));
|
|
423
|
+
|
|
424
|
+
position: absolute;
|
|
425
|
+
inset: 0;
|
|
426
|
+
border-radius: inherit;
|
|
427
|
+
overflow: hidden;
|
|
428
|
+
pointer-events: none;
|
|
429
|
+
z-index: var(--#{$prefix}glow-z-index);
|
|
430
|
+
opacity: var(--#{$prefix}glow-opacity);
|
|
431
|
+
transition: var(--#{$prefix}glow-transition, box-shadow, opacity, 0.1s cubic-bezier(0.215, 0.61, 0.355, 1));
|
|
432
|
+
|
|
433
|
+
/* base color compuesto con alpha */
|
|
434
|
+
color: var(--#{$prefix}glow-color);
|
|
435
|
+
color: rgb(var(--#{$prefix}glow-color) / var(--#{$prefix}glow-alpha));
|
|
436
|
+
|
|
437
|
+
box-shadow: 0 0 var(--#{$prefix}glow-blur) var(--#{$prefix}glow-spread) var(--shadow-color);
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
/* Hover */
|
|
441
|
+
:not([hidden]):hover > .#{$prefix}glow {
|
|
442
|
+
--border-color: rgb(
|
|
443
|
+
var(--#{$prefix}_hover-glow-color, var(--#{$prefix}glow-color)) /
|
|
444
|
+
var(--#{$prefix}_hover-glow-alpha, var(--#{$prefix}glow-alpha))
|
|
445
|
+
);
|
|
446
|
+
|
|
447
|
+
--shadow-color: rgb(
|
|
448
|
+
var(--#{$prefix}_hover-glow-color, var(--#{$prefix}glow-color)) /
|
|
449
|
+
var(--#{$prefix}_hover-glow-shadow-alpha, var(--#{$prefix}glow-shadow-alpha))
|
|
450
|
+
);
|
|
451
|
+
|
|
452
|
+
opacity: var(--#{$prefix}_hover-glow-opacity, var(--#{$prefix}glow-opacity));
|
|
453
|
+
|
|
454
|
+
box-shadow:
|
|
455
|
+
/* borde sólido de 1px */
|
|
456
|
+
0 0 0 1px var(--border-color),
|
|
457
|
+
/* glow difuso */ 0 0 var(--#{$prefix}_hover-glow-blur, var(--#{$prefix}glow-blur))
|
|
458
|
+
var(--#{$prefix}_hover-glow-spread, var(--#{$prefix}glow-spread)) var(--shadow-color);
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
/* Active */
|
|
462
|
+
:not([hidden]):active > .#{$prefix}glow {
|
|
463
|
+
--border-color: rgb(
|
|
464
|
+
var(--#{$prefix}_active-glow-color, var(--#{$prefix}_hover-glow-color, var(--#{$prefix}glow-color))) /
|
|
465
|
+
var(--#{$prefix}_active-glow-alpha, var(--#{$prefix}_hover-glow-alpha, var(--#{$prefix}glow-alpha)))
|
|
466
|
+
);
|
|
467
|
+
|
|
468
|
+
--shadow-color: rgb(
|
|
469
|
+
var(--#{$prefix}_active-glow-color, var(--#{$prefix}_hover-glow-color, var(--#{$prefix}glow-color))) /
|
|
470
|
+
var(
|
|
471
|
+
--#{$prefix}_active-glow-shadow-alpha,
|
|
472
|
+
var(--#{$prefix}_hover-glow-shadow-alpha, var(--#{$prefix}glow-shadow-alpha))
|
|
473
|
+
)
|
|
474
|
+
);
|
|
475
|
+
|
|
476
|
+
opacity: var(--#{$prefix}_active-glow-opacity, var(--#{$prefix}_hover-glow-opacity, var(--#{$prefix}glow-opacity)));
|
|
477
|
+
|
|
478
|
+
box-shadow:
|
|
479
|
+
0 0 0 1px var(--border-color),
|
|
480
|
+
0 0 var(--#{$prefix}_active-glow-blur, var(--#{$prefix}_hover-glow-blur, var(--#{$prefix}glow-blur)))
|
|
481
|
+
var(--#{$prefix}_active-glow-spread, var(--#{$prefix}_hover-glow-spread, var(--#{$prefix}glow-spread)))
|
|
482
|
+
var(--shadow-color);
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
/* Focus */
|
|
486
|
+
[class*='--focus'] > .#{$prefix}glow,
|
|
487
|
+
:not([hidden]):focus > .#{$prefix}glow {
|
|
488
|
+
--border-color: rgb(
|
|
489
|
+
var(--#{$prefix}_focus-glow-color, var(--#{$prefix}glow-color)) /
|
|
490
|
+
var(--#{$prefix}_focus-glow-alpha, var(--#{$prefix}glow-alpha))
|
|
491
|
+
);
|
|
492
|
+
|
|
493
|
+
--shadow-color: rgb(
|
|
494
|
+
var(--#{$prefix}_focus-glow-color, var(--#{$prefix}glow-color)) /
|
|
495
|
+
var(--#{$prefix}_focus-glow-shadow-alpha, var(--#{$prefix}glow-shadow-alpha))
|
|
496
|
+
);
|
|
497
|
+
|
|
498
|
+
opacity: var(--#{$prefix}_focus-glow-opacity, var(--#{$prefix}glow-opacity));
|
|
499
|
+
|
|
500
|
+
box-shadow:
|
|
501
|
+
0 0 0 1px var(--border-color),
|
|
502
|
+
0 0 var(--#{$prefix}_focus-glow-blur, var(--#{$prefix}glow-blur))
|
|
503
|
+
var(--#{$prefix}_focus-glow-spread, var(--#{$prefix}glow-spread)) var(--shadow-color);
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
.#{$prefix}ring {
|
|
507
|
+
position: absolute;
|
|
508
|
+
inset: 0;
|
|
509
|
+
border-radius: inherit;
|
|
510
|
+
overflow: hidden;
|
|
511
|
+
color: var(--#{$prefix}ring-color);
|
|
512
|
+
opacity: var(--#{$prefix}ring-opacity, 0);
|
|
513
|
+
pointer-events: none;
|
|
514
|
+
transition: var(--#{$prefix}ring-transition, outline-color, opacity, 0.1s cubic-bezier(0.215, 0.61, 0.355, 1));
|
|
515
|
+
|
|
516
|
+
outline-width: var(--#{$prefix}ring-width, 2px);
|
|
517
|
+
outline-style: solid;
|
|
518
|
+
outline-color: currentColor;
|
|
519
|
+
outline-offset: var(--#{$prefix}ring-offset, 4px);
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
/* Hover */
|
|
523
|
+
:not([hidden]):hover > .#{$prefix}ring {
|
|
524
|
+
color: var(--#{$prefix}_hover-ring-color, var(--#{$prefix}ring-color));
|
|
525
|
+
opacity: var(--#{$prefix}_hover-ring-opacity, var(--#{$prefix}ring-opacity));
|
|
526
|
+
outline-width: var(--#{$prefix}_hover-ring-width, var(--#{$prefix}ring-width, 2px));
|
|
527
|
+
outline-offset: var(--#{$prefix}_hover-ring-offset, var(--#{$prefix}ring-offset, 4px));
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
/* Active */
|
|
531
|
+
:not([hidden]):active > .#{$prefix}ring {
|
|
532
|
+
color: var(--#{$prefix}_active-ring-color, var(--#{$prefix}_hover-ring-color, var(--#{$prefix}ring-color)));
|
|
533
|
+
opacity: var(--#{$prefix}_active-ring-opacity, var(--#{$prefix}_hover-ring-opacity, var(--#{$prefix}ring-opacity)));
|
|
534
|
+
outline-width: var(
|
|
535
|
+
--#{$prefix}_active-ring-width,
|
|
536
|
+
var(--#{$prefix}_hover-ring-width, var(--#{$prefix}ring-width, 2px))
|
|
537
|
+
);
|
|
538
|
+
outline-offset: var(
|
|
539
|
+
--#{$prefix}_active-ring-offset,
|
|
540
|
+
var(--#{$prefix}_hover-ring-offset, var(--#{$prefix}ring-offset, 4px))
|
|
541
|
+
);
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
/* Focus */
|
|
545
|
+
[class*='--focus'] > .#{$prefix}ring,
|
|
546
|
+
:not([hidden]):focus > .#{$prefix}ring {
|
|
547
|
+
color: var(--#{$prefix}_focus-ring-color, var(--#{$prefix}ring-color));
|
|
548
|
+
opacity: var(--#{$prefix}_focus-ring-opacity, var(--#{$prefix}ring-opacity));
|
|
549
|
+
outline-width: var(--#{$prefix}_focus-ring-width, var(--#{$prefix}ring-width, 2px));
|
|
550
|
+
outline-offset: var(--#{$prefix}_focus-ring-offset, var(--#{$prefix}ring-offset, 4px));
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
/* Focus + Hover */
|
|
554
|
+
[class*='--focus']:hover > .#{$prefix}ring,
|
|
555
|
+
:not([hidden]):focus:hover > .#{$prefix}ring {
|
|
556
|
+
color: var(--#{$prefix}_focus-hover-ring-color, var(--#{$prefix}_focus-ring-color, var(--#{$prefix}ring-color)));
|
|
557
|
+
opacity: var(
|
|
558
|
+
--#{$prefix}_focus-hover-ring-opacity,
|
|
559
|
+
var(--#{$prefix}_focus-ring-opacity, var(--#{$prefix}ring-opacity))
|
|
560
|
+
);
|
|
561
|
+
outline-width: var(
|
|
562
|
+
--#{$prefix}_focus-hover-ring-width,
|
|
563
|
+
var(--#{$prefix}_focus-ring-width, var(--#{$prefix}ring-width, 2px))
|
|
564
|
+
);
|
|
565
|
+
outline-offset: var(
|
|
566
|
+
--#{$prefix}_focus-hover-ring-offset,
|
|
567
|
+
var(--#{$prefix}_focus-ring-offset, var(--#{$prefix}ring-offset, 4px))
|
|
568
|
+
);
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
/* Focus + Active */
|
|
572
|
+
[class*='--focus']:active > .#{$prefix}ring,
|
|
573
|
+
:not([hidden]):focus:active > .#{$prefix}ring {
|
|
574
|
+
color: var(--#{$prefix}_focus-active-ring-color, var(--#{$prefix}_focus-ring-color, var(--#{$prefix}ring-color)));
|
|
575
|
+
opacity: var(
|
|
576
|
+
--#{$prefix}_focus-active-ring-opacity,
|
|
577
|
+
var(--#{$prefix}_focus-ring-opacity, var(--#{$prefix}ring-opacity))
|
|
578
|
+
);
|
|
579
|
+
outline-width: var(
|
|
580
|
+
--#{$prefix}_focus-active-ring-width,
|
|
581
|
+
var(--#{$prefix}_focus-ring-width, var(--#{$prefix}ring-width, 2px))
|
|
582
|
+
);
|
|
583
|
+
outline-offset: var(
|
|
584
|
+
--#{$prefix}_focus-active-ring-offset,
|
|
585
|
+
var(--#{$prefix}_focus-ring-offset, var(--#{$prefix}ring-offset, 4px))
|
|
586
|
+
);
|
|
587
|
+
}
|
|
588
|
+
|
|
422
589
|
.#{$prefix}surface {
|
|
423
590
|
position: absolute;
|
|
424
591
|
inset: 0px;
|
|
@@ -450,3 +617,175 @@ $rounded-sizes: (
|
|
|
450
617
|
fill: none !important;
|
|
451
618
|
stroke: currentColor !important;
|
|
452
619
|
}
|
|
620
|
+
|
|
621
|
+
/* Contenedor principal */
|
|
622
|
+
/* ----------------- Contenedor principal ----------------- */
|
|
623
|
+
.win-container {
|
|
624
|
+
width: 100vw;
|
|
625
|
+
height: 100vh;
|
|
626
|
+
background-color: #f1f5f9; /* bg-slate-50 */
|
|
627
|
+
position: relative;
|
|
628
|
+
overflow: hidden;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
/* ----------------- DraggableResizable ----------------- */
|
|
632
|
+
.win-draggable {
|
|
633
|
+
background-color: white;
|
|
634
|
+
// box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* shadow-md */
|
|
635
|
+
user-select: none;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
.win-header {
|
|
639
|
+
width: 100%;
|
|
640
|
+
height: 2rem; /* h-8 */
|
|
641
|
+
background-color: #fff; /* bg-gray-100 */
|
|
642
|
+
border-bottom: 1px solid #cbd5e1;
|
|
643
|
+
display: flex;
|
|
644
|
+
align-items: center;
|
|
645
|
+
padding: 0 0.5rem; /* px-2 */
|
|
646
|
+
user-select: none;
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
.win-header.win-draggable {
|
|
650
|
+
cursor: move; /* solo si draggable */
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
.win-header-title {
|
|
654
|
+
font-size: 0.875rem; /* text-sm */
|
|
655
|
+
font-weight: 500; /* font-medium */
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
.win-header-buttons {
|
|
659
|
+
margin-left: auto;
|
|
660
|
+
display: flex;
|
|
661
|
+
align-items: center;
|
|
662
|
+
gap: 0.25rem; /* gap-1 */
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
/* Botones del header */
|
|
666
|
+
.win-btn {
|
|
667
|
+
width: 1.75rem; /* w-7 */
|
|
668
|
+
height: 1.5rem; /* h-6 */
|
|
669
|
+
display: flex;
|
|
670
|
+
justify-content: center;
|
|
671
|
+
align-items: center;
|
|
672
|
+
border-radius: 0.25rem; /* rounded */
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
.win-btn:hover {
|
|
676
|
+
background-color: #e5e7eb; /* hover:bg-gray-200 */
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
.win-btn-close:hover {
|
|
680
|
+
background-color: #ef4444; /* hover:bg-red-500 */
|
|
681
|
+
color: white;
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
/* ----------------- Taskbar ----------------- */
|
|
685
|
+
.win-taskbar {
|
|
686
|
+
height: 3rem; /* h-12 */
|
|
687
|
+
background-color: #1e293b; /* bg-slate-800 */
|
|
688
|
+
color: white;
|
|
689
|
+
display: flex;
|
|
690
|
+
align-items: center;
|
|
691
|
+
padding: 0 1rem; /* px-4 */
|
|
692
|
+
gap: 0.75rem; /* gap-3 */
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
.win-taskbar-button {
|
|
696
|
+
display: flex;
|
|
697
|
+
align-items: center;
|
|
698
|
+
gap: 0.5rem;
|
|
699
|
+
padding: 0.25rem 0.75rem;
|
|
700
|
+
border-radius: 0.25rem;
|
|
701
|
+
cursor: pointer;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
.win-taskbar-button.win-active {
|
|
705
|
+
background-color: #2563eb; /* bg-blue-600 */
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
.win-taskbar-button.win-inactive {
|
|
709
|
+
background-color: #334155; /* bg-slate-700 */
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
.win-taskbar-button:hover .win-btn-close {
|
|
713
|
+
background-color: #dc2626; /* hover:bg-red-600 */
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
/* ----------------- Resize handles ----------------- */
|
|
717
|
+
/* Base handle */
|
|
718
|
+
.win-handle {
|
|
719
|
+
position: absolute;
|
|
720
|
+
width: 0.75rem; /* w-3 */
|
|
721
|
+
height: 0.75rem; /* h-3 */
|
|
722
|
+
background-color: white;
|
|
723
|
+
border: 1px solid #d1d5db; /* border-gray-300 */
|
|
724
|
+
border-radius: 9999px; /* rounded-full */
|
|
725
|
+
z-index: 20;
|
|
726
|
+
transform-origin: center;
|
|
727
|
+
transition: background-color 0.15s ease;
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
/* Hover */
|
|
731
|
+
.win-handle:hover {
|
|
732
|
+
background-color: #3b82f6; /* blue-500 */
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
/* Dirección y cursor */
|
|
736
|
+
.win-handle-n {
|
|
737
|
+
top: 0;
|
|
738
|
+
left: 50%;
|
|
739
|
+
transform: translate(-50%, -50%);
|
|
740
|
+
cursor: n-resize;
|
|
741
|
+
}
|
|
742
|
+
.win-handle-s {
|
|
743
|
+
bottom: 0;
|
|
744
|
+
left: 50%;
|
|
745
|
+
transform: translate(-50%, 50%);
|
|
746
|
+
cursor: s-resize;
|
|
747
|
+
}
|
|
748
|
+
.win-handle-e {
|
|
749
|
+
top: 50%;
|
|
750
|
+
right: 0;
|
|
751
|
+
transform: translate(50%, -50%);
|
|
752
|
+
cursor: e-resize;
|
|
753
|
+
}
|
|
754
|
+
.win-handle-w {
|
|
755
|
+
top: 50%;
|
|
756
|
+
left: 0;
|
|
757
|
+
transform: translate(-50%, -50%);
|
|
758
|
+
cursor: w-resize;
|
|
759
|
+
}
|
|
760
|
+
.win-handle-ne {
|
|
761
|
+
top: 0;
|
|
762
|
+
right: 0;
|
|
763
|
+
transform: translate(50%, -50%);
|
|
764
|
+
cursor: ne-resize;
|
|
765
|
+
}
|
|
766
|
+
.win-handle-nw {
|
|
767
|
+
top: 0;
|
|
768
|
+
left: 0;
|
|
769
|
+
transform: translate(-50%, -50%);
|
|
770
|
+
cursor: nw-resize;
|
|
771
|
+
}
|
|
772
|
+
.win-handle-se {
|
|
773
|
+
bottom: 0;
|
|
774
|
+
right: 0;
|
|
775
|
+
transform: translate(50%, 50%);
|
|
776
|
+
cursor: se-resize;
|
|
777
|
+
}
|
|
778
|
+
.win-handle-sw {
|
|
779
|
+
bottom: 0;
|
|
780
|
+
left: 0;
|
|
781
|
+
transform: translate(-50%, 50%);
|
|
782
|
+
cursor: sw-resize;
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
.win-snap-preview {
|
|
786
|
+
position: absolute;
|
|
787
|
+
background-color: rgba(96, 165, 250, 0.3); /* bg-blue-400 + bg-opacity-30 */
|
|
788
|
+
border: 2px solid #2563eb; /* border-blue-600 */
|
|
789
|
+
pointer-events: none;
|
|
790
|
+
z-index: 999998; /* debajo de la ventana */
|
|
791
|
+
}
|
|
@@ -58,6 +58,7 @@
|
|
|
58
58
|
flex-grow: 1;
|
|
59
59
|
display: flex;
|
|
60
60
|
flex-direction: column;
|
|
61
|
+
overflow: hidden;
|
|
61
62
|
}
|
|
62
63
|
|
|
63
64
|
&--centered &__start-content,
|
|
@@ -88,6 +89,8 @@
|
|
|
88
89
|
display: -webkit-box;
|
|
89
90
|
-webkit-box-orient: vertical;
|
|
90
91
|
-webkit-line-clamp: 1;
|
|
92
|
+
text-overflow: ellipsis;
|
|
93
|
+
word-break: break-word;
|
|
91
94
|
}
|
|
92
95
|
|
|
93
96
|
&__subtitle {
|
|
@@ -100,6 +103,8 @@
|
|
|
100
103
|
display: -webkit-box;
|
|
101
104
|
-webkit-box-orient: vertical;
|
|
102
105
|
-webkit-line-clamp: 1;
|
|
106
|
+
text-overflow: ellipsis;
|
|
107
|
+
word-break: break-word;
|
|
103
108
|
}
|
|
104
109
|
}
|
|
105
110
|
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
cursor: pointer;
|
|
17
17
|
color: var(--#{$prefix}button-color);
|
|
18
18
|
background-color: var(--#{$prefix}button-background);
|
|
19
|
-
z-index: 0;
|
|
20
19
|
display: inline-flex;
|
|
21
20
|
justify-content: center;
|
|
22
21
|
align-items: center;
|
|
@@ -45,6 +44,8 @@
|
|
|
45
44
|
}
|
|
46
45
|
|
|
47
46
|
&-group {
|
|
47
|
+
border-radius: var(--#{$prefix}button-border-radius);
|
|
48
|
+
position: relative;
|
|
48
49
|
display: inline-flex;
|
|
49
50
|
align-items: center;
|
|
50
51
|
}
|
|
@@ -91,8 +92,7 @@
|
|
|
91
92
|
}
|
|
92
93
|
|
|
93
94
|
&__start-icon,
|
|
94
|
-
&__end-icon
|
|
95
|
-
&__content {
|
|
95
|
+
&__end-icon {
|
|
96
96
|
position: relative;
|
|
97
97
|
display: flex;
|
|
98
98
|
align-items: center;
|
|
@@ -9,3 +9,31 @@
|
|
|
9
9
|
justify-content: center;
|
|
10
10
|
align-items: center;
|
|
11
11
|
}
|
|
12
|
+
|
|
13
|
+
.#{$prefix}opacity-0 {
|
|
14
|
+
opacity: 0;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.#{$prefix}opacity-60 {
|
|
18
|
+
opacity: 0.6;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.#{$prefix}opacity-100 {
|
|
22
|
+
opacity: 1;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.#{$prefix}pointer {
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.#{$prefix}hover-opacity-60 {
|
|
30
|
+
&:hover {
|
|
31
|
+
opacity: 0.6;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.#{$prefix}hover-opacity-100 {
|
|
36
|
+
&:hover {
|
|
37
|
+
opacity: 1;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -15,11 +15,6 @@
|
|
|
15
15
|
@use 'drawer';
|
|
16
16
|
@use 'modal';
|
|
17
17
|
|
|
18
|
-
@use 'input';
|
|
19
|
-
@use 'checkbox';
|
|
20
|
-
@use 'radio';
|
|
21
|
-
@use 'switch';
|
|
22
|
-
|
|
23
18
|
@use 'accordion';
|
|
24
19
|
@use 'list';
|
|
25
20
|
@use 'data-list';
|
|
@@ -37,3 +32,8 @@
|
|
|
37
32
|
@use 'nav-rail';
|
|
38
33
|
|
|
39
34
|
@use 'steps';
|
|
35
|
+
|
|
36
|
+
@use 'input';
|
|
37
|
+
@use 'checkbox';
|
|
38
|
+
@use 'radio';
|
|
39
|
+
@use 'switch';
|
|
@@ -13,12 +13,13 @@
|
|
|
13
13
|
background-color: var(--#{$prefix}input-background);
|
|
14
14
|
z-index: 0;
|
|
15
15
|
transition: all 0.2s ease-in-out;
|
|
16
|
+
cursor: text;
|
|
16
17
|
|
|
17
18
|
&:focus-visible {
|
|
18
19
|
outline: none;
|
|
19
20
|
}
|
|
20
21
|
|
|
21
|
-
|
|
22
|
+
&--selectable {
|
|
22
23
|
cursor: pointer;
|
|
23
24
|
}
|
|
24
25
|
|
|
@@ -155,7 +156,7 @@
|
|
|
155
156
|
}
|
|
156
157
|
|
|
157
158
|
&__placeholder {
|
|
158
|
-
|
|
159
|
+
color: var(--#{$prefix}input-placeholder-color);
|
|
159
160
|
}
|
|
160
161
|
|
|
161
162
|
&__start-content,
|
|
@@ -175,14 +176,25 @@
|
|
|
175
176
|
}
|
|
176
177
|
|
|
177
178
|
&__start-content {
|
|
178
|
-
margin-right: calc(-1 * var(--#{$prefix}input-icon-size));
|
|
179
|
-
|
|
180
|
-
padding-
|
|
179
|
+
// margin-right: calc(-1 * var(--#{$prefix}input-icon-size));
|
|
180
|
+
padding-left: calc(0.75 * var(--#{$prefix}input-padding-x));
|
|
181
|
+
padding-right: calc(0.375 * var(--#{$prefix}input-padding-x));
|
|
181
182
|
}
|
|
182
183
|
|
|
183
184
|
&__end-content {
|
|
184
|
-
margin-left: calc(-1 * var(--#{$prefix}input-icon-size));
|
|
185
|
-
// padding-block: var(--#{$prefix}input-padding-y);
|
|
185
|
+
// margin-left: calc(-1 * var(--#{$prefix}input-icon-size));
|
|
186
186
|
padding-inline: calc(0.75 * var(--#{$prefix}input-padding-x));
|
|
187
187
|
}
|
|
188
|
+
|
|
189
|
+
&--start-content &__content &__field,
|
|
190
|
+
&--start-content &__content &__search,
|
|
191
|
+
&--start-content &__content &__placeholder {
|
|
192
|
+
padding-left: 0;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
&--end-content &__content &__field,
|
|
196
|
+
&--end-content &__content &__search,
|
|
197
|
+
&--end-content &__content &__placeholder {
|
|
198
|
+
padding-right: 0;
|
|
199
|
+
}
|
|
188
200
|
}
|
|
@@ -2,8 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
.#{$prefix}theme-fci {
|
|
4
4
|
--#{$prefix}primary-rgb: 153 0 0;
|
|
5
|
-
|
|
6
|
-
--#{$prefix}
|
|
5
|
+
--#{$prefix}secondary-rgb: 15 23 42;
|
|
6
|
+
--#{$prefix}success-rgb: 22 163 74;
|
|
7
|
+
--#{$prefix}info-rgb: 124 58 237;
|
|
8
|
+
--#{$prefix}warning-rgb: 248 148 6;
|
|
9
|
+
--#{$prefix}danger-rgb: 220 38 38;
|
|
10
|
+
--#{$prefix}black-rgb: 0 0 0;
|
|
11
|
+
--#{$prefix}white-rgb: 255 255 255;
|
|
12
|
+
|
|
13
|
+
--#{$prefix}primary-color: #990000;
|
|
7
14
|
--#{$prefix}secondary-color: #0f172a;
|
|
8
15
|
--#{$prefix}success-color: #16a34a;
|
|
9
16
|
--#{$prefix}success-dark-color: #15803d;
|