This repository was archived by the owner on Jan 21, 2021. 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 55#### Enhancements
66
77- Added a ` required ` class to ` labels ` to inform about _ required_ fields
8+ - Change padding unit on inputs
89
910#### Bug fixes
11+
1012- Added a polyfill for Internet Explorer support
13+ - Fixed visual glitch on select arrow
1114
1215## v1.2.0 (23/01/2019)
1316
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ textarea,
33select {
44 width : 100% ;
55 outline : none;
6- padding : 8 px 14 px ;
6+ padding : 0.5 em 0.875 em ;
77 font : inherit;
88 line-height : 1.6 ;
99 color : var (--black );
@@ -28,13 +28,13 @@ select:disabled {
2828
2929input [type = radio ],
3030input [type = checkbox ] {
31- margin-right : 6 px ;
32- margin-top : 0 ;
31+ margin : 0 ;
32+ margin-right : var ( --space-xs ) ;
3333}
3434
3535input [type = radio ] {
36- height : 20 px ;
37- width : 20 px ;
36+ height : 1.25 em ;
37+ width : 1.25 em ;
3838 border-radius : 50% ;
3939 display : inline-block;
4040 appearance : none;
@@ -46,10 +46,10 @@ input[type=radio]::before {
4646 border-color : var (--theme-primary );
4747 border-radius : 50% ;
4848 position : absolute;
49- top : 5 px ;
50- left : 5 px ;
51- width : 8 px ;
52- height : 8 px ;
49+ top : 0.35 em ;
50+ left : 0.3 em ;
51+ width : 0.5 em ;
52+ height : 0.5 em ;
5353 transform : scale (0 );
5454}
5555
@@ -67,8 +67,8 @@ input[type=radio]:checked::before {
6767
6868input [type = "checkbox" ] {
6969 appearance : none;
70- height : 22 px ;
71- width : 22 px ;
70+ height : 1.4 em ;
71+ width : 1.5 em ;
7272 padding : 0 ;
7373}
7474
@@ -83,10 +83,10 @@ input[type="checkbox"]::before {
8383 transform : scale (0 );
8484 content : '' ;
8585 position : absolute;
86- top : 3 px ;
87- left : 3 px ;
88- height : 14 px ;
89- width : 14 px ;
86+ top : 0.2 em ;
87+ left : 0.15 em ;
88+ height : 1 em ;
89+ width : 1 em ;
9090 background : url ('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"><path d="M14.23 1.304L6.112 9.501 2.767 6.117a1.029 1.029 0 0 0-1.464 0 1.054 1.054 0 0 0 0 1.479l4.055 4.101c.208.21.481.31.754.305.272.005.545-.095.753-.305l8.829-8.915a1.053 1.053 0 0 0 0-1.478 1.027 1.027 0 0 0-1.464 0z" fill="white" /></svg>' ) center center no-repeat;
9191}
9292
@@ -100,9 +100,9 @@ input[type="checkbox"]:checked::before {
100100select {
101101 appearance : none;
102102 background : var (--theme-background-white ) url ('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"><path d="M1.254 2.518a.904.904 0 0 1 0-1.257.85.85 0 0 1 1.225 0l4.512 4.632 4.511-4.632a.85.85 0 0 1 1.225 0 .904.904 0 0 1 0 1.257L7.621 7.761a.848.848 0 0 1-.63.259.849.849 0 0 1-.631-.259L1.254 2.518z" fill="gray"/></svg>' ) no-repeat;
103- background-position : top 1em right 1 em ;
104- background-size : 15 px ;
105- padding-right : 45 px ;
103+ background-position : top 1em right 0 ;
104+ background-size : 1.7 em ;
105+ padding-right : 2.8 em ;
106106 border-radius : var (--theme-border-radius );
107107 width : auto;
108108}
You can’t perform that action at this time.
0 commit comments