pulsar/static/select-list.less
Kevin Sawicki 7e15a343f3 Add primary/secondary line classes to select list
This will be a style that can be used by extending
classes to provide two lines that don't wrap with
color and padding.

This is initially used by symbols view and fuzzy finder.
2013-05-01 17:09:37 -07:00

62 lines
886 B
Plaintext

@import "octicon-mixins.less";
.select-list {
.error {
font-weight: bold;
}
ol {
position: relative;
overflow-y: auto;
max-height: 312px;
margin: 0;
padding: 0;
&:empty {
border: none;
}
li {
padding: 10px;
display: block;
&.two-lines {
padding: 5px 10px 5px 10px;
}
.primary-line, .secondary-line {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
}
li:last-child {
border-bottom: none;
}
li.active-item {
.mini-icon(confirm, 14px);
&:before {
margin-right: 5px;
}
}
li.inactive-item {
padding-left: 29px;
}
li .right {
float: right;
}
.key-binding {
border-radius: 2px;
margin-left: 5px;
padding: 3px;
font-size: 11px;
}
}
}