BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
a103fcb7
Commit
a103fcb7
authored
Mar 29, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved back some css classes
parent
29872c39
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
12 deletions
+5
-12
gl_dropdown.js.coffee
app/assets/javascripts/gl_dropdown.js.coffee
+3
-3
dropdowns.scss
app/assets/stylesheets/framework/dropdowns.scss
+2
-9
No files found.
app/assets/javascripts/gl_dropdown.js.coffee
View file @
a103fcb7
...
@@ -326,8 +326,8 @@ class GitLabDropdown
...
@@ -326,8 +326,8 @@ class GitLabDropdown
).
join
(
''
)
).
join
(
''
)
noResults
:
->
noResults
:
->
html
=
"<li class='dropdown-menu-empty-link
is-focused
'>"
html
=
"<li class='dropdown-menu-empty-link'>"
html
+=
"<a href='#'>"
html
+=
"<a href='#'
class='is-focused'
>"
html
+=
"No matching results."
html
+=
"No matching results."
html
+=
"</a>"
html
+=
"</a>"
html
+=
"</li>"
html
+=
"</li>"
...
@@ -433,7 +433,7 @@ class GitLabDropdown
...
@@ -433,7 +433,7 @@ class GitLabDropdown
# Update the class for the row at the specific index
# Update the class for the row at the specific index
$listItem
=
$listItems
.
eq
(
index
)
$listItem
=
$listItems
.
eq
(
index
)
$listItem
.
addClass
"is-focused"
$listItem
.
find
(
'a:first-child'
).
addClass
"is-focused"
# Dropdown content scroll area
# Dropdown content scroll area
$dropdownContent
=
$listItem
.
closest
(
'.dropdown-content'
)
$dropdownContent
=
$listItem
.
closest
(
'.dropdown-content'
)
...
...
app/assets/stylesheets/framework/dropdowns.scss
View file @
a103fcb7
...
@@ -104,14 +104,6 @@
...
@@ -104,14 +104,6 @@
padding
:
0
10px
;
padding
:
0
10px
;
}
}
.is-focused
{
a
{
background-color
:
$dropdown-link-hover-bg
;
text-decoration
:
none
;
outline
:
0
;
}
}
.divider
{
.divider
{
height
:
1px
;
height
:
1px
;
margin
:
8px
10px
;
margin
:
8px
10px
;
...
@@ -140,7 +132,8 @@
...
@@ -140,7 +132,8 @@
overflow
:
hidden
;
overflow
:
hidden
;
&
:hover
,
&
:hover
,
&
:focus
{
&
:focus
,
&
.is-focused
{
background-color
:
$dropdown-link-hover-bg
;
background-color
:
$dropdown-link-hover-bg
;
text-decoration
:
none
;
text-decoration
:
none
;
outline
:
0
;
outline
:
0
;
...
...
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