From 2e66b5b24ffc320f5cbb28048e1e4446b14bdb8d 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 --- .../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 7d0cc68aff..79130984f0 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss +++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss @@ -2890,23 +2890,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; } } @@ -2916,22 +2920,27 @@ $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; } @@ -2942,8 +2951,8 @@ $star-selected: #EDB867; } #patronconsents h2 { - margin-top: 30px; font-size: 1.1rem; + margin-top: 30px; } .chocolat-wrapper { -- 2.30.2