Commit 935b4818 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Fix billing card styles

parent d40ccdc5
......@@ -29,6 +29,10 @@
justify-content: center;
margin-top: 8px;
.card-header {
border-bottom: 0;
}
.card {
display: flex;
flex-direction: column;
......@@ -48,13 +52,13 @@
width: 290px;
}
.card-heading,
.card-header,
.card-body {
border-left: 1px solid $list-border;
border-right: 1px solid $list-border;
}
.card-heading {
.card-header {
background-color: $blue-500;
color: $white-light;
border: 0;
......@@ -138,10 +142,6 @@
}
&.current {
.card-heading {
background-color: $blue-600;
}
.card-body {
border-color: $blue-600;
border-width: 2px;
......
.card.bg-info{ class: ('current' if current_plan?(plan)) }
.card-header
.card{ class: ('current' if current_plan?(plan)) }
.card-header.bg-info.text-white
= plan.name
.card-body
......
......@@ -4,8 +4,8 @@
= render 'shared/billings/billing_plan_header', namespace: namespace, plan: current_plan
- unless has_plan_purchase_link?(plans_data)
.billing-plans-alert.card.bg-warning.prepend-top-10
.card-header
.billing-plans-alert.card.prepend-top-10
.card-header.bg-warning.text-white
= 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_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