@cogic/annotorious
Version:
A JavaScript image annotation library
46 lines (40 loc) • 965 B
CSS
.helloworld-plugin {
padding:5px;
border-bottom:1px solid #e5e5e5;
}
.helloworld-plugin button {
outline:none;
border:none;
display:inline-block;
width:20px;
height:20px;
border-radius:50%;
cursor:pointer;
opacity:0.5;
margin:4px;
}
.helloworld-plugin button.selected,
.helloworld-plugin button:hover {
opacity:1;
}
svg.a9s-annotationlayer .a9s-annotation.RED .a9s-outer {
stroke:red;
stroke-width:3;
fill:rgba(255, 0, 0, 0.3);
}
svg.a9s-annotationlayer .a9s-annotation.GREEN .a9s-outer {
stroke:green;
stroke-width:3;
fill:rgba(0, 255, 0, 0.3);
}
svg.a9s-annotationlayer .a9s-annotation.BLUE .a9s-outer {
stroke:blue;
stroke-width:3;
fill:rgba(0, 0, 255, 0.3);
}
svg.a9s-annotationlayer .a9s-annotation.RED .a9s-inner,
svg.a9s-annotationlayer .a9s-annotation.GREEN .a9s-inner,
svg.a9s-annotationlayer .a9s-annotation.BLUE .a9s-inner {
fill:transparent;
stroke:none;
}