@phosphor/widgets
Version:
PhosphorJS - Widgets
60 lines (45 loc) • 1.04 kB
CSS
/*-----------------------------------------------------------------------------
| Copyright (c) 2014-2017, PhosphorJS Contributors
|
| Distributed under the terms of the BSD 3-Clause License.
|
| The full license is in the file LICENSE, distributed with this software.
|----------------------------------------------------------------------------*/
.p-Menu {
z-index: 10000;
position: absolute;
white-space: nowrap;
overflow-x: hidden;
overflow-y: auto;
outline: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.p-Menu-content {
margin: 0;
padding: 0;
display: table;
list-style-type: none;
}
.p-Menu-item {
display: table-row;
}
.p-Menu-item.p-mod-hidden,
.p-Menu-item.p-mod-collapsed {
display: none ;
}
.p-Menu-itemIcon,
.p-Menu-itemSubmenuIcon {
display: table-cell;
text-align: center;
}
.p-Menu-itemLabel {
display: table-cell;
text-align: left;
}
.p-Menu-itemShortcut {
display: table-cell;
text-align: right;
}