mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 12:36:39 -04:00
36 lines
673 B
SCSS
36 lines
673 B
SCSS
.template-highlighter{
|
|
position: absolute;
|
|
border: 1px solid rgba(255,0,0,0.3);
|
|
display: none;
|
|
.show-highlighters &{
|
|
display: block;
|
|
}
|
|
&:hover{
|
|
// background: rgba(255,0,0,0.15);
|
|
box-shadow: 0 0 0 99999px rgba(0, 0, 0, .2);
|
|
}
|
|
}
|
|
|
|
.template-highlighter:after{
|
|
display: none;
|
|
content: attr(data-template);
|
|
background:red;
|
|
color:white;
|
|
font-size:12px;
|
|
position: absolute;
|
|
bottom: 0px;
|
|
right: 0px;
|
|
z-index: 20000;
|
|
padding: 2px 8px;
|
|
}
|
|
.template-highlighter:hover:after{
|
|
display: inline-block;
|
|
}
|
|
|
|
.zone-highlighter{
|
|
border-color: rgba(0,0,255,0.3);
|
|
&:after, &:hover:after{
|
|
display: inline-block;
|
|
background: blue;
|
|
}
|
|
}
|