excalidraw/src/components/HintViewer.scss
2020-04-11 01:09:29 +03:00

24 lines
477 B
SCSS

@import "../_variables";
.HintViewer {
color: $oc-gray-6;
font-size: 0.8rem;
left: 50%;
pointer-events: none;
position: absolute;
top: 54px;
transform: translateX(calc(-50% - 16px)); /* 16px is half of lock icon */
@media #{$media-query} {
position: static;
transform: none;
margin-top: 0.5rem;
text-align: center;
}
> span {
background-color: transparentize($oc-white, 0.12);
padding: 0.2rem 0.4rem;
border-radius: 3px;
}
}