File tree Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Original file line number Diff line number Diff line change 33
33
border-radius : @borderRadius ;
34
34
}
35
35
36
+ & when (@variationProgressBasic ) {
37
+ .ui.basic.progress {
38
+ background : transparent ;
39
+ border : none ;
40
+ box-shadow : none ;
41
+ }
42
+ }
43
+
36
44
.ui.progress :first-child {
37
45
margin : @firstMargin ;
38
46
}
50
58
line-height : 1 ;
51
59
position : @barPosition ;
52
60
width : @barInitialWidth ;
53
- min-width : @barMinWidth ;
54
61
background : @barBackground ;
55
62
border-radius : @barBorderRadius ;
56
63
transition : @barTransition ;
57
64
overflow : hidden ;
65
+ & :not (:empty ) {
66
+ min-width : @barMinWidth ;
67
+ }
58
68
}
59
- .ui.ui.ui.progress :not ([data- percent]):not (.indeterminate ) .bar ,
60
- .ui.ui.ui.progress [data- percent= " 0" ]:not (.indeterminate ) .bar {
69
+ .ui.ui.ui.progress :not ([data- percent]):not (.indeterminate ) .bar : not ( :empty ) ,
70
+ .ui.ui.ui.progress [data- percent= " 0" ]:not (.indeterminate ) .bar : not ( :empty ) {
61
71
background : transparent ;
62
72
}
63
73
.ui.progress [data- percent= " 0" ] .bar .progress {
328
338
329
339
.ui.active.progress .bar {
330
340
position : relative ;
331
- min-width : @activeMinWidth ;
341
+ & :not (:empty ) {
342
+ min-width : @activeMinWidth ;
343
+ }
332
344
}
333
345
.ui.active.progress .bar ::after {
334
346
content : " " ;
384
396
Inverted
385
397
--------------- */
386
398
387
- .ui.inverted.progress {
399
+ .ui.inverted.progress : not ( .basic ) {
388
400
background : @invertedBackground ;
389
401
border : @invertedBorder ;
390
402
}
Original file line number Diff line number Diff line change 643
643
/* Progress */
644
644
@variationProgressInverted: true;
645
645
@variationProgressDisabled: true;
646
+ @variationProgressBasic: true;
646
647
@variationProgressIndicating: true;
647
648
@variationProgressIndeterminate: true;
648
649
@variationProgressSliding: true;
You can’t perform that action at this time.
0 commit comments