Commit dccbf60c authored by Clement Ho's avatar Clement Ho

Merge branch '7082-billing-cards' into 'master'

Resolve "Billing page style is broken"

Closes #7082

See merge request gitlab-org/gitlab-ee!6773
parents d40ccdc5 935b4818
...@@ -29,6 +29,10 @@ ...@@ -29,6 +29,10 @@
justify-content: center; justify-content: center;
margin-top: 8px; margin-top: 8px;
.card-header {
border-bottom: 0;
}
.card { .card {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
...@@ -48,13 +52,13 @@ ...@@ -48,13 +52,13 @@
width: 290px; width: 290px;
} }
.card-heading, .card-header,
.card-body { .card-body {
border-left: 1px solid $list-border; border-left: 1px solid $list-border;
border-right: 1px solid $list-border; border-right: 1px solid $list-border;
} }
.card-heading { .card-header {
background-color: $blue-500; background-color: $blue-500;
color: $white-light; color: $white-light;
border: 0; border: 0;
...@@ -138,10 +142,6 @@ ...@@ -138,10 +142,6 @@
} }
&.current { &.current {
.card-heading {
background-color: $blue-600;
}
.card-body { .card-body {
border-color: $blue-600; border-color: $blue-600;
border-width: 2px; border-width: 2px;
......
.card.bg-info{ class: ('current' if current_plan?(plan)) } .card{ class: ('current' if current_plan?(plan)) }
.card-header .card-header.bg-info.text-white
= plan.name = plan.name
.card-body .card-body
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
= render 'shared/billings/billing_plan_header', namespace: namespace, plan: current_plan = render 'shared/billings/billing_plan_header', namespace: namespace, plan: current_plan
- unless has_plan_purchase_link?(plans_data) - unless has_plan_purchase_link?(plans_data)
.billing-plans-alert.card.bg-warning.prepend-top-10 .billing-plans-alert.card.prepend-top-10
.card-header .card-header.bg-warning.text-white
= s_("BillingPlans|Automatic downgrade and upgrade to some plans is currently not available.") = s_("BillingPlans|Automatic downgrade and upgrade to some plans is currently not available.")
- customer_support_url = 'https://support.gitlab.com/hc/en-us/requests/new?ticket_form_id=334447'; - customer_support_url = 'https://support.gitlab.com/hc/en-us/requests/new?ticket_form_id=334447';
- customer_support_link = link_to s_("BillingPlans|Customer Support"), customer_support_url - customer_support_link = link_to s_("BillingPlans|Customer Support"), customer_support_url
......
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