@appscode/design-system 2.2.55 → 2.2.57
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/package.json
CHANGED
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
&.multiselect__option--highlight {
|
|
112
|
-
background-color:
|
|
112
|
+
background-color: transparent;
|
|
113
113
|
color: $ac-secondary;
|
|
114
114
|
|
|
115
115
|
&:hover {
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
|
|
170
170
|
.multiselect__tags > span {
|
|
171
171
|
font-size: 13px;
|
|
172
|
-
line-height: 1
|
|
172
|
+
line-height: 1;
|
|
173
173
|
color: $color-heading;
|
|
174
174
|
}
|
|
175
175
|
|
|
@@ -295,6 +295,9 @@
|
|
|
295
295
|
|
|
296
296
|
.multiselect__select {
|
|
297
297
|
height: 100%;
|
|
298
|
+
&::before {
|
|
299
|
+
top: 73%;
|
|
300
|
+
}
|
|
298
301
|
}
|
|
299
302
|
|
|
300
303
|
.multiselect__tags {
|
|
@@ -322,6 +325,7 @@
|
|
|
322
325
|
|
|
323
326
|
.multiselect__single {
|
|
324
327
|
font-size: 12px;
|
|
328
|
+
top: 1px !important;
|
|
325
329
|
}
|
|
326
330
|
|
|
327
331
|
.multiselect__placeholder {
|
|
@@ -464,7 +468,7 @@ li {
|
|
|
464
468
|
.multiselect .multiselect__tags {
|
|
465
469
|
.multiselect__input,
|
|
466
470
|
.multiselect__single {
|
|
467
|
-
top:
|
|
471
|
+
top: 2px !important;
|
|
468
472
|
}
|
|
469
473
|
}
|
|
470
474
|
|
|
@@ -522,7 +526,7 @@ li {
|
|
|
522
526
|
-webkit-line-clamp: 1;
|
|
523
527
|
box-orient: vertical;
|
|
524
528
|
-webkit-box-orient: vertical;
|
|
525
|
-
top:
|
|
529
|
+
top: 4.5px;
|
|
526
530
|
}
|
|
527
531
|
}
|
|
528
532
|
|
|
@@ -572,11 +576,12 @@ li {
|
|
|
572
576
|
right: 0px;
|
|
573
577
|
}
|
|
574
578
|
.multiselect__tags {
|
|
575
|
-
padding: 3px
|
|
579
|
+
padding: 3px 100px 4px 15px !important;
|
|
576
580
|
}
|
|
577
581
|
.button {
|
|
578
582
|
&.is-clear {
|
|
579
583
|
right: 30px;
|
|
584
|
+
height: 100%;
|
|
580
585
|
}
|
|
581
586
|
}
|
|
582
587
|
}
|
|
@@ -612,33 +617,66 @@ li {
|
|
|
612
617
|
}
|
|
613
618
|
|
|
614
619
|
// Customize option group select
|
|
620
|
+
.multiselect__content {
|
|
621
|
+
.multiselect__element {
|
|
622
|
+
&:first-child {
|
|
623
|
+
.multiselect__option--group {
|
|
624
|
+
&.multiselect__option--disabled {
|
|
625
|
+
border-top: none !important;
|
|
626
|
+
margin-top: 0 !important;
|
|
627
|
+
padding-top: 0 !important;
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
|
|
615
634
|
.option-group {
|
|
616
635
|
.multiselect__option--disabled {
|
|
617
636
|
background: transparent !important;
|
|
618
637
|
color: $color-heading !important;
|
|
619
638
|
font-weight: 700 !important;
|
|
620
639
|
font-size: 12px !important;
|
|
621
|
-
border-
|
|
640
|
+
border-top: 1px solid $color-border-light;
|
|
641
|
+
min-height: 24px;
|
|
642
|
+
padding-top: 16px !important;
|
|
643
|
+
margin-top: 4px !important;
|
|
622
644
|
}
|
|
623
645
|
|
|
624
646
|
.multiselect__option:not(.multiselect__option--disabled) {
|
|
625
647
|
padding-left: 32px !important;
|
|
648
|
+
&:hover {
|
|
649
|
+
background-color: #f1f1f1 !important;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
&.multiselect__option--selected {
|
|
653
|
+
padding-left: 32px !important;
|
|
654
|
+
}
|
|
626
655
|
}
|
|
627
656
|
|
|
628
657
|
.multiselect__option--selected {
|
|
629
658
|
font-weight: 500 !important;
|
|
659
|
+
color: $ac-primary !important;
|
|
660
|
+
background-color: $primary-light-gray !important;
|
|
661
|
+
&:hover {
|
|
662
|
+
background-color: $primary-light-gray !important;
|
|
663
|
+
color: $ac-primary !important;
|
|
664
|
+
}
|
|
630
665
|
|
|
631
666
|
&:before {
|
|
632
667
|
position: absolute;
|
|
633
|
-
|
|
634
|
-
left: 20px;
|
|
668
|
+
left: 16px;
|
|
635
669
|
top: 50%;
|
|
636
|
-
margin-top: -
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
670
|
+
margin-top: -8px;
|
|
671
|
+
content: "\f00c";
|
|
672
|
+
font-family: "Fontawesome";
|
|
673
|
+
display: inline-block;
|
|
674
|
+
vertical-align: top;
|
|
675
|
+
line-height: 1;
|
|
676
|
+
width: 16px;
|
|
677
|
+
height: 16px;
|
|
678
|
+
margin-right: 0.3em;
|
|
679
|
+
color: $ac-primary;
|
|
642
680
|
}
|
|
643
681
|
}
|
|
644
682
|
}
|
|
@@ -109,7 +109,18 @@ const onSelect = (selectedOption: unknown, id: string) => emit("select", selecte
|
|
|
109
109
|
<span v-if="showStar" class="is-required has-text-danger"> * </span>
|
|
110
110
|
</label>
|
|
111
111
|
<button v-if="allowEmpty && model" class="button ac-button is-clear is-transparent" @click.prevent="model = ''">
|
|
112
|
-
<
|
|
112
|
+
<span class="icon width-16">
|
|
113
|
+
<svg
|
|
114
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
115
|
+
fill="none"
|
|
116
|
+
viewBox="0 0 24 24"
|
|
117
|
+
stroke-width="1.5"
|
|
118
|
+
stroke="currentColor"
|
|
119
|
+
class="size-6"
|
|
120
|
+
>
|
|
121
|
+
<path stroke-linecap="round" stroke-linejoin="round" d="M6 18 18 6M6 6l12 12" />
|
|
122
|
+
</svg>
|
|
123
|
+
</span>
|
|
113
124
|
</button>
|
|
114
125
|
<button
|
|
115
126
|
v-if="hasRefreshBtn"
|