From 58bca40632a4b151ebbfac9ed9255768d8b92243 Mon Sep 17 00:00:00 2001 From: ajugo Date: Tue, 25 Oct 2022 11:44:50 +0200 Subject: [PATCH] Change zebra label instructions [SCI-7390] (#4572) --- .../stylesheets/settings/label_printers.scss | 17 +++++ .../label_printers/_zebra_settings.html.erb | 65 +++++++++++++++---- config/initializers/constants.rb | 4 +- config/locales/en.yml | 25 +++++-- 4 files changed, 92 insertions(+), 19 deletions(-) diff --git a/app/assets/stylesheets/settings/label_printers.scss b/app/assets/stylesheets/settings/label_printers.scss index 3cdfaf0fb..733c55ae6 100644 --- a/app/assets/stylesheets/settings/label_printers.scss +++ b/app/assets/stylesheets/settings/label_printers.scss @@ -34,6 +34,18 @@ } } + ol { + padding-left: 0; + + li { + padding: .5em 0; + } + + .indented_row { + padding-left: 4px; + } + } + .zebra-settings-collapse { border-left: 3px solid $color-concrete; margin-top: 14px; @@ -42,6 +54,10 @@ .collapse { padding-left: 2.5em; + + ol { + padding-left: 1.5em; + } } .collapse-row { @@ -99,6 +115,7 @@ .row-title { @include font-h2; margin-left: .5em; + margin-top: .25em; } .api-key-container { diff --git a/app/views/label_printers/_zebra_settings.html.erb b/app/views/label_printers/_zebra_settings.html.erb index cd549dc7f..b2fe1520a 100644 --- a/app/views/label_printers/_zebra_settings.html.erb +++ b/app/views/label_printers/_zebra_settings.html.erb @@ -1,24 +1,63 @@