set relative sizes for icons, so they manify at the same rate as text
authorgreg gay <ggay@ocad.ca>
Wed, 29 Sep 2010 19:14:59 +0000 (19:14 -0000)
committergreg gay <ggay@ocad.ca>
Wed, 29 Sep 2010 19:14:59 +0000 (19:14 -0000)
docs/themes/default/content.tmpl.php
docs/themes/default/include/header.tmpl.php
docs/themes/default/styles.css

index f75f9b1..1fa1ef0 100644 (file)
@@ -19,7 +19,7 @@ if (!defined('AT_INCLUDE_PATH')) { exit; } ?>
     <img src="<?php echo AT_BASE_HREF; ?>images/<?php echo (($_GET['alternative'] == 3) ? 'pause.png' : 'text_alternative.png'); ?>" \r
       alt="<?php echo (($_GET['alternative'] == 3) ? _AT('stop_apply_text_alternatives') : _AT('apply_text_alternatives')); ?>" \r
       title="<?php echo (($_GET['alternative'] == 3) ? _AT('stop_apply_text_alternatives') : _AT('apply_text_alternatives')); ?>" \r
-      border="0" />\r
+      border="0" class="img1616"/>\r
   </a>\r
 <?php endif; // END OF has text alternative?>\r
 <?php if ($this->has_audio_alternative) :?>\r
@@ -27,7 +27,7 @@ if (!defined('AT_INCLUDE_PATH')) { exit; } ?>
     <img src="<?php echo AT_BASE_HREF; ?>images/<?php echo (($_GET['alternative'] == 1) ? 'pause.png' : 'audio_alternative.png'); ?>" \r
       alt="<?php echo (($_GET['alternative'] == 1) ? _AT('stop_apply_audio_alternatives') : _AT('apply_audio_alternatives')); ?>" \r
       title="<?php echo (($_GET['alternative'] == 1) ? _AT('stop_apply_audio_alternatives') : _AT('apply_audio_alternatives')); ?>" \r
-      border="0" />\r
+      border="0" class="img1616"/>\r
   </a>\r
 <?php endif; // END OF has audio alternative?>\r
 <?php if ($this->has_visual_alternative) :?>\r
@@ -35,7 +35,7 @@ if (!defined('AT_INCLUDE_PATH')) { exit; } ?>
     <img src="<?php echo AT_BASE_HREF; ?>images/<?php echo (($_GET['alternative'] == 4) ? 'pause.png' : 'visual_alternative.png'); ?>" \r
       alt="<?php echo (($_GET['alternative'] == 4) ? _AT('stop_apply_visual_alternatives') : _AT('apply_visual_alternatives')); ?>" \r
       title="<?php echo (($_GET['alternative'] == 4) ? _AT('stop_apply_visual_alternatives') : _AT('apply_visual_alternatives')); ?>" \r
-      border="0" />\r
+      border="0" class="img1616"/>\r
   </a>\r
 <?php endif; // END OF has visual alternative?>\r
 <?php if ($this->has_sign_lang_alternative) :?>\r
@@ -43,7 +43,7 @@ if (!defined('AT_INCLUDE_PATH')) { exit; } ?>
     <img src="<?php echo AT_BASE_HREF; ?>images/<?php echo (($_GET['alternative'] == 2) ? 'pause.png' : 'sign_lang_alternative.png'); ?>" \r
       alt="<?php echo (($_GET['alternative'] == 2) ? _AT('stop_apply_sign_lang_alternatives') : _AT('apply_sign_lang_alternatives')); ?>" \r
       title="<?php echo (($_GET['alternative'] == 2) ? _AT('stop_apply_sign_lang_alternatives') : _AT('apply_sign_lang_alternatives')); ?>" \r
-      border="0" />\r
+      border="0" class="img1616"/>\r
   </a>\r
 <?php endif; // END OF has sign language alternative?>\r
 </div>\r
index fe5b98f..5d0c300 100644 (file)
@@ -198,7 +198,7 @@ global $system_courses, $_custom_css, $db;
                <?php $path_parts = explode("/", $this->current_top_level_page); 
                      $last_path_part = $path_parts[sizeof($path_parts) - 1];
                if (!admin_authenticate(AT_ADMIN_PRIV_ADMIN, AT_PRIV_RETURN) && $last_path_part != 'preferences.php') {?>
-                   <a class="pref_wiz_launcher"><img border="0" alt="<?php echo _AT('preferences').' - '._AT('new_window'); ?>" src="<?php echo $this->base_href; ?>images/wand.png" /></a> |
+                   <a class="pref_wiz_launcher"><img border="0" alt="<?php echo _AT('preferences').' - '._AT('new_window'); ?>" src="<?php echo $this->base_href; ?>images/wand.png" class="img1616"/></a> |
                    <?php } ?> 
                        <strong><?php echo get_display_name($_SESSION['member_id']); ?></strong> | 
                        <a href="<?php echo $this->base_path; ?>logout.php"><?php echo _AT('logout'); ?></a>
