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
Léo-Paul Géneau
gitlab-ce
Commits
91e87ab5
Commit
91e87ab5
authored
Mar 12, 2018
by
Lukas Eipert
Committed by
Phil Hughes
Mar 12, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve "Hover style for sidebar dropdowns is wrong"
parent
30bebe04
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
13 deletions
+32
-13
app/assets/stylesheets/pages/issuable.scss
app/assets/stylesheets/pages/issuable.scss
+27
-13
changelogs/unreleased/42579-fix-sidebar-dropdown-hover-style.yml
...ogs/unreleased/42579-fix-sidebar-dropdown-hover-style.yml
+5
-0
No files found.
app/assets/stylesheets/pages/issuable.scss
View file @
91e87ab5
...
@@ -137,12 +137,22 @@
...
@@ -137,12 +137,22 @@
z-index
:
200
;
z-index
:
200
;
overflow
:
hidden
;
overflow
:
hidden
;
a
:not
(
.btn-retry
),
a
:not
(
.btn
)
{
.btn-link
{
color
:
inherit
;
color
:
inherit
;
&
:hover
{
color
:
$gl-link-hover-color
;
.avatar
{
border-color
:
rgba
(
$avatar-border
,
.2
);
}
}
}
}
.btn-link
{
.btn-link
{
color
:
inherit
;
outline
:
none
;
outline
:
none
;
}
}
...
@@ -214,7 +224,7 @@
...
@@ -214,7 +224,7 @@
&
:hover
{
&
:hover
{
text-decoration
:
underline
;
text-decoration
:
underline
;
color
:
$
md-link
-color
;
color
:
$
gl-link-hover
-color
;
}
}
}
}
}
}
...
@@ -486,16 +496,6 @@
...
@@ -486,16 +496,6 @@
}
}
}
}
a
:not
(
.btn-retry
)
{
&
:hover
{
color
:
$md-link-color
;
.avatar
{
border-color
:
rgba
(
$avatar-border
,
.2
);
}
}
}
.dropdown-menu-toggle
{
.dropdown-menu-toggle
{
width
:
100%
;
width
:
100%
;
padding-top
:
6px
;
padding-top
:
6px
;
...
@@ -503,6 +503,20 @@
...
@@ -503,6 +503,20 @@
.dropdown-menu
{
.dropdown-menu
{
width
:
100%
;
width
:
100%
;
/*
* Overwrite hover style for dropdown items, so that they are not blue
* This should be removed during dev of https://gitlab.com/gitlab-org/gitlab-ce/issues/44040
*/
li
a
{
&
:hover
,
&
:active
,
&
:focus
,
&
.is-focused
{
@include
dropdown-item-hover
;
}
}
}
}
}
}
...
...
changelogs/unreleased/42579-fix-sidebar-dropdown-hover-style.yml
0 → 100644
View file @
91e87ab5
---
title
:
Fix hover style of dropdown items in the right sidebar
merge_request
:
17519
author
:
type
:
fixed
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