forked from retoor/snek
Merge pull request 'Added updated input styling to other pages' (#27) from BordedDev/snek:feat/input-styles into main
Reviewed-on: https://molodetz.nl/retoor/snek/pulls/27 Reviewed-by: retoor <retoor@noreply@molodetz.nl>
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
@import "shared.css";
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
|
||||
@@ -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";
|
||||
|
||||
* {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user