From 7e73a4b1c972a580cb9256f4d7c8466448573e2a Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Fri, 17 Aug 2018 15:20:27 +0200 Subject: [PATCH] [FIX] website: BS4, smaller btn-sm buttons Before BS4 migration, Odoo was not very consistent and used mainly btn-sm buttons and btn-xs buttons. We took advantage of the fact BS4 removed the btn-xs class to convert our btn-sm to standard btn and our btn-xs to standard btn-sm. While this is perfect in theory, the new btn-sm class does not generated small enough design for us. This commit changes the BS4 standard style for our website, making btn-sm smaller. --- addons/website/static/src/scss/bootstrap_overridden.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/addons/website/static/src/scss/bootstrap_overridden.scss b/addons/website/static/src/scss/bootstrap_overridden.scss index 0e28e5aa1fa..56d491ee879 100644 --- a/addons/website/static/src/scss/bootstrap_overridden.scss +++ b/addons/website/static/src/scss/bootstrap_overridden.scss @@ -8,4 +8,8 @@ $headings-color: color('h1'); $font-family-sans-serif: nth($o-theme-fonts, $o-theme-font-number); $headings-font-family: nth($o-theme-fonts, $o-theme-headings-font-number); -$input-btn-border-width: 2px; \ No newline at end of file +$input-btn-border-width: 2px; + +$font-size-sm: 0.75rem; +$btn-padding-y-sm: 0.0625rem; +$btn-padding-x-sm: 0.3125rem;