Files
blog/sass/_buttons.scss

46 lines
874 B
SCSS

.dialog-buttons {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: baseline;
margin-block-start: 4rem;
}
.inline-button {
-webkit-appearance: none;
appearance: none;
transition: var(--transition);
cursor: pointer;
box-shadow: var(--edge-highlight);
border: none;
border-radius: var(--rounded-corner);
background-color: var(--fg-muted-1);
padding: 0.75rem 1rem;
color: var(--fg-muted-5);
font-weight: bold;
font-size: 0.875rem;
line-height: 1;
text-decoration: none;
&:hover {
background-color: var(--fg-muted-2);
color: var(--fg-color);
text-decoration: none;
}
&:active {
transform: var(--active);
}
&.colored {
box-shadow: none;
background-color: transparent;
color: var(--primary-color);
&:hover {
box-shadow: var(--edge-highlight);
background-color: var(--primary-color-alpha);
}
}
}