Finish Photo viewer styling with responsive

This commit is contained in:
2021-10-25 15:45:12 +02:00
parent e830a18454
commit adc395b3f7
6 changed files with 249 additions and 80 deletions

View File

@@ -1,18 +1,15 @@
.arrow {
display: block;
// Colors
&--white {
path {
fill: #fff;
}
color: #fff;
}
&--pink {
path {
fill: $color-secondary;
}
color: $color-secondary;
}
// Variants
&--flip {
transform: rotate(180deg);
}

View File

@@ -14,6 +14,7 @@
width: 22px;
height: 22px;
object-fit: contain;
transition: opacity 0.4s var(--ease-quart), filter 0.4s var(--ease-quart);
}
// Clones
@@ -35,6 +36,10 @@
}
}
/*
** States
*/
// Hover
&:hover {
.clone {
@@ -49,6 +54,16 @@
}
}
// Disabled
&[disabled] {
background: $color-primary;
border: 3px solid #ffffff20;
svg {
fill: $color-primary-tertiary20;
}
}
/*
** Variants