Bläddra i källkod

[svn r11599] course tools shortcuts are better displayed

Eric Marguin 18 år sedan
förälder
incheckning
0be1a60ce1

+ 5 - 2
main/css/default/default.css

@@ -383,7 +383,9 @@ a.invisible:visited {
 	background-color: #fff;
 	color: #009;
 	margin-bottom: 2px;
-	padding: 4px;
+	padding: 4px;
+	float: left;
+	clear:right;
 }
 
 #header4 a {
@@ -397,7 +399,8 @@ a.invisible:visited {
 
 /* The tool shortcuts */
 #toolshortcuts {
-	text-align: right;
+	text-align: right;
+	clear: right;
 }
 
 /*

+ 6 - 2
main/css/default_with_tabs/default.css

@@ -316,7 +316,9 @@ input[text] {font-size: 12px; }
 	background-color: #fff;
 	color: #009;
 	padding: 4px;
-	margin-bottom: 2px;
+	margin-bottom: 2px;
+	float: left;
+	clear:right;
 }
 #header4 a {
 	color: #4171b5;
@@ -327,7 +329,9 @@ input[text] {font-size: 12px; }
 }
 /* The tool shortcuts */
 #toolshortcuts {
-	text-align: right;
+	text-align: right;
+	clear: right;
+	
 }
 
 /*****************************************************

+ 5 - 2
main/css/dokeosgrey/default.css

@@ -310,7 +310,9 @@ input[text] {font-size: 12px; }
 	background-color: #fff;
 	color: #009;
 	padding: 4px;
-	margin-bottom: 2px;
+	margin-bottom: 2px;
+	float: left;
+	clear:right;
 }
 #header4 a {
 	color: #666;
@@ -321,7 +323,8 @@ input[text] {font-size: 12px; }
 }
 /* The tool shortcuts */
 #toolshortcuts {
-	text-align: right;
+	text-align: right;
+	clear: right;
 }
 
 /***************************************************** 

+ 2 - 1
main/inc/banner.inc.php

@@ -324,7 +324,7 @@ foreach($navigation as $index => $navigation_info)
 }
 echo implode(' > ',$navigation);
 ?>
-<div class="clear">&nbsp;</div>
+
 </div><!-- end of header4 -->
 <?php
 if(api_get_setting('show_toolshortcuts')=='true')
@@ -348,6 +348,7 @@ if (isset ($dokeos_database_connection))
 ?>
 
 </div> <!-- end of the whole #header section -->
+<div class="clear">&nbsp;</div>
 <?php
 //to mask the main div, set $header_hide_main_div to true in any script just before calling Display::display_header();
 global $header_hide_main_div;