Move aria-invalid and aria-controls style from Login.vue to 1.0.global.css
This commit is contained in:
parent
f01f62a190
commit
1f83abb786
2 changed files with 16 additions and 18 deletions
|
|
@ -292,6 +292,22 @@ button {
|
|||
.field {
|
||||
position: relative;
|
||||
}
|
||||
[aria-invalid="true"]:focus-visible {
|
||||
outline-color: #ef8d8d;
|
||||
}
|
||||
button[aria-controls*="password"] {
|
||||
position: absolute;
|
||||
right: var(--space-8);
|
||||
bottom: var(--space-8);
|
||||
max-height: unset;
|
||||
height: 2rem;
|
||||
padding: var(--space-8);
|
||||
border: none;
|
||||
}
|
||||
button[aria-controls*="password"] > svg {
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
}
|
||||
|
||||
/* General interactive states */
|
||||
|
||||
|
|
|
|||
|
|
@ -143,22 +143,4 @@ form::before {
|
|||
.error {
|
||||
color: #ee6767;
|
||||
}
|
||||
|
||||
[aria-invalid="true"]:focus-visible {
|
||||
outline-color: #ef8d8d;
|
||||
}
|
||||
|
||||
[aria-controls="password"] {
|
||||
position: absolute;
|
||||
right: var(--space-8);
|
||||
bottom: var(--space-8);
|
||||
max-height: unset;
|
||||
height: 2rem;
|
||||
padding: var(--space-8);
|
||||
border: none;
|
||||
}
|
||||
[aria-controls="password"] > svg {
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue