From 2277725b8fd5a222aa5f8e04211f2d0ea8506f4e Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Thu, 1 Nov 2007 22:39:25 +0000 Subject: [PATCH] Ticket #1496 - IE fix and css changes to buttons on tree actions git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44125 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- css/cms_left.css | 31 ++++++++++++++++++++++++++++++- css/cms_right.css | 1 - javascript/LeftAndMain_right.js | 2 +- 3 files changed, 31 insertions(+), 3 deletions(-) diff --git a/css/cms_left.css b/css/cms_left.css index 762909c2..0ff7837a 100644 --- a/css/cms_left.css +++ b/css/cms_left.css @@ -7,7 +7,9 @@ float: left; width: 100%; } -#TreeActions li.action { + + +/*#TreeActions li.action { float: left; margin: 0; padding: 2px; @@ -19,13 +21,40 @@ padding: 0pt 0.1em; overflow: visible; width: auto; +}*/ + +#TreeActions li button { + cursor: pointer; + float: left; + height: 25px; + background-image: url(../images/textures/ToolBar.png); + color: #333333; + overflow: visible; + width: auto; + padding: 0; + border-color: #CCCCCC rgb(153, 153, 153) rgb(153, 153, 153) rgb(204, 204, 204); + border-style: double; + margin: 1px; + font-weight: bold; + font-size: 11px; } + +#TreeActions li button:active { + background: #F4F4F4 none repeat scroll 0%; + border-color: #999999 rgb(204, 204, 204) rgb(204, 204, 204) rgb(153, 153, 153); +} + +#TreeActions li button:hover { + background: #fff; +} + #TreeActions li.selected { background-color: #CCC; } #TreeActions li.action:hover { background-color: #CCC; } + #left form.actionparams { background-color: #CCC; border-bottom: 1px #EEE solid; diff --git a/css/cms_right.css b/css/cms_right.css index 4d1ddf57..492616a0 100644 --- a/css/cms_right.css +++ b/css/cms_right.css @@ -101,7 +101,6 @@ width: auto; border-color: #CCCCCC rgb(153, 153, 153) rgb(153, 153, 153) rgb(204, 204, 204); border-style: double; - border-width: 3px; margin: 1px; font-weight: bold; font-size: 11px; diff --git a/javascript/LeftAndMain_right.js b/javascript/LeftAndMain_right.js index 69d62f99..fe2049bb 100755 --- a/javascript/LeftAndMain_right.js +++ b/javascript/LeftAndMain_right.js @@ -277,7 +277,7 @@ CMSRightForm.prototype = { } else { throw("getPageFromServer: Bad page ID: " + id); } - }, + } /** * Set the status field