Theme fix for magazine, MDL-24392
[moodle.git] / theme / magazine / style / colors.css
1 /** colors file for magazine theme, contains colors, logo and background image **/
3 html,body {
4         background: #fff url([[setting:background]]);
5 }
7 html a,body a, html a:visited,body a:visited {
8         color: [[setting:linkcolor]];
9 }
11 html a:hover,body a:hover {
12         color: [[setting:linkhover]];
13 }
15 /** header and dock, default #002f2f and #092323 **/
17 #header-wrap, #dock {
18         background: [[setting:maincolor]];
19         border-bottom: 1px solid [[setting:maincoloraccent]];
20 }
22 /** logo is below **/
24 div.thetitle {
25         background: url([[setting:logo]]) no-repeat 0% 50%;
26 }
28 /** block header font color and others default is #002f2f **/
30 td.category.number, .yui-module.yui-overlay.yui-panel div.hd, #navigation li a:link,#navigation li a:visited, div.tabtree li a span {
31         color: [[setting:maincolor]];
32 }
34 .title h2, div.dockeditempanel_hd h2, div.dockeditempanel_hd {
35         color: [[setting:blockcolor]];
36 }
38 .yui3-menu-content li a {
39         color: [[setting:maincolor]] !important;
40 }
42 div.dockedtitle {
43         border-bottom: 1px solid [[setting:maincoloraccent]] !important;
44         border-top: 1px solid #333333 !important;
45 }
47 /** main headings and forum post subject default color #4e0000 **/
49 #nologo, #nologo a, .generalbox h2,h3.sectionname, div.tabtree li.selected a span, .forumpost .subject, .blog_entry div.subject a, h2.headingblock,h2.main,h3.main, h2.main a, h3.main a, div.loginpanel h2, div.signuppanel h2 {
50         color: [[setting:headingcolor]];
51 }
53 /** forum post subject background default is #e6e2af **/
55 .forumpost td.topic {
56         background: [[setting:forumback]] url([[pix:theme|alert-overlay]]) repeat-x;
57 }
59 /** table header background color, default is #002f2f **/
61 td.maincalendar table.calendartable th, table.rolecap .header,.generaltable .header,.forumheaderlist .header,.files .header,.editcourse .header,.logtable .header,#attempts .header,table#categoryquestions th {
62         background: [[setting:maincolor]] !important;
63 }
66 /** dock item hover, default is #4e0000 **/
68 div.dockeditem_container div.dockeditem:hover {
69         background: [[setting:headingcolor]] url([[pix:theme|mbar]]) repeat-y;
70 }