Commit 2addebc7 authored by Luke Bennett's avatar Luke Bennett

UX changes

parent e11dfbef
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
display: flex; display: flex;
position: relative; position: relative;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: center;
align-items: start; align-items: start;
.banner-close { .banner-close {
...@@ -18,18 +17,28 @@ ...@@ -18,18 +17,28 @@
} }
.banner-graphic { .banner-graphic {
margin: 0 20px 20px; margin: 0 20px 20px 0;
} }
&.banner-non-empty-state { &.banner-non-empty-state {
border-bottom: 1px solid $border-color; border-bottom: 1px solid $border-color;
} }
.banner-body { @media (max-width: $screen-xs-max) {
text-align: left; justify-content: center;
}
.banner-title,
.banner-buttons { .banner-buttons {
text-align: center; text-align: center;
} }
.banner-text,
.banner-link {
display: inline;
}
.banner-graphic {
margin: 0 20px 20px;
}
}
} }
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
= custom_icon('icon_autodevops') = custom_icon('icon_autodevops')
.banner-body.prepend-left-10.append-bottom-10 .banner-body.prepend-left-10.append-bottom-10
%h5= s_('AutoDevOps|Auto DevOps (Beta)') %h5.banner-title= s_('AutoDevOps|Auto DevOps (Beta)')
%p= s_('AutoDevOps|It will automatically build, test, and deploy your application based on a predefined CI/CD configuration.') %p= s_('AutoDevOps|It will automatically build, test, and deploy your application based on a predefined CI/CD configuration.')
%p %p
- link = link_to(s_('AutoDevOps|Auto DevOps documentation'), help_page_path('topics/autodevops/index.md'), target: '_blank', rel: 'noopener noreferrer') - link = link_to(s_('AutoDevOps|Auto DevOps documentation'), help_page_path('topics/autodevops/index.md'), target: '_blank', rel: 'noopener noreferrer')
......
.banner-callout.compact.milestone-deprecation-message.js-milestone-deprecation-message.prepend-top-20 .banner-callout.compact.milestone-deprecation-message.js-milestone-deprecation-message.prepend-top-20
.banner-graphic= image_tag 'illustrations/milestone_removing-page.svg' .banner-graphic= image_tag 'illustrations/milestone_removing-page.svg'
.banner-body.prepend-left-10.append-right-10 .banner-body.prepend-left-10.append-right-10
%h5.prepend-top-0= _('This page will be removed in a future release.') %h5.banner-title.prepend-top-0= _('This page will be removed in a future release.')
%p= _('Use group milestones to manage issues from multiple projects in the same milestone.') %p.banner-text= _('Use group milestones to manage issues from multiple projects in the same milestone.')
= button_tag _('Promote these project milestones into a group milestone.'), class: 'btn-link js-popover-link text-align-left' = button_tag _('Promote these project milestones into a group milestone.'), class: 'btn-link js-popover-link text-align-left banner-link'
.banner-buttons.prepend-top-20= link_to _('Learn more'), help_page_url('user/project/milestones/index', anchor: 'promoting-project-milestones-to-group-milestones'), class: 'btn btn-default', target: '_blank' .banner-buttons.prepend-top-20= link_to _('Learn more'), help_page_url('user/project/milestones/index', anchor: 'promoting-project-milestones-to-group-milestones'), class: 'btn btn-default', target: '_blank'
%template.js-milestone-deprecation-message-template %template.js-milestone-deprecation-message-template
......
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