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
Boxiang Sun
gitlab-ce
Commits
e5747f87
Commit
e5747f87
authored
Oct 09, 2017
by
Winnie Hellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make new .is-active style global
parent
0fd735aa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
18 deletions
+7
-18
app/assets/stylesheets/framework/dropdowns.scss
app/assets/stylesheets/framework/dropdowns.scss
+7
-18
No files found.
app/assets/stylesheets/framework/dropdowns.scss
View file @
e5747f87
...
@@ -476,13 +476,12 @@
...
@@ -476,13 +476,12 @@
&
.is-indeterminate
,
&
.is-indeterminate
,
&
.is-active
{
&
.is-active
{
font-weight
:
$gl-font-weight-bold
;
color
:
$gl-text-color
;
color
:
$gl-text-color
;
&
:
:
before
{
&
:
:
before
{
position
:
absolute
;
position
:
absolute
;
left
:
6px
;
left
:
6px
;
top
:
50%
;
top
:
16px
;
transform
:
translateY
(
-50%
);
transform
:
translateY
(
-50%
);
font
:
normal
normal
normal
14px
/
1
FontAwesome
;
font
:
normal
normal
normal
14px
/
1
FontAwesome
;
font-size
:
inherit
;
font-size
:
inherit
;
...
@@ -490,6 +489,12 @@
...
@@ -490,6 +489,12 @@
-webkit-font-smoothing
:
antialiased
;
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
-moz-osx-font-smoothing
:
grayscale
;
}
}
&
.dropdown-menu-user-link
{
&
:
:
before
{
top
:
50%
;
}
}
}
}
&.
is-indeterminate
:
:
before
{
&.
is-indeterminate
:
:
before
{
...
@@ -498,9 +503,6 @@
...
@@ -498,9 +503,6 @@
&.
is-active
:
:
before
{
&.
is-active
:
:
before
{
content
:
"\f00c"
;
content
:
"\f00c"
;
position
:
absolute
;
top
:
50%
;
transform
:
translateY
(
-50%
);
}
}
}
}
}
}
...
@@ -800,19 +802,6 @@
...
@@ -800,19 +802,6 @@
color
:
$brand-danger
;
color
:
$brand-danger
;
}
}
}
}
&
.is-active
{
font-weight
:
inherit
;
&
:
:
before
{
top
:
16px
;
}
&.
dropdown-menu-user-link
:
:
before
{
top
:
50%
;
transform
:
translateY
(
-50%
);
}
}
}
}
&
.dropdown-menu-empty-item
a
{
&
.dropdown-menu-empty-item
a
{
...
...
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