Commit e5538fda authored by Martin Wortschack's avatar Martin Wortschack

Merge branch '257764-milestones-page-broken-on-dark-mode' into 'master'

Fix dark mode for milestones

See merge request gitlab-org/gitlab!44952
parents 17e9f197 8983e84a
...@@ -10,13 +10,13 @@ $status-box-line-height: 26px; ...@@ -10,13 +10,13 @@ $status-box-line-height: 26px;
padding: $gl-padding-8; padding: $gl-padding-8;
margin-top: $gl-padding-8; margin-top: $gl-padding-8;
border-radius: $border-radius-default; border-radius: $border-radius-default;
background-color: $gray-100; background-color: var(--gray-100, $gray-100);
.milestone { .milestone {
border: 0; border: 0;
padding: $gl-padding-top $gl-padding; padding: $gl-padding-top $gl-padding;
border-radius: $border-radius-default; border-radius: $border-radius-default;
background-color: $white; background-color: var(--white, $white);
&:not(:last-child) { &:not(:last-child) {
margin-bottom: $gl-padding-4; margin-bottom: $gl-padding-4;
...@@ -35,7 +35,7 @@ $status-box-line-height: 26px; ...@@ -35,7 +35,7 @@ $status-box-line-height: 26px;
.milestone-progress, .milestone-progress,
.milestone-release-links { .milestone-release-links {
a { a {
color: $blue-600; color: var(--blue-600, $blue-600);
} }
} }
...@@ -63,7 +63,7 @@ $status-box-line-height: 26px; ...@@ -63,7 +63,7 @@ $status-box-line-height: 26px;
.issuable-row { .issuable-row {
span { span {
a { a {
color: $gl-text-color; color: var(--gray-900, $gray-900);
word-wrap: break-word; word-wrap: break-word;
} }
...@@ -164,7 +164,7 @@ $status-box-line-height: 26px; ...@@ -164,7 +164,7 @@ $status-box-line-height: 26px;
} }
.issuable-number { .issuable-number {
color: $gl-text-color-secondary; color: var(--gray-500, $gray-500);
margin-right: 5px; margin-right: 5px;
} }
...@@ -179,7 +179,7 @@ $status-box-line-height: 26px; ...@@ -179,7 +179,7 @@ $status-box-line-height: 26px;
} }
.milestone-detail { .milestone-detail {
border-bottom: 1px solid $border-color; border-bottom: 1px solid var(--border-color, $border-color);
} }
@include media-breakpoint-down(xs) { @include media-breakpoint-down(xs) {
...@@ -235,7 +235,7 @@ $status-box-line-height: 26px; ...@@ -235,7 +235,7 @@ $status-box-line-height: 26px;
} }
.issuable-row { .issuable-row {
background-color: $white; background-color: var(--white, $white);
} }
.milestone-popover-instructions-list { .milestone-popover-instructions-list {
......
---
title: Fix dark mode for milestones
merge_request: 44952
author:
type: fixed
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