From 959ccf34379040ec564ea5098ccdd843afb4c73b Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 20 Nov 2023 17:22:51 +0000 Subject: [PATCH] Bug 34792: (Preparation) Run stylelint fixes on cookie consent CSS This patch applies automated stylelint fixes to the OPAC CSS which was added when the Cookie Consent feature was added. No other CSS has been changed. Signed-off-by: David Nind Signed-off-by: Lucas Gass Signed-off-by: Katrin Fischer --- .../opac-tmpl/bootstrap/css/src/opac.scss | 33 ++++++++++++------- 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss index 753d5775e3..43a29ba5ad 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss +++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss @@ -2908,23 +2908,27 @@ $star-selected: #EDB867; /* Cookie consent bar */ #cookieConsentBar { + background: rgba( 0, 0, 0, .7 ); + bottom: 0; + color: rgba( 255, 255, 255, .9 ); display: none; + left: 0; padding: 20px; position: fixed; - bottom: 0; - left: 0; right: 0; - background: rgba(0,0,0,0.7); - color: rgba(255,255,255,0.9); z-index: 1; - a:link, a:visited { - color: #c5ecff; + + a:link, + a:visited { + color: #C5ECFF; } + #consentButtons { margin-top: 10px; text-align: right; } - button:not(:last-child) { + + button:not( :last-child ) { margin-right: 10px; } } @@ -2934,30 +2938,35 @@ $star-selected: #EDB867; .modal-dialog { max-width: 1000px; } + .consentModalItem { - display: flex; align-items: center; - border: 1px solid #ccc; - padding: 10px 20px; + border: 1px solid #CCC; border-radius: 5px; + display: flex; + padding: 10px 20px; } - .consentModalItem:not(:last-child) { + + .consentModalItem:not( :last-child ) { margin-bottom: 20px; } + .consentItemCheckbox { padding-right: 20px; } + .consentItemName { font-weight: bold; } + #cookieConsentPopupText { margin: 20px 0; } } #patronconsents h2 { - margin-top: 30px; font-size: 1.1rem; + margin-top: 30px; } .chocolat-wrapper { -- 2.39.5