Select2 improvements (#92)

* Select2 options are now left aligned, alternative text is gray, layer tab have ordinary select
* Increased height of select2 dropdown

Resolves #84
This commit is contained in:
Nejc Zdovc
2016-12-11 13:06:02 +01:00
committed by József Farkas
parent ffc820f47a
commit 68814185e7
7 changed files with 76 additions and 47 deletions

View File

@@ -17,10 +17,20 @@ main-app {
.select2 {
&-container {
z-index: 1100;
.scancode--searchterm {
text-align: right;
color: #b7b7b7;
}
}
&-item {
display: flex;
justify-content: space-between;
}
&-results {
text-align: center;
text-align: left;
}
}
@@ -28,6 +38,10 @@ main-app {
cursor: pointer;
}
.select2-container--default .select2-dropdown--below .select2-results > .select2-results__options {
max-height: 300px;
}
/* GitHub ribbon */
.github-fork-ribbon {
background-color: #a00;