@@ -252,19 +252,19 @@ global $system_courses, $_custom_css, $db;
        <div id="contentcolumn">
                <?php if (isset($this->course_id) && $this->course_id > 0 && $system_courses[$this->course_id]['side_menu']): ?>
                <div id="menutoggle">
-                  <a href="javascript:void(0)" accesskey="n"><img src="" title="" alt="" border="0"/></a>
+                  <a href="javascript:void(0)" accesskey="n"><img src="" title="" alt="" border="0" class="img1616"/></a>
                </div>
 
                <div class="sequence-links">
                <?php if ($_SESSION["prefs"]["PREF_SHOW_NEXT_PREVIOUS_BUTTONS"]) { ?>
                        <?php if ($this->sequence_links['resume']): ?>
-                                       <a style="color:white;" href="<?php echo $this->sequence_links['resume']['url']; ?>" accesskey="."><img src="<?php echo $this->img; ?>resume.png" border="0" title="<?php echo _AT('resume').': '.$this->sequence_links['resume']['title']; ?> Alt+." alt="<?php echo $this->sequence_links['resume']['title']; ?> Alt+." class="img-size-ascdesc" /></a>
+                                       <a style="color:white;" href="<?php echo $this->sequence_links['resume']['url']; ?>" accesskey="."><img src="<?php echo $this->img; ?>resume.png" border="0" title="<?php echo _AT('resume').': '.$this->sequence_links['resume']['title']; ?> Alt+." alt="<?php echo $this->sequence_links['resume']['title']; ?> Alt+." class="img1616" /></a>
                        <?php else:
                                if ($this->sequence_links['previous']): ?>
-                                       <a href="<?php echo $this->sequence_links['previous']['url']; ?>" title="<?php echo _AT('previous_topic').': '. $this->sequence_links['previous']['title']; ?> Alt+," accesskey=","><img src="<?php echo $this->img; ?>previous.png" border="0" alt="<?php echo _AT('previous_topic').': '. $this->sequence_links['previous']['title']; ?> Alt+," class="img-size-ascdesc" /></a>
+                                       <a href="<?php echo $this->sequence_links['previous']['url']; ?>" title="<?php echo _AT('previous_topic').': '. $this->sequence_links['previous']['title']; ?> Alt+," accesskey=","><img src="<?php echo $this->img; ?>previous.png" border="0" alt="<?php echo _AT('previous_topic').': '. $this->sequence_links['previous']['title']; ?> Alt+," class="img1616" /></a>
                                <?php endif;
                                if ($this->sequence_links['next']): ?>
-                                       <a href="<?php echo $this->sequence_links['next']['url']; ?>" title="<?php echo _AT('next_topic').': '.$this->sequence_links['next']['title']; ?> Alt+." accesskey="."><img src="<?php echo $this->img; ?>next.png" border="0" alt="<?php echo _AT('next_topic').': '.$this->sequence_links['next']['title']; ?> Alt+." class="img-size-ascdesc" /></a>
+                                       <a href="<?php echo $this->sequence_links['next']['url']; ?>" title="<?php echo _AT('next_topic').': '.$this->sequence_links['next']['title']; ?> Alt+." accesskey="."><img src="<?php echo $this->img; ?>next.png" border="0" alt="<?php echo _AT('next_topic').': '.$this->sequence_links['next']['title']; ?> Alt+." class="1616" /></a>
                                <?php endif; ?>
                        <?php endif; ?>
                <?php } ?>
@@ -300,7 +300,7 @@ global $system_courses, $_custom_css, $db;
                        <div id="subnavbacktopage">
                        <?php if (isset($this->back_to_page)): ?>
                                <a href="<?php echo $this->back_to_page['url']; ?>">
-                               <img border="0" width="10" height="11" alt="<?php echo _AT('back_to').' '.$this->back_to_page['title']; ?>" src="<?php echo $this->base_href; ?>images/arrowicon.gif" style="float:left;"/></a>&nbsp;
+                               <img border="0" width="10" height="11" alt="<?php echo _AT('back_to').' '.$this->back_to_page['title']; ?>" src="<?php echo $this->base_href; ?>images/arrowicon.gif" style="float:left;" class="img1111"/></a>&nbsp;
                        <?php endif; ?>
                        </div>
 
index ff7ec50..e204c92 100644 (file)
@@ -2265,6 +2265,8 @@ width:100%;
 .shortcut_icon{
        border:0;
        vertical-align:middle;
+height:1.15em;
+width:1.15em;
 }
 ul#content-tool-links {
        list-style: none outside none;
@@ -2518,4 +2520,24 @@ margin-left:2em;
 }
 div.bypass{
 height:1px;
+}
+/* relative image size styles */
+
+img.img1616{
+height:1.3em;
+width:1.3em;
+}
+
+img.img1111{
+height:.8em;
+width:.8em;
+}
+img.img2424{
+
+
+}
+input[type=image].fl-force-right{
+height:.8em;
+width:.8em;
+
 }
\ No newline at end of file