This repository was archived by the owner on Mar 17, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " castlecss-forms" ,
3- "version" : " 1.0.3 " ,
3+ "version" : " 1.0.4 " ,
44 "description" : " Easy to use forms for CastleCSS" ,
55 "main" : " index.js" ,
66 "scripts" : {
Original file line number Diff line number Diff line change 99 list-style-type : none ;
1010 padding : 0 ;
1111
12- label :not (.input-control ) {
12+ + label :not (.input-control ) {
1313 margin-bottom : $margin-default / 2 ;
1414 display : block ;
1515 }
Original file line number Diff line number Diff line change 1515 }
1616 }
1717
18- label [for ] {
19- transition : $input-transition ;
20- position : absolute ;
21- color : $color02 ;
22- left : $margin-default ;
23- top : 50% ;
24- transform : translateY (-50% );
25- font-weight : normal ;
26- margin : 0 ;
27- z-index : 2 ;
28- }
18+
2919
3020 .input-textarea label [for ] {
3121 top : $margin-default / 2 ;
3929 }
4030}
4131
32+ .form-field {
33+
34+ label [for ] {
35+ transition : $input-transition ;
36+ position : absolute ;
37+ color : $input-label-color ;
38+ left : $margin-default ;
39+ top : 50% ;
40+ transform : translateY (-50% );
41+ font-weight : normal ;
42+ margin : 0 ;
43+ z-index : 2 ;
44+ }
45+
46+ }
47+
4248.label-bottom , .label-top {
4349 input ,
4450 textarea {
You can’t perform that action at this time.
0 commit comments