Skip to content

Commit

Permalink
add styles to box-link
Browse files Browse the repository at this point in the history
  • Loading branch information
ElviaBth committed Jan 17, 2024
1 parent 72bbe04 commit 8306163
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@
font-size: 36px;
}

.box_date_time {
color: <%= background_color %>;
}

.body-box-title {
font-size: 24px;
font-weight: bold;
Expand All @@ -99,7 +103,8 @@
}

.box-link,
.box-link a {
.box-link a,
.box-link > a {
color: <%= background_color %> !important;
margin-top: 20px;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<a href="#" class="accordion-title body-box-title"><%= t(".boxes_number_title", number: num) %>:</a>
<div class="accordion-content" data-tab-content>
<%= settings_fields.translated :text_field, "body_box_title_#{num}", label: t(".body_box_title") %>
<%= settings_fields.translated :text_field, "body_box_date_time_#{num}", label: t(".body_box_date_time") %>
<%= settings_fields.translated :text_field, "body_el: t(".body_box_date_time") %>
<%= settings_fields.translated :text_field, "body_box_description_#{num}", label: t(".body_box_description"), maxlength: 250 %>
<%= settings_fields.translated :text_field, "body_box_link_text_#{num}", label: t(".body_box_link_text") %>
<%= settings_fields.translated :text_field, "body_box_link_url_#{num}", label: t(".body_box_link_url") %>
Expand Down

0 comments on commit 8306163

Please sign in to comment.