excalidraw/src/components/ContextMenu.css

35 lines
620 B
CSS
Raw Normal View History

2020-01-07 07:50:59 +05:00
.context-menu {
position: relative;
border-radius: 4px;
box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
padding: 0;
list-style: none;
user-select: none;
}
.context-menu__option {
width: 150px;
}
.context-menu-option {
position: relative;
width: 100%;
margin: 0;
text-align: left;
border-radius: 0;
}
.context-menu-option:focus {
z-index: 1;
}
.context-menu__option:first-child .context-menu-option {
border-top-left-radius: 4px;
border-top-right-radius: 4px;
}
.context-menu__option:last-child .context-menu-option {
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
}