From 771155d901f283e2dae770177102e325823e7eab Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Thu, 22 Jun 2023 19:46:13 +0000 Subject: [PATCH] Bug 34102: Remove unesessary jQueryUI CSS To test: 1. Apply patch 2. Regenerate CSS ( https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_interface ) 3. Nothing in the staff client should change, the CSS wasn't being used. --- .../prog/css/src/staff-global.scss | 105 ------------------ 1 file changed, 105 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss index abbc4a82b7..572b00f034 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -2585,111 +2585,6 @@ td.bundle { display: none; } -// Override core jQueryUI widgets -.ui-widget-content { - background: #FFFFFF none; - border-radius: 4px; - border: 3px solid $background-color-primary; - color: #222222; -} - -.ui-widget-header { - background: #b5dbad none; - border: 1px solid #bfd9b9; - color: #222222; - font-weight: bold; -} - -.ui-state-default, -.ui-widget-content .ui-state-default, -.ui-widget-header .ui-state-default { - border: 1px solid #bfd9b9; - color: #555555; - font-weight: normal; -} - -.ui-state-hover, -.ui-widget-content .ui-state-hover, -.ui-widget-header .ui-state-hover, -.ui-state-focus, -.ui-widget-content .ui-state-focus, -.ui-widget-header .ui-state-focus { - background: #cad8c6 none; - border: 1px solid #bfd9b9; - color: #212121; - font-weight: normal; -} - -.ui-state-highlight, -.ui-widget-content .ui-state-highlight, -.ui-widget-header .ui-state-highlight { - background: #FFF4C6; - border: 1px solid #FED22F; - color: #363636; -} - -.ui-state-error, -.ui-widget-content .ui-state-error, -.ui-widget-header .ui-state-error { - background: #FEF1EC; - border: 1px solid #CD0A0A; - color: #CD0A0A; -} - -// Override jQuery Autocomplete -.ui-autocomplete { - box-shadow: 2px 2px 2px rgba(0, 0, 0, .3); - cursor: default; - position: absolute; - z-index: 2000; - - &.ui-menu { - li { - &.ui-menu-item { - padding: 3px 1em 3px .4em; - - &:hover { - background: #e3f1df none; - color: #212121; - font-weight: normal; - } - - .ui-state-active { - background: transparent none; - border: 0; - } - - .ui-menu-item-wrapper { - padding: unset; - } - - .ui-state-active, - .ui-state-focus { - background: #e3f1df none; - color: #212121; - font-weight: normal; - margin: 0; - } - } - } - } -} - -.ui-autocomplete-loading { - background: #FFF url("../img/spinner-small.gif") right center no-repeat; -} - -.ui-widget { - font-family: inherit; - - input, - select, - textarea, - button { - font-family: inherit; - } -} - .toptabs { margin-top: 5px; } -- 2.30.2