Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
f5e54edb
Commit
f5e54edb
authored
Aug 15, 2017
by
winh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make project selection dropdown consistent
parent
e8e9c0c0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
2 deletions
+40
-2
app/assets/stylesheets/framework/dropdowns.scss
app/assets/stylesheets/framework/dropdowns.scss
+1
-1
app/assets/stylesheets/framework/selects.scss
app/assets/stylesheets/framework/selects.scss
+38
-0
app/assets/stylesheets/framework/variables.scss
app/assets/stylesheets/framework/variables.scss
+1
-1
No files found.
app/assets/stylesheets/framework/dropdowns.scss
View file @
f5e54edb
...
@@ -761,7 +761,7 @@
...
@@ -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
;
}
}
...
...
app/assets/stylesheets/framework/selects.scss
View file @
f5e54edb
...
@@ -264,3 +264,41 @@
...
@@ -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
;
}
}
}
}
}
app/assets/stylesheets/framework/variables.scss
View file @
f5e54edb
...
@@ -294,7 +294,7 @@ $dropdown-input-focus-shadow: rgba($dropdown-input-focus-border, .4);
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment