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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
37c76cec
Commit
37c76cec
authored
Aug 30, 2017
by
winh
Committed by
Winnie Hellmann
Sep 06, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore droplab item style for keyboard navigation
parent
6ec15726
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
app/assets/stylesheets/framework/dropdowns.scss
app/assets/stylesheets/framework/dropdowns.scss
+11
-0
No files found.
app/assets/stylesheets/framework/dropdowns.scss
View file @
37c76cec
...
@@ -733,6 +733,11 @@
...
@@ -733,6 +733,11 @@
overflow
:
hidden
;
overflow
:
hidden
;
}
}
@mixin
dropdown-item-hover
{
background-color
:
$dropdown-item-hover-bg
;
color
:
$gl-text-color
;
}
// TODO: change global style and remove mixin
// TODO: change global style and remove mixin
@mixin
new-style-dropdown
(
$selector
:
''
)
{
@mixin
new-style-dropdown
(
$selector
:
''
)
{
#{
$selector
}
.dropdown-menu
,
#{
$selector
}
.dropdown-menu
,
...
@@ -759,6 +764,10 @@
...
@@ -759,6 +764,10 @@
padding
:
8px
16px
;
padding
:
8px
16px
;
}
}
&
.droplab-item-active
button
{
@include
dropdown-item-hover
;
}
a
,
a
,
button
,
button
,
.menu-item
{
.menu-item
{
...
@@ -778,6 +787,8 @@
...
@@ -778,6 +787,8 @@
&
:hover
,
&
:hover
,
&
:active
,
&
:active
,
&
:focus
{
&
:focus
{
@include
dropdown-item-hover
;
background-color
:
$dropdown-item-hover-bg
;
background-color
:
$dropdown-item-hover-bg
;
color
:
$gl-text-color
;
color
:
$gl-text-color
;
...
...
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