akurath
Version:
IDE Frontend for codepsaces.io
76 lines (66 loc) • 1.89 kB
text/less
.cb-commands-palette {
position: absolute;
top: 0px;
left: 50%;
z-index: 10;
width: @codeboxPaletteWidth;
margin-left: -(@codeboxPaletteWidth/2);
padding: 8px;
background: @codeboxPaletteBackground;
border: 1px solid #ccc;
&.close {
display: none;
}
input, input:focus, input:hover {
width: 100%;
margin-bottom: 10px;
box-shadow: none;
border-color: #ccc;
}
.results {
max-height: 300px;
overflow-y: auto;
background: #fff;
border: 1px solid #ccc;
.palette-commands {
list-style: none;
margin: 0px;
padding: 0px;
.command {
padding: 8px 6px;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
border-bottom: 1px solid #ccc;
line-height: 26px;
.command-label {
color: inherit;
font-size: inherit;
text-align: left;
font-size: 12px;
padding: 0px 8px;
line-height: 1.8em;
opacity: 0.4;
}
.shortcut {
float: right;
background: transparent;
color: inherit;
border: 1px solid #ccc;
font-size: inherit;
padding: 5px 5px;
}
&.hr-list-fiter-on {
display: none;
}
&.selected {
background: @codeboxActiveColor;
color: #fff;
.label {
border-color: #fff;
}
}
}
}
}
}