Add inline image add/remove
This commit is contained in:
28
web/app/ui/display/editable/img-log-item.module.css
Normal file
28
web/app/ui/display/editable/img-log-item.module.css
Normal file
@@ -0,0 +1,28 @@
|
||||
.control {
|
||||
&[data-inactive] {
|
||||
opacity: 0;
|
||||
cursor: default;
|
||||
}
|
||||
}
|
||||
.controls {
|
||||
transition: opacity 150ms ease;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.root {
|
||||
&:hover {
|
||||
.controls {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.indicator {
|
||||
width: rem(12px);
|
||||
height: rem(4px);
|
||||
transition: width 250ms ease;
|
||||
|
||||
&[data-active] {
|
||||
width: rem(40px);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user