mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 10:56:56 +02:00
themes lib MDL-24895 Multiple fixes to better handle overflow.
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.
This commit is contained in:
parent
2412f8b882
commit
367a75fae4
125 changed files with 3366 additions and 2062 deletions
|
@ -6,207 +6,215 @@
|
|||
.pagelayout-admin,
|
||||
.pagelayout-mydashboard,
|
||||
.pagelayout-mypublic,
|
||||
.pagelayout-login {
|
||||
background: url([[pix:theme|body]]);
|
||||
.pagelayout-login,
|
||||
.pagelayout-report {
|
||||
background: url([[pix:theme|body]]);
|
||||
border-top:1px solid #c1bc9d;
|
||||
}
|
||||
|
||||
body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea {
|
||||
font-family: Georgia, "Times New Roman", Times, serif;
|
||||
color: #2a2513;
|
||||
font-family: Georgia, "Times New Roman", Times, serif;
|
||||
color: #2a2513;
|
||||
}
|
||||
|
||||
#wrapper {
|
||||
background: #fff;
|
||||
margin: 2% 5%;
|
||||
padding: 5px;
|
||||
border: 1px solid #c1bc9d;
|
||||
background: #fff;
|
||||
margin: 2% 5%;
|
||||
padding: 5px;
|
||||
border: 1px solid #c1bc9d;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #336699;
|
||||
color: #336699;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.pagelayout-frontpage #page-content #region-main-box #region-post-box {
|
||||
padding-top: 0;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
/* Header
|
||||
------------------------*/
|
||||
|
||||
#page-header {
|
||||
background: #ddd6cc url([[pix:theme|header_grass]]) repeat-x 0 100%;
|
||||
margin-bottom: 5px;
|
||||
background: #ddd6cc url([[pix:theme|header_grass]]) repeat-x 0 100%;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.headermain {
|
||||
font-weight: normal;
|
||||
margin: 1em 0.5em 0.75em;
|
||||
font-weight: normal;
|
||||
margin: 1em 0.5em 0.75em;
|
||||
}
|
||||
|
||||
/* Navbar
|
||||
-------------------------*/
|
||||
|
||||
.navbar {
|
||||
background: #aeb9c6 url([[pix:theme|breadcrumb]]) repeat-x 0 100%;
|
||||
padding: 5px;
|
||||
background: #aeb9c6 url([[pix:theme|breadcrumb]]) repeat-x 0 100%;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
/* Blocks
|
||||
-------------------------*/
|
||||
|
||||
.block {
|
||||
border-color: #eee;
|
||||
border-color: #eee;
|
||||
}
|
||||
|
||||
.block .header {
|
||||
background: #9eb1bf;
|
||||
padding-left: 5px;
|
||||
background: #9eb1bf;
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
.block .title {
|
||||
background: #867f6a;
|
||||
padding-left: 5px;
|
||||
background: #867f6a;
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
.block .title h2 {
|
||||
background: #6e6855;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
font-size: 1em;
|
||||
color: #fff;
|
||||
background: #6e6855;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
font-size: 1em;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.block_action {
|
||||
padding: 5px 0 0;
|
||||
padding: 5px 0 0;
|
||||
}
|
||||
|
||||
.block .content {
|
||||
background: #d8d2c6;
|
||||
border: 1px solid #867f6a;
|
||||
background: #d8d2c6;
|
||||
border: 1px solid #867f6a;
|
||||
}
|
||||
|
||||
.block .minicalendar td,
|
||||
.block .minicalendar th {
|
||||
border-color: #d8d2c6;
|
||||
border-color: #d8d2c6;
|
||||
}
|
||||
|
||||
/* Course
|
||||
----------------------------*/
|
||||
|
||||
.headingblock {
|
||||
background: url([[pix:theme|headingblock]]) repeat-x 0 0;
|
||||
color: #fff;
|
||||
font-weight: normal;
|
||||
border: none;
|
||||
padding: 2px 5px;
|
||||
background: url([[pix:theme|headingblock]]) repeat-x 0 0;
|
||||
color: #fff;
|
||||
font-weight: normal;
|
||||
border: none;
|
||||
padding: 2px 5px;
|
||||
}
|
||||
|
||||
.course-content .main {
|
||||
border: 1px solid #eee;
|
||||
background: #eee;
|
||||
border: 1px solid #eee;
|
||||
background: #eee;
|
||||
}
|
||||
|
||||
.course-content .current {
|
||||
background: #9ca7b4;
|
||||
color: #fff;
|
||||
background: #9ca7b4;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.course-content .main .content {
|
||||
background: #fff;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
/* Forums
|
||||
-----------------------------*/
|
||||
|
||||
.forumpost .topic {
|
||||
background: #cad5e1;
|
||||
border-width: 1px;
|
||||
border-color: #eee #eee #aaa;
|
||||
border-style: solid;
|
||||
background: #cad5e1;
|
||||
border-width: 1px;
|
||||
border-color: #eee #eee #aaa;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.forumpost .topic div,
|
||||
.forumpost .content div {
|
||||
margin:4px;
|
||||
}
|
||||
|
||||
|
||||
.forumpost .starter .subject {
|
||||
font-weight: bold;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.forumpost .content {
|
||||
border-color: #eee;
|
||||
border-width: 0 1px 1px;
|
||||
border-style: solid;
|
||||
background: #f6f6f6;
|
||||
border-color: #eee;
|
||||
border-width: 0 1px 1px;
|
||||
border-style: solid;
|
||||
background: #f6f6f6;
|
||||
}
|
||||
|
||||
/* Dock
|
||||
-----------------------------*/
|
||||
|
||||
body.has_dock {
|
||||
margin: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#dock {
|
||||
left: 5%;
|
||||
margin-left: -29px;
|
||||
border-width: 0;
|
||||
background-color: transparent;
|
||||
left: 5%;
|
||||
margin-left: -29px;
|
||||
border-width: 0;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#dock .controls {
|
||||
bottom: auto;
|
||||
background-color: #DDD6CC;
|
||||
bottom: auto;
|
||||
background-color: #DDD6CC;
|
||||
}
|
||||
|
||||
#dock .dockeditem_container {
|
||||
position: relative;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#dock .dockeditem.firstdockitem {
|
||||
margin-top: 50px;
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
#dock .dockeditem {
|
||||
background-color: #fff;
|
||||
padding: 2px;
|
||||
padding-right: 0px;
|
||||
background-color: #fff;
|
||||
padding: 2px;
|
||||
padding-right: 0px;
|
||||
}
|
||||
|
||||
#dock .dockedtitle {
|
||||
border-width: 0;
|
||||
border-width: 0;
|
||||
}
|
||||
|
||||
#dock .dockedtitle h2 {
|
||||
margin: 0;
|
||||
padding: 10px 3px;
|
||||
margin: 0;
|
||||
padding: 10px 3px;
|
||||
}
|
||||
|
||||
#dock .dockedtitle.activeitem {
|
||||
background-color: #817b65;
|
||||
width: 35px;
|
||||
background-color: #817b65;
|
||||
width: 35px;
|
||||
}
|
||||
|
||||
#dockeditempanel {
|
||||
background-color: #817b65;
|
||||
margin-left: 5px;
|
||||
background-color: #817b65;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
#dockeditempanel .dockeditempanel_content {
|
||||
background-color: #eee9e0;
|
||||
margin: 0 3px;
|
||||
position: relative;
|
||||
top: -3px;
|
||||
min-height: 100px;
|
||||
border-color: #6f6856;
|
||||
background-color: #eee9e0;
|
||||
margin: 0 3px;
|
||||
position: relative;
|
||||
top: -3px;
|
||||
min-height: 100px;
|
||||
border-color: #6f6856;
|
||||
}
|
||||
|
||||
#dockeditempanel .dockeditempanel_hd {
|
||||
background-image: url([[pix:theme|headingblock]]);
|
||||
border-width: 0;
|
||||
background-image: url([[pix:theme|headingblock]]);
|
||||
border-width: 0;
|
||||
}
|
||||
|
||||
#dockeditempanel .dockeditempanel_hd h2 {
|
||||
font-size: 1em;
|
||||
color: #fff;
|
||||
font-size: 1em;
|
||||
color: #fff;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue