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
f85d7000
Commit
f85d7000
authored
Oct 09, 2017
by
Winnie Hellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make new dropdown-link style global
parent
6730cdb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
21 deletions
+10
-21
app/assets/stylesheets/framework/dropdowns.scss
app/assets/stylesheets/framework/dropdowns.scss
+10
-21
No files found.
app/assets/stylesheets/framework/dropdowns.scss
View file @
f85d7000
...
@@ -154,14 +154,20 @@
...
@@ -154,14 +154,20 @@
}
}
@mixin
dropdown-link
{
@mixin
dropdown-link
{
background
:
transparent
;
border
:
0
;
border-radius
:
0
;
box-shadow
:
none
;
display
:
block
;
display
:
block
;
font-weight
:
$gl-font-weight-normal
;
position
:
relative
;
position
:
relative
;
padding
:
5px
8
px
;
padding
:
8px
16
px
;
color
:
$gl-text-color
;
color
:
$gl-text-color
;
line-height
:
initial
;
line-height
:
normal
;
border-radius
:
2px
;
white-space
:
normal
;
white-space
:
nowrap
;
overflow
:
hidden
;
overflow
:
hidden
;
text-align
:
left
;
width
:
100%
;
// make sure the text color is not overriden
// make sure the text color is not overriden
&
.text-danger
{
&
.text-danger
{
...
@@ -343,10 +349,7 @@
...
@@ -343,10 +349,7 @@
>
button
{
>
button
{
display
:
flex
;
display
:
flex
;
margin
:
0
;
margin
:
0
;
padding
:
0
;
border-radius
:
0
;
text-overflow
:
inherit
;
text-overflow
:
inherit
;
border
:
inherit
;
text-align
:
left
;
text-align
:
left
;
&
.btn
.fa
:not
(
:last-child
)
{
&
.btn
.fa
:not
(
:last-child
)
{
...
@@ -769,20 +772,6 @@
...
@@ -769,20 +772,6 @@
&
:hover
{
&
:hover
{
background-color
:
transparent
;
background-color
:
transparent
;
}
}
a
,
button
,
.menu-item
{
margin-bottom
:
0
;
border-radius
:
0
;
box-shadow
:
none
;
padding
:
8px
16px
;
text-align
:
left
;
white-space
:
normal
;
width
:
100%
;
font-weight
:
$gl-font-weight-normal
;
line-height
:
normal
;
}
}
}
&
.dropdown-menu-selectable
{
&
.dropdown-menu-selectable
{
...
...
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