excalidraw/src/components/ContextMenu.css
Lipis 3901ad7dbe Adjust context menu and use open colors (#553)
* Adjust context menu and use open colors

* word wrap

* revert colors & padding

Co-authored-by: David Luzar <luzar.david@gmail.com>
2020-01-26 11:19:21 +01:00

35 lines
645 B
CSS

.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;
margin: -0.25rem 0 0 0.125rem;
padding: 0.25rem 0;
background-color: #f2f2f2;
border: 1px solid #bcbcbc;
}
.context-menu-option {
position: relative;
width: 100%;
min-width: 9.5rem;
margin: 0;
padding: 0.25rem 1rem 0.25rem 1.25rem;
text-align: left;
border-radius: 0;
background-color: #f2f2f2;
border: none;
white-space: nowrap;
}
.context-menu-option:hover {
color: #fff;
background-color: #4e95f5;
}
.context-menu-option:focus {
z-index: 1;
}