mirror of
https://github.com/moodle/moodle.git
synced 2025-03-10 18:59:55 +01:00
559 lines
10 KiB
CSS
559 lines
10 KiB
CSS
|
|
|
|
/* Global
|
|
---------------------------*/
|
|
|
|
html, body {
|
|
background: #eee;
|
|
}
|
|
|
|
#mypagewrapper {
|
|
width: 100%;
|
|
border-top: 1px solid #fff;
|
|
}
|
|
|
|
#page {
|
|
margin-top: 15px;
|
|
width: 90%;
|
|
min-width: 960px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
clear: both;
|
|
border: 1px solid #dadada;
|
|
background: #fff;
|
|
}
|
|
|
|
#wrapper {
|
|
padding: 20px;
|
|
padding-left: 20px;
|
|
padding-right: 17px;
|
|
}
|
|
|
|
#wrapper.notathome {
|
|
padding-top: 15px;
|
|
}
|
|
.content-only #wrapper {
|
|
padding-right: 0px;
|
|
}
|
|
|
|
/* Header
|
|
----------------------------*/
|
|
|
|
#page-header {
|
|
width: 100%;
|
|
top: 0px;
|
|
height: 140px;
|
|
float: none;
|
|
}
|
|
|
|
#header {
|
|
width: 90%;
|
|
min-width: 960px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
#logo {
|
|
background-position: 0% 40%;
|
|
width: 300px;
|
|
height: 70px;
|
|
float: left;
|
|
}
|
|
#nologo {
|
|
width: 590px;
|
|
height: 70px;
|
|
float: left;
|
|
margin-left: 6px;
|
|
overflow: hidden;
|
|
}
|
|
#nologo a, #nologo {
|
|
font-family: Georgia, Palatino, serif;
|
|
line-height: 70px;
|
|
font-size: 28px;
|
|
font-weight: 600;
|
|
letter-spacing: -1px;
|
|
}
|
|
#loggedinas {
|
|
min-width: 300px;
|
|
height: 65px;
|
|
float: right;
|
|
text-align: right;
|
|
line-height: 65px;
|
|
font-size: 10px;
|
|
}
|
|
|
|
#loggedinas a {
|
|
color: #fff;
|
|
}
|
|
|
|
#headerbottom {
|
|
clear: both;
|
|
}
|
|
|
|
#headingtitle {
|
|
float: right;
|
|
width: 280px;
|
|
padding-right: 5px;
|
|
text-align: right;
|
|
height: 70px;
|
|
overflow: hidden;
|
|
background: url([[pix:theme|youare]]) no-repeat;
|
|
background-position: 95% 110%;
|
|
position: relative;
|
|
bottom: -2px;
|
|
}
|
|
|
|
#headingtitle h1 {
|
|
line-height: 67px;
|
|
font-weight: 200;
|
|
font-size: 13px;
|
|
text-transform: uppercase;
|
|
color: #fff;
|
|
}
|
|
/* end Header
|
|
----------------------------*/
|
|
|
|
#region-post2 .region-content div.navbutton {
|
|
display: inline-block !important;
|
|
width: 100%;
|
|
float: none;
|
|
margin-bottom: 5px;
|
|
margin-top: 5px;
|
|
clear: both;
|
|
}
|
|
|
|
body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea {
|
|
font-family: Georgia, Palatino, serif;
|
|
line-height: 1.5;
|
|
color: #333;
|
|
}
|
|
|
|
h1, h2, h3, h4 {
|
|
font-family: Georgia, Times, "Times New Roman", serif !important;
|
|
}
|
|
|
|
h2,h3,h4,h5,h6 {
|
|
color: #999;
|
|
font-weight: normal;
|
|
}
|
|
|
|
h2.helpheading {
|
|
color: #333;
|
|
font-weight: bold;
|
|
}
|
|
|
|
blockquote {
|
|
border-left: 1px solid #eee;
|
|
padding-left: 15px;
|
|
color: #666;
|
|
}
|
|
|
|
.mform fieldset {
|
|
border-color: #eee;
|
|
}
|
|
|
|
.mform fieldset legend {
|
|
color: #555;
|
|
font-weight: normal;
|
|
font-size: 1.2em;
|
|
border: 1px solid #eee;
|
|
padding: 2px 5px;
|
|
background: #fff;
|
|
}
|
|
|
|
.mform .btn-cancel {
|
|
color: #06365B;
|
|
text-decoration: none;
|
|
}
|
|
.mform .btn-cancel:hover, .mform .btn-cancel:focus {
|
|
color: #5487AD;
|
|
text-decoration: none;
|
|
}
|
|
|
|
div.navbar {
|
|
border-bottom: 1px solid #eee;
|
|
border-top: 1px solid #eee;
|
|
background: #fafafa url([[pix:theme|block]]) no-repeat;
|
|
background-position: 100% 0%;
|
|
font-size: 0.85em;
|
|
font-style: italic;
|
|
font-weight: 200;
|
|
padding:0 10px;
|
|
margin-bottom: 7px;
|
|
}
|
|
|
|
div.breadcrumb li {
|
|
line-height: 30px;
|
|
font-family: Georgia, serif;
|
|
}
|
|
|
|
.breadcrumb li img {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
/** breadcrumb image replacement **/
|
|
|
|
div.navbar span.arrow.sep {
|
|
font-size: 1px;
|
|
color: #fafafa;
|
|
background: url([[pix:theme|crumber]]) no-repeat;
|
|
background-position: 50% 25%;
|
|
display: inline-block;
|
|
width: 16px;
|
|
height: 30px;
|
|
}
|
|
|
|
.navbutton {
|
|
float: none;
|
|
width: 100%;
|
|
padding: 5px 0 15px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Blocks
|
|
----------------------------*/
|
|
|
|
.block {
|
|
border: none;
|
|
}
|
|
|
|
div.block {
|
|
padding: 2px;
|
|
border: 1px solid #dadada;
|
|
margin-left: -10px;
|
|
}
|
|
|
|
#region-main div.block {
|
|
margin-left: 0px;
|
|
background-image: none;
|
|
}
|
|
|
|
.block div.header {
|
|
min-height: 33px;
|
|
padding-top: 3px;
|
|
padding-left: 3px;
|
|
}
|
|
|
|
div.block.hidden div.header {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.block .header h2 {
|
|
font-size: 13px;
|
|
font-weight: 200;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.block div.content {
|
|
background: #fff;
|
|
border: 1px solid #dadada;
|
|
border-top: none;
|
|
padding: 4px;
|
|
}
|
|
|
|
.block div.content h1, .block div.content h2, .block div.content h3 {
|
|
font-size: 13px;
|
|
background-image: none;
|
|
}
|
|
|
|
.block_calendar_month table.minicalendar.calendartable td,.block_calendar_month table.minicalendar.calendartable th {
|
|
border: none !important;
|
|
}
|
|
|
|
.block_calendar_month table.minicalendar {
|
|
margin-bottom: 0px !important;
|
|
}
|
|
|
|
.block_calendar_month table.minicalendar.calendartable th abbr {
|
|
border: none !important;
|
|
text-decoration: none;
|
|
}
|
|
|
|
|
|
/** main headings **/
|
|
|
|
.generalbox h2,h3.sectionname, h2.headingblock,h2,h3, h2 a, h3 a, div.loginpanel h2, div.signuppanel h2 {
|
|
font-weight: 600;
|
|
letter-spacing: -1px;
|
|
line-height: 1.3em;
|
|
font-size: 28px;
|
|
border-bottom: 0px solid #eee;
|
|
padding-bottom: 2px;
|
|
background: url([[pix:theme|mainbar]]) repeat-x;
|
|
background-position: 0% 100%;
|
|
}
|
|
|
|
.generalbox h2, h3.sectionname, h2 a, h3 a, div.loginpanel h2, div.signuppanel h2, div.hd h3 {
|
|
font-size: 22px;
|
|
background: none;
|
|
}
|
|
|
|
|
|
|
|
/* Courses
|
|
----------------------------*/
|
|
|
|
.coursebox {
|
|
border-color: #eee;
|
|
}
|
|
|
|
.coursebox .content .teachers,
|
|
.coursebox .content .courseimage,
|
|
.coursebox .content .coursefile,
|
|
.coursebox.remotecoursebox .remotecourseinfo {
|
|
width: 35%;
|
|
}
|
|
|
|
.coursebox .content .teachers {
|
|
font-size: 0.9em;
|
|
color: #888;
|
|
}
|
|
|
|
.coursebox .content .summary,
|
|
.coursebox .content .coursecat {
|
|
width: 61%;
|
|
}
|
|
|
|
.course-content .section.main {
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
.course-content .section.main .content {
|
|
padding: 5px 5px 10px;
|
|
}
|
|
|
|
.course-content .weeks .section.main .content {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.course-content .weeks .section.main .left {
|
|
display: none;
|
|
}
|
|
|
|
.course-content .section.main.current {
|
|
background: #fffcdc;
|
|
}
|
|
|
|
.course-content .weeks .section.main h3.weekdates {
|
|
color: #999;
|
|
}
|
|
|
|
.course-content .current .left,
|
|
.course-content .current h3.weekdates {
|
|
color: #92310c !important;
|
|
}
|
|
|
|
span.completionprogress {
|
|
font-size: 11px;
|
|
color: #666666;
|
|
}
|
|
|
|
/* Forum
|
|
--------------------------*/
|
|
|
|
.forumpost .topic {
|
|
background: #eee url([[pix:theme|block]]) no-repeat;
|
|
background-position: 100% 0%;
|
|
border-width: 0;
|
|
border: 1px solid #dadada;
|
|
padding: 0 10px 0;
|
|
}
|
|
|
|
.forumpost .subject {
|
|
font-size: 1.45em;
|
|
font-family: Georgia, serif;
|
|
}
|
|
|
|
.forumpost .author {
|
|
font-size: 0.9em;
|
|
font-style: italic;
|
|
}
|
|
|
|
td.picture.left img {
|
|
background: #fafafa;
|
|
padding: 4px;
|
|
padding-bottom: 9px;
|
|
border: 1px solid #dadada;
|
|
}
|
|
|
|
.forumpost .content {
|
|
border-width: 0 1px 1px;
|
|
border-style: solid;
|
|
border-color: #aaa #dadada #dadada;
|
|
padding: 5px 10px 10px;
|
|
}
|
|
|
|
/* Footer
|
|
----------------------------*/
|
|
|
|
#page-footer .helplink {
|
|
margin: 1em 0;
|
|
}
|
|
|
|
/* Dock */
|
|
|
|
body.has_dock {
|
|
margin: 0px;
|
|
}
|
|
|
|
.has_dock #page, .has_dock #header {
|
|
margin-left: 5%;
|
|
}
|
|
|
|
#dock {
|
|
left: 5%;
|
|
top: 107px;
|
|
margin-left: -29px;
|
|
border-width: 0;
|
|
background-color: transparent;
|
|
position: absolute;
|
|
}
|
|
|
|
#dock .controls {
|
|
bottom: auto;
|
|
-webkit-border-bottom-left-radius: 3px;
|
|
-moz-border-radius-bottomleft: 3px;
|
|
border-bottom-left-radius: 3px;
|
|
}
|
|
|
|
#dock .dockeditem_container {
|
|
position: relative;
|
|
}
|
|
|
|
#dock .dockeditem.firstdockitem {
|
|
margin-top: 50px;
|
|
border-top: 1px solid #dadada;
|
|
-webkit-border-top-left-radius: 3px;
|
|
-moz-border-radius-topleft: 3px;
|
|
border-top-left-radius: 3px;
|
|
}
|
|
|
|
#dock .dockeditem {
|
|
background-color: #fff;
|
|
padding: 2px;
|
|
padding-right: 0px;
|
|
border-left: 1px solid #dadada;
|
|
border-right: 0px solid #fafafa;
|
|
border-top: 1px solid #fafafa;
|
|
}
|
|
|
|
#dock .dockedtitle {
|
|
border-width: 0;
|
|
}
|
|
|
|
#dock .dockedtitle h2 {
|
|
margin: 0;
|
|
padding: 10px 3px;
|
|
}
|
|
|
|
#dock .dockedtitle.activeitem {
|
|
color: #fff !important;
|
|
width: 35px;
|
|
-webkit-border-top-left-radius: 3px;
|
|
-moz-border-radius-topleft: 3px;
|
|
border-top-left-radius: 3px;
|
|
-webkit-border-bottom-left-radius: 3px;
|
|
-moz-border-radius-bottomleft: 3px;
|
|
border-bottom-left-radius: 3px;
|
|
}
|
|
|
|
#dock .dockedtitle.activeitem h2 {
|
|
color: #fff !important;
|
|
}
|
|
|
|
#dockeditempanel {
|
|
margin-left: 0px;
|
|
}
|
|
|
|
#dockeditempanel .dockeditempanel_content {
|
|
background-color: #fff;
|
|
margin: 0 3px;
|
|
position: relative;
|
|
min-height: 100px;
|
|
-webkit-border-radius: 3px;
|
|
-webkit-border-top-left-radius: 0;
|
|
-moz-border-radius: 3px;
|
|
-moz-border-radius-topleft: 0;
|
|
border-radius: 3px;
|
|
border-top-left-radius: 0;
|
|
}
|
|
|
|
#dockeditempanel .dockeditempanel_hd {
|
|
border-width: 0;
|
|
padding: 2px;
|
|
}
|
|
|
|
#dockeditempanel .dockeditempanel_hd h2 {
|
|
font-size: 0.9em;
|
|
color: #fff;
|
|
}
|
|
|
|
/** yui menu styles **/
|
|
|
|
#menustuff {
|
|
width: 600px;
|
|
float: left;
|
|
clear: left;
|
|
height: 65px;
|
|
}
|
|
|
|
#custommenu,
|
|
#custommenu .yui3-menu-content {
|
|
border-width:0;
|
|
}
|
|
|
|
#custommenu .yui3-menu-content li a {
|
|
font-size: 14px;
|
|
font-family: Georgia, serif;
|
|
font-weight: 200;
|
|
text-transform: lowercase;
|
|
line-height: 70px;
|
|
cursor: pointer;
|
|
border-width:0;
|
|
}
|
|
|
|
#custommenu .yui3-menu-content li li a {
|
|
line-height: 30px;
|
|
text-shadow:none;
|
|
}
|
|
|
|
#custommenu .yui3-menu-content li a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
#custommenu .yui3-menu-content .yui3-menu-content {
|
|
background-image: url([[pix:theme|youare]]);
|
|
background-position: 30px 0;
|
|
background-repeat: no-repeat;
|
|
background-color:transparent;
|
|
margin-top:-10px;
|
|
min-width: 200px;
|
|
}
|
|
|
|
#custommenu .yui3-menu-content .yui3-menu-content ul {
|
|
margin-top:10px;
|
|
background-color:#FFF;
|
|
border: 1px solid #dadada
|
|
}
|
|
|
|
#custommenu .yui3-menu-content .yui3-menu-content .yui3-menu-content,
|
|
#custommenu .yui3-menu-content .yui3-menu-content .yui3-menu-content ul {
|
|
margin-top:0;
|
|
background-image:none;
|
|
}
|
|
|
|
#custommenu .yui3-menuitem-active,
|
|
#custommenu .yui3-menuitem-active .yui3-menuitem-content {
|
|
background-color:transparent;
|
|
}
|
|
|
|
#custommenu .yui3-menu .yui3-menu .yui3-menu-label-active,
|
|
#custommenu .yui3-menu .yui3-menu .yui3-menu-label-menuvisible,
|
|
#custommenu .yui3-menu .yui3-menu .yui3-menuitem-active,
|
|
#custommenu .yui3-menu .yui3-menu .yui3-menuitem-active .yui3-menuitem-content {
|
|
background-color: #FFF0A5;
|
|
}
|
|
|
|
.logininfo a {
|
|
color: #fff;
|
|
} |