From c417591d65a39032089f5714437690aba6dbcc16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Corentin=20S=C3=A9chet?= Date: Wed, 2 Nov 2022 15:36:03 +0100 Subject: [PATCH 1/3] cci: remove unused header:logo slot (#70464) --- static/cci/config.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/static/cci/config.json b/static/cci/config.json index 0532ab3e..3c575df0 100644 --- a/static/cci/config.json +++ b/static/cci/config.json @@ -6,8 +6,7 @@ "settings": { "combo": { "COMBO_ASSET_SLOTS.update": { - "header:background": { "label": "Têtière : fond" }, - "header:logo": { "label": "Têtière : logo" } + "header:background": { "label": "Têtière : fond" } } } } -- 2.39.2 From 4674d56b3871eb70cde3d18c3da8a97c582c8de9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Corentin=20S=C3=A9chet?= Date: Wed, 2 Nov 2022 15:44:48 +0100 Subject: [PATCH 2/3] cci: fix draft button alignment & margin when tracking code is disabled (#70820) --- static/cci/_wcs.scss | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/static/cci/_wcs.scss b/static/cci/_wcs.scss index 9ba7ddf3..667088df 100644 --- a/static/cci/_wcs.scss +++ b/static/cci/_wcs.scss @@ -68,6 +68,9 @@ div#tracking-code { margin: 0; + &.has-discard-button form { + } + div.tracking-code-part { display: flex; flex-direction: column; @@ -84,18 +87,20 @@ } a { - padding: 0.5rem; + padding-top: 0.5rem; + padding-bottom: 0; text-align: center; } + } - & + form { + form { + margin: 0; + margin-top: 0.5rem; + display: flex; + justify-content: center; + + button { margin: 0; - display: flex; - justify-content: center; - - button { - margin: 0; - } } } } -- 2.39.2 From 45dac6682400d04f9e45b258c610ce2a518f1dc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Corentin=20S=C3=A9chet?= Date: Wed, 2 Nov 2022 15:48:58 +0100 Subject: [PATCH 3/3] cci: fix pk-button and pk-big-button color in wcs body (#70820) --- static/cci/_wcs.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/cci/_wcs.scss b/static/cci/_wcs.scss index 667088df..8e5edbbb 100644 --- a/static/cci/_wcs.scss +++ b/static/cci/_wcs.scss @@ -23,7 +23,7 @@ &--body { padding: 1rem; - a:not([role=button]){ + a:not([role=button]):not(.pk-button):not(.pk-big-button) { @extend %cci-link; } } -- 2.39.2