Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/components/cms/horizontal_card_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def padding
end

def wrapper_classes
classes = ["horizontal-card-component__wrapper"]
classes = ["horizontal-card-component__wrapper white-bg"]
if @color_theme
classes << cms_color_theme_class(@color_theme, "left")
classes << "#{@color_theme}-theme"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
display: flex;
padding: 28px;
align-items: center;
background-color: white;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
border-width: 10px;

Expand Down
2 changes: 1 addition & 1 deletion app/components/cms/resource_card_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def initialize(title:, body_text:, icon: nil, color_theme: nil, button_text: nil
end

def wrapper_classes
classes = ["cms-resource-card"]
classes = ["cms-resource-card", "white-bg"]
classes << cms_color_theme_class(@color_theme, "top") if @color_theme
classes
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def wrapper_classes
end

def left_card_classes
classes = ["split-horizontal-card"]
classes = ["split-horizontal-card white-bg"]
classes << cms_color_theme_class(@color_theme, "left") if @color_theme
classes
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<div class="tc-row-one-third">
<% if aside_card_content? %>
<div class="split-horizontal-card">
<div class="split-horizontal-card white-bg">
<%= aside_card_content %>
</div>
<% end %>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.cms-split-horizontal-card-wrapper {
.split-horizontal-card {
height: calc(100% - 40px);
background-color: #ffffff;
padding: 20px;
border-width: 10px;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="cms-testimonial">
<div class="cms-testimonial__quote">
<div class="cms-testimonial__quote white-bg">
<%= render @quote.render %>
</div>
<div class="cms-testimonial__bio">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
iconBlock
spacing
externalTitle
bkColor
]
end