summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorEnrique Alcantara <ealcantara@gitlab.com>2019-06-04 10:41:24 -0400
committerEnrique Alcantara <ealcantara@gitlab.com>2019-06-07 08:52:44 -0400
commitea6147d6d1f626e30d8b84ed8e4c6b4f5961c9a3 (patch)
tree6d7200e83c6f5effb882440240b77f46e4048102 /app
parentaad8675daeeb495d57daf22fbdcf0757422a2754 (diff)
downloadgitlab-ce-ea6147d6d1f626e30d8b84ed8e4c6b4f5961c9a3.tar.gz
Cleanup deprecation message popover
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/components/user_popover.scss4
-rw-r--r--app/assets/stylesheets/pages/milestone.scss21
-rw-r--r--app/views/shared/milestones/_deprecation_message.html.haml1
3 files changed, 1 insertions, 25 deletions
diff --git a/app/assets/stylesheets/components/user_popover.scss b/app/assets/stylesheets/components/user_popover.scss
deleted file mode 100644
index 2f33324bc60..00000000000
--- a/app/assets/stylesheets/components/user_popover.scss
+++ /dev/null
@@ -1,4 +0,0 @@
-.user-popover {
- padding: $gl-padding-8;
- line-height: $gl-line-height;
-}
diff --git a/app/assets/stylesheets/pages/milestone.scss b/app/assets/stylesheets/pages/milestone.scss
index 49608a3964f..00d84df1650 100644
--- a/app/assets/stylesheets/pages/milestone.scss
+++ b/app/assets/stylesheets/pages/milestone.scss
@@ -230,27 +230,6 @@ $status-box-line-height: 26px;
background-color: $white-light;
}
-.milestone-deprecation-message {
- .popover {
- padding: 0;
- }
-
- .popover-body,
- .popover-content {
- padding: 0;
- }
-}
-
-.milestone-popover-body {
- padding: $gl-padding-8;
- background-color: $gray-light;
-}
-
-.milestone-popover-footer {
- padding: $gl-padding-8 $gl-padding;
- border-top: 1px solid $white-dark;
-}
-
.milestone-popover-instructions-list {
padding-left: 2em;
diff --git a/app/views/shared/milestones/_deprecation_message.html.haml b/app/views/shared/milestones/_deprecation_message.html.haml
index 4a8f90937ea..acd90fa9178 100644
--- a/app/views/shared/milestones/_deprecation_message.html.haml
+++ b/app/views/shared/milestones/_deprecation_message.html.haml
@@ -11,4 +11,5 @@
%ol.milestone-popover-instructions-list.append-bottom-0
%li= _('Click any <strong>project name</strong> in the project list below to navigate to the project milestone.').html_safe
%li= _('Click the <strong>Promote</strong> button in the top right corner to promote it to a group milestone.').html_safe
+ %hr.popover-hr
.milestone-popover-footer= link_to _('Learn more'), help_page_url('user/project/milestones/index', anchor: 'promoting-project-milestones-to-group-milestones'), class: 'btn btn-link prepend-left-0', target: '_blank'