@appscode/design-system 2.2.54 → 2.2.56
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 {
|
|
@@ -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
|
}
|
|
@@ -618,27 +623,46 @@ li {
|
|
|
618
623
|
color: $color-heading !important;
|
|
619
624
|
font-weight: 700 !important;
|
|
620
625
|
font-size: 12px !important;
|
|
621
|
-
border-
|
|
626
|
+
border-top: 1px solid $color-border-light;
|
|
627
|
+
min-height: 24px;
|
|
628
|
+
padding-top: 16px !important;
|
|
629
|
+
margin-top: 4px !important;
|
|
622
630
|
}
|
|
623
631
|
|
|
624
632
|
.multiselect__option:not(.multiselect__option--disabled) {
|
|
625
633
|
padding-left: 32px !important;
|
|
634
|
+
&:hover {
|
|
635
|
+
background-color: #f1f1f1 !important;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
&.multiselect__option--selected {
|
|
639
|
+
padding-left: 32px !important;
|
|
640
|
+
}
|
|
626
641
|
}
|
|
627
642
|
|
|
628
643
|
.multiselect__option--selected {
|
|
629
644
|
font-weight: 500 !important;
|
|
645
|
+
color: $ac-primary !important;
|
|
646
|
+
background-color: $primary-light-gray !important;
|
|
647
|
+
&:hover {
|
|
648
|
+
background-color: $primary-light-gray !important;
|
|
649
|
+
color: $ac-primary !important;
|
|
650
|
+
}
|
|
630
651
|
|
|
631
652
|
&:before {
|
|
632
653
|
position: absolute;
|
|
633
|
-
|
|
634
|
-
left: 20px;
|
|
654
|
+
left: 16px;
|
|
635
655
|
top: 50%;
|
|
636
|
-
margin-top: -
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
656
|
+
margin-top: -8px;
|
|
657
|
+
content: "\f00c";
|
|
658
|
+
font-family: "Fontawesome";
|
|
659
|
+
display: inline-block;
|
|
660
|
+
vertical-align: top;
|
|
661
|
+
line-height: 1;
|
|
662
|
+
width: 16px;
|
|
663
|
+
height: 16px;
|
|
664
|
+
margin-right: 0.3em;
|
|
665
|
+
color: $ac-primary;
|
|
642
666
|
}
|
|
643
667
|
}
|
|
644
668
|
}
|
|
@@ -11,14 +11,14 @@ defineEmits(['onClick'])
|
|
|
11
11
|
|
|
12
12
|
<template>
|
|
13
13
|
<div class="single-accordion-item">
|
|
14
|
-
<div @click.
|
|
14
|
+
<div @click.prevent="$emit('onClick')" class="accordion-heading is-clickable">
|
|
15
15
|
<slot name="title" />
|
|
16
16
|
<div class="accordion-right is-flex is-align-items-center">
|
|
17
17
|
<div v-show="!isActive"
|
|
18
18
|
class="accordion-description is-justify-content-flex-end has-text-right is-flex-direction-column">
|
|
19
19
|
<slot name="description" />
|
|
20
20
|
</div>
|
|
21
|
-
<button
|
|
21
|
+
<button class="icon">
|
|
22
22
|
<svg :style="{ transform: isActive ? 'rotate(-180deg)' : 'rotate(0deg)' }" xmlns="http://www.w3.org/2000/svg"
|
|
23
23
|
fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6">
|
|
24
24
|
<path stroke-linecap="round" stroke-linejoin="round" d="m19.5 8.25-7.5 7.5-7.5-7.5" />
|
|
@@ -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"
|