File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 468
468
@c : @formStates [@@state ][color ];
469
469
@bg : @formStates [@@state ][background ];
470
470
@bdc : @formStates [@@state ][borderColor];
471
+ @lbg : @formStates [@@state ][labelBackground];
471
472
472
473
/* On Form */
473
474
.ui.form.@{state} .@{state} .message :not (:empty ) {
495
496
}
496
497
497
498
.ui.ui.form .fields.@{state} .field label ,
499
+ .ui.ui.form .fields.@{state} .field .ui.label :not (.corner ),
498
500
.ui.ui.form .field.@{state} label ,
501
+ .ui.ui.form .field.@{state} .ui.label :not (.corner ),
499
502
.ui.ui.form .fields.@{state} .field .input ,
500
503
.ui.ui.form .field.@{state} .input {
501
504
color : @c ;
502
505
}
503
506
507
+ .ui.form .fields.@{state} .field .ui.label ,
508
+ .ui.form .field.@{state} .ui.label {
509
+ background-color : @lbg ;
510
+ }
511
+
504
512
.ui.form .fields.@{state} .field .corner.label ,
505
513
.ui.form .field.@{state} .corner.label {
506
514
border-color : @c ;
Original file line number Diff line number Diff line change 497
497
borderRadius: @inputErrorBorderRadius ;
498
498
boxShadow: @inputErrorBoxShadow ;
499
499
cornerLabelColor: @white ;
500
+ labelBackground: darken (@formErrorBorder , -8 );
500
501
501
502
dropdownLabelColor: @dropdownErrorLabelColor ;
502
503
dropdownLabelBackground: @dropdownErrorLabelBackground ;
524
525
borderRadius: @inputInfoBorderRadius ;
525
526
boxShadow: @inputInfoBoxShadow ;
526
527
cornerLabelColor: @white ;
528
+ labelBackground: darken (@formInfoBorder , -8 );
527
529
528
530
dropdownLabelColor: @dropdownInfoLabelColor ;
529
531
dropdownLabelBackground: @dropdownInfoLabelBackground ;
551
553
borderRadius: @inputSuccessBorderRadius ;
552
554
boxShadow: @inputSuccessBoxShadow ;
553
555
cornerLabelColor: @white ;
556
+ labelBackground: darken (@formSuccessBorder , -8 );
554
557
555
558
dropdownLabelColor: @dropdownSuccessLabelColor ;
556
559
dropdownLabelBackground: @dropdownSuccessLabelBackground ;
578
581
borderRadius: @inputWarningBorderRadius ;
579
582
boxShadow: @inputWarningBoxShadow ;
580
583
cornerLabelColor: @white ;
584
+ labelBackground: darken (@formWarningBorder , -8 );
581
585
582
586
dropdownLabelColor: @dropdownWarningLabelColor ;
583
587
dropdownLabelBackground: @dropdownWarningLabelBackground ;
You can’t perform that action at this time.
0 commit comments