mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
fixed style files module names
This commit is contained in:
parent
52acdb283e
commit
2daa38ad12
223 changed files with 113 additions and 114 deletions
54
src/components/node/ImageSwitcher/styles.module.scss
Normal file
54
src/components/node/ImageSwitcher/styles.module.scss
Normal file
|
@ -0,0 +1,54 @@
|
|||
.wrap {
|
||||
width: 100%;
|
||||
height: 0;
|
||||
position: relative;
|
||||
z-index: 4;
|
||||
}
|
||||
|
||||
.switcher {
|
||||
position: absolute;
|
||||
// background: darken($content_bg, 2%);
|
||||
background: url('../../../../src/sprites/noise.png') $main_bg_color;
|
||||
display: flex;
|
||||
left: 50%;
|
||||
transform: translate(-50%, 0);
|
||||
top: -60px;
|
||||
border-radius: 24px;
|
||||
padding: 0 3px;
|
||||
// flex-wrap: wrap;
|
||||
transition: background-color 0.5s;
|
||||
transform: translate(-50%, 0);
|
||||
|
||||
& > div {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
box-sizing: border-box;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: opacity 0.25s;
|
||||
opacity: 0.5;
|
||||
|
||||
&::after {
|
||||
content: ' ';
|
||||
display: block;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
border-radius: 8px;
|
||||
box-shadow: inset white 0 0 0 2px;
|
||||
transform: scale(0.5);
|
||||
transition: transform 0.5s;
|
||||
}
|
||||
|
||||
&:global(.is_active) {
|
||||
&::after {
|
||||
background: white;
|
||||
}
|
||||
}
|
||||
|
||||
&:global(.is_loaded)::after {
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue