Revert the change of looks of colored buttons
This commit is contained in:
@ -53,12 +53,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.colored {
|
&.colored {
|
||||||
background-color: var(--accent-color-alpha);
|
box-shadow: none;
|
||||||
|
background-color: transparent;
|
||||||
color: var(--accent-color);
|
color: var(--accent-color);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: var(--accent-color);
|
box-shadow: var(--edge-highlight);
|
||||||
color: var(--contrast-color);
|
background-color: var(--accent-color-alpha);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -329,7 +329,7 @@
|
|||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
||||||
&:hover {
|
&:hover:not(:active) {
|
||||||
img {
|
img {
|
||||||
transform: var(--hover);
|
transform: var(--hover);
|
||||||
box-shadow: var(--edge-highlight), var(--shadow-raised);
|
box-shadow: var(--edge-highlight), var(--shadow-raised);
|
||||||
@ -344,21 +344,6 @@
|
|||||||
|
|
||||||
&:active {
|
&:active {
|
||||||
transform: var(--active);
|
transform: var(--active);
|
||||||
|
|
||||||
img {
|
|
||||||
transform: none;
|
|
||||||
margin: 0;
|
|
||||||
box-shadow: var(--edge-highlight), var(--shadow);
|
|
||||||
border-radius: var(--rounded-corner)
|
|
||||||
var(--rounded-corner) var(--rounded-corner-small)
|
|
||||||
var(--rounded-corner-small);
|
|
||||||
|
|
||||||
& + figcaption {
|
|
||||||
border-radius: var(--rounded-corner-small)
|
|
||||||
var(--rounded-corner-small)
|
|
||||||
var(--rounded-corner) var(--rounded-corner);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
figure {
|
figure {
|
||||||
@ -372,6 +357,8 @@
|
|||||||
border-radius: var(--rounded-corner)
|
border-radius: var(--rounded-corner)
|
||||||
var(--rounded-corner) var(--rounded-corner-small)
|
var(--rounded-corner) var(--rounded-corner-small)
|
||||||
var(--rounded-corner-small);
|
var(--rounded-corner-small);
|
||||||
|
aspect-ratio: 16 / 9;
|
||||||
|
object-fit: cover;
|
||||||
|
|
||||||
& + figcaption {
|
& + figcaption {
|
||||||
border-radius: var(--rounded-corner-small)
|
border-radius: var(--rounded-corner-small)
|
||||||
|
Reference in New Issue
Block a user