@@ -113,7 +113,7 @@ select{
113113font-family : var (--theme-font-ui-name );
114114font-weight : var (--theme-font-ui-weight );
115115font-style : var (--theme-font-ui-style );
116- line-height : 2 ;
116+ line-height : 2.5 ;
117117min-height : 2.5em ;
118118min-width : 0 ;
119119width : 100% ;
@@ -247,7 +247,7 @@ input[type="text"]{
247247font-family : var (--theme-font-ui-name );
248248font-weight : var (--theme-font-ui-weight );
249249font-style : var (--theme-font-ui-style );
250- line-height : 1.6 em ;
250+ line-height : 1.6 ;
251251height : 2.5em ;
252252min-width : 0 ;
253253width : 100% ;
@@ -1037,6 +1037,57 @@ input[type="range"]:disabled::-moz-range-progress{
10371037top : inherit;
10381038}
10391039
1040+ .form-input-button-ring input [type = "checkbox" ]+ label ,
1041+ .form-input-button-ring input [type = "radio" ]+ label ,
1042+ .form-input-button-ring input [type = "color" ]+ label ,
1043+ .form-input-button-ring input [type = "file" ]+ label {
1044+ transition : background-color var (--layout-timing-extra-fast ), border-color var (--layout-timing-extra-fast ), color var (--layout-timing-extra-fast ), box-shadow var (--layout-timing-extra-fast );
1045+ }
1046+
1047+ .form-input-button-ring input [type = "checkbox" ]: focus + label ,
1048+ .form-input-button-ring input [type = "checkbox" ]: hover + label ,
1049+ .form-input-button-ring input [type = "radio" ]: focus + label ,
1050+ .form-input-button-ring input [type = "radio" ]: hover + label ,
1051+ .form-input-button-ring input [type = "color" ]: focus + label ,
1052+ .form-input-button-ring input [type = "color" ]: hover + label ,
1053+ .form-input-button-ring input [type = "file" ]: focus + label ,
1054+ .form-input-button-ring input [type = "file" ]: hover + label {
1055+ box-shadow : var (--form-ring-hover );
1056+ }
1057+
1058+ .form-input-button-ring input [type = "checkbox" ]: active + label ,
1059+ .form-input-button-ring input [type = "radio" ]: active + label ,
1060+ .form-input-button-ring input [type = "color" ]: active + label ,
1061+ .form-input-button-ring input [type = "file" ]: active + label {
1062+ box-shadow : var (--form-ring-accent );
1063+ }
1064+
1065+ .form-input-button-ring input [type = "checkbox" ]: checked + label ,
1066+ .form-input-button-ring input [type = "radio" ]: checked + label ,
1067+ .form-input-button-ring input [type = "color" ]: checked + label ,
1068+ .form-input-button-ring input [type = "file" ]: checked + label {
1069+ box-shadow : var (--form-ring-accent );
1070+ }
1071+
1072+ .form-input-button-ring input [type = "checkbox" ]: disabled + label ,
1073+ .form-input-button-ring input [type = "checkbox" ]: disabled : hover + label ,
1074+ .form-input-button-ring input [type = "checkbox" ]: disabled : focus + label ,
1075+ .form-input-button-ring input [type = "checkbox" ]: disabled : active + label ,
1076+ .form-input-button-ring input [type = "radio" ]: disabled + label ,
1077+ .form-input-button-ring input [type = "radio" ]: disabled : hover + label ,
1078+ .form-input-button-ring input [type = "radio" ]: disabled : focus + label ,
1079+ .form-input-button-ring input [type = "radio" ]: disabled : active + label ,
1080+ .form-input-button-ring input [type = "color" ]: disabled + label ,
1081+ .form-input-button-ring input [type = "color" ]: disabled : hover + label ,
1082+ .form-input-button-ring input [type = "color" ]: disabled : focus + label ,
1083+ .form-input-button-ring input [type = "color" ]: disabled : active + label ,
1084+ .form-input-button-ring input [type = "file" ]: disabled + label ,
1085+ .form-input-button-ring input [type = "file" ]: disabled : hover + label ,
1086+ .form-input-button-ring input [type = "file" ]: disabled : focus + label ,
1087+ .form-input-button-ring input [type = "file" ]: disabled : active + label {
1088+ box-shadow : none;
1089+ }
1090+
10401091.form-input-button-line input [type = "checkbox" ]+ label : after ,
10411092.form-input-button-line input [type = "radio" ]+ label : after ,
10421093.form-input-button-line input [type = "color" ]+ label : after ,
@@ -1349,11 +1400,10 @@ input[type="range"]:disabled::-moz-range-progress{
13491400
13501401.form-group .form-group-text ,
13511402.form-group .button ,
1352- .form-group .button-line : after ,
1353- .form-group .form-input-button-line input [type = "checkbox" ]+ label : after ,
1354- .form-group .form-input-button-line input [type = "radio" ]+ label : after ,
1355- .form-group .form-input-button-line input [type = "color" ]+ label : after ,
1356- .form-group .form-input-button-line input [type = "file" ]+ label : after ,
1403+ .form-group .form-input-button input [type = "checkbox" ]+ label ,
1404+ .form-group .form-input-button input [type = "radio" ]+ label ,
1405+ .form-group .form-input-button input [type = "color" ]+ label ,
1406+ .form-group .form-input-button input [type = "file" ]+ label ,
13571407.form-group > select ,
13581408.form-group > input [type = "email" ],
13591409.form-group > input [type = "number" ],
@@ -1373,12 +1423,24 @@ input[type="range"]:disabled::-moz-range-progress{
13731423z-index : 1 ;
13741424}
13751425
1426+ .form-group .button-line : after ,
1427+ .form-group .form-input-button-line input [type = "checkbox" ]+ label : after ,
1428+ .form-group .form-input-button-line input [type = "radio" ]+ label : after ,
1429+ .form-group .form-input-button-line input [type = "color" ]+ label : after ,
1430+ .form-group .form-input-button-line input [type = "file" ]+ label : after {
1431+ border-radius : 0 ;
1432+ }
1433+
13761434.form-group .form-group-text {
13771435flex-shrink : 0 ;
13781436}
13791437
13801438.form-group .form-group-text : focus ,
13811439.form-group .button : focus ,
1440+ .form-group .form-input-button input [type = "checkbox" ]: focus + label ,
1441+ .form-group .form-input-button input [type = "radio" ]: focus + label ,
1442+ .form-group .form-input-button input [type = "color" ]: focus + label ,
1443+ .form-group .form-input-button input [type = "file" ]: focus + label ,
13821444.form-group > select : focus ,
13831445.form-group > input [type = "email" ]: focus ,
13841446.form-group > input [type = "number" ]: focus ,
@@ -1392,22 +1454,52 @@ input[type="range"]:disabled::-moz-range-progress{
13921454}
13931455
13941456.form-group .form-group-text : hover ,
1457+ .form-group .form-group-text : active ,
13951458.form-group .button : hover ,
1459+ .form-group .button : active ,
1460+ .form-group .form-input-button input [type = "checkbox" ]: hover + label ,
1461+ .form-group .form-input-button input [type = "checkbox" ]: active + label ,
1462+ .form-group .form-input-button input [type = "radio" ]: hover + label ,
1463+ .form-group .form-input-button input [type = "radio" ]: active + label ,
1464+ .form-group .form-input-button input [type = "color" ]: hover + label ,
1465+ .form-group .form-input-button input [type = "color" ]: active + label ,
1466+ .form-group .form-input-button input [type = "file" ]: hover + label ,
1467+ .form-group .form-input-button input [type = "file" ]: active + label ,
13961468.form-group > select : hover ,
1469+ .form-group > select : active ,
13971470.form-group > input [type = "email" ]: hover ,
1471+ .form-group > input [type = "email" ]: active ,
13981472.form-group > input [type = "number" ]: hover ,
1473+ .form-group > input [type = "number" ]: active ,
13991474.form-group > input [type = "password" ]: hover ,
1475+ .form-group > input [type = "password" ]: active ,
14001476.form-group > input [type = "search" ]: hover ,
1477+ .form-group > input [type = "search" ]: active ,
14011478.form-group > input [type = "tel" ]: hover ,
1479+ .form-group > input [type = "tel" ]: active ,
14021480.form-group > input [type = "text" ]: hover ,
1481+ .form-group > input [type = "text" ]: active ,
14031482.form-group > input [type = "color" ]: hover ,
1404- .form-group > input [type = "range" ]: hover {
1483+ .form-group > input [type = "color" ]: active ,
1484+ .form-group > input [type = "range" ]: hover ,
1485+ .form-group > input [type = "range" ]: active {
1486+ z-index : 3 ;
1487+ }
1488+
1489+ .form-group .form-input-button input [type = "checkbox" ]: checked + label ,
1490+ .form-group .form-input-button input [type = "radio" ]: checked + label ,
1491+ .form-group .form-input-button input [type = "color" ]: checked + label ,
1492+ .form-group .form-input-button input [type = "file" ]: checked + label {
14051493z-index : 3 ;
14061494}
14071495
14081496.form-group .form-group-text : first-child ,
14091497.form-group .button : first-child ,
14101498.form-group .button-line : first-child : after ,
1499+ .form-group .form-input-button : first-child input [type = "checkbox" ]+ label ,
1500+ .form-group .form-input-button : first-child input [type = "radio" ]+ label ,
1501+ .form-group .form-input-button : first-child input [type = "color" ]+ label ,
1502+ .form-group .form-input-button : first-child input [type = "file" ]+ label ,
14111503.form-group .form-input-button-line : first-child input [type = "checkbox" ]+ label : after ,
14121504.form-group .form-input-button-line : first-child input [type = "radio" ]+ label : after ,
14131505.form-group .form-input-button-line : first-child input [type = "color" ]+ label : after ,
@@ -1427,6 +1519,10 @@ input[type="range"]:disabled::-moz-range-progress{
14271519.form-group .form-group-text : last-child ,
14281520.form-group .button : last-child ,
14291521.form-group .button-line : last-child : after ,
1522+ .form-group .form-input-button : last-child input [type = "checkbox" ]+ label ,
1523+ .form-group .form-input-button : last-child input [type = "radio" ]+ label ,
1524+ .form-group .form-input-button : last-child input [type = "color" ]+ label ,
1525+ .form-group .form-input-button : last-child input [type = "file" ]+ label ,
14301526.form-group .form-input-button-line : last-child input [type = "checkbox" ]+ label : after ,
14311527.form-group .form-input-button-line : last-child input [type = "radio" ]+ label : after ,
14321528.form-group .form-input-button-line : last-child input [type = "color" ]+ label : after ,
0 commit comments