From 21046f528c402fcdc7a5145c256e39f3039c3ee3 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. --- .../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 33aaf5054b..16e4b281f7 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss +++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss @@ -2887,23 +2887,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; } } @@ -2913,22 +2917,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; } @@ -2939,8 +2948,8 @@ $star-selected: #EDB867; } #patronconsents h2 { - margin-top: 30px; font-size: 1.1rem; + margin-top: 30px; } @import "responsive"; -- 2.30.2