Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Override select2 lib styling
Signed-off-by: John Molakvoæ (skjnldsv) <[email protected]>
  • Loading branch information
skjnldsv authored and juliusknorr committed Jan 9, 2019
commit dbee410a6e650edccfe929d37ace922b7bdf35e5
11 changes: 6 additions & 5 deletions core/css/inputs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ div[contenteditable=false] {


/* Default global values */
div.select2-drop .select2-search input, // TODO: REMOVE WHEN DROPPING SELECT2
select,
button, .button,
input:not([type='range']),
Expand Down Expand Up @@ -414,7 +415,7 @@ input {
}

/* Select2 overriding. Merged to core with vendor stylesheet */
.select2-drop {
div.select2-drop {
margin-top: -2px;
background-color: var(--color-main-background);
&.select2-drop-active {
Expand Down Expand Up @@ -474,8 +475,8 @@ input {
}
}
.select2-container-multi {
.select2-choices,
&.select2-container-active .select2-choices {
a.select2-choices,
&.select2-container-active a.select2-choices {
box-shadow: none;
white-space: nowrap;
text-overflow: ellipsis;
Expand Down Expand Up @@ -511,7 +512,7 @@ input {
}
}
}
.select2-container {
div.select2-container {
margin: 3px 3px 3px 0;
&.select2-container-multi .select2-choices {
display: flex;
Expand All @@ -520,7 +521,7 @@ input {
float: none;
}
}
.select2-choice {
a.select2-choice {
box-shadow: none;
white-space: nowrap;
text-overflow: ellipsis;
Expand Down