changed CSS for fieldsets
This commit is contained in:
		
							parent
							
								
									ff0e65a538
								
							
						
					
					
						commit
						5bfcf6f0fc
					
				|  | @ -821,7 +821,7 @@ class accountContainer { | ||||||
| 		echo "<table border=0 width=\"100%\">\n<tr><td valign=\"top\" width=\"15%\" >"; | 		echo "<table border=0 width=\"100%\">\n<tr><td valign=\"top\" width=\"15%\" >"; | ||||||
| 		echo "<table><tr>"; | 		echo "<table><tr>"; | ||||||
| 		 | 		 | ||||||
| 		echo "<td><fieldset class=\"".$this->type."edit-dark\"><legend class=\"".$this->type."edit-bright\"><b>"; | 		echo "<td><fieldset class=\"".$this->type."edit\"><legend><b>"; | ||||||
| 			echo _('Please select page:'); | 			echo _('Please select page:'); | ||||||
| 			echo "</b></legend>\n"; | 			echo "</b></legend>\n"; | ||||||
| 		$x=0; | 		$x=0; | ||||||
|  | @ -843,12 +843,12 @@ class accountContainer { | ||||||
| 		echo "</fieldset></td></tr>\n"; | 		echo "</fieldset></td></tr>\n"; | ||||||
| 		echo "</table></td>\n<td>"; | 		echo "</table></td>\n<td>"; | ||||||
| 		if ($this->current_page==0) { | 		if ($this->current_page==0) { | ||||||
| 			echo "<td><fieldset class=\"".$this->type."edit-dark\"><legend class=\"".$this->type."edit-bright\"><b>"; | 			echo "<td><fieldset class=\"".$this->type."edit\"><legend><b>"; | ||||||
| 			echo _('Main'); | 			echo _('Main'); | ||||||
| 			echo "</b></legend>\n"; | 			echo "</b></legend>\n"; | ||||||
| 			} | 			} | ||||||
| 		else { | 		else { | ||||||
| 			echo "<td><fieldset class=\"".$this->type."edit-dark\"><legend class=\"".$this->type."edit-bright\"><b>"; | 			echo "<td><fieldset class=\"".$this->type."edit\"><legend><b>"; | ||||||
| 				echo $this->module[$this->order[$this->current_page]]->get_alias($type); | 				echo $this->module[$this->order[$this->current_page]]->get_alias($type); | ||||||
| 				echo "</b></legend>\n"; | 				echo "</b></legend>\n"; | ||||||
| 			} | 			} | ||||||
|  |  | ||||||
|  | @ -442,82 +442,81 @@ p.statusError { | ||||||
|  * |  * | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| fieldset.groupedit-bright { | fieldset.groupedit { | ||||||
|   background-color:#d6e3ff; |   background-color:#d6e3ff; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| fieldset.groupedit-middle { | fieldset.groupedit legend { | ||||||
|   background-color:#C7E7C7; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| legend.groupedit-bright { |  | ||||||
|   color:blue; |   color:blue; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| fieldset.groupedit-dark { | fieldset.groupedit fieldset { | ||||||
|   background-color:#7167bf; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| legend.groupedit-dark { |  | ||||||
|   color:blue; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| select.groupedit-bright { |  | ||||||
|   background-color:#d6e3ff; |   background-color:#d6e3ff; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | fieldset.groupedit fieldset fieldset { | ||||||
|  |   background-color:#d6e3ff; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | fieldset.groupedit select { | ||||||
|  |   background-color:#a8c3ff; | ||||||
|  | } | ||||||
|  | 
 | ||||||
| 
 | 
 | ||||||
| /** | /** | ||||||
|  * table style for hostedit.php |  * table style for hostedit.php | ||||||
|  * |  * | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| fieldset.hostedit-bright { | fieldset.hostedit { | ||||||
|   background-color:#ffe2dd; |   background-color:#ffe2dd; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| legend.hostedit-bright { | fieldset.hostedit legend { | ||||||
|   color:blue; |   color:blue; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| fieldset.hostedit-dark { | fieldset.hostedit fieldset { | ||||||
|  |   background-color:#ffe2dd; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | fieldset.hostedit fieldset fieldset { | ||||||
|  |   background-color:#ffe2dd; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | fieldset.hostedit select { | ||||||
|   background-color:#ffc4ba; |   background-color:#ffc4ba; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| legend.hostedit-dark { |  | ||||||
|   color:blue; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| select.hostedit-bright { |  | ||||||
|   background-color:#ffc4ba; |  | ||||||
| } |  | ||||||
| 
 | 
 | ||||||
| /** | /** | ||||||
|  * table style for useredit.php |  * table style for useredit.php | ||||||
|  * |  * | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| fieldset.useredit-bright { | fieldset.useredit { | ||||||
|   background-color:#fff2a3; |   background-color:#fff2a3; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| legend.useredit-bright { | fieldset.useredit legend { | ||||||
|   color:blue; |   color:blue; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| fieldset.useredit-dark { | fieldset.useredit fieldset { | ||||||
|   background-color:#CCCCFF; |   background-color:#fff2a3; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| legend.useredit-dark { | fieldset.useredit fieldset fieldset { | ||||||
|   color:blue; |   background-color:#fff2a3; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| select.useredit-bright { | fieldset.useredit select { | ||||||
|   background-color:#CCCCFF; |   background-color:#fffde2; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | /* schema browser */ | ||||||
|  | 
 | ||||||
| table.schema_oclasses { | table.schema_oclasses { | ||||||
| 	border-left: 1px solid black; | 	border-left: 1px solid black; | ||||||
| 	border-right: 1px solid black; | 	border-right: 1px solid black; | ||||||
|  |  | ||||||
|  | @ -155,15 +155,15 @@ function config_showAccountModules($scope, $title) { | ||||||
| 	} | 	} | ||||||
| 	 | 	 | ||||||
| 	// show account modules
 | 	// show account modules
 | ||||||
| 	echo "<fieldset class=\"" . $scope . "edit-bright\"><legend class=\"" . $scope . "edit-bright\"><b>" . $title . "</b></legend>\n"; | 	echo "<fieldset class=\"" . $scope . "edit\"><legend><b>" . $title . "</b></legend>\n"; | ||||||
| 	echo "<table border=0 width=\"100%\">\n"; | 	echo "<table border=0 width=\"100%\">\n"; | ||||||
| 		// select boxes
 | 		// select boxes
 | ||||||
| 		echo "<tr>\n"; | 		echo "<tr>\n"; | ||||||
| 			echo "<td width=\"5%\"></td>\n"; | 			echo "<td width=\"5%\"></td>\n"; | ||||||
| 			echo "<td width=\"40%\">\n"; | 			echo "<td width=\"40%\">\n"; | ||||||
| 				echo "<fieldset class=\"" . $scope . "edit-bright\">\n"; | 				echo "<fieldset class=\"" . $scope . "edit\">\n"; | ||||||
| 					echo "<legend class=\"" . $scope . "edit-bright\">" . _("Selected modules") . "</legend>\n"; | 					echo "<legend>" . _("Selected modules") . "</legend>\n"; | ||||||
| 					echo "<select class=\"" . $scope . "edit-bright\" name=\"" . $scope . "_selected[]\" size=5 multiple>\n"; | 					echo "<select class=\"" . $scope . "edit\" name=\"" . $scope . "_selected[]\" size=5 multiple>\n"; | ||||||
| 						for ($i = 0; $i < sizeof($selected); $i++) { | 						for ($i = 0; $i < sizeof($selected); $i++) { | ||||||
| 							if (in_array($selected[$i], $available)) {  // selected modules must be available
 | 							if (in_array($selected[$i], $available)) {  // selected modules must be available
 | ||||||
| 								if (is_base_module($selected[$i], $scope)) {  // mark base modules
 | 								if (is_base_module($selected[$i], $scope)) {  // mark base modules
 | ||||||
|  | @ -189,9 +189,9 @@ function config_showAccountModules($scope, $title) { | ||||||
| 				echo "</p>\n"; | 				echo "</p>\n"; | ||||||
| 			echo "</td>\n"; | 			echo "</td>\n"; | ||||||
| 			echo "<td width=\"40%\">\n"; | 			echo "<td width=\"40%\">\n"; | ||||||
| 				echo "<fieldset class=\"" . $scope . "edit-bright\">\n"; | 				echo "<fieldset class=\"" . $scope . "edit\">\n"; | ||||||
| 					echo "<legend class=\"" . $scope . "edit-bright\">" . _("Available modules") . "</legend>\n"; | 					echo "<legend>" . _("Available modules") . "</legend>\n"; | ||||||
| 					echo "<select class=\"" . $scope . "edit-bright\" name=\"" . $scope . "_available[]\" size=5 multiple>\n"; | 					echo "<select class=\"" . $scope . "edit\" name=\"" . $scope . "_available[]\" size=5 multiple>\n"; | ||||||
| 						for ($i = 0; $i < sizeof($available); $i++) { | 						for ($i = 0; $i < sizeof($available); $i++) { | ||||||
| 							if (! in_array($available[$i], $selected)) {  // display non-selected modules
 | 							if (! in_array($available[$i], $selected)) {  // display non-selected modules
 | ||||||
| 								if (is_base_module($available[$i], $scope)) {  // mark base modules
 | 								if (is_base_module($available[$i], $scope)) {  // mark base modules
 | ||||||
|  |  | ||||||
|  | @ -73,7 +73,7 @@ if ($_GET['type']) { | ||||||
| 	echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/layout.css\">\n"; | 	echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/layout.css\">\n"; | ||||||
| 	echo "</head><body>\n"; | 	echo "</head><body>\n"; | ||||||
| 	echo "<form action=\"delete.php\" method=\"post\">\n"; | 	echo "<form action=\"delete.php\" method=\"post\">\n"; | ||||||
| 	echo "<fieldset class=\"".$_GET['type']."edit-dark\"><legend class=\"".$_GET['type']."edit-bright\"><b>"; | 	echo "<fieldset class=\"".$_GET['type']."edit\"><legend><b>"; | ||||||
| 	echo _('Please confirm:'); | 	echo _('Please confirm:'); | ||||||
| 	echo "</b></legend>\n"; | 	echo "</b></legend>\n"; | ||||||
| 	echo "<input name=\"type\" type=\"hidden\" value=\"" . $_GET['type'] . "\">\n"; | 	echo "<input name=\"type\" type=\"hidden\" value=\"" . $_GET['type'] . "\">\n"; | ||||||
|  | @ -123,7 +123,7 @@ if ($_POST['delete']) { | ||||||
| 	echo "</head><body>\n"; | 	echo "</head><body>\n"; | ||||||
| 	echo "<form action=\"delete.php\" method=\"post\">\n"; | 	echo "<form action=\"delete.php\" method=\"post\">\n"; | ||||||
| 	echo "<input name=\"type\" type=\"hidden\" value=\"" . $_POST['type'] . "\">\n"; | 	echo "<input name=\"type\" type=\"hidden\" value=\"" . $_POST['type'] . "\">\n"; | ||||||
| 	echo "<fieldset class=\"".$_POST['type']."edit-dark\"><legend class=\"".$_POST['type']."edit-bright\"><b>"; | 	echo "<fieldset class=\"".$_POST['type']."edit\"><legend><b>"; | ||||||
| 	echo _('Deleting. Please stand by ...'); | 	echo _('Deleting. Please stand by ...'); | ||||||
| 	echo "</b></legend>\n"; | 	echo "</b></legend>\n"; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue