File tree Expand file tree Collapse file tree 3 files changed +20
-8
lines changed Expand file tree Collapse file tree 3 files changed +20
-8
lines changed Original file line number Diff line number Diff line change 24
24
25
25
.ui.progress {
26
26
position : relative ;
27
- display : block ;
27
+ display : flex ;
28
28
max-width : 100% ;
29
29
border : @border ;
30
30
margin : @margin ;
87
87
text-align : @progressTextAlign ;
88
88
}
89
89
90
+ & when (@variationProgressRightAligned ) {
91
+ .ui.right.aligned.progress {
92
+ justify-content : flex-end ;
93
+ & .bar > .progress {
94
+ left : @progressRightAlignedLeft ;
95
+ right : @progressRightAlignedRight ;
96
+ }
97
+ }
98
+ }
99
+
90
100
/* Label */
91
101
.ui.progress > .label {
92
102
position : absolute ;
229
239
}
230
240
}
231
241
232
- & when (@variationProgressMultiple ) {
233
- /* Multiple */
234
- .ui.multiple.progress {
235
- display : flex ;
236
- }
237
- }
238
242
239
243
/* ******************************
240
244
States
316
320
animation : progress- active @activePulseDuration @defaultEasing infinite ;
317
321
transform-origin : left ;
318
322
}
323
+ & when (@variationProgressRightAligned ) {
324
+ .ui.active.right.aligned.progress .bar ::after {
325
+ transform-origin : right ;
326
+ }
327
+ }
328
+
319
329
@keyframes progress- active {
320
330
0% {
321
331
opacity : @activePulseMaxOpacity ;
396
406
}
397
407
.ui.progress.attached ,
398
408
.ui.progress.attached .bar {
399
- display : block ;
400
409
height : @attachedHeight ;
401
410
padding : 0 ;
402
411
overflow : hidden ;
Original file line number Diff line number Diff line change 464
464
@variationProgressActive: true;
465
465
@variationProgressAttached: true;
466
466
@variationProgressSpeeds: true;
467
+ @variationProgressRightAligned: true;
467
468
@variationProgressSizes: @variationAllSizes;
468
469
469
470
/* Rating */
Original file line number Diff line number Diff line change 44
44
@progressTextShadow: none;
45
45
@progressFontWeight: @bold;
46
46
@progressTextAlign: left;
47
+ @progressRightAlignedRight: @progressLeft;
48
+ @progressRightAlignedLeft: @progressRight;
47
49
48
50
/* Label */
49
51
@labelWidth: 100%;
You can’t perform that action at this time.
0 commit comments