Skip to content

Commit

Permalink
BUGFIX: CMS tabs were hidden in ie7, changed css to make them appear …
Browse files Browse the repository at this point in the history
…far right
  • Loading branch information
clarkepaul committed May 22, 2012
1 parent 84bf5e2 commit 2f4a033
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 5 deletions.
6 changes: 6 additions & 0 deletions admin/css/ie7.css
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
3 changes: 2 additions & 1 deletion admin/css/ie8.css
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
21 changes: 20 additions & 1 deletion admin/scss/ie7.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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;
}
}

12 changes: 9 additions & 3 deletions admin/scss/ie8.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit 2f4a033

Please sign in to comment.