[ui] .button is a global style

feat/vaults
Tomáš Mládek 2022-02-20 18:04:27 +01:00
parent b5f4dc4a7b
commit 1470d91719
No known key found for this signature in database
GPG Key ID: 65E225C8B3E2ED8A
2 changed files with 20 additions and 15 deletions

View File

@ -78,4 +78,24 @@
.spinner { .spinner {
font-size: 2em; font-size: 2em;
} }
.button {
border: 1px solid var(--foreground);
border-radius: 4px;
background: var(--background-lighter);
color: var(--foreground);
padding: 0.25em 1em;
line-height: 1;
display: block;
text-align: center;
cursor: pointer;
input {
display: none;
}
}
</style> </style>

View File

@ -108,20 +108,5 @@
.input { .input {
flex-grow: 1; flex-grow: 1;
} }
.button {
border: 1px solid var(--foreground);
border-radius: 4px;
background: var(--background-lighter);
color: var(--foreground);
padding: 0.25em 1em;
line-height: 1;
display: block;
cursor: pointer;
input {
display: none;
}
}
} }
</style> </style>