Add accessibility styles to inputs.
This commit is contained in:
parent
132e7a7c2d
commit
0934c2b3e8
1 changed files with 15 additions and 0 deletions
15
src/App.vue
15
src/App.vue
|
|
@ -65,6 +65,15 @@ html, body, #app {
|
|||
input[type="text"] {
|
||||
@extend .input
|
||||
}
|
||||
input[type="text"].warning {
|
||||
border-color: $input-border-colour-warning
|
||||
}
|
||||
input[type="text"].error {
|
||||
border-color: $input-border-colour-error
|
||||
}
|
||||
input[type="text"]:focus {
|
||||
border-color: $input-border-colour-focus
|
||||
}
|
||||
|
||||
button {
|
||||
@extend .input
|
||||
|
|
@ -72,4 +81,10 @@ button {
|
|||
letter-spacing: $input-letter-spacing
|
||||
font-size: 17px
|
||||
}
|
||||
button:hover {
|
||||
background-color: $input-background-hover
|
||||
}
|
||||
button:active {
|
||||
background-color: $input-background-active
|
||||
}
|
||||
</style>
|
||||
Loading…
Add table
Add a link
Reference in a new issue