From c6c109826eccff02450ccc4423c929f487af30cf Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 22 Jan 2015 11:28:35 -0500 Subject: [PATCH] Bug 13612 - Remove old YUI javacript libraries from opac-tmpl Content-Type: text/plain; charset="utf-8" YUI files were left behind in opac-tmpl/lib/yui after the removal of the prog theme. These files are unused and can be safely removed. To test, apply the patch and search for references to any of the YUI files. You should find none in the OPAC templates. --- koha-tmpl/opac-tmpl/lib/yui/button.css | 7 - koha-tmpl/opac-tmpl/lib/yui/container.css | 318 -------------------- .../opac-tmpl/lib/yui/container/container-min.js | 17 -- .../lib/yui/container/container_core-min.js | 12 - koha-tmpl/opac-tmpl/lib/yui/menu.css | 7 - koha-tmpl/opac-tmpl/lib/yui/menu/menu-min.js | 16 - koha-tmpl/opac-tmpl/lib/yui/reset-fonts-grids.css | 9 - koha-tmpl/opac-tmpl/lib/yui/skin.css | 23 -- koha-tmpl/opac-tmpl/lib/yui/utilities/utilities.js | 36 --- koha-tmpl/opac-tmpl/lib/yui/yui-sprite.png | Bin 3123 -> 0 bytes 10 files changed, 445 deletions(-) delete mode 100644 koha-tmpl/opac-tmpl/lib/yui/button.css delete mode 100644 koha-tmpl/opac-tmpl/lib/yui/container.css delete mode 100644 koha-tmpl/opac-tmpl/lib/yui/container/container-min.js delete mode 100644 koha-tmpl/opac-tmpl/lib/yui/container/container_core-min.js delete mode 100644 koha-tmpl/opac-tmpl/lib/yui/menu.css delete mode 100644 koha-tmpl/opac-tmpl/lib/yui/menu/menu-min.js delete mode 100644 koha-tmpl/opac-tmpl/lib/yui/reset-fonts-grids.css delete mode 100644 koha-tmpl/opac-tmpl/lib/yui/skin.css delete mode 100644 koha-tmpl/opac-tmpl/lib/yui/utilities/utilities.js delete mode 100644 koha-tmpl/opac-tmpl/lib/yui/yui-sprite.png diff --git a/koha-tmpl/opac-tmpl/lib/yui/button.css b/koha-tmpl/opac-tmpl/lib/yui/button.css deleted file mode 100644 index 1a8aaca..0000000 --- a/koha-tmpl/opac-tmpl/lib/yui/button.css +++ /dev/null @@ -1,7 +0,0 @@ -/* -Copyright (c) 2007, Yahoo! Inc. All rights reserved. -Code licensed under the BSD License: -http://developer.yahoo.net/yui/license.txt -version: 2.4.1 -*/ -body .yui-button{display:-moz-inline-box;display:inline-block;vertical-align:text-bottom;border-width:1px 0;background:url(yui-sprite.png) repeat-x 0 0;margin:auto .25em}body .yui-button .first-child,body .yui-button a,body .yui-button button{display:block;*display:inline-block}body .yui-button a,body .yui-button button{border:none;margin:0;padding:0 10px;font-size:93%;line-height:2;*line-height:1.7;min-height:2em;*min-height:auto}body .yui-button button{background:transparent;*overflow:visible;cursor:pointer}body .yui-button a{text-decoration:none;*line-height:2}body .yui-button,body .yui-button .first-child{border-style:solid}body .yui-button,body .yui-button .first-child,body .yui-split-button-activeoption,body .yui-split-button-activeoption .first-child{border-color:#808080}body .yui-button .first-child{border-width:0 1px;margin:0 -1px;*position:relative;*left:-1px}body .yui-button a,body .yui-button button,body .yui-button-focus a,body .yui-button-focus button,body .yui-button-hover a,body .yui-button-hover button,body .yui-button-active a,body .yui-button-active button{color:#000}body .yui-menu-button button,body .yui-split-button button{background:no-repeat right center;padding-right:20px}body .yui-menu-button button{background:url(menu-button-arrow.png)}body .yui-split-button button{background:url(split-button-arrow.png)}body .yui-button-focus,body .yui-button-hover{background:0 -1300px}body .yui-button-focus,body .yui-button-focus .first-child,body .yui-button-hover,body .yui-button-hover .first-child,body .yui-button-active,body .yui-button-active .first-child{border-color:#7d98b8}body .yui-split-button-focus button{background:url(split-button-arrow-focus.png)}body .yui-split-button-hover button{background:url(split-button-arrow-hover.png)}body .yui-button-active{background:0 -1700px}body .yui-split-button-activeoption{background:0 0}body .yui-split-button-activeoption button{background:url(split-button-arrow-active.png)}body .yui-checkbox-button-checked,body .yui-radio-button-checked{background:0 -1400px}body .yui-checkbox-button-checked,body .yui-radio-button-checked,body .yui-checkbox-button-checked .first-child,body .yui-radio-button-checked .first-child{border-color:#304369}body .yui-checkbox-button-checked button,body .yui-radio-button-checked button{color:#fff}body .yui-button-disabled{background:0 -1500px}body .yui-button-disabled,body .yui-button-disabled .first-child{border-color:#ccc}body .yui-button-disabled a,body .yui-button-disabled button{color:#a6a6a6;cursor:default}body .yui-menu-button-disabled button{background:url(menu-button-arrow-disabled.png)}body .yui-split-button-disabled button{background:url(split-button-arrow-disabled.png)} \ No newline at end of file diff --git a/koha-tmpl/opac-tmpl/lib/yui/container.css b/koha-tmpl/opac-tmpl/lib/yui/container.css deleted file mode 100644 index 90e11f5..0000000 --- a/koha-tmpl/opac-tmpl/lib/yui/container.css +++ /dev/null @@ -1,318 +0,0 @@ -/* -Copyright (c) 2007, Yahoo! Inc. All rights reserved. -Code licensed under the BSD License: -http://developer.yahoo.net/yui/license.txt -version: 2.4.1 -*/ -.yui-overlay, -.yui-panel-container { - visibility:hidden; - position:absolute; - z-index: 2; -} - -.yui-tt { - visibility:hidden; - position:absolute; - color:#333; - background-color:#FDFFB4; - font-family:arial,helvetica,verdana,sans-serif; - padding:2px; - border:1px solid #FCC90D; - font:100% sans-serif; - width:auto; -} - -/* - PLEASE NOTE: The
element used for a Tooltip's shadow is appended - to its root element via JavaScript once it has been rendered. The - code that creates the shadow lives in the Tooltip's public "onRender" - event handler that is a prototype method of YAHOO.widget.Tooltip. - Implementers wishing to remove a Tooltip's shadow or add any other markup - required for a given skin for Tooltip should override the "onRender" method. -*/ - -.yui-tt-shadow { - display: none; -} - -* html body.masked select { - visibility:hidden; -} - -* html div.yui-panel-container select { - visibility:inherit; -} - -* html div.drag select { - visibility:hidden; -} - -* html div.hide-select select { - visibility:hidden; -} - -.mask { - z-index: 1; - display:none; - position:absolute; - top:0; - left:0; - -moz-opacity: 0.5; - opacity:.50; - filter: alpha(opacity=50); - background-color:#CCC; -} - -/* - -There are two known issues with YAHOO.widget.Overlay (and its subclasses) that -manifest in Gecko-based browsers on Mac OS X: - - 1) Elements with scrollbars will poke through Overlay instances floating - above them. - - 2) An Overlay's scrollbars and the scrollbars of its child nodes remain - visible when the Overlay is hidden. - -To fix these bugs: - - 1) The "overflow" property of an Overlay instance's root element and child - nodes is toggled between "hidden" and "auto" (through the application - and removal of the "hide-scrollbars" and "show-scrollbars" CSS classes) - as its "visibility" configuration property is toggled between - "false" and "true." - - 2) The "display" property of