Skip to content
Browse files

MDL-31164-Fixes Sky High theme truncates report-Part2

  • Loading branch information...
1 parent 60e9909 commit 3922c906b9a67ce1fe55dd689e0038e331c9d5ed @lazydaisy lazydaisy committed
Showing with 133 additions and 2 deletions.
  1. +4 −2 theme/sky_high/config.php
  2. +128 −0 theme/sky_high/style/admin.css
  3. +1 −0 theme/sky_high/style/report.css
View
6 theme/sky_high/config.php
@@ -55,7 +55,8 @@
'core',
'pagelayout',
'menu',
- 'report'
+ 'report',
+ 'admin'
);
////////////////////////////////////////////////////
@@ -119,7 +120,8 @@
'defaultregion' => 'side-post',
),
'admin' => array(
- 'file' => 'general.php',
+ 'theme' => 'base',
+ 'file' => 'report.php',
'regions' => array('side-pre'),
'defaultregion' => 'side-pre',
),
View
128 theme/sky_high/style/admin.css
@@ -0,0 +1,128 @@
+/** Admin layout **/
+
+body.pagelayout-admin {
+ background-image: none;
+ background-color: #fff;
+}
+
+body.pagelayout-admin.has_dock {
+ margin-left: 30px;
+}
+.pagelayout-admin #page {
+ width: 100%;
+ margin: 0 auto;
+ position: relative;
+}
+.pagelayout-admin #page-header,
+.pagelayout-admin #page-footer {
+ float: none;
+ background: #f3f3f3 none;
+ width: 100%;
+ margin: 0;
+ padding: 0;
+ text-align: left;
+}
+.pagelayout-admin #page-header {
+ background:#97d3f4 url([[pix:theme|header]]) no-repeat top right;
+ margin-bottom: 0px;
+ height: 105px;
+ border-bottom: 1px solid #FFF;
+}
+
+.pagelayout-admin #page-header #custommenu {
+ display: none;
+}
+.pagelayout-admin .navbar {
+ background-color: #FFF;
+ height: 20px;
+ margin: 0;
+ padding: 5px 0;
+}
+
+.pagelayout-admin #page-footer {
+ text-align: center;
+ height: auto;
+}
+.pagelayout-admin #page-footer .logininfo,
+.pagelayout-admin #page-footer .homelink {
+ margin: 1em 0 0;
+ padding: 0;
+ text-align: center;
+}
+
+.pagelayout-admin #page-content {
+ background: #FFF url([[pix:theme|top_bg]]) repeat-x center top;
+ float: none;
+ overflow: visible;
+ width: auto;
+ padding-top: 1em;
+}
+.pagelayout-admin #report-main-content {
+ float: left;
+ width: 100%;
+}
+.pagelayout-admin #report-main-content .region-content {
+ margin-left: 210px;
+ overflow: visible;
+ padding-bottom: 20px;
+}
+.pagelayout-admin #report-main-content .region-content table.generaltable {
+ background-color: #FFF;
+ width: 98%;
+ margin: 0 auto;
+ padding: 0;
+}
+.pagelayout-admin #report-region-wrap {
+ width: 0;
+ float: right;
+ position: relative;
+ left: -100%;
+}
+.pagelayout-admin #report-region-pre {
+ width: 200px;
+ margin-left: 5px;
+}
+
+/** CONTENT ONLY **/
+.pagelayout-admin.content-only #report-main-content .region-content {
+ margin-left: 10px;
+}
+.pagelayout-admin.content-only #report-region-pre {
+ width: 0;
+}
+
+/** Correct for right to left languages **/
+.dir-rtl.pagelayout-admin #report-main-content .region-content {
+ margin-left: 0;
+ margin-right: 210px;
+}
+.dir-rtl.pagelayout-admin #report-region-wrap {
+ left:0;
+}
+
+/** Stabalise IE6 behaviour on the report layout **/
+.ie6.pagelayout-admin #report-main-content {
+ float: none;
+ width: auto;
+}
+.ie6.pagelayout-admin #report-region-wrap {
+ float: none;
+ width: 200px;
+ left: auto;
+ position: absolute;
+ top: 0;
+}
+.ie6.pagelayout-admin #report-region-pre,
+.ie6.pagelayout-admin #report-region-pre .block {
+ width: 100%;
+}
+
+@media print {
+ .pagelayout-admin .region-content {margin-left: 0px !important;}
+ .pagelayout-admin #report-region-pre {width: 0px !important;}
+ .pagelayout-admin .region-content table.generaltable {font-size:70% !important;}
+ .pagelayout-admin #report-region-pre,
+ .pagelayout-admin #page-header,
+ .pagelayout-admin #page-footer,
+ .pagelayout-admin #dock { display: none;}
+}
View
1 theme/sky_high/style/report.css
@@ -121,6 +121,7 @@ body.pagelayout-report.has_dock {
.pagelayout-report .region-content {margin-left: 0px !important;}
.pagelayout-report #report-region-pre {width: 0px !important;}
.pagelayout-report .region-content table.generaltable {font-size:70% !important;}
+ .pagelayout-report #report-region-pre,
.pagelayout-report #page-header,
.pagelayout-report #page-footer,
.pagelayout-report #dock { display: none;}

0 comments on commit 3922c90

Please sign in to comment.
Something went wrong with that request. Please try again.