From 38c1367335ad3df29d6b82c1f8066f5b1dece69e Mon Sep 17 00:00:00 2001 From: Mike Greiling Date: Fri, 24 Mar 2017 15:03:06 -0500 Subject: [PATCH] update styling for milestone sidebar content --- app/assets/stylesheets/pages/milestone.scss | 16 ++++++++++++++++ app/views/shared/milestones/_sidebar.html.haml | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/pages/milestone.scss b/app/assets/stylesheets/pages/milestone.scss index 37b3b3ce17f..86355c72c37 100644 --- a/app/assets/stylesheets/pages/milestone.scss +++ b/app/assets/stylesheets/pages/milestone.scss @@ -52,6 +52,22 @@ } } +.milestone-sidebar { + .remaining-days strong { + font-weight: normal; + } + + .milestone-stat { + float: left; + font-weight: bold; + margin-right: 14px; + } + + .milestone-stat:last-child { + margin-right: 0; + } +} + .milestone-summary { .milestone-stat { white-space: nowrap; diff --git a/app/views/shared/milestones/_sidebar.html.haml b/app/views/shared/milestones/_sidebar.html.haml index edacae0b4ab..7116560897c 100644 --- a/app/views/shared/milestones/_sidebar.html.haml +++ b/app/views/shared/milestones/_sidebar.html.haml @@ -2,7 +2,7 @@ - project = local_assigns[:project] %aside.right-sidebar.js-right-sidebar{ data: { "offset-top" => affix_offset, "spy" => "affix" }, class: sidebar_gutter_collapsed_class, 'aria-live' => 'polite' } - .issuable-sidebar + .issuable-sidebar.milestone-sidebar .block.issuable-sidebar-header %a.gutter-toggle.pull-right.js-sidebar-toggle{ role: "button", href: "#", "aria-label" => "Toggle sidebar" } = sidebar_gutter_toggle_icon