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 { textarea {
appearance: none !important; 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 { form {
@ -56,6 +73,10 @@ form {
padding: 0.75rem 1rem; padding: 0.75rem 1rem;
border: none; border: none;
outline: none; outline: none;
&:focus {
box-shadow: 0px 0px 10px 0px $cyan;
}
} }
&[type="color"] { &[type="color"] {
@ -74,6 +95,11 @@ form {
&[type="color"], &[type="color"],
&[type="radio"] { &[type="radio"] {
margin: auto; margin: auto;
&:focus {
outline: none;
box-shadow: 0px 0px 10px 0px $cyan;
}
} }
&[type="range"] { &[type="range"] {

View file

@ -526,10 +526,28 @@ input[type="submit"].cyan.outlined:active {
border: 0; border: 0;
} }
input { textarea {
-webkit-appearance: none !important; background-color: #656565;
-moz-appearance: none !important; color: #eeeeee;
appearance: none !important; 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 { form {
@ -590,6 +608,11 @@ form .flex-form input[type="password"], form .flex-form input[type="text"], form
outline: none; 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"] { form .flex-form input[type="color"] {
border-radius: 0.3em; border-radius: 0.3em;
} }
@ -618,6 +641,12 @@ form .flex-form input[type="checkbox"], form .flex-form input[type="color"], for
margin: auto; 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"] { form .flex-form input[type="range"] {
height: 26px; height: 26px;
-webkit-appearance: none; -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; border: 0;
} }
input { textarea {
-webkit-appearance: none !important; background-color: white;
-moz-appearance: none !important; color: #252525;
appearance: none !important; 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 { form {
@ -590,6 +608,11 @@ form .flex-form input[type="password"], form .flex-form input[type="text"], form
outline: none; 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"] { form .flex-form input[type="color"] {
border-radius: 0.3em; border-radius: 0.3em;
} }
@ -618,6 +641,12 @@ form .flex-form input[type="checkbox"], form .flex-form input[type="color"], for
margin: auto; 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"] { form .flex-form input[type="range"] {
height: 26px; height: 26px;
-webkit-appearance: none; -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; border: 0;
} }
input { textarea {
-webkit-appearance: none !important; background-color: #535884;
-moz-appearance: none !important; color: #ccdbf1;
appearance: none !important; 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 { form {
@ -590,6 +608,11 @@ form .flex-form input[type="password"], form .flex-form input[type="text"], form
outline: none; 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"] { form .flex-form input[type="color"] {
border-radius: 0.3em; border-radius: 0.3em;
} }
@ -618,6 +641,12 @@ form .flex-form input[type="checkbox"], form .flex-form input[type="color"], for
margin: auto; 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"] { form .flex-form input[type="range"] {
height: 26px; height: 26px;
-webkit-appearance: none; -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="url">
<input type="week"> <input type="week">
</div> </div>
<textarea name="form text area" rows=16></textarea>
<input type="reset"> <input type="reset">
<input type="submit" value="Submit This Form"> <input type="submit" value="Submit This Form">
@ -556,8 +558,7 @@
</li> </li>
<li> <li>
This page not only shows you how these things work, but demo to me how they're turning This page not only shows you how these things work, but demo to me how they're turning
out out too!
too!
</li> </li>
</ul> </ul>
</p> </p>