Remove unnecessary 'blue' class

Buttons are already blue.

And we don't want the text to be blue. This resolves #11865
This commit is contained in:
David Cook
2023-12-14 10:06:19 +11:00
committed by drummer83
parent e9fe66748a
commit 6ca98d497a
5 changed files with 6 additions and 10 deletions

View File

@@ -27,6 +27,6 @@
%div.sixteen.columns.alpha.list
= render partial: 'enterprise_row', collection: @enterprises, as: :enterprise
%a.sixteen.columns.alpha.button.bottom.blue{ href: "#{main_app.admin_enterprises_path}" }
%a.sixteen.columns.alpha.button.bottom{ href: "#{main_app.admin_enterprises_path}" }
= t "spree_admin_overview_enterprises_footer"
%span.icon-arrow-right

View File

@@ -3,7 +3,7 @@
= t "spree_admin_overview_enterprises_header"
- if @enterprises.any?
- if spree_current_user.can_own_more_enterprises?
%a.three.columns.omega.icon-plus.button.blue.white-bottom{ href: "#{main_app.new_admin_enterprise_path}" }
%a.three.columns.omega.icon-plus.button.white-bottom{ href: "#{main_app.new_admin_enterprise_path}" }
= t "spree_admin_enterprises_create_new"
- else
%a{ "ofn-with-tip" => t('.ofn_with_tip') }

View File

@@ -1,11 +1,11 @@
- color_class = @order_cycle_count > 0 ? "blue" : "red"
- color_class = @order_cycle_count > 0 ? "" : "red"
- icon_class = @order_cycle_count > 0 ? "icon-ok-sign" : "icon-warning-sign"
%div.dashboard_item.seven.columns.omega#order_cycles
%div.header.sixteen.columns.alpha{class: color_class}
%h3.ten.columns.alpha
= t ".order_cycles"
- if @order_cycle_count > 0
%a.six.columns.omega.icon-plus.button.blue{ href: main_app.new_admin_order_cycle_path }
%a.six.columns.omega.icon-plus.button{ href: main_app.new_admin_order_cycle_path }
= t "spree_admin_enterprises_create_new"
- else
%a{ "ofn-with-tip" => t(".order_cycles_tip") }

View File

@@ -3,7 +3,7 @@
%h3.ten.columns.alpha
= t "products"
- if @product_count > 0
%a.six.columns.omega.icon-plus.button.blue{ href: "#{new_admin_product_path}" }
%a.six.columns.omega.icon-plus.button{ href: "#{new_admin_product_path}" }
= t "spree_admin_enterprises_create_new"
- else
%a{ "ofn-with-tip" => t(".products_tip") }
@@ -15,7 +15,7 @@
= t(".active_products", count: @product_count )
%span.three.columns.omega
%span.icon-ok-sign
%a.sixteen.columns.alpha.button.bottom.blue{ href: "#{admin_products_path}" }
%a.sixteen.columns.alpha.button.bottom{ href: "#{admin_products_path}" }
= t "spree_admin_enterprises_producers_manage_products"
%span.icon-arrow-right
- else

View File

@@ -195,10 +195,6 @@ div.dashboard_item {
font-weight: bold;
text-align: center;
&.blue {
background-color: $spree-blue;
}
&.red {
background-color: $color-warning;
}