refactor: resturcture files so that lincensing info can be bundled properly
This commit is contained in:
parent
699ba74840
commit
1aa284311f
484 changed files with 119 additions and 179 deletions
39
scss/components/shared/_rollable_image.scss
Normal file
39
scss/components/shared/_rollable_image.scss
Normal file
|
@ -0,0 +1,39 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: 2021 Johannes Loher
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
.ds4-rollable-image {
|
||||
position: relative;
|
||||
|
||||
&--rollable {
|
||||
cursor: pointer;
|
||||
|
||||
&:hover {
|
||||
.ds4-rollable-image__image {
|
||||
opacity: 0.25;
|
||||
}
|
||||
|
||||
.ds4-rollable-image__overlay {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__image {
|
||||
border: none;
|
||||
transition: 0.1s ease;
|
||||
}
|
||||
|
||||
&__overlay {
|
||||
border: none;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
transition: 0.1s ease;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue