@douyinfe/semi-foundation 2.63.2-alpha.0 → 2.64.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.
- package/calendar/foundation.ts +20 -0
- package/colorPicker/AlphaSliderFoundation.ts +62 -0
- package/colorPicker/ColorChooseAreaFoundation.ts +86 -0
- package/colorPicker/ColorSliderFoundation.ts +61 -0
- package/colorPicker/DataPartFoundation.ts +113 -0
- package/colorPicker/colorPicker.scss +113 -0
- package/colorPicker/constants.ts +11 -0
- package/colorPicker/foundation.ts +206 -0
- package/colorPicker/interface.ts +51 -0
- package/colorPicker/utils/convert.ts +228 -0
- package/colorPicker/utils/round.ts +3 -0
- package/colorPicker/utils/split.ts +40 -0
- package/colorPicker/variables.scss +28 -0
- package/image/previewImageFoundation.ts +22 -17
- package/lib/cjs/calendar/foundation.js +18 -0
- package/lib/cjs/colorPicker/AlphaSliderFoundation.d.ts +27 -0
- package/lib/cjs/colorPicker/AlphaSliderFoundation.js +40 -0
- package/lib/cjs/colorPicker/ColorChooseAreaFoundation.d.ts +42 -0
- package/lib/cjs/colorPicker/ColorChooseAreaFoundation.js +62 -0
- package/lib/cjs/colorPicker/ColorSliderFoundation.d.ts +26 -0
- package/lib/cjs/colorPicker/ColorSliderFoundation.js +40 -0
- package/lib/cjs/colorPicker/DataPartFoundation.d.ts +28 -0
- package/lib/cjs/colorPicker/DataPartFoundation.js +115 -0
- package/lib/cjs/colorPicker/colorPicker.css +84 -0
- package/lib/cjs/colorPicker/colorPicker.scss +113 -0
- package/lib/cjs/colorPicker/constants.d.ts +4 -0
- package/lib/cjs/colorPicker/constants.js +11 -0
- package/lib/cjs/colorPicker/foundation.d.ts +66 -0
- package/lib/cjs/colorPicker/foundation.js +150 -0
- package/lib/cjs/colorPicker/interface.d.ts +40 -0
- package/lib/cjs/colorPicker/interface.js +5 -0
- package/lib/cjs/colorPicker/utils/convert.d.ts +28 -0
- package/lib/cjs/colorPicker/utils/convert.js +306 -0
- package/lib/cjs/colorPicker/utils/round.d.ts +1 -0
- package/lib/cjs/colorPicker/utils/round.js +12 -0
- package/lib/cjs/colorPicker/utils/split.d.ts +18 -0
- package/lib/cjs/colorPicker/utils/split.js +40 -0
- package/lib/cjs/colorPicker/variables.scss +28 -0
- package/lib/cjs/image/previewImageFoundation.js +22 -18
- package/lib/cjs/slider/foundation.d.ts +1 -0
- package/lib/cjs/slider/foundation.js +15 -0
- package/lib/cjs/tabs/constants.d.ts +0 -1
- package/lib/cjs/tabs/constants.js +1 -2
- package/lib/cjs/tabs/tabs.css +199 -28
- package/lib/cjs/tabs/tabs.scss +297 -336
- package/lib/cjs/tabs/variables.scss +2 -21
- package/lib/cjs/tooltip/foundation.js +2 -1
- package/lib/cjs/tree/treeUtil.d.ts +1 -1
- package/lib/cjs/upload/constants.d.ts +1 -1
- package/lib/cjs/upload/foundation.d.ts +1 -0
- package/lib/cjs/upload/foundation.js +30 -14
- package/lib/es/calendar/foundation.js +18 -0
- package/lib/es/colorPicker/AlphaSliderFoundation.d.ts +27 -0
- package/lib/es/colorPicker/AlphaSliderFoundation.js +33 -0
- package/lib/es/colorPicker/ColorChooseAreaFoundation.d.ts +42 -0
- package/lib/es/colorPicker/ColorChooseAreaFoundation.js +55 -0
- package/lib/es/colorPicker/ColorSliderFoundation.d.ts +26 -0
- package/lib/es/colorPicker/ColorSliderFoundation.js +33 -0
- package/lib/es/colorPicker/DataPartFoundation.d.ts +28 -0
- package/lib/es/colorPicker/DataPartFoundation.js +108 -0
- package/lib/es/colorPicker/colorPicker.css +84 -0
- package/lib/es/colorPicker/colorPicker.scss +113 -0
- package/lib/es/colorPicker/constants.d.ts +4 -0
- package/lib/es/colorPicker/constants.js +6 -0
- package/lib/es/colorPicker/foundation.d.ts +66 -0
- package/lib/es/colorPicker/foundation.js +143 -0
- package/lib/es/colorPicker/interface.d.ts +40 -0
- package/lib/es/colorPicker/interface.js +1 -0
- package/lib/es/colorPicker/utils/convert.d.ts +28 -0
- package/lib/es/colorPicker/utils/convert.js +277 -0
- package/lib/es/colorPicker/utils/round.d.ts +1 -0
- package/lib/es/colorPicker/utils/round.js +5 -0
- package/lib/es/colorPicker/utils/split.d.ts +18 -0
- package/lib/es/colorPicker/utils/split.js +34 -0
- package/lib/es/colorPicker/variables.scss +28 -0
- package/lib/es/image/previewImageFoundation.js +22 -18
- package/lib/es/slider/foundation.d.ts +1 -0
- package/lib/es/slider/foundation.js +15 -0
- package/lib/es/tabs/constants.d.ts +0 -1
- package/lib/es/tabs/constants.js +1 -2
- package/lib/es/tabs/tabs.css +199 -28
- package/lib/es/tabs/tabs.scss +297 -336
- package/lib/es/tabs/variables.scss +2 -21
- package/lib/es/tooltip/foundation.js +2 -1
- package/lib/es/tree/treeUtil.d.ts +1 -1
- package/lib/es/upload/constants.d.ts +1 -1
- package/lib/es/upload/foundation.d.ts +1 -0
- package/lib/es/upload/foundation.js +30 -14
- package/package.json +3 -3
- package/slider/foundation.ts +13 -0
- package/tabs/constants.ts +1 -2
- package/tabs/tabs.scss +297 -336
- package/tabs/variables.scss +2 -21
- package/tooltip/foundation.ts +1 -1
- package/upload/foundation.ts +19 -3
package/lib/es/tabs/tabs.scss
CHANGED
|
@@ -145,87 +145,87 @@ $ignoreIcon: '.#{$prefix}-icon-checkbox_tick, .#{$prefix}-icon-radio, .#{$prefix
|
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
148
|
+
&-tab-single {
|
|
149
|
+
&.#{$module}-tab {
|
|
150
|
+
@include font-size-regular;
|
|
151
|
+
cursor: pointer;
|
|
152
|
+
box-sizing: border-box;
|
|
153
|
+
position: relative;
|
|
154
|
+
display: inline-block;
|
|
155
|
+
// float: left;
|
|
156
|
+
|
|
157
|
+
font-weight: $font-tabs_tab-fontWeight;
|
|
158
|
+
color: $color-tabs_tab_line_default-text-default;
|
|
159
|
+
|
|
160
|
+
user-select: none;
|
|
161
|
+
|
|
162
|
+
.#{$prefix}-icon:not(#{$ignoreIcon}) {
|
|
163
|
+
position: relative;
|
|
164
|
+
margin-right: $spacing-tabs_tab_icon-marginRight;
|
|
165
|
+
top: $spacing-tabs_tab_icon-top;
|
|
166
|
+
color: $color-tabs_tab-icon-default;
|
|
167
|
+
transition: color $transition_duration-tabs_tab_line-text $transition_function-tabs_tab_line-text $transition_delay-tabs_tab_line-text;//线条式tabs的 color的transition
|
|
168
|
+
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.#{$prefix}-icon.#{$module}-tab-icon-close {
|
|
172
|
+
margin-right: 0;
|
|
173
|
+
font-size: 14px;
|
|
174
|
+
color: var(--semi-color-text-2);
|
|
175
|
+
margin-left: 10px;
|
|
176
|
+
cursor: pointer;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
&:hover {
|
|
180
|
+
color: $color-tabs_tab_line_default-text-hover;
|
|
181
|
+
|
|
182
|
+
.#{$prefix}-icon:not(#{$ignoreIcon}) {
|
|
183
|
+
color: $color-tabs_tab-icon-hover;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
&:active {
|
|
188
|
+
color: $color-tabs_tab_line_default-text-active;
|
|
189
|
+
|
|
190
|
+
.#{$prefix}-icon:not(#{$ignoreIcon}) {
|
|
191
|
+
color: $color-tabs_tab-icon-active;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
&.#{$module}-tab-active {
|
|
197
|
+
|
|
198
|
+
&,
|
|
199
|
+
&:hover {
|
|
200
|
+
cursor: default;
|
|
201
|
+
// border-bottom: 2px solid $color-tabs_tab_line_indicator_selected-icon-default;
|
|
202
|
+
font-weight: $font-tabs_tab_active-fontWeight;
|
|
203
|
+
color: $color-tabs_tab_line_selected-text-default;
|
|
204
|
+
|
|
205
|
+
.#{$prefix}-icon:not(#{$ignoreIcon}) {
|
|
206
|
+
color: $color-tabs_tab_selected-icon-default;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.#{$prefix}-icon.#{$module}-tab-icon-close {
|
|
210
|
+
color: var(--semi-color-text-2);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.#{$prefix}-icon.#{$module}-tab-icon-close:hover {
|
|
215
|
+
color: var(--semi-color-text-1);
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
&.#{$module}-tab-disabled {
|
|
220
|
+
cursor: not-allowed;
|
|
221
|
+
color: $color-tabs_tab_line_disabled-text-default;
|
|
222
|
+
|
|
223
|
+
&:hover {
|
|
224
|
+
color: $color-tabs_tab_line_disabled-text-hover;
|
|
225
|
+
border-bottom: none;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
229
|
|
|
230
230
|
&-bar-collapse {
|
|
231
231
|
&,
|
|
@@ -323,8 +323,6 @@ $ignoreIcon: '.#{$prefix}-icon-checkbox_tick, .#{$prefix}-icon-radio, .#{$prefix
|
|
|
323
323
|
transform: scale($transform_scale-tabs_tab_line-item);
|
|
324
324
|
|
|
325
325
|
.#{$module}-tab {
|
|
326
|
-
font-size: $font-tabs_bar_large-fontSize;
|
|
327
|
-
line-height: $font-tabs_bar_large-lineHeight;
|
|
328
326
|
padding: $spacing-tabs_bar_line_tab-paddingTop $spacing-tabs_bar_line_tab-paddingRight $spacing-tabs_bar_line_tab-paddingBottom $spacing-tabs_bar_line_tab-paddingLeft;
|
|
329
327
|
transition: border-bottom-color $transition_duration-tabs_tab_line-border $transition_function-tabs_tab_line-border $transition_delay-tabs_tab_line-border,
|
|
330
328
|
color $transition_duration-tabs_tab_line-text $transition_function-tabs_tab_line-text $transition_delay-tabs_tab_line-text; //线条式tabs的border-color 的 transition
|
|
@@ -352,14 +350,10 @@ $ignoreIcon: '.#{$prefix}-icon-checkbox_tick, .#{$prefix}-icon-radio, .#{$prefix
|
|
|
352
350
|
}
|
|
353
351
|
|
|
354
352
|
&-small {
|
|
355
|
-
font-size: $font-tabs_bar_small-fontSize;
|
|
356
|
-
line-height: $font-tabs_bar_small-lineHeight;
|
|
357
353
|
padding: $spacing-tabs_bar_line_tab_small-paddingTop $spacing-tabs_bar_line_tab_small-paddingRight $spacing-tabs_bar_line_tab_small-paddingBottom $spacing-tabs_bar_line_tab_small-paddingLeft;
|
|
358
354
|
}
|
|
359
355
|
|
|
360
356
|
&-medium {
|
|
361
|
-
font-size: $font-tabs_bar_medium-fontSize;
|
|
362
|
-
line-height: $font-tabs_bar_medium-lineHeight;
|
|
363
357
|
padding: $spacing-tabs_bar_line_tab_medium-paddingTop $spacing-tabs_bar_line_tab_medium-paddingRight $spacing-tabs_bar_line_tab_medium-paddingBottom $spacing-tabs_bar_line_tab_medium-paddingLeft;
|
|
364
358
|
}
|
|
365
359
|
}
|
|
@@ -556,10 +550,7 @@ $ignoreIcon: '.#{$prefix}-icon-checkbox_tick, .#{$prefix}-icon-radio, .#{$prefix
|
|
|
556
550
|
.#{$module}-tab {
|
|
557
551
|
padding: $spacing-tabs_bar_button_tab-paddingY $spacing-tabs_bar_button_tab-paddingX;
|
|
558
552
|
border-radius: $radius-tabs_tab_button;
|
|
559
|
-
background-color: $color-tabs_tab_button-bg-default;
|
|
560
553
|
color: $color-tabs_tab_button-text-default;
|
|
561
|
-
font-size: $font-tabs_bar_button-fontSize;
|
|
562
|
-
line-height: $font-tabs_bar_button-lineHeight;
|
|
563
554
|
border: none;
|
|
564
555
|
transition: background-color $transition_duration-tabs-tab_button-bg $transition_function-tabs_tab_button-bg $transition_delay-tabs_tab_button-bg,//按钮tabs的背景色的transition
|
|
565
556
|
color $transition_duration-tabs_tab_line-text $transition_function-tabs_tab_line-text $transition_delay-tabs_tab_line-text;//按钮式tabs的 color的transition
|
|
@@ -568,7 +559,6 @@ $ignoreIcon: '.#{$prefix}-icon-checkbox_tick, .#{$prefix}-icon-radio, .#{$prefix
|
|
|
568
559
|
|
|
569
560
|
&:hover {
|
|
570
561
|
border: none;
|
|
571
|
-
color: $color-tabs_tab_button-text-hover;
|
|
572
562
|
background-color: $color-tabs_tab_button-bg-hover;
|
|
573
563
|
}
|
|
574
564
|
|
|
@@ -578,7 +568,6 @@ $ignoreIcon: '.#{$prefix}-icon-checkbox_tick, .#{$prefix}-icon-radio, .#{$prefix
|
|
|
578
568
|
}
|
|
579
569
|
|
|
580
570
|
&:active {
|
|
581
|
-
color: $color-tabs_tab_button-text-active;
|
|
582
571
|
background-color: $color-tabs_tab_button-bg-active;
|
|
583
572
|
}
|
|
584
573
|
}
|
|
@@ -594,31 +583,6 @@ $ignoreIcon: '.#{$prefix}-icon-checkbox_tick, .#{$prefix}-icon-radio, .#{$prefix
|
|
|
594
583
|
}
|
|
595
584
|
}
|
|
596
585
|
|
|
597
|
-
&-bar-slash {
|
|
598
|
-
|
|
599
|
-
.#{$module}-tab {
|
|
600
|
-
padding: $spacing-tabs_bar_slash_tab-paddingY $spacing-tabs_bar_slash_tab-paddingX;
|
|
601
|
-
font-size: $font-tabs_bar_slash-fontSize;
|
|
602
|
-
line-height: $font-tabs_bar_slash-lineHeight;
|
|
603
|
-
|
|
604
|
-
&:nth-of-type(1) {
|
|
605
|
-
padding-left: 0;
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
&:not(:last-of-type) {
|
|
609
|
-
margin-right: $spacing-tabs_bar_slash-marginRight;
|
|
610
|
-
|
|
611
|
-
&:after {
|
|
612
|
-
content: "/";
|
|
613
|
-
font-size: $font-tabs_tab_slash_line-fontSize;
|
|
614
|
-
// font-weight: $font-tabs_tab_slash_line-fontWeight;
|
|
615
|
-
margin-left: $spacing-tabs_bar_slash_line_marginLeft;
|
|
616
|
-
color: $color-tabs_tab_slash_line;
|
|
617
|
-
}
|
|
618
|
-
}
|
|
619
|
-
}
|
|
620
|
-
}
|
|
621
|
-
|
|
622
586
|
&-content {
|
|
623
587
|
width: 100%;
|
|
624
588
|
padding: $spacing-tabs_content-paddingY $spacing-tabs_content-paddingX;
|
|
@@ -721,227 +685,224 @@ $ignoreIcon: '.#{$prefix}-icon-checkbox_tick, .#{$prefix}-icon-radio, .#{$prefix
|
|
|
721
685
|
animation-fill-mode: forwards;
|
|
722
686
|
}
|
|
723
687
|
|
|
724
|
-
|
|
725
|
-
|
|
688
|
+
&-tab-line {
|
|
689
|
+
&.#{$module}-tab-top {
|
|
726
690
|
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
// border-bottom: $width-tabs_bar_line_tab-border solid transparent;
|
|
691
|
+
&.#{$module}-tab {
|
|
692
|
+
font-size: $font-tabs_bar_large-fontSize;
|
|
693
|
+
padding: $spacing-tabs_bar_line_tab-paddingTop $spacing-tabs_bar_line_tab-paddingRight $spacing-tabs_bar_line_tab-paddingBottom $spacing-tabs_bar_line_tab-paddingLeft;
|
|
694
|
+
transition: border-bottom-color $transition_duration-tabs_tab_line-border $transition_function-tabs_tab_line-border $transition_delay-tabs_tab_line-border,
|
|
695
|
+
color $transition_duration-tabs_tab_line-text $transition_function-tabs_tab_line-text $transition_delay-tabs_tab_line-text; //线条式tabs的border-color 的 transition
|
|
696
|
+
border-bottom: $width-tabs_bar_line_tab-border solid transparent;
|
|
734
697
|
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
// }
|
|
944
|
-
// }
|
|
698
|
+
&:nth-of-type(1) {
|
|
699
|
+
padding-left: 0;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
&:hover {
|
|
703
|
+
border-bottom: $width-tabs_bar_line_tab-border solid $color-tabs_tab_line_default-border-hover;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
&:focus-visible {
|
|
707
|
+
outline: $width-tabs-outline solid $color-tabs_tab-outline-focus;
|
|
708
|
+
outline-offset: $width-tabs_bar_line-outline-offset;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
&:active {
|
|
712
|
+
border-bottom: $width-tabs_bar_line_tab-border solid $color-tabs_tab_line_default-border-active;
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
// &:not(:last-of-type) {
|
|
716
|
+
// margin-right: $spacing-tabs_bar_line_tab-marginRight;
|
|
717
|
+
// }
|
|
718
|
+
|
|
719
|
+
&-small {
|
|
720
|
+
font-size: $font-tabs_bar_small-fontSize;
|
|
721
|
+
padding: $spacing-tabs_bar_line_tab_small-paddingTop $spacing-tabs_bar_line_tab_small-paddingRight $spacing-tabs_bar_line_tab_small-paddingBottom $spacing-tabs_bar_line_tab_small-paddingLeft;
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
&-medium {
|
|
725
|
+
font-size: $font-tabs_bar_medium-fontSize;
|
|
726
|
+
padding: $spacing-tabs_bar_line_tab_medium-paddingTop $spacing-tabs_bar_line_tab_medium-paddingRight $spacing-tabs_bar_line_tab_medium-paddingBottom $spacing-tabs_bar_line_tab_medium-paddingLeft;
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
&.#{$module}-tab-active {
|
|
731
|
+
|
|
732
|
+
&,
|
|
733
|
+
&:hover {
|
|
734
|
+
border-bottom: $width-tabs_bar_line_tab-border solid $color-tabs_tab_line_indicator_selected-icon-default;
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
&.#{$module}-tab-left {
|
|
740
|
+
|
|
741
|
+
&.#{$module}-tab {
|
|
742
|
+
padding: $spacing-tabs_bar_line_tab_left-padding;
|
|
743
|
+
border-left: $width-tabs_bar_line_tab-border solid transparent;
|
|
744
|
+
transition: background-color $transition_duration-tabs-tab_button-bg $transition_function-tabs_tab_button-bg $transition_delay-tabs_tab_button-bg,//按钮tabs的背景色的transition
|
|
745
|
+
color $transition_duration-tabs_tab_line-text $transition_function-tabs_tab_line-text $transition_delay-tabs_tab_line-text;//按钮式tabs的 color的transition
|
|
746
|
+
|
|
747
|
+
&:hover {
|
|
748
|
+
border-left: $width-tabs_bar_line_tab-border solid $color-tabs_tab_line_default-border-hover;
|
|
749
|
+
background-color: $color-tabs_tab_line_vertical-bg-hover;
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
&:focus-visible {
|
|
753
|
+
outline: $width-tabs-outline solid $color-tabs_tab-outline-focus;
|
|
754
|
+
outline-offset: $width-tabs-outline-offset;
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
&:active {
|
|
758
|
+
border-left: $width-tabs_bar_line_tab-border solid $color-tabs_tab_line_default-border-active;
|
|
759
|
+
background-color: $color-tabs_tab_line_vertical-bg-active;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
&-small {
|
|
763
|
+
padding: $spacing-tabs_bar_line_tab_left_small-padding;
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
&-medium {
|
|
767
|
+
padding: $spacing-tabs_bar_line_tab_left_medium-padding;
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
&.#{$module}-tab-active {
|
|
772
|
+
background-color: $color-tabs_tab_line_vertical_selected-bg-default;
|
|
773
|
+
|
|
774
|
+
&,
|
|
775
|
+
&:hover {
|
|
776
|
+
border-left: $width-tabs_bar_line_tab-border solid $color-tabs_tab_line_indicator_selected-icon-default;
|
|
777
|
+
background-color: $color-tabs_tab_line_vertical_selected-bg-default;
|
|
778
|
+
}
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
&-tab-card {
|
|
784
|
+
&.#{$module}-tab-top {
|
|
785
|
+
|
|
786
|
+
&.#{$module}-tab {
|
|
787
|
+
border: $width-tabs_bar_card-border solid transparent;
|
|
788
|
+
border-bottom: none;
|
|
789
|
+
border-radius: $radius-tabs_tab_card;
|
|
790
|
+
|
|
791
|
+
&:hover {
|
|
792
|
+
border-bottom: none;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
&.#{$module}-tab-active {
|
|
798
|
+
|
|
799
|
+
&,
|
|
800
|
+
&:hover {
|
|
801
|
+
padding: $spacing-tabs_bar_card_tab_active-paddingTop $spacing-tabs_bar_card_tab_active-paddingRight $spacing-tabs_bar_card_tab_active-paddingBottom $spacing-tabs_bar_card_tab_active-paddingLeft;
|
|
802
|
+
border: $width-tabs_bar_card-border solid $color-tabs_tab_card_indicator_selected-icon-default;
|
|
803
|
+
border-bottom: $width-tabs_bar_card-border solid $color-tabs_tab_card_selected-bg-default;
|
|
804
|
+
background: transparent;
|
|
805
|
+
// padding-bottom: $spacing-tight + 1;
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
&.#{$module}-tab-left {
|
|
811
|
+
|
|
812
|
+
&.#{$module}-tab {
|
|
813
|
+
border: $width-tabs_bar_card-border solid transparent;
|
|
814
|
+
border-right: none;
|
|
815
|
+
border-radius: $radius-tabs_tab_card_left;
|
|
816
|
+
|
|
817
|
+
&:hover {
|
|
818
|
+
border-right: none;
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
&.#{$module}-tab-active {
|
|
824
|
+
|
|
825
|
+
&:after {
|
|
826
|
+
content: " ";
|
|
827
|
+
width: 1px;
|
|
828
|
+
position: absolute;
|
|
829
|
+
right: -1px;
|
|
830
|
+
top: 0;
|
|
831
|
+
bottom: 0;
|
|
832
|
+
background: $color-tabs_tab_card_selected-bg-default;
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
&,
|
|
836
|
+
&:hover {
|
|
837
|
+
padding: $spacing-tabs_bar_card_tab_left_active-paddingY $spacing-tabs_bar_card_tab_left_active-paddingX;
|
|
838
|
+
border: $width-tabs_bar_card-border solid $color-tabs_tab_card_indicator_selected-icon-default;
|
|
839
|
+
border-right: none;
|
|
840
|
+
background: transparent;
|
|
841
|
+
// padding-bottom: $spacing-tight + 1;
|
|
842
|
+
}
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
&.#{$module}-tab {
|
|
847
|
+
padding: $spacing-tabs_bar_card_tab-paddingY $spacing-tabs_bar_card_tab-paddingX;
|
|
848
|
+
transition: background-color $transition_duration-tabs_tab_card-bg $transition_function-tabs_tab_card-bg $transition_delay-tabs_tab_card-bg, //卡片式tabs的bg的transition
|
|
849
|
+
color $transition_duration-tabs_tab_line-text $transition_function-tabs_tab_line-text $transition_delay-tabs_tab_line-text;//卡片式tabs的 color的transition
|
|
850
|
+
|
|
851
|
+
transform: scale($transform_scale-tabs_tab_card-item);
|
|
852
|
+
|
|
853
|
+
&:hover {
|
|
854
|
+
background: $color-tabs_tab_card-bg-hover;
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
&:focus-visible {
|
|
858
|
+
outline: $width-tabs-outline solid $color-tabs_tab-outline-focus;
|
|
859
|
+
outline-offset: $width-tabs-outline-offset;
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
&:active {
|
|
863
|
+
background: $color-tabs_tab_card-bg-active;
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
&-tab-button {
|
|
869
|
+
border: none;
|
|
870
|
+
|
|
871
|
+
&.#{$module}-tab {
|
|
872
|
+
padding: $spacing-tabs_bar_button_tab-paddingY $spacing-tabs_bar_button_tab-paddingX;
|
|
873
|
+
border-radius: $radius-tabs_tab_button;
|
|
874
|
+
color: $color-tabs_tab_button-text-default;
|
|
875
|
+
border: none;
|
|
876
|
+
transition: background-color $transition_duration-tabs-tab_button-bg $transition_function-tabs_tab_button-bg $transition_delay-tabs_tab_button-bg,//按钮tabs的背景色的transition
|
|
877
|
+
color $transition_duration-tabs_tab_line-text $transition_function-tabs_tab_line-text $transition_delay-tabs_tab_line-text;//按钮式tabs的 color的transition
|
|
878
|
+
|
|
879
|
+
transform: scale($transform_scale-tabs_tab_button-item);
|
|
880
|
+
|
|
881
|
+
&:hover {
|
|
882
|
+
border: none;
|
|
883
|
+
background-color: $color-tabs_tab_button-bg-hover;
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
&:focus-visible {
|
|
887
|
+
outline: $width-tabs-outline solid $color-tabs_tab-outline-focus;
|
|
888
|
+
outline-offset: $width-tabs-outline-offset;
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
&:active {
|
|
892
|
+
background-color: $color-tabs_tab_button-bg-active;
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
&.#{$module}-tab-active {
|
|
897
|
+
|
|
898
|
+
&,
|
|
899
|
+
&:hover {
|
|
900
|
+
color: $color-tabs_tab_button_selected-text-default;
|
|
901
|
+
border: none;
|
|
902
|
+
background-color: $color-tabs_tab_button_selected-bg-default;
|
|
903
|
+
}
|
|
904
|
+
}
|
|
905
|
+
}
|
|
945
906
|
}
|
|
946
907
|
|
|
947
908
|
@import "./rtl.scss";
|