excalidraw/src/components/HintViewer.scss

24 lines
477 B
SCSS
Raw Normal View History

@import "../_variables";
.HintViewer {
2020-04-10 18:09:29 -04:00
color: $oc-gray-6;
font-size: 0.8rem;
2020-02-21 17:04:54 +01:00
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 {
2020-04-10 18:09:29 -04:00
background-color: transparentize($oc-white, 0.12);
padding: 0.2rem 0.4rem;
border-radius: 3px;
}
}