Change Photo viewer controls and ButtonCircle

This commit is contained in:
2021-11-21 22:41:35 +01:00
parent 9e6df85bf1
commit 8e56d58b30
4 changed files with 44 additions and 25 deletions

View File

@@ -295,6 +295,33 @@
button {
pointer-events: auto;
// Prev button
&:first-child {
& > *:nth-child(2) {
transform: translate3d(100%, -50%, 0) rotate(180deg);
}
// Hover
&:not([disabled]):hover {
& > *:nth-child(1) {
transform: translate3d(-20%, 0, 0) rotate(180deg);
}
& > *:nth-child(2) {
transform: translate3d(-50%, -50%, 0) rotate(180deg);
}
}
}
// Hover
&:not([disabled]):hover {
background-color: $color-secondary;
color: #fff;
svg:nth-child(2) {
color: #fff;
}
}
}
}
}