mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-31164-Fixes Sky High theme truncates report-Part2
This commit is contained in:
parent
60e99097e4
commit
3922c906b9
@ -55,7 +55,8 @@ $THEME->sheets = array(
|
||||
'core',
|
||||
'pagelayout',
|
||||
'menu',
|
||||
'report'
|
||||
'report',
|
||||
'admin'
|
||||
);
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
@ -119,7 +120,8 @@ $THEME->layouts = array(
|
||||
'defaultregion' => 'side-post',
|
||||
),
|
||||
'admin' => array(
|
||||
'file' => 'general.php',
|
||||
'theme' => 'base',
|
||||
'file' => 'report.php',
|
||||
'regions' => array('side-pre'),
|
||||
'defaultregion' => 'side-pre',
|
||||
),
|
||||
|
128
theme/sky_high/style/admin.css
Normal file
128
theme/sky_high/style/admin.css
Normal file
@ -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;}
|
||||
}
|
@ -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;}
|
||||
|
Loading…
x
Reference in New Issue
Block a user