File tree Expand file tree Collapse file tree 2 files changed +23
-20
lines changed
theme-saas/src/select-dropdown Expand file tree Collapse file tree 2 files changed +23
-20
lines changed Original file line number Diff line number Diff line change 6
6
@popper-prefix-cls : ~ ' @{css-prefix} popper' ;
7
7
@scrollbar-prefix-cls : ~ ' @{css-prefix} scrollbar' ;
8
8
@recycle-scroller-prefix-cls : ~ ' @{css-prefix} recycle-scroller' ;
9
- @select-dropdown__item-prefix-cls :~ ' @{css-prefix} select-dropdown__item' ;
9
+ @select-dropdown__item-prefix-cls : ~ ' @{css-prefix} select-dropdown__item' ;
10
10
11
11
.@{select-dropdown-prefix-cls} {
12
12
@apply absolute ;
37
37
}
38
38
}
39
39
40
- & .@{recycle-scroller-prefix-cls} {
40
+ & .@{recycle-scroller-prefix-cls} {
41
41
list-style : none ;
42
42
43
- .@{select-dropdown__item-prefix-cls} {
43
+ .@{select-dropdown__item-prefix-cls} {
44
44
margin-right : 0
45
45
}
46
46
47
- &__slot {
48
- .tiny-select-dropdown__item {
47
+ &__slot {
48
+ .tiny-select-dropdown__item {
49
49
margin-bottom : 0 ;
50
50
}
51
51
}
58
58
@apply text- color - text- secondary;
59
59
@apply text- xs;
60
60
}
61
+
61
62
// tiny 新增
62
63
.@{select-dropdown-prefix-cls} __empty-images {
63
64
background-image : url(' ../images/empty-nodata.png' ) ;
88
89
@apply m- 1;
89
90
@apply rounded;
90
91
91
- > .tiny-svg ,
92
- > span > .tiny-svg {
92
+ > .tiny-svg ,
93
+ > span > .tiny-svg {
93
94
@apply ~ ' -mt-0.5' ;
94
95
}
95
- & :first-child {
96
- > .tiny-svg ,
97
- > span > .tiny-svg {
98
- margin-top : 1px
99
- }
100
- }
101
96
}
102
97
103
98
& &__loading {
104
99
@apply text- center;
105
100
@apply ~ ' py-2.5 px-0' ;
106
101
107
- > .circular {
102
+ > .circular {
108
103
@apply fill- color - brand;
109
104
@apply h- 4;
110
105
@apply w- 4;
111
106
animation : loading- rotate 2s linear infinite ;
112
107
@apply inline-block ;
113
108
@apply align- top;
114
109
115
- circle {
110
+ circle {
116
111
animation : loading- dash 1.5s ease-in-out infinite ;
117
112
stroke-dasharray : 90 , 150 ;
118
113
stroke-dashoffset : 0 ;
170
165
stroke-dasharray : 90 , 150 ;
171
166
stroke-dashoffset : -120px ;
172
167
}
173
- }
168
+ }
Original file line number Diff line number Diff line change 496
496
@mousedown.stop
497
497
@mouseenter =" state.hoverIndex = -9"
498
498
>
499
- <component :is =" `icon-${state.selectCls}`" :class =" ['tiny-svg-size', state.selectCls]" />
500
- <span >{{ allText || t('ui.base.all') }}</span >
499
+ <span class =" tiny-option__checkbox-wrap tiny-select-dropdown__item-checkbox" >
500
+ <component :is =" `icon-${state.selectCls}`" :class =" ['tiny-svg-size', state.selectCls]"
501
+ /></span >
502
+ <div class =" tiny-option-wrapper calc-width" >
503
+ <span class =" tiny-option-label" >{{ allText || t('ui.base.all') }}</span >
504
+ </div >
501
505
</li >
502
506
<li
503
507
v-if ="
521
525
@mousedown.stop
522
526
@mouseenter =" state.hoverIndex = -9"
523
527
>
524
- <component :is =" `icon-${state.filteredSelectCls}`" :class =" ['tiny-svg-size', state.filteredSelectCls]" />
525
- <span >{{ allText || t('ui.base.all') }}</span >
528
+ <span class =" tiny-option__checkbox-wrap tiny-select-dropdown__item-checkbox" >
529
+ <component :is =" `icon-${state.filteredSelectCls}`" :class =" ['tiny-svg-size', state.filteredSelectCls]"
530
+ /></span >
531
+ <div class =" tiny-option-wrapper calc-width" >
532
+ <span class =" tiny-option-label" >{{ allText || t('ui.base.all') }}</span >
533
+ </div >
526
534
</li >
527
535
<tiny-option :value =" state.query" created v-if =" state.showNewOption" > </tiny-option >
528
536
<slot >
You can’t perform that action at this time.
0 commit comments