2021-06-26 22:02:00 +02:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2021 Johannes Loher
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*/
|
|
|
|
|
2021-03-04 08:51:13 +01:00
|
|
|
.ds4-rollable-image {
|
2023-07-10 22:10:48 +02:00
|
|
|
position: relative;
|
2021-03-04 08:51:13 +01:00
|
|
|
|
2023-07-10 22:10:48 +02:00
|
|
|
&--rollable {
|
|
|
|
cursor: pointer;
|
2021-03-04 08:51:13 +01:00
|
|
|
|
2023-07-10 22:10:48 +02:00
|
|
|
&:hover {
|
|
|
|
.ds4-rollable-image__image {
|
|
|
|
opacity: 0.25;
|
|
|
|
}
|
2021-03-04 08:51:13 +01:00
|
|
|
|
2023-07-10 22:10:48 +02:00
|
|
|
.ds4-rollable-image__overlay {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2021-03-04 08:51:13 +01:00
|
|
|
}
|
2023-07-10 22:10:48 +02:00
|
|
|
}
|
2021-03-04 08:51:13 +01:00
|
|
|
|
2023-07-10 22:10:48 +02:00
|
|
|
&__image {
|
|
|
|
border: none;
|
|
|
|
transition: 0.1s ease;
|
|
|
|
}
|
2021-03-04 08:51:13 +01:00
|
|
|
|
2023-07-10 22:10:48 +02:00
|
|
|
&__overlay {
|
|
|
|
border: none;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
opacity: 0;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
transition: 0.1s ease;
|
|
|
|
}
|
2021-03-04 08:51:13 +01:00
|
|
|
}
|