[ui] .button is a global style
This commit is contained in:
parent
b5f4dc4a7b
commit
1470d91719
2 changed files with 20 additions and 15 deletions
|
@ -78,4 +78,24 @@
|
|||
.spinner {
|
||||
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>
|
||||
|
|
|
@ -108,20 +108,5 @@
|
|||
.input {
|
||||
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>
|
||||
|
|
Loading…
Reference in a new issue