Commit 69930be4 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Merge branch '26202-change-dropdown-style-slightly-ee' into 'master'

Port of 26202 change dropdown style slightly to EE

See merge request !1380
parents f7cb0ee6 cad4fada
...@@ -159,12 +159,12 @@ ...@@ -159,12 +159,12 @@
li { li {
text-align: left; text-align: left;
list-style: none; list-style: none;
padding: 0 8px; padding: 0 10px;
} }
.divider { .divider {
height: 1px; height: 1px;
margin: 8px; margin: 6px 10px;
padding: 0; padding: 0;
background-color: $dropdown-divider-color; background-color: $dropdown-divider-color;
} }
...@@ -181,7 +181,7 @@ ...@@ -181,7 +181,7 @@
display: block; display: block;
position: relative; position: relative;
padding: 5px 8px; padding: 5px 8px;
color: $dropdown-link-color; color: $gl-text-color;
line-height: initial; line-height: initial;
text-overflow: ellipsis; text-overflow: ellipsis;
border-radius: 2px; border-radius: 2px;
...@@ -222,10 +222,12 @@ ...@@ -222,10 +222,12 @@
} }
.dropdown-header { .dropdown-header {
color: $gl-text-color-secondary; color: $gl-text-color;
font-size: 13px; font-size: 13px;
font-weight: 600;
line-height: 22px; line-height: 22px;
padding: 0 10px; text-transform: capitalize;
padding: 0 16px;
} }
.separator + .dropdown-header { .separator + .dropdown-header {
...@@ -328,14 +330,17 @@ ...@@ -328,14 +330,17 @@
.dropdown-menu-selectable { .dropdown-menu-selectable {
a { a {
padding-left: 25px; padding-left: 26px;
&.is-indeterminate, &.is-indeterminate,
&.is-active { &.is-active {
font-weight: 600;
color: $gl-text-color;
&::before { &::before {
position: absolute; position: absolute;
left: 5px; left: 6px;
top: 8px; top: 6px;
font: normal normal normal 14px/1 FontAwesome; font: normal normal normal 14px/1 FontAwesome;
font-size: inherit; font-size: inherit;
text-rendering: auto; text-rendering: auto;
...@@ -357,7 +362,7 @@ ...@@ -357,7 +362,7 @@
.dropdown-title { .dropdown-title {
position: relative; position: relative;
padding: 0 25px 10px; padding: 2px 25px 10px;
margin: 0 10px 10px; margin: 0 10px 10px;
font-weight: 600; font-weight: 600;
line-height: 1; line-height: 1;
...@@ -387,7 +392,7 @@ ...@@ -387,7 +392,7 @@
right: 5px; right: 5px;
width: 20px; width: 20px;
height: 20px; height: 20px;
top: -3px; top: -1px;
} }
.dropdown-menu-back { .dropdown-menu-back {
......
---
title: Changed dropdown style slightly
merge_request:
author:
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