Add files to repos
This commit is contained in:
24
themes/tabi/sass/parts/_image-toggler.scss
Normal file
24
themes/tabi/sass/parts/_image-toggler.scss
Normal file
@@ -0,0 +1,24 @@
|
||||
.image-label {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.image-toggled {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.image-toggler-toggle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.image-toggler-toggle:checked ~ .image-label .image-toggled {
|
||||
position: static;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.image-toggler-toggle:checked ~ .image-label .image-default {
|
||||
position: absolute;
|
||||
visibility: hidden;
|
||||
}
|
||||
Reference in New Issue
Block a user