Commit 55890743 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

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

Changed dropdown style slightly

Closes #26202

See merge request !9747
parents 935574ed 1b2fcdb0
...@@ -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;
...@@ -218,11 +218,12 @@ ...@@ -218,11 +218,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;
text-transform: capitalize; text-transform: capitalize;
padding: 0 10px; padding: 0 16px;
} }
.separator + .dropdown-header { .separator + .dropdown-header {
...@@ -325,14 +326,17 @@ ...@@ -325,14 +326,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;
...@@ -354,7 +358,7 @@ ...@@ -354,7 +358,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;
...@@ -384,7 +388,7 @@ ...@@ -384,7 +388,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