Textarea and oddities

This commit is contained in:
oitsjustjose 2020-05-05 11:39:22 -04:00
commit 048a94ade6
8 changed files with 133 additions and 19 deletions

View file

@ -1,5 +1,22 @@
input {
appearance: none !important;
textarea {
background-color: lighten($background, 25%);
color: $foreground;
font-family: "Spartan";
border-radius: 0.3em;
box-shadow: 0px 0px 10px 0px rgba(darken($background, 10%), 0.5);
transition: all 150ms ease-in-out;
font-size: 14px;
padding: 0.75rem 1rem;
border: none;
outline: none;
resize: none;
width: -webkit-fill-available;
height: auto;
margin: 16px;
&:focus {
box-shadow: 0px 0px 10px 0px $cyan;
}
}
form {
@ -56,6 +73,10 @@ form {
padding: 0.75rem 1rem;
border: none;
outline: none;
&:focus {
box-shadow: 0px 0px 10px 0px $cyan;
}
}
&[type="color"] {
@ -74,6 +95,11 @@ form {
&[type="color"],
&[type="radio"] {
margin: auto;
&:focus {
outline: none;
box-shadow: 0px 0px 10px 0px $cyan;
}
}
&[type="range"] {

View file

@ -526,10 +526,28 @@ input[type="submit"].cyan.outlined:active {
border: 0;
}
input {
-webkit-appearance: none !important;
-moz-appearance: none !important;
appearance: none !important;
textarea {
background-color: #656565;
color: #eeeeee;
font-family: "Spartan";
border-radius: 0.3em;
-webkit-box-shadow: 0px 0px 10px 0px rgba(12, 12, 12, 0.5);
box-shadow: 0px 0px 10px 0px rgba(12, 12, 12, 0.5);
-webkit-transition: all 150ms ease-in-out;
transition: all 150ms ease-in-out;
font-size: 14px;
padding: 0.75rem 1rem;
border: none;
outline: none;
resize: none;
width: -webkit-fill-available;
height: auto;
margin: 16px;
}
textarea:focus {
-webkit-box-shadow: 0px 0px 10px 0px #00bee0;
box-shadow: 0px 0px 10px 0px #00bee0;
}
form {
@ -590,6 +608,11 @@ form .flex-form input[type="password"], form .flex-form input[type="text"], form
outline: none;
}
form .flex-form input[type="password"]:focus, form .flex-form input[type="text"]:focus, form .flex-form input[type="date"]:focus, form .flex-form input[type="email"]:focus, form .flex-form input[type="file"]:focus, form .flex-form input[type="month"]:focus, form .flex-form input[type="number"]:focus, form .flex-form input[type="tel"]:focus, form .flex-form input[type="search"]:focus, form .flex-form input[type="url"]:focus, form .flex-form input[type="week"]:focus {
-webkit-box-shadow: 0px 0px 10px 0px #00bee0;
box-shadow: 0px 0px 10px 0px #00bee0;
}
form .flex-form input[type="color"] {
border-radius: 0.3em;
}
@ -618,6 +641,12 @@ form .flex-form input[type="checkbox"], form .flex-form input[type="color"], for
margin: auto;
}
form .flex-form input[type="checkbox"]:focus, form .flex-form input[type="color"]:focus, form .flex-form input[type="radio"]:focus {
outline: none;
-webkit-box-shadow: 0px 0px 10px 0px #00bee0;
box-shadow: 0px 0px 10px 0px #00bee0;
}
form .flex-form input[type="range"] {
height: 26px;
-webkit-appearance: none;

File diff suppressed because one or more lines are too long

View file

@ -526,10 +526,28 @@ input[type="submit"].cyan.outlined:active {
border: 0;
}
input {
-webkit-appearance: none !important;
-moz-appearance: none !important;
appearance: none !important;
textarea {
background-color: white;
color: #252525;
font-family: "Spartan";
border-radius: 0.3em;
-webkit-box-shadow: 0px 0px 10px 0px rgba(213, 213, 213, 0.5);
box-shadow: 0px 0px 10px 0px rgba(213, 213, 213, 0.5);
-webkit-transition: all 150ms ease-in-out;
transition: all 150ms ease-in-out;
font-size: 14px;
padding: 0.75rem 1rem;
border: none;
outline: none;
resize: none;
width: -webkit-fill-available;
height: auto;
margin: 16px;
}
textarea:focus {
-webkit-box-shadow: 0px 0px 10px 0px #00bee0;
box-shadow: 0px 0px 10px 0px #00bee0;
}
form {
@ -590,6 +608,11 @@ form .flex-form input[type="password"], form .flex-form input[type="text"], form
outline: none;
}
form .flex-form input[type="password"]:focus, form .flex-form input[type="text"]:focus, form .flex-form input[type="date"]:focus, form .flex-form input[type="email"]:focus, form .flex-form input[type="file"]:focus, form .flex-form input[type="month"]:focus, form .flex-form input[type="number"]:focus, form .flex-form input[type="tel"]:focus, form .flex-form input[type="search"]:focus, form .flex-form input[type="url"]:focus, form .flex-form input[type="week"]:focus {
-webkit-box-shadow: 0px 0px 10px 0px #00bee0;
box-shadow: 0px 0px 10px 0px #00bee0;
}
form .flex-form input[type="color"] {
border-radius: 0.3em;
}
@ -618,6 +641,12 @@ form .flex-form input[type="checkbox"], form .flex-form input[type="color"], for
margin: auto;
}
form .flex-form input[type="checkbox"]:focus, form .flex-form input[type="color"]:focus, form .flex-form input[type="radio"]:focus {
outline: none;
-webkit-box-shadow: 0px 0px 10px 0px #00bee0;
box-shadow: 0px 0px 10px 0px #00bee0;
}
form .flex-form input[type="range"] {
height: 26px;
-webkit-appearance: none;

File diff suppressed because one or more lines are too long

View file

@ -526,10 +526,28 @@ input[type="submit"].cyan.outlined:active {
border: 0;
}
input {
-webkit-appearance: none !important;
-moz-appearance: none !important;
appearance: none !important;
textarea {
background-color: #535884;
color: #ccdbf1;
font-family: "Spartan";
border-radius: 0.3em;
-webkit-box-shadow: 0px 0px 10px 0px rgba(14, 15, 23, 0.5);
box-shadow: 0px 0px 10px 0px rgba(14, 15, 23, 0.5);
-webkit-transition: all 150ms ease-in-out;
transition: all 150ms ease-in-out;
font-size: 14px;
padding: 0.75rem 1rem;
border: none;
outline: none;
resize: none;
width: -webkit-fill-available;
height: auto;
margin: 16px;
}
textarea:focus {
-webkit-box-shadow: 0px 0px 10px 0px #00bee0;
box-shadow: 0px 0px 10px 0px #00bee0;
}
form {
@ -590,6 +608,11 @@ form .flex-form input[type="password"], form .flex-form input[type="text"], form
outline: none;
}
form .flex-form input[type="password"]:focus, form .flex-form input[type="text"]:focus, form .flex-form input[type="date"]:focus, form .flex-form input[type="email"]:focus, form .flex-form input[type="file"]:focus, form .flex-form input[type="month"]:focus, form .flex-form input[type="number"]:focus, form .flex-form input[type="tel"]:focus, form .flex-form input[type="search"]:focus, form .flex-form input[type="url"]:focus, form .flex-form input[type="week"]:focus {
-webkit-box-shadow: 0px 0px 10px 0px #00bee0;
box-shadow: 0px 0px 10px 0px #00bee0;
}
form .flex-form input[type="color"] {
border-radius: 0.3em;
}
@ -618,6 +641,12 @@ form .flex-form input[type="checkbox"], form .flex-form input[type="color"], for
margin: auto;
}
form .flex-form input[type="checkbox"]:focus, form .flex-form input[type="color"]:focus, form .flex-form input[type="radio"]:focus {
outline: none;
-webkit-box-shadow: 0px 0px 10px 0px #00bee0;
box-shadow: 0px 0px 10px 0px #00bee0;
}
form .flex-form input[type="range"] {
height: 26px;
-webkit-appearance: none;

File diff suppressed because one or more lines are too long

View file

@ -503,6 +503,8 @@
<input type="url">
<input type="week">
</div>
<textarea name="form text area" rows=16></textarea>
<input type="reset">
<input type="submit" value="Submit This Form">
@ -556,8 +558,7 @@
</li>
<li>
This page not only shows you how these things work, but demo to me how they're turning
out
too!
out too!
</li>
</ul>
</p>