From 2f4a033bc26d29122cd1429a3f9fe0d48c58db06 Mon Sep 17 00:00:00 2001 From: Paul Clarke Date: Mon, 21 May 2012 13:36:47 +1200 Subject: [PATCH] BUGFIX: CMS tabs were hidden in ie7, changed css to make them appear far right --- admin/css/ie7.css | 6 ++++++ admin/css/ie8.css | 3 ++- admin/scss/ie7.scss | 21 ++++++++++++++++++++- admin/scss/ie8.scss | 12 +++++++++--- 4 files changed, 37 insertions(+), 5 deletions(-) diff --git a/admin/css/ie7.css b/admin/css/ie7.css index 3ea206c45..a4bc9e3d9 100644 --- a/admin/css/ie7.css +++ b/admin/css/ie7.css @@ -83,5 +83,11 @@ table.ss-gridfield-table tr.ss-gridfield-item.even { background: #F0F4F7; } .ModelAdmin .cms-content-fields .cms-content-tools .cms-panel-content .cms-search-form { overflow: hidden; } .ModelAdmin .cms-content-fields .cms-content-tools .cms-panel-content .cms-search-form input { width: 160px; } +.cms .cms-content-tools { border-right: 1px solid #CCC; } + .cms .ss-gridfield table.ss-gridfield-table tbody td.col-listChildrenLink { width: 16px; } .cms .ss-gridfield table.ss-gridfield-table tbody td.col-listChildrenLink .list-children-link { background: transparent url(../images/sitetree_ss_default_icons.png) no-repeat 4px -4px; display: block; } + +.cms-content-header h2 { float: left; } +.cms-content-header h2 .section-icon { display: none; } +.cms-content-header .cms-content-header-tabs { position: absolute; right: 0; } diff --git a/admin/css/ie8.css b/admin/css/ie8.css index 3c8e9fca5..5787429b3 100644 --- a/admin/css/ie8.css +++ b/admin/css/ie8.css @@ -41,4 +41,5 @@ .cms-content-toolbar .cms-tree-view-modes .checkboxAboveTree { margin-right: 1px; } -.cms-content-tools .cms-panel-content .dropdown select { width: 152px; } +.cms .cms-content-tools { border-right: 1px solid #CCC; } +.cms .cms-content-tools .cms-panel-content .dropdown select { width: 152px; } diff --git a/admin/scss/ie7.scss b/admin/scss/ie7.scss index e9f365819..07e1f0f28 100644 --- a/admin/scss/ie7.scss +++ b/admin/scss/ie7.scss @@ -167,6 +167,10 @@ table.ss-gridfield-table { } } } +.cms .cms-content-tools { + // Visual aid for IE as there are no box-shadows + border-right: 1px solid #CCC; +} //fix for view children arrow in pages list view .cms .ss-gridfield table.ss-gridfield-table tbody { @@ -179,4 +183,19 @@ table.ss-gridfield-table { } } } -} +} + +// CMS Content header & tab fix +.cms-content-header { + h2 { + float: left; + .section-icon { + display: none; + } + } + .cms-content-header-tabs { + position: absolute; + right: 0; + } +} + diff --git a/admin/scss/ie8.scss b/admin/scss/ie8.scss index d392f0715..f3f45dae9 100644 --- a/admin/scss/ie8.scss +++ b/admin/scss/ie8.scss @@ -21,7 +21,13 @@ } -//fix for width of dropdowns in filter panel -.cms-content-tools .cms-panel-content .dropdown select { - width:152px; + +.cms .cms-content-tools { + // Visual aid for IE as there are no box-shadows + border-right: 1px solid #CCC; + + //fix for width of dropdowns in filter panel + .cms-panel-content .dropdown select { + width:152px; + } } \ No newline at end of file