Files
blog/sass/_buttons.scss

41 lines
768 B
SCSS

.dialog-buttons {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: baseline;
margin-top: 6rem;
}
.inline-button {
display: inline-block;
transition: var(--transition);
cursor: pointer;
box-shadow: var(--edge-highlight);
border-radius: var(--rounded-corner);
background-color: var(--fg-muted-1);
padding: 0.5rem 1rem;
color: var(--fg-color);
font-size: 0.9rem;
text-decoration: none;
&:hover {
background-color: var(--fg-muted-2);
text-decoration: none;
}
&:active {
transform: scale(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);
}
}
}