Merge branch 'winh-projects-select-dropdown' into 'master'
Make project selection dropdown consistent See merge request !13562
This commit is contained in:
commit
9316bb2b4c
3 changed files with 40 additions and 2 deletions
|
@ -761,7 +761,7 @@
|
||||||
&:hover,
|
&:hover,
|
||||||
&:active,
|
&:active,
|
||||||
&:focus {
|
&:focus {
|
||||||
background-color: $gray-darker;
|
background-color: $dropdown-item-hover-bg;
|
||||||
color: $gl-text-color;
|
color: $gl-text-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -264,3 +264,41 @@
|
||||||
.ajax-users-dropdown {
|
.ajax-users-dropdown {
|
||||||
min-width: 250px !important;
|
min-width: 250px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: change global style
|
||||||
|
.ajax-project-dropdown {
|
||||||
|
&.select2-drop {
|
||||||
|
color: $gl-text-color;
|
||||||
|
}
|
||||||
|
|
||||||
|
.select2-results {
|
||||||
|
.select2-no-results,
|
||||||
|
.select2-searching,
|
||||||
|
.select2-ajax-error,
|
||||||
|
.select2-selection-limit {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
.select2-result {
|
||||||
|
padding: 0 1px;
|
||||||
|
|
||||||
|
.select2-match {
|
||||||
|
font-weight: bold;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.select2-result-label {
|
||||||
|
padding: #{$gl-padding / 2} $gl-padding;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.select2-highlighted {
|
||||||
|
background-color: transparent !important;
|
||||||
|
color: $gl-text-color;
|
||||||
|
|
||||||
|
.select2-result-label {
|
||||||
|
background-color: $dropdown-item-hover-bg;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -294,7 +294,7 @@ $dropdown-input-focus-shadow: rgba($dropdown-input-focus-border, .4);
|
||||||
$dropdown-loading-bg: rgba(#fff, .6);
|
$dropdown-loading-bg: rgba(#fff, .6);
|
||||||
$dropdown-chevron-size: 10px;
|
$dropdown-chevron-size: 10px;
|
||||||
$dropdown-toggle-active-border-color: darken($border-color, 14%);
|
$dropdown-toggle-active-border-color: darken($border-color, 14%);
|
||||||
|
$dropdown-item-hover-bg: $gray-darker;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Filtered Search
|
* Filtered Search
|
||||||
|
|
Loading…
Reference in a new issue