@@ -22,6 +22,16 @@ input[type="text"] {
2222 -moz-appearance : textfield;
2323}
2424
25+ input [type = "number" ] {
26+ text-align : center;
27+ }
28+
29+ input [type = number ]:: -webkit-inner-spin-button ,
30+ input [type = number ]:: -webkit-outer-spin-button {
31+ -webkit-appearance : none;
32+ margin : 0 ;
33+ }
34+
2535input [type = "email" ]: hover ,
2636input [type = "number" ]: hover ,
2737input [type = "password" ]: hover ,
@@ -84,7 +94,8 @@ input[type="number"][disabled]~.input-helper,
8494input [type = "password" ][disabled ]~ . input-helper ,
8595input [type = "search" ][disabled ]~ . input-helper ,
8696input [type = "tel" ][disabled ]~ . input-helper ,
87- input [type = "text" ][disabled ]~ . input-helper {
97+ input [type = "text" ][disabled ]~ . input-helper ,
98+ input [type = "range" ][disabled ]~ . input-helper {
8899 color : rgb ( var ( --form-input-text-disabled-helper-text ) ) ;
89100}
90101
@@ -197,22 +208,13 @@ input[type="color"]+.input-label-button:before {
197208 position : relative;
198209}
199210
200- . form-indent-1 ,
201- . form-indent-1 ,
202- . form-indent-1 {
211+ . form-indent {
203212 margin-left : 2.25em ;
204213}
205214
206- . form-indent-2 ,
207- . form-indent-2 ,
208- . form-indent-2 {
209- margin-left : 4.5em ;
210- }
211-
212- . form-indent-3 ,
213- . form-indent-3 ,
214- . form-indent-3 {
215- margin-left : 6.75em ;
215+ . form-inline {
216+ display : inline-block;
217+ margin-right : 1.5em ;
216218}
217219
218220input [type = "checkbox" ],
@@ -460,7 +462,7 @@ input[type="range"]::-webkit-slider-thumb {
460462 width : 1em ;
461463 cursor : pointer;
462464 box-sizing : border-box;
463- z-index : 2 ;
465+ /* z-index: 2; */
464466 transform : scale ( 1 ) ;
465467 transition : all var ( --animation-speed-fast ) ease-in-out;
466468 -webkit-appearance : none;
@@ -524,7 +526,7 @@ input[type="range"]::-moz-range-thumb {
524526 width : 1em ;
525527 cursor : pointer;
526528 box-sizing : border-box;
527- z-index : 2 ;
529+ /* z-index: 2; */
528530 transform : scale ( 1 ) ;
529531 transition : all var ( --animation-speed-fast ) ease-in-out;
530532 -webkit-appearance : none;
@@ -574,3 +576,95 @@ input[type="range"][disabled]:focus::-moz-range-thumb {
574576input [type = "range" ][disabled ]:: -moz-range-progress {
575577 background-color : rgb ( var ( --gray-08 ) ) ;
576578}
579+
580+ . form-group {
581+ margin : 0 0 1em 0 ;
582+ display : inline-flex;
583+ justify-content : center;
584+ align-items : stretch;
585+ width : 100% ;
586+ }
587+
588+ . form-group button ,
589+ . form-group . button ,
590+ . form-group > input [type = "email" ],
591+ . form-group > input [type = "number" ],
592+ . form-group > input [type = "password" ],
593+ . form-group > input [type = "search" ],
594+ . form-group > input [type = "tel" ],
595+ . form-group > input [type = "text" ] {
596+ margin : 0 ;
597+ border-radius : 0 ;
598+ }
599+
600+ . form-group > input [type = "email" ],
601+ . form-group > input [type = "number" ],
602+ . form-group > input [type = "password" ],
603+ . form-group > input [type = "search" ],
604+ . form-group > input [type = "tel" ],
605+ . form-group > input [type = "text" ] {
606+ padding : 0 0.5em ;
607+ }
608+
609+ . form-group > input [type = "email" ],
610+ . form-group > input [type = "number" ],
611+ . form-group > input [type = "password" ],
612+ . form-group > input [type = "search" ],
613+ . form-group > input [type = "tel" ],
614+ . form-group > input [type = "text" ] {
615+ z-index : 1 ;
616+ }
617+
618+ . form-group > input [type = "email" ]: hover ,
619+ . form-group > input [type = "number" ]: hover ,
620+ . form-group > input [type = "password" ]: hover ,
621+ . form-group > input [type = "search" ]: hover ,
622+ . form-group > input [type = "tel" ]: hover ,
623+ . form-group > input [type = "text" ]: hover {
624+ z-index : 2 ;
625+ }
626+
627+ . form-group > input [type = "email" ]: active ,
628+ . form-group > input [type = "email" ]: focus ,
629+ . form-group > input [type = "number" ]: active ,
630+ . form-group > input [type = "number" ]: focus ,
631+ . form-group > input [type = "password" ]: active ,
632+ . form-group > input [type = "password" ]: focus ,
633+ . form-group > input [type = "search" ]: active ,
634+ . form-group > input [type = "search" ]: focus ,
635+ . form-group > input [type = "tel" ]: active ,
636+ . form-group > input [type = "tel" ]: focus ,
637+ . form-group > input [type = "text" ]: active ,
638+ . form-group > input [type = "text" ]: focus {
639+ z-index : 3 ;
640+ }
641+
642+ . form-group > button : first-child ,
643+ . form-group > . button : first-child ,
644+ . form-group > input [type = "email" ]: first-child ,
645+ . form-group > input [type = "number" ]: first-child ,
646+ . form-group > input [type = "password" ]: first-child ,
647+ . form-group > input [type = "search" ]: first-child ,
648+ . form-group > input [type = "tel" ]: first-child ,
649+ . form-group > input [type = "text" ]: first-child {
650+ border-radius : var ( --radius ) 0 0 var ( --radius ) ;
651+ }
652+
653+ . form-group > button : last-child ,
654+ . form-group > . button : last-child ,
655+ . form-group > input [type = "email" ]: last-child ,
656+ . form-group > input [type = "number" ]: last-child ,
657+ . form-group > input [type = "password" ]: last-child ,
658+ . form-group > input [type = "search" ]: last-child ,
659+ . form-group > input [type = "tel" ]: last-child ,
660+ . form-group > input [type = "text" ]: last-child {
661+ border-radius : 0 var ( --radius ) var ( --radius ) 0 ;
662+ }
663+
664+ . form-group . nested-button * : first-child . button {
665+ border-radius : var ( --radius ) 0 0 var ( --radius ) ;
666+ }
667+
668+ . form-group . nested-button * : last-child . button {
669+ border-radius : 0 var ( --radius ) var ( --radius ) 0 ;
670+ }
0 commit comments