#4726 replace side menu h4 with h2 so assessibility validation passes the properly...
authorgreg gay <ggay@ocad.ca>
Tue, 2 Aug 2011 17:25:05 +0000 (17:25 -0000)
committergreg gay <ggay@ocad.ca>
Tue, 2 Aug 2011 17:25:05 +0000 (17:25 -0000)
12 files changed:
docs/themes/blumin/include/box.tmpl.php
docs/themes/blumin/styles.css
docs/themes/default/include/box.tmpl.php
docs/themes/default/styles.css
docs/themes/default15/include/box.tmpl.php
docs/themes/default15/styles.css
docs/themes/default16/styles.css
docs/themes/default_classic/styles.css
docs/themes/greenmin/include/box.tmpl.php
docs/themes/greenmin/styles.css
docs/themes/idi/include/box.tmpl.php
docs/themes/idi/styles.css

index 9b7e518..fcde121 100644 (file)
@@ -6,7 +6,7 @@ $compact_title = str_replace(' ', '', $this->title);
 ?>
 
 <br />
-<h4 class="box"><span><?php echo $this->title ?></span><input class="fl-force-right" src="" alt="" title="" type="image" /></h4>
+<h2 class="box"><span><?php echo $this->title ?></span><input class="fl-force-right" src="" alt="" title="" type="image" /></h2>
 <div class="box" id="menu_<?php echo $compact_title ?>">
        <?php echo $this->dropdown_contents; ?>
 </div>
index 781cabd..760d04f 100644 (file)
@@ -941,7 +941,7 @@ div.tabs a:hover, div.tabs a.active {
 }
 
 
-h4.box {
+h2.box {
        font-size: x-small;
        background-color: #DEE7EC;
        color: black;
index 726d26c..19f575a 100644 (file)
@@ -5,7 +5,7 @@ global $_base_path;
 $compact_title = str_replace(' ', '', $this->title);
 ?>
 <br />
-<h4 class="box"><span><?php echo $this->title ?></span><input class="fl-force-right" src="" alt="" title="" type="image" /></h4>
+<h2 class="box"><span><?php echo $this->title ?></span><input class="fl-force-right" src="" alt="" title="" type="image" /></h2>
 <div class="box" id="menu_<?php echo $compact_title ?>">
        <?php echo $this->dropdown_contents; ?>
 </div>
index 1f17732..30c29ee 100644 (file)
@@ -72,6 +72,9 @@ h2 {
 h2.sidebox{
        font-size: 110%;
 }
+h2.box{
+       font-size: 110%;
+}
 h3 {
        font-size: 130%;
 }
@@ -1066,6 +1069,19 @@ h4.box {
 /*     -moz-box-shadow:.1em .1em .1em #999999;
        box-shadow: .1em .1em .1em #999999;*/
 }
+h2.box {
+       font-size:0.85em;
+       padding: 2px;
+       border-radius: .5em .5em 0em 0em;
+       -moz-border-radius: .5em .5em 0em 0em;
+       padding:.2em;
+       border-top:1px solid #F2F7F7;
+       border-left:1px solid #F2F7F7;
+       border-right:1px solid #F2F7F7;
+               border-bottom:1px solid #F2F7F7;
+/*     -moz-box-shadow:.1em .1em .1em #999999;
+       box-shadow: .1em .1em .1em #999999;*/
+}
 
 div.box {
        padding: .5em;
index f68c24d..eb320e1 100644 (file)
@@ -1,7 +1,7 @@
 <?php if (!defined('AT_INCLUDE_PATH')) { exit; } ?>
 
 <br />
-<h4 class="box"><?php echo $this->title; ?><input class="fl-force-right" src="" alt="" title="" type="image" /></h4>
+<h2 class="box"><?php echo $this->title; ?><input class="fl-force-right" src="" alt="" title="" type="image" /></h2>
 <div class="box">
                <?php echo $this->dropdown_contents; ?>
 </div>
\ No newline at end of file
index e6adad8..16a1663 100644 (file)
@@ -971,6 +971,19 @@ h4.box {
        margin-left: 0px;
 }
 
+h2.box {
+       margin-top: 10px;
+       font-family: Helevetica, Arial, sans-serif;
+       background: #efefef;
+       border: 1px solid #afafaf;
+       color: black;
+       white-space:nowrap;
+       padding: 0em 1em 0em 1em;
+       display: inline;
+       font-weight:normal;
+       font-size:1em;
+       margin-left: 0px;
+}
 div.box {
     background: transparent;
     border-collapse: collapse;
index 04e00da..853a535 100644 (file)
@@ -53,6 +53,9 @@ h2 {
 h2.sidebox{
     font-size: 110%;
 }
+h2.box{
+    font-size: 110%;
+}
 h3 {
     font-size: 130%;
 }
index 0ffdbd3..9da5ed7 100644 (file)
@@ -991,12 +991,12 @@ fieldset {
   width:19em;
 margin-right:.3em;
 }
-h4.box {
+h2.box {
 
     border: 1px solid #788CB3;
 }
 
-h4.box span {
+h2.box span {
     background: #788CB3;
     border: 1px solid #788CB3;
     font-family: Helevetica, Arial, sans-serif;
index 498dd4f..85364a3 100644 (file)
@@ -6,7 +6,7 @@ $compact_title = str_replace(' ', '', $this->title);
 ?>
 
 <br />
-<h4 class="box"><span><?php echo $this->title ?></span><input class="fl-force-right" src="" alt="" title="" type="image" /></h4>
+<h2 class="box"><span><?php echo $this->title ?></span><input class="fl-force-right" src="" alt="" title="" type="image" /></h2>
 <div class="box" id="menu_<?php echo $compact_title ?>">
        <?php echo $this->dropdown_contents; ?>
 </div>
\ No newline at end of file
index 0227cc6..2240c46 100644 (file)
@@ -943,7 +943,7 @@ div.tabs a:hover, div.tabs a.active {
 }
 
 
-h4.box {
+h2.box {
        background-color: #DEECE2;
        color: black;
        border: 1px solid #57945A;
index 9b7e518..fcde121 100644 (file)
@@ -6,7 +6,7 @@ $compact_title = str_replace(' ', '', $this->title);
 ?>
 
 <br />
-<h4 class="box"><span><?php echo $this->title ?></span><input class="fl-force-right" src="" alt="" title="" type="image" /></h4>
+<h2 class="box"><span><?php echo $this->title ?></span><input class="fl-force-right" src="" alt="" title="" type="image" /></h2>
 <div class="box" id="menu_<?php echo $compact_title ?>">
        <?php echo $this->dropdown_contents; ?>
 </div>
index 26c7bb6..18128bf 100644 (file)
@@ -994,11 +994,12 @@ div.tabs a:hover, div.tabs a.active {
 }
 
 
-h4.box {
+h2.box {
        background-color: #DEE7EC;
        color: black;
        border: 1px solid #8CACBB;
        padding: 2px;
+       font-size:1em;
 }
 
 div.box {