_sass/components/_form.scss in jekyll-theme-twenty-0.1.2 vs _sass/components/_form.scss in jekyll-theme-twenty-0.1.3
- old
+ new
@@ -1,11 +1,12 @@
/* Form */
input[type="text"],
input[type="password"],
input[type="email"],
-textarea {
+textarea,
+select {
@include vendor('transition', ('background-color 0.2s ease-in-out', 'border-color 0.2s ease-in-out'));
@include vendor('appearance', 'none');
position: relative;
background: none;
border: solid 1px _palette(border);
@@ -22,11 +23,12 @@
}
}
input[type="text"],
input[type="password"],
-input[type="email"] {
+input[type="email"],
+select {
line-height: 1em;
}
::-webkit-input-placeholder {
color: inherit;
@@ -49,12 +51,15 @@
color: inherit;
opacity: 0.5;
}
.required::after {
+ height: 100%;
+ box-sizing: border-box;
+ backgroud-color: blue;
content: '*';
- position: absolute;
+ position: relative;
color: red;
- top: -3px;
- right: -1px;
+ top: -16px;
+ left: calc(50% + 4px);
font-size: 26px;
}
\ No newline at end of file