moodle/theme/arialist/style/core.css
Sam Hemelryk 6c95e46a15 MDL-26979 custommenu Improved the custom menu CSS in base and all other core themes
* The custom menu now requires the YUI module directly rather than in its initialisation
* Improved the CSS in base so that it was more precise and more easily overrideable
* Reviewed the CSS for all core themes improving and removing !important from rules
2011-08-12 11:10:06 +08:00

301 lines
No EOL
5.2 KiB
CSS

/* Global
---------------------------*/
body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea {
font-family: arial, verdana, sans-serif;
line-height: 1.5;
color: #333;
}
a:hover {
color: #333;
}
#wrapper {
padding:0 100px;
border-top:15px solid #eee;
}
h2,h3,h4,h5,h6 {
color: #999;
font-weight: normal;
}
blockquote {
border-left:1px solid #eee;
padding-left:15px;
color:#666;
}
fieldset#general {
border-color: #eee;
}
fieldset#general legend {
color: #555;
font-weight: normal;
font-size: 1.2em;
border: 1px solid #eee;
padding: 2px 5px;
background: #fff;
}
/* Header
----------------------------*/
#page-header {
padding: 50px 0 25px;
}
#page-site-index #page-header {
padding-bottom: 10px;
}
#header-left {
float: left;
}
.headermain,
.headermenu {
margin: 0;
}
#page-header h1 {
float: none;
font-size: 2.25em;
line-height: 1;
}
#page-header h1.inside {
color: #666;
font-size: 2em;
}
#page-header p {
color:#999;
}
/* Navbar
----------------------------*/
.navbar {
background: #f1f1f1;
padding: 5px 10px;
border: 1px solid #ddd;
}
.breadcrumb .sep {
padding-left: 5px;
}
/* Blocks
----------------------------*/
.block {
border: none;
}
.block .header h2 {
color:#999;
font-size: 1.25em;
border-bottom:1px solid #eee;
padding-bottom:5px;
}
/* Courses
----------------------------*/
h2.headingblock {
font-weight: normal;
color:#999;
font-size: 1.5em;
border-bottom:1px solid #eee;
padding-bottom:2px;
}
.coursebox {
border-color: #eee;
}
.coursebox .info {
width: 35%;
}
.coursebox .info .name {
margin-bottom: 0;
}
.coursebox .info .teachers {
font-size: 0.9em;
color: #888;
}
.coursebox .summary {
width: 63%;
}
.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: #f25f0f !important;
}
/* Forum
--------------------------*/
.forumpost .topic {
background: #eee;
border-width: 0;
padding: 4px 10px 4px;
}
.forumpost .subject {
font-size: 1.25em;
}
.forumpost .author {
font-size: 0.9em;
font-style: italic;
}
.forumpost .no-overflow {
border-width: 0 1px 10px;
border-style: solid;
border-color: #aaa #eee #eee;
margin: 0 1px 1px 1px;
}
.forumpost .content .posting {
padding: 5px 10px 10px;
}
/* Dock */
#dock {
background: #eee;
border: none;
}
#dock .firstdockitem {
margin-top: 15px;
}
#dock .dockeditem {
background-color: #fff;
border: 1px solid #eee;
border-width: 0 1px 1px 0;
padding: 3px 0;
}
#dock .dockeditem .dockedtitle {
border: none;
}
#dock .dockeditem .dockedtitle h2 {
margin: 12px 0 12px 7px;
color: #666;
}
#dockeditempanel .dockeditempanel_content {
border-color: #eee;
}
#dockeditempanel .dockeditempanel_hd {
border-bottom: none;
padding: 3px 5px;
background: #eee;
text-align: left;
}
#dockeditempanel .dockeditempanel_hd h2 {
color: #333;
text-align: right;
font-weight: normal;
font-size: 0.8em;
padding: 0 2px;
}
#dockeditempanel .dockeditempanel_hd .commands {
float: right;
}
.has-custom-menu #dock .firstdockitem {
margin-top:30px;
}
.has-custom-menu #wrapper,
#custommenu .yui3-menu-horizontal .yui3-menu-content,
#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content,
#custommenu .yui3-menu-horizontal .yui3-menu-content ul,
#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content ul,
#custommenu .yui3-menu-horizontal.javascript-disabled .yui3-menu-content li li:hover > a,
#custommenu .yui3-menu-horizontal .yui3-menu-label,
#custommenu .yui3-menuitem,
#custommenu .yui3-menuitem .yui3-menuitem-content {
border-width: 0;
}
#custommenu {
padding-left:100px;
border-bottom:1px solid #DDD;
background-color:#EEE;
}
#custommenu .yui3-menu-content {
background-color: transparent;
}
#custommenu .yui3-menu .yui3-menu-label,
#custommenu .yui3-menu .yui3-menuitem-content {
color:#F25F0F;
line-height:24px;
padding: 5px 10px;
}
#custommenu .custom_menu_submenu .yui3-menu-label,
#custommenu .custom_menu_submenu .yui3-menuitem-content {
padding: 5px 20px;
}
#custommenu .custom_menu_submenu .yui3-menu-content,
#custommenu .yui3-menu-label-active,
#custommenu .yui3-menu-label-menuvisible {
background-color: #f9f9f9;
}
#custommenu .custom_menu_submenu .yui3-menu-label-active,
#custommenu .custom_menu_submenu .yui3-menu-label-menuvisible,
#custommenu .yui3-menu .yui3-menu .yui3-menuitem-active .yui3-menuitem-content {
background-color: #fefefe;
}
#custommenu .custom_menu_submenu .yui3-menu-content {
border-left:1px solid #DDD;
border-right:1px solid #DDD;
border-bottom:1px solid #DDD;
}
#custommenu .custom_menu_submenu .custom_menu_submenu .yui3-menu-content {
border-top:1px solid #DDD;
}