Added updated input styling to other pages
This commit is contained in:
parent
17c9731b9f
commit
5b70bb9ea5
src/snek/static
@ -1,3 +1,5 @@
|
|||||||
|
@import "shared.css";
|
||||||
|
|
||||||
* {
|
* {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
15
src/snek/static/shared.css
Normal file
15
src/snek/static/shared.css
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
|
||||||
|
|
||||||
|
input, textarea {
|
||||||
|
&:focus {
|
||||||
|
outline: 2px solid #f05a28 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
&::placeholder {
|
||||||
|
transition: opacity 0.3s;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:focus::placeholder {
|
||||||
|
opacity: 0.4;
|
||||||
|
}
|
||||||
|
}
|
@ -1,3 +1,4 @@
|
|||||||
|
@import "shared.css";
|
||||||
|
|
||||||
* {
|
* {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user