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
bb133ff7
Commit
bb133ff7
authored
Oct 09, 2017
by
Winnie Hellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make new .dropdown-menu-selectable style global
parent
244ac208
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
39 deletions
+28
-39
app/assets/stylesheets/framework/dropdowns.scss
app/assets/stylesheets/framework/dropdowns.scss
+28
-39
No files found.
app/assets/stylesheets/framework/dropdowns.scss
View file @
bb133ff7
...
...
@@ -484,39 +484,41 @@
}
.dropdown-menu-selectable
{
a
{
padding-left
:
26px
;
position
:
relative
;
li
{
a
{
padding
:
8px
40px
;
position
:
relative
;
&
.is-indeterminate
,
&
.is-active
{
color
:
$gl-text-color
;
&
:
:
before
{
position
:
absolute
;
left
:
6px
;
top
:
16px
;
transform
:
translateY
(
-50%
);
font
:
normal
normal
normal
14px
/
1
FontAwesome
;
font-size
:
inherit
;
text-rendering
:
auto
;
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
}
&
.is-indeterminate
,
&
.is-active
{
color
:
$gl-text-color
;
&
.dropdown-menu-user-link
{
&
:
:
before
{
top
:
50%
;
position
:
absolute
;
left
:
16px
;
top
:
16px
;
transform
:
translateY
(
-50%
);
font
:
normal
normal
normal
14px
/
1
FontAwesome
;
font-size
:
inherit
;
text-rendering
:
auto
;
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
}
&
.dropdown-menu-user-link
{
&
:
:
before
{
top
:
50%
;
}
}
}
}
&.
is-indeterminate
:
:
before
{
content
:
"\f068"
;
}
&.
is-indeterminate
:
:
before
{
content
:
"\f068"
;
}
&.
is-active
:
:
before
{
content
:
"\f00c"
;
&.
is-active
:
:
before
{
content
:
"\f00c"
;
}
}
}
}
...
...
@@ -758,19 +760,6 @@
#{
$selector
}
.dropdown-menu
,
#{
$selector
}
.dropdown-menu-nav
{
margin-bottom
:
24px
;
&
.dropdown-menu-selectable
{
li
{
a
{
padding
:
8px
40px
;
&.
is-indeterminate
:
:
before
,
&.
is-active
::
before
{
left
:
16px
;
}
}
}
}
}
#{
$selector
}
.dropdown-menu-align-right
{
...
...
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