1
0
Fork 0
mirror of https://github.com/lrsjng/h5ai synced 2025-12-28 11:42:43 +01:00
h5ai/src/_h5ai/public/css/inc/ext/contextmenu.less
2015-05-12 16:08:20 +02:00

73 lines
1.2 KiB
Text

#cm-overlay {
display: none;
position: fixed;
left: 0;
top: 0;
right: 0;
bottom: 0;
overflow: hidden;
z-index: 200;
.cm-panel {
.popup;
.rounded;
display: block;
position: absolute;
left: 100px;
top: 100px;
color: @col-text;
background: @col-back-paper;
z-index: 10;
overflow: auto;
min-width: 200px;
ul {
margin: 0;
padding: 0;
list-style: none;
text-align: left;
}
}
.cm-label {
padding: 8px 16px;
white-space: nowrap;
font-weight: bold;
}
.cm-entry {
padding: 8px 16px;
white-space: nowrap;
cursor: pointer;
&:hover {
color: @col-text-hover;
background: @col-back-hover;
}
}
.cm-icon {
position: relative;
top: -2px;
img {
width: 20px;
height: 20px;
}
&.no-icon {
opacity: 0;
}
}
.cm-text {
margin: 0 0 0 12px;
}
.cm-sep {
height: 1px;
margin: 8px 0;
padding: 0;
border-top: 1px solid rgba(0,0,0,0.08);
}
}