excalidraw/src/components/ContextMenu.scss

41 lines
853 B
SCSS
Raw Normal View History

2020-04-10 18:09:29 -04:00
@import "open-color/open-color.scss";
2020-01-07 07:50:59 +05:00
.context-menu {
position: relative;
border-radius: 4px;
2020-04-10 18:09:29 -04:00
box-shadow: 0px 3px 10px transparentize($oc-black, 0.8);
2020-01-07 07:50:59 +05:00
padding: 0;
list-style: none;
user-select: none;
2020-01-20 19:59:00 -03:00
margin: -0.25rem 0 0 0.125rem;
padding: 0.25rem 0;
background-color: var(--popup-secondary-background-color);
border: 1px solid var(--button-gray-3);
}
.context-menu button {
color: var(--popup-text-color);
2020-01-07 07:50:59 +05:00
}
.context-menu-option {
position: relative;
width: 100%;
min-width: 9.5rem;
2020-01-07 07:50:59 +05:00
margin: 0;
padding: 0.25rem 1rem 0.25rem 1.25rem;
text-align: start;
2020-01-07 07:50:59 +05:00
border-radius: 0;
2020-04-10 18:09:29 -04:00
background-color: transparent;
border: none;
white-space: nowrap;
2020-01-07 07:50:59 +05:00
}
.context-menu-option:hover {
color: var(--popup-background-color);
background-color: var(--select-highlight-color);
2020-01-07 07:50:59 +05:00
}
.context-menu-option:focus {
z-index: 1;
2020-01-07 07:50:59 +05:00
}