From b8c54a4d0fe7b8e6086976c71617c1aff72815b4 Mon Sep 17 00:00:00 2001 From: maki Date: Tue, 14 May 2024 12:05:48 -0300 Subject: [PATCH 1/3] =?UTF-8?q?fix:=20alineaci=C3=B3n=20botones=20en=20res?= =?UTF-8?q?ponsive=20#16292?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/posts/index.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/posts/index.haml b/app/views/posts/index.haml index eaa757f9..f13324d4 100644 --- a/app/views/posts/index.haml +++ b/app/views/posts/index.haml @@ -72,7 +72,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 = submit_tag t('posts.reorder.submit'), class: 'btn btn-secondary' From 59abb9e68adfe3cf6d575aef1591ea2817793af6 Mon Sep 17 00:00:00 2001 From: maki Date: Tue, 14 May 2024 12:22:56 -0300 Subject: [PATCH 2/3] fix: color de fuente legible en modo oscuro #16288 --- app/assets/stylesheets/application.scss | 3 +++ app/assets/stylesheets/dark.scss | 4 ++++ app/views/posts/index.haml | 8 +++++++- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index f70869a5..67fd69cf 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -52,6 +52,9 @@ $sizes: ( --background: #{$black}; --color: #{$cyan}; } + a.black { + color: $white; + } } // TODO: Encontrar la forma de generar esto desde los locales de Rails 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 f13324d4..660f8d5f 100644 --- a/app/views/posts/index.haml +++ b/app/views/posts/index.haml @@ -21,7 +21,13 @@ %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 + = 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, _| From d6466cdda2c296968edc4d4aed8ea460b9b00775 Mon Sep 17 00:00:00 2001 From: maki Date: Tue, 14 May 2024 12:27:59 -0300 Subject: [PATCH 3/3] =?UTF-8?q?fix:=20traducci=C3=B3n=20rota=20en=20bot?= =?UTF-8?q?=C3=B3n=20submit=20de=20filtros=20#16289?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/posts/index.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/posts/index.haml b/app/views/posts/index.haml index 660f8d5f..5655c160 100644 --- a/app/views/posts/index.haml +++ b/app/views/posts/index.haml @@ -20,7 +20,7 @@ - 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') + %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",