mirror of
https://github.com/moodle/moodle.git
synced 2025-03-03 23:46:09 +01:00
301 lines
5.6 KiB
CSS
301 lines
5.6 KiB
CSS
/* Global
|
|
--------------------------*/
|
|
body {
|
|
background: #fff;
|
|
margin: 0;
|
|
padding: 0;
|
|
color: #281f18;
|
|
}
|
|
|
|
html {
|
|
height: 100%;
|
|
}
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
height: 100%;
|
|
}
|
|
|
|
body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea {
|
|
font-family: 'Myriad Pro', 'Myriad', helvetica, arial, sans-serif;
|
|
}
|
|
|
|
.wrapper {
|
|
margin: 0 35px;
|
|
min-width: 910px;
|
|
}
|
|
|
|
a:hover,a:active {
|
|
color: #000;
|
|
}
|
|
|
|
a img {
|
|
border: none;
|
|
}
|
|
|
|
a:active {
|
|
outline: none;
|
|
}
|
|
|
|
/* Header
|
|
---------------------------*/
|
|
#page-header {
|
|
background: #333;
|
|
color: #fff;
|
|
height: 30px;
|
|
z-index: 99999;
|
|
position: relative;
|
|
}
|
|
|
|
#page-header div.headermenu {
|
|
height: 30px;
|
|
padding-bottom: 0px;
|
|
margin-bottom: 0px;
|
|
padding-top: 0px;
|
|
margin-top: 0px;
|
|
line-height: 30px;
|
|
}
|
|
|
|
#page-header a:link,
|
|
#page-header a:visited {
|
|
color: #fff;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
#newheader {
|
|
height: 100px;
|
|
position: relative;
|
|
}
|
|
|
|
#newheaderleft {
|
|
height: 100px;
|
|
width: 50px;
|
|
position: absolute;
|
|
left: -50px;
|
|
}
|
|
|
|
h1.headermain {
|
|
margin-left: 0px;
|
|
padding-left: 0px;
|
|
color: #fff;
|
|
margin-top: 35px;
|
|
font-family: 'Myriad Pro', 'Myriad', helvetica, arial, sans-serif;
|
|
text-shadow: 2px 3px 3px #292929;
|
|
letter-spacing: -1px;
|
|
-webkit-text-stroke: 1px white;
|
|
}
|
|
|
|
.headermenu .logininfo,
|
|
.headermenu .langmenu,
|
|
.headermenu .langmenu div,
|
|
.headermenu .langmenu form,
|
|
.headermenu .langmenu select,
|
|
.headermenu .langmenu label {
|
|
display: inline !important;
|
|
}
|
|
|
|
.headermenu .logininfo {
|
|
padding-right: 5px;
|
|
}
|
|
|
|
#region-main-box {
|
|
background: #eee;
|
|
}
|
|
|
|
#region-post-box {
|
|
background: #fff;
|
|
}
|
|
|
|
#page-footer {
|
|
background: #333;
|
|
color: #fff;
|
|
}
|
|
|
|
#page-content, #region-main-box, #region-main-wrap, #page-content-wrapper, #top, div.region-content {
|
|
min-height: 100%;
|
|
position: relative;
|
|
}
|
|
|
|
#region-main-box {
|
|
-webkit-box-shadow: 6px 0px 8px #ccc;
|
|
-moz-box-shadow: 6px 0px 8px #ccc;
|
|
box-shadow: 6px 0px 8px #ccc;
|
|
}
|
|
|
|
#region-main {
|
|
-webkit-box-shadow: 6px 0px 8px #ccc;
|
|
-moz-box-shadow: 6px 0px 8px #ccc;
|
|
box-shadow: 6px 0px 8px #ccc;
|
|
}
|
|
|
|
.side-pre-only #region-main, .content-only #region-main, .content-only #region-main-box {
|
|
-webkit-box-shadow: none;
|
|
-moz-box-shadow: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
/* Navbar
|
|
--------------------------*/
|
|
.navbar {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.navbar .wrapper {
|
|
margin-left: 0px !important;
|
|
padding-left: 0px !important;
|
|
}
|
|
|
|
.breadcrumb .sep {
|
|
color: #777;
|
|
font-size: 0.8em;
|
|
}
|
|
|
|
.navbutton {
|
|
margin-top: 40px;
|
|
margin-right: 10px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* Blocks
|
|
---------------------------*/
|
|
.block {
|
|
border: none;
|
|
margin-bottom: 25px;
|
|
}
|
|
|
|
.block .header {
|
|
border-bottom:none;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.block.hidden .header {
|
|
border-top: 1px solid #dadada;
|
|
border-bottom: 1px solid #dadada;
|
|
}
|
|
.block .title h2 {
|
|
font-weight: normal;
|
|
font-size: 1.1em;
|
|
margin: 0;
|
|
}
|
|
|
|
.block .content {
|
|
font-size: 0.95em;
|
|
}
|
|
|
|
.
|
|
/* Forums
|
|
---------------------------*/
|
|
.forumpost .subject {
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
.forumpost .author {
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.forumpost .content {
|
|
border-bottom:5px solid #aaa;
|
|
padding:5px 7px 10px 7px;
|
|
}
|
|
|
|
.forumpost .topic {
|
|
background: #eee;
|
|
border-bottom: 1px solid #aaa;
|
|
}
|
|
|
|
/* Course
|
|
-------------------------------*/
|
|
.course-content .main {
|
|
border: 1px solid #eee;
|
|
background: #eee;
|
|
}
|
|
|
|
.course-content .current {
|
|
background: #1f5480;
|
|
}
|
|
|
|
.course-content .current .left {
|
|
background: #1f5480;
|
|
color: #fff;
|
|
}
|
|
|
|
.course-content .main .content {
|
|
background: #fff;
|
|
}
|
|
|
|
/* YUI Menu - custom menu
|
|
-------------------------------*/
|
|
#custommenu {
|
|
width: 60%;
|
|
float: left;
|
|
}
|
|
|
|
#custommenu .yui3-menu-label-active,
|
|
#custommenu .yui3-menu-label-menuvisible,
|
|
#custommenu .yui3-menu .yui3-menu .yui3-menu-label-active,
|
|
#custommenu .yui3-menu .yui3-menu .yui3-menu-label-menuvisible,
|
|
#custommenu .yui3-menuitem-active .yui3-menuitem-content,
|
|
#custommenu .yui3-menu .yui3-menu .yui3-menuitem-active .yui3-menuitem-content,
|
|
#custommenu .yui3-menu-horizontal.javascript-disabled li a:hover {
|
|
background-color:#666;
|
|
}
|
|
|
|
#custommenu .yui3-menu-content,
|
|
#custommenu .yui3-menu .yui3-menu .yui3-menu-content {
|
|
background-image:none;
|
|
background-color:#333;
|
|
border-width:0;
|
|
padding:0;
|
|
}
|
|
|
|
#custommenu .yui3-menuitem-active .yui3-menuitem-content {
|
|
background-image: none;
|
|
}
|
|
|
|
#custommenu .yui3-menu-label,
|
|
#custommenu .yui3-menu .yui3-menu .yui3-menu-label {
|
|
background-image:url([[pix:theme|vertical-menu-submenu-indicator]]);
|
|
background-position:right center;
|
|
background-repeat:no-repeat;
|
|
}
|
|
|
|
#custommenu .yui3-menu-label.yui3-menu-label-menuvisible,
|
|
#custommenu .yui3-menu .yui3-menu .yui3-menu-label.yui3-menu-label-menuvisible {
|
|
background-image:url([[pix:theme|horizontal-menu-submenu-indicator]]);
|
|
}
|
|
|
|
#custommenu .yui3-menu-horizontal .yui3-menu-label,
|
|
#custommenu .yui3-menu-horizontal .yui3-menuitem-content {
|
|
border-width:0;
|
|
text-transform: uppercase;
|
|
text-decoration:none;
|
|
font-size:1em;
|
|
font-weight: 200;
|
|
line-height:30px;
|
|
cursor: pointer;
|
|
padding:0 20px;
|
|
}
|
|
|
|
#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content,
|
|
#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content .ul {
|
|
border-width:0;
|
|
}
|
|
|
|
#custommenu .yui3-menu-horizontal.javascript-disabled li a {
|
|
padding: 0 20px;
|
|
display: block;
|
|
}
|
|
|
|
/** Dock **/
|
|
#dock .firstdockitem {margin-top: 30px;}
|
|
|
|
/* Moodle forms
|
|
----------------*/
|
|
.mform .btn-cancel {
|
|
color: #428AB5;
|
|
text-decoration: none;
|
|
}
|
|
.mform .btn-cancel:hover, .mform .btn-cancel:focus {
|
|
color: #428AB5;
|
|
text-decoration: none;
|
|
} |