mirror of
https://github.com/moodle/moodle.git
synced 2025-02-19 07:41:02 +01:00
Major tasks undertaken in this patch: * New format_text argument, overflowdiv. * New page layout Report. * Review of all format_text calls. * Added support for the report layout to all themes. * Changed forum post display from tables to divs.
119 lines
1.9 KiB
CSS
119 lines
1.9 KiB
CSS
/*********************************************************************************************
|
|
|
|
left column: 250px
|
|
right column: 250px
|
|
padding left/right column: 10px
|
|
padding center column: 30px
|
|
|
|
**********************************************************************************************/
|
|
|
|
body {
|
|
margin: auto 0px;
|
|
width: auto;
|
|
}
|
|
|
|
#page {
|
|
width: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#page-header {
|
|
float: left;
|
|
width: 100%;
|
|
}
|
|
|
|
#page-content {
|
|
clear: both;
|
|
float: left;
|
|
overflow: hidden;
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
|
|
#page-content #region-main-box {
|
|
float: left;
|
|
margin-left: 0;
|
|
position: relative;
|
|
width: 200%;
|
|
right: 100%;
|
|
}
|
|
|
|
#page-content #region-post-box {
|
|
float: left;
|
|
width: 100%;
|
|
}
|
|
|
|
#page-content #region-main-wrap {
|
|
float: left;
|
|
width: 50%;
|
|
}
|
|
|
|
#page-content #region-main {
|
|
overflow: hidden;
|
|
position: relative;
|
|
left: 100%;
|
|
}
|
|
|
|
#page-content #region-post {
|
|
float: right;
|
|
position: relative;
|
|
}
|
|
|
|
#page-content #region-main .region-content {
|
|
overflow: hidden;
|
|
padding: 0px 30px 20px 0;
|
|
}
|
|
|
|
#page-content #region-post .region-content {
|
|
overflow: hidden;
|
|
padding: 0px 0 20px 10px;
|
|
}
|
|
|
|
#page-footer {
|
|
clear: both;
|
|
float: left;
|
|
width: 100%;
|
|
}
|
|
|
|
|
|
.has_dock.side-post-only .page-middle #region-main-box #region-post-box #region-main-wrap #region-main {
|
|
margin-left: 200px;
|
|
}
|
|
|
|
/** No blocks whatsoever **/
|
|
|
|
.content-only #page-content #region-main-box {
|
|
margin-left: 0px;
|
|
}
|
|
|
|
.content-only #page-content #region-post-box {
|
|
margin-left: 0px;
|
|
}
|
|
|
|
.content-only #page-content #region-main {
|
|
margin-left: 0px;
|
|
}
|
|
|
|
.content-only #page-content #region-pre {
|
|
width: 0px;
|
|
}
|
|
|
|
.content-only #page-content #region-post {
|
|
width: 0px;
|
|
}
|
|
|
|
#page-content #region-post-box {
|
|
margin-left: -250px;
|
|
}
|
|
|
|
#page-content #region-main {
|
|
margin-left: 250px;
|
|
}
|
|
|
|
#page-content #region-post {
|
|
left: 250px;
|
|
width: 250px;
|
|
}
|
|
|
|
.pagelayout-report #page-content #region-main {overflow:auto;}
|
|
.pagelayout-report #page-content #region-main .region-content {overflow:visible;} |