Commit f85d7000 authored by Winnie Hellmann's avatar Winnie Hellmann

Make new dropdown-link style global

parent 6730cdb7
...@@ -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 8px; padding: 8px 16px;
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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment