From a6ded30e2cfdb638362c7063921e845689cb9b73 Mon Sep 17 00:00:00 2001 From: echarp Date: Wed, 1 May 2019 23:31:32 +0200 Subject: [PATCH] Cleaning language nav bar --- app/assets/stylesheets/all.sass | 4 ++-- app/assets/stylesheets/orgas.sass | 2 +- app/assets/stylesheets/region.sass | 1 + config/i18n-tasks.yml | 1 + config/locales/models/en.yml | 4 ++-- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/all.sass b/app/assets/stylesheets/all.sass index 066e49da..15805881 100644 --- a/app/assets/stylesheets/all.sass +++ b/app/assets/stylesheets/all.sass @@ -89,13 +89,13 @@ header.top margin-top: 0.2em nav + top: -3em font-size: smaller - margin-top: -3em text-align: center .digest, form margin-top: 2em &:hover nav - margin-top: 0 + top: 0.3em .digest, form margin-top: 0 diff --git a/app/assets/stylesheets/orgas.sass b/app/assets/stylesheets/orgas.sass index 57ade4ca..10499cc7 100644 --- a/app/assets/stylesheets/orgas.sass +++ b/app/assets/stylesheets/orgas.sass @@ -7,7 +7,7 @@ form#orga_search float: right font-size: larger margin-left: 1em - margin-right: 2em + margin-right: 1em label display: none em.fa diff --git a/app/assets/stylesheets/region.sass b/app/assets/stylesheets/region.sass index 46ee1c18..5e840710 100644 --- a/app/assets/stylesheets/region.sass +++ b/app/assets/stylesheets/region.sass @@ -1,4 +1,5 @@ header nav + left: 0 width: 100% position: absolute & > ul > li diff --git a/config/i18n-tasks.yml b/config/i18n-tasks.yml index 6726c92b..66e8de39 100644 --- a/config/i18n-tasks.yml +++ b/config/i18n-tasks.yml @@ -78,6 +78,7 @@ search: ## If `strict` is `false`, guess usages such as t("categories.#{category}.title"). The default is `true`. # strict: true + strict: false ## Multiple scanners can be used. Their results are merged. ## The options specified above are passed down to each scanner. Per-scanner options can be specified as well. diff --git a/config/locales/models/en.yml b/config/locales/models/en.yml index 848e52e8..c1ca7b6b 100644 --- a/config/locales/models/en.yml +++ b/config/locales/models/en.yml @@ -50,7 +50,7 @@ en: contact: Contact submitter: Soumetteur submission_time: En attente depuis - tag_list: Tags + tags: Tags active: Active kind: name_association: Association @@ -81,7 +81,7 @@ en: contact: Contact submitter: Submitter submission_time: Waiting for - tag_list: Tags + tags: Tags reason: Reason region: region: Parent region