diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index 26604d0b..6115077d 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -88,6 +88,8 @@ $sizes: ( &:focus { box-shadow: 0 0 0 0.2rem $cyan; } + a.black { + color: $white; } } diff --git a/app/assets/stylesheets/dark.scss b/app/assets/stylesheets/dark.scss index f7f3a09d..4988fdb0 100644 --- a/app/assets/stylesheets/dark.scss +++ b/app/assets/stylesheets/dark.scss @@ -31,4 +31,8 @@ $cyan: #13fefe; } } +a.black { + color: $white; +} + diff --git a/app/views/posts/index.haml b/app/views/posts/index.haml index 184347ae..eac5c513 100644 --- a/app/views/posts/index.haml +++ b/app/views/posts/index.haml @@ -27,8 +27,14 @@ - schema = @site.layouts[key] %input.custom-control-input.magenta{ type: 'checkbox', id: schema, name: "layout[]", class: "", value: schema.name, checked: @filter_params[:layout]&.include?(key.to_s) } %label.custom-control-label.font-weight-normal{ for: schema }= schema.humanized_name - %button.btn.btn-secondary.mt-3{ type: 'submit' }= t('.filters.submit') - = render 'layouts/details', summary: t('posts.new'), summary_class: "h4 magenta font-weight-bold m-0 px-2", details_class: "d-flex border border-magenta justify-content-between align-items-center w-100 mb-3", open: "+", closed: "+", open_class: "h1 magenta font-weight-bold m-0", closed_class: "h1 magenta font-weight-bold m-0" do + %button.btn.btn-secondary.mt-3{ type: 'submit' }= t('posts.filters.submit') + = render 'layouts/details', + summary: t('posts.new'), + summary_class: "h4 magenta font-weight-bold m-0 px-2", + details_class: "d-flex border border-magenta justify-content-between align-items-center w-100 mb-3", + open: "+", closed: "+", + open_class: "h1 magenta font-weight-bold m-0", + closed_class: "h1 magenta font-weight-bold m-0" do %table.table-sm.w-100 %tbody - @site.schema_organization.each do |schema, _| @@ -78,7 +84,7 @@ %caption.sr-only= t('posts.caption') %thead %tr.sticky-top - %th.border-0{ colspan: '4' } + %th.border-0.p-0.p-md-2-plus{ colspan: '4' } .d-flex.flex-row.justify-content-between %div - if reorder_allowed