mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 18:24:09 +03:00
7e15a343f3
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.
62 lines
886 B
Plaintext
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;
|
|
}
|
|
}
|
|
}
|