MDL-7493 further fix: clean up themes, and remove references to 'hide-show-image' background images. Document smartpix for theming icons in wood and orangewhite readmes.

This commit is contained in:
nfreear
2007-12-21 11:58:15 +00:00
parent 1200d3d05d
commit a377231ec1
10 changed files with 12 additions and 60 deletions
+2 -6
View File
@@ -237,14 +237,10 @@ td.courseboxcontent {
.sideblock .content .message {
text-align: left;
}
.sideblock .header .hide-show img.hide-show-image {
background-image: url(../../pix/t/switch_minus.gif);
background-repeat: no-repeat;
.sideblock .header .hide-show-image {
margin-top: 0;
}
.sideblock.hidden .header .hide-show img.hide-show-image {
background-image: url(../../pix/t/switch_plus.gif);
background-repeat: no-repeat;
.sideblock.hidden .header .hide-show-image {
margin-top: 2px;
}
#calendar .event_global {
+1 -8
View File
@@ -274,14 +274,7 @@ ul.tabrow td.selected {
div.sideblock div.content div.message {
text-align: left;
}
div.sideblock div.header div.hide-show img.hide-show-image {
background-image: url(../../pix/t/switch_minus.gif);
background-repeat: no-repeat;
margin-top: 0;
}
div.sideblock.hidden div.header div.hide-show img.hide-show-image {
background-image: url(../../pix/t/switch_plus.gif);
background-repeat: no-repeat;
.sideblock .header .hide-show-image {
margin-top: 0;
}
table#calendar td.event_global {
-8
View File
@@ -153,14 +153,6 @@ h1.headermain {
border-top-color:#C6BDA8;
}
.sideblock .header .hide-show img.hide-show-image {
background: url('../../pix/t/switch_minus.gif') no-repeat bottom;
}
.sideblock.hidden .header .hide-show img.hide-show-image {
background: url('../../pix/t/switch_plus.gif') no-repeat bottom;
}
.sideblock .content .post .head .date,
.sideblock .content .post .head .name {
color: #000000;
-8
View File
@@ -242,14 +242,6 @@ body#admin-index .c0 {
.sideblock .list {
}
.sideblock .header .hide-show img.hide-show-image {
background: url('../../pix/t/switch_minus.gif') no-repeat bottom;
}
.sideblock.hidden .header .hide-show img.hide-show-image {
background: url('../../pix/t/switch_plus.gif') no-repeat bottom;
}
/***
-13
View File
@@ -410,19 +410,6 @@ table.flexible .r1 {
border-bottom-color: #dddddd;
}
.sideblock .header .hide-show img.hide-show-image {
background: url('../../pix/t/switch_minus.gif') no-repeat bottom;
}
.sideblock.hidden .header .hide-show img.hide-show-image {
background: url('../../pix/t/switch_plus.gif') no-repeat bottom;
}
/* Accessibility: for Windows High Contrast, partial fix MDL-7493. */
.sideblock .hide-show a {
border:1px solid white;
}
/***
*** Blogs
***/
+2
View File
@@ -5,3 +5,5 @@
<p>The design approach of this theme is based on the known web page layout with navigation left and information right.</p>
<p>This theme is based on the standard theme layout. Actual changes in Moodle development concerning fonts and colors can lead to inconsistencies in the Moodle page appearance.</p>
<p>For Moodle 1.9 onwards, to use the orangewhite hide/show block icons (pix/t/switch_minus.gif, switch_plus.gif), admins need to enable Smart pix search (Site Administration - Miscellaneous - Experimental - smartpix).</p>
-6
View File
@@ -255,12 +255,6 @@ body#admin-index .c0 {
}
.sideblock .list {
}
.sideblock .header .hide-show img.hide-show-image {
background:url('pix/switch_minus.gif') no-repeat bottom
}
.sideblock.hidden .header .hide-show img.hide-show-image {
background:url('pix/switch_plus.gif') no-repeat bottom
}
#left-column .sideblock .header {
background-color:#DAE0E4;
border-bottom-color:#F9FAFA
+1 -1
View File
@@ -219,7 +219,7 @@ form.mform div.textarea textarea {
.sideblock .searchform {
text-align:left
}
.sideblock .header .hide-show img.hide-show-image {
.sideblock .header .hide-show-image {
margin-top:0.1em;
}
.sideblock .searchform a {
+5 -1
View File
@@ -4,7 +4,7 @@
<p>This theme is a really simple one using background
images for near every element inside Moodle.</p>
<p>Two objetives were the main reason to build it:</p>
<p>Two objectives were the main reason to build it:</p>
<ul>
<li>To learn how all the CSS stuff was working under Moodle 1.5 (now
@@ -24,6 +24,10 @@ be present and unaltered in the Theme directory.</p>
<p>In this way custom themes are not "left behind" by Moodle upgrades.</p>
<p>For Moodle 1.9 onwards, to use the Wood black hide/show icons
(pix/t/switch_minus.gif, switch_plus.gif), admins need to enable Smart pix search
(Site Administration - Miscellaneous - Experimental - smartpix).</p>
<p>For any suggestion, fix or comment about this theme, please, start a discussion
in the <a target="_blank" href="http://moodle.org/mod/forum/view.php?id=46">"Themes Forum"</a>.</p>
+1 -9
View File
@@ -25,7 +25,7 @@ ul.tabrow1 li a:visited,
.sideblock .r1,
.generaltable .cell,
div.sideblock table.minicalendar,
.sideblock .hide-show a {
.sideblock .hide-show-image {
border:none;
background:none;
}
@@ -182,14 +182,6 @@ ul.tabrow1 li.here a:visited {
border-bottom-color:#330000;
}
.sideblock .header .hide-show img.hide-show-image {
background: url('pix/t/switch_minus.gif') no-repeat bottom;
}
.sideblock.hidden .header .hide-show img.hide-show-image {
background: url('pix/t/switch_plus.gif') no-repeat bottom;
}
/** Places using the horizontal medium wood texture with borders **/
th.header,