mirror of
https://github.com/morris/vanilla-todo.git
synced 2025-09-08 21:20:40 +02:00
55 lines
895 B
CSS
55 lines
895 B
CSS
.app-button {
|
|
display: inline-block;
|
|
font-size: 1em;
|
|
line-height: 1em;
|
|
background: transparent;
|
|
margin: 0;
|
|
padding: 0.25em;
|
|
border: 0;
|
|
outline: 0;
|
|
cursor: pointer;
|
|
vertical-align: middle;
|
|
border-radius: 4px;
|
|
transition: all 0.1s ease-out;
|
|
color: var(--button-text);
|
|
}
|
|
|
|
.app-button:hover {
|
|
color: var(--button-active-text);
|
|
}
|
|
|
|
.app-button:active {
|
|
transform: translate(0, 1px);
|
|
color: var(--button-active-text);
|
|
background: var(--button-active-bg);
|
|
}
|
|
|
|
.app-button:focus {
|
|
color: var(--button-active-text);
|
|
}
|
|
|
|
.app-button.-circle {
|
|
width: 1.5em;
|
|
height: 1.5em;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.app-button.-xl {
|
|
font-size: 1.5em;
|
|
}
|
|
|
|
.app-button.-highlight {
|
|
color: var(--button-highlight-text);
|
|
font-weight: bold;
|
|
}
|
|
|
|
.app-button.-highlight:hover {
|
|
color: var(--button-active-text);
|
|
}
|
|
|
|
@media (width >= 600px) {
|
|
.app-button.-xl {
|
|
font-size: 2em;
|
|
}
|
|
}
|