2014-01-11 05:11:54 -05:00
|
|
|
/** Select2 selectbox style override **/
|
2014-01-20 08:41:18 -05:00
|
|
|
.select2-container, .select2-container.select2-drop-above {
|
2014-01-11 05:11:54 -05:00
|
|
|
.select2-choice {
|
2014-01-11 05:36:10 -05:00
|
|
|
background: #FFF;
|
2016-02-19 21:46:18 -05:00
|
|
|
border-color: $input-border;
|
|
|
|
height: 35px;
|
|
|
|
padding: $gl-vert-padding $gl-btn-padding;
|
2015-09-03 08:43:31 -04:00
|
|
|
font-size: $gl-font-size;
|
2015-03-09 21:45:36 -04:00
|
|
|
line-height: 1.42857143;
|
2015-03-27 17:28:24 -04:00
|
|
|
|
2016-02-19 21:46:18 -05:00
|
|
|
@include border-radius($input-border-radius);
|
2014-01-11 05:36:10 -05:00
|
|
|
|
|
|
|
.select2-arrow {
|
2016-02-19 21:46:18 -05:00
|
|
|
width: auto;
|
|
|
|
background-image: none;
|
|
|
|
background-color: transparent;
|
|
|
|
border: none;
|
|
|
|
top: calc(50% - 12px);
|
|
|
|
right: 8px;
|
|
|
|
|
|
|
|
b {
|
|
|
|
@extend .caret;
|
|
|
|
color: $gray-darkest;
|
|
|
|
}
|
2014-01-11 05:36:10 -05:00
|
|
|
}
|
2015-12-02 08:12:16 -05:00
|
|
|
|
|
|
|
.select2-chosen {
|
2016-02-19 21:46:18 -05:00
|
|
|
margin-right: 15px;
|
2015-12-02 08:12:16 -05:00
|
|
|
}
|
|
|
|
|
2016-02-19 21:46:18 -05:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: $gray-dark;
|
|
|
|
border-color: $border-white-normal;
|
|
|
|
color: #313236;
|
2015-12-02 08:12:16 -05:00
|
|
|
}
|
2012-11-06 12:31:01 -05:00
|
|
|
}
|
2013-12-19 13:21:22 -05:00
|
|
|
}
|
2013-12-31 09:16:50 -05:00
|
|
|
|
2015-10-05 15:18:21 -04:00
|
|
|
.select2-drop {
|
|
|
|
@include box-shadow(rgba(76, 86, 103, 0.247059) 0px 0px 1px 0px, rgba(31, 37, 50, 0.317647) 0px 2px 18px 0px);
|
|
|
|
@include border-radius (0px);
|
2015-10-07 11:21:15 -04:00
|
|
|
|
|
|
|
padding: 16px;
|
2015-10-05 15:18:21 -04:00
|
|
|
border: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.select2-results .select2-result-label {
|
2015-10-16 11:18:21 -04:00
|
|
|
padding: 9px;
|
2015-10-05 15:18:21 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.select2-drop{
|
|
|
|
color: #7f8fa4;
|
|
|
|
}
|
|
|
|
|
|
|
|
.select2-highlighted {
|
|
|
|
background: #3084bb !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.select2-results li.select2-result-with-children > .select2-result-label {
|
|
|
|
font-weight: 600;
|
|
|
|
color: #313236;
|
|
|
|
}
|
|
|
|
|
2015-12-02 08:24:44 -05:00
|
|
|
.select2-container-multi {
|
|
|
|
.select2-choices {
|
2016-02-19 21:46:18 -05:00
|
|
|
@include border-radius($input-border-radius);
|
2015-12-02 08:24:44 -05:00
|
|
|
border-color: $input-border;
|
|
|
|
padding-left: $gl-padding / 2;
|
2015-10-05 15:18:21 -04:00
|
|
|
|
2015-12-02 08:24:44 -05:00
|
|
|
.select2-search-field input {
|
|
|
|
padding: $gl-padding / 2;
|
|
|
|
font-size: 13px;
|
|
|
|
height: auto;
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: inherit;
|
|
|
|
}
|
2015-10-05 15:18:21 -04:00
|
|
|
|
2015-12-02 08:24:44 -05:00
|
|
|
.select2-search-choice {
|
|
|
|
margin: 8px 0 0 8px;
|
|
|
|
box-shadow: none;
|
|
|
|
border-color: $input-border;
|
|
|
|
color: $gl-text-color;
|
|
|
|
line-height: 15px;
|
2014-06-06 14:39:30 -04:00
|
|
|
|
2015-12-02 08:24:44 -05:00
|
|
|
.select2-search-choice-close {
|
|
|
|
top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.select2-search-choice-focus {
|
|
|
|
border-color: $gl-text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-06-06 14:39:30 -04:00
|
|
|
}
|
|
|
|
|
2016-02-19 21:46:18 -05:00
|
|
|
.select2-container-active {
|
|
|
|
.select2-choice, .select2-choices {
|
|
|
|
@include box-shadow(none);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.select2-dropdown-open {
|
|
|
|
.select2-choice, .select2-choices {
|
|
|
|
outline: 0;
|
|
|
|
background-image: none;
|
|
|
|
border-color: #d6dae2;
|
|
|
|
background-color: $white-dark;
|
|
|
|
@include box-shadow (inset 0 0 4px rgba(0, 0, 0, 0.12));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-01-11 05:36:10 -05:00
|
|
|
.select2-drop-active {
|
2014-02-14 05:30:12 -05:00
|
|
|
border: 1px solid #BBB !important;
|
2014-01-11 05:36:10 -05:00
|
|
|
margin-top: 4px;
|
2015-03-26 22:13:49 -04:00
|
|
|
font-size: 13px;
|
2014-01-14 14:45:20 -05:00
|
|
|
|
2014-02-14 05:30:12 -05:00
|
|
|
&.select2-drop-above {
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
|
2014-01-14 14:52:39 -05:00
|
|
|
.select2-results {
|
|
|
|
max-height: 350px;
|
|
|
|
.select2-highlighted {
|
2015-03-06 22:02:12 -05:00
|
|
|
background: $gl-primary;
|
2014-01-14 14:52:39 -05:00
|
|
|
}
|
2014-01-14 14:45:20 -05:00
|
|
|
}
|
2014-01-11 05:36:10 -05:00
|
|
|
}
|
|
|
|
|
2016-02-19 21:46:18 -05:00
|
|
|
.select2-search input {
|
|
|
|
background: #fff image-url('select2.png') no-repeat 99% -22px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.select2-search input.select2-active {
|
|
|
|
background: #fff image-url('select2-spinner.gif') no-repeat 99%;
|
|
|
|
}
|
|
|
|
|
2015-03-18 23:46:26 -04:00
|
|
|
.select2-container {
|
|
|
|
width: 100% !important;
|
2014-01-04 12:46:52 -05:00
|
|
|
}
|
|
|
|
|
2014-01-11 05:36:10 -05:00
|
|
|
/** Branch/tag selector **/
|
|
|
|
.project-refs-form .select2-container {
|
2015-03-18 23:46:26 -04:00
|
|
|
width: 160px !important;
|
2014-01-11 05:36:10 -05:00
|
|
|
}
|
2014-02-13 08:45:24 -05:00
|
|
|
|
2014-02-13 09:08:26 -05:00
|
|
|
.ajax-users-dropdown, .ajax-project-users-dropdown {
|
|
|
|
.select2-search {
|
2015-10-05 15:18:21 -04:00
|
|
|
padding-top: 2px;
|
2014-02-13 09:08:26 -05:00
|
|
|
}
|
2014-02-13 08:45:24 -05:00
|
|
|
}
|
2014-02-20 06:51:22 -05:00
|
|
|
|
|
|
|
.ajax-users-select {
|
|
|
|
width: 400px;
|
|
|
|
|
|
|
|
&.input-large {
|
|
|
|
width: 210px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.input-clamp {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-12-30 04:32:24 -05:00
|
|
|
.group-result {
|
|
|
|
.group-image {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
.group-name {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
.group-path {
|
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-02-20 06:51:22 -05:00
|
|
|
.user-result {
|
2015-12-02 08:11:32 -05:00
|
|
|
min-height: 24px;
|
|
|
|
|
2014-02-20 06:51:22 -05:00
|
|
|
.user-image {
|
|
|
|
float: left;
|
|
|
|
}
|
2015-12-02 08:11:32 -05:00
|
|
|
|
|
|
|
&.no-username {
|
|
|
|
.user-name {
|
|
|
|
line-height: 24px;
|
|
|
|
}
|
2014-02-20 06:51:22 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.namespace-result {
|
|
|
|
.namespace-kind {
|
|
|
|
color: #AAA;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
.namespace-path {
|
|
|
|
margin-left: 10px;
|
|
|
|
font-weight: bolder;
|
|
|
|
}
|
|
|
|
}
|
2015-03-26 22:13:49 -04:00
|
|
|
|
|
|
|
.ajax-users-dropdown {
|
2015-10-07 11:21:15 -04:00
|
|
|
min-width: 250px !important;
|
2015-12-10 13:04:58 -05:00
|
|
|
}
|