You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
658 B
SCSS
38 lines
658 B
SCSS
4 years ago
|
@import "../css/variables.module";
|
||
5 years ago
|
|
||
4 years ago
|
// this is loosely based on the longest hint text
|
||
|
$wide-viewport-width: 1000px;
|
||
|
|
||
4 years ago
|
.excalidraw {
|
||
|
.HintViewer {
|
||
|
pointer-events: none;
|
||
|
box-sizing: border-box;
|
||
|
position: absolute;
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
left: 0;
|
||
|
top: 100%;
|
||
|
max-width: 100%;
|
||
|
width: 100%;
|
||
2 years ago
|
margin-top: 0.5rem;
|
||
4 years ago
|
text-align: center;
|
||
2 years ago
|
color: var(--color-gray-40);
|
||
|
font-size: 0.75rem;
|
||
5 years ago
|
|
||
4 years ago
|
@include isMobile {
|
||
4 years ago
|
position: static;
|
||
2 years ago
|
padding-right: 2rem;
|
||
4 years ago
|
}
|
||
5 years ago
|
|
||
4 years ago
|
> span {
|
||
2 years ago
|
padding: 0.25rem;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&.theme--dark {
|
||
|
.HintViewer {
|
||
|
color: var(--color-gray-60);
|
||
4 years ago
|
}
|
||
5 years ago
|
}
|
||
|
}
|