svn commit: samba r6363 - in trunk/swat/include: .

deryck at samba.org deryck at samba.org
Sun Apr 17 04:21:15 GMT 2005


Author: deryck
Date: 2005-04-17 04:21:15 +0000 (Sun, 17 Apr 2005)
New Revision: 6363

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6363

Log:

Cleaning up format of SWAT styles and adding comments.

deryck

Modified:
   trunk/swat/include/common.css
   trunk/swat/include/help.css
   trunk/swat/include/main.css


Changeset:
Modified: trunk/swat/include/common.css
===================================================================
--- trunk/swat/include/common.css	2005-04-17 03:52:21 UTC (rev 6362)
+++ trunk/swat/include/common.css	2005-04-17 04:21:15 UTC (rev 6363)
@@ -1,16 +1,26 @@
-/* Styles common to all SWAT pages */
+/* Styles common to all SWAT pages 
+   by Deryck Hodge <deryck at samba.org>
+*/
+
+
+/* Base elements ***************************************************/
 body {
 	background-color:#FFF;
 	font-family:Lucidasans, Helvetica, Verdana, sans-serif; 
 	font-size:medium;
 }
+ul {
+	list-style-type:none;
+}
 img {
 	border:0;
 }
+
+/* Links ***********************************************************/
 a, a:link {
-	color:#15317E;
 	font-weight:bold;
 	text-decoration:none;
+	color:#15317E;
 }
 a:hover {
 	text-decoration:underline;
@@ -18,6 +28,3 @@
 a:visited {
 	color:#843A6D;
 }
-ul {
-	list-style-type:none;
-}

Modified: trunk/swat/include/help.css
===================================================================
--- trunk/swat/include/help.css	2005-04-17 03:52:21 UTC (rev 6362)
+++ trunk/swat/include/help.css	2005-04-17 04:21:15 UTC (rev 6363)
@@ -1,32 +1,34 @@
-/* Alternate styles used when accessing the help menu */
+/* Alternate styles used when accessing the help menu 
+   by Deryck Hodge <deryck at samba.org>
+*/
+
+
+/* Open up the frame ***********************************************/
 #gui {
 	width:100%;
 	margin:auto;
 }
+
+/* Remove unused sections ***************************************/
 .banner {
 	display:none;
 }
 .nav {
 	display:none;
 }
-#controls {
-	background-color:#FFF;
-}
-#controls ul {
-	list-style-type:none;
-	margin-left:-10px;
-}
 .footer {
 	display:none;
 }
+
+/* Dynamically added header ****************************************/
 #toc {
 	text-align:center;
 }
 #toc hr {
+	border:0;
+	border-top:1px outset #003062;
 	width:70%;
 	height:1px;
-	border:0;
-	border-top:1px outset #003062;
 	color:#FFF;
 }
 #toc h4 {
@@ -36,3 +38,12 @@
 	color:#15317E !important;
 }
 
+/* Center section with docs list ***********************************/
+#controls {
+	background-color:#FFF;
+}
+#controls ul {
+	margin-left:-10px;
+	list-style-type:none;
+}
+

Modified: trunk/swat/include/main.css
===================================================================
--- trunk/swat/include/main.css	2005-04-17 03:52:21 UTC (rev 6362)
+++ trunk/swat/include/main.css	2005-04-17 04:21:15 UTC (rev 6363)
@@ -1,10 +1,17 @@
-/* Styles for the main SWAT pages */
+/* Styles for the main SWAT pages 
+   by Deryck Hodge <deryck at samba.org>
+*/
+
+
+/* Div that wraps the page *****************************************/
 #gui {
+	background-color:#BBBDC3;
 	width:90%;
 	margin:auto;
 	border:2px groove #161C38;
-	background-color:#BBBDC3;
 }
+
+/* Header, including title and nav *********************************/
 #banner {
 	height:30px;
 	line-height:30px;
@@ -12,11 +19,11 @@
 #banner a,
 #banner a:link,
 #banner a:visited {
+	margin:0 0 0 1px;
 	font-size:small;
+	font-weight:bold;
+	text-decoration:none;
 	color:#7B7C80;
-	text-decoration:none;
-	font-weight:bold;
-	margin:0 0 0 1px;
 }
 #banner a:hover {
 	color:#444;
@@ -38,11 +45,12 @@
 #nav img {
 	margin:3px 0 0 -4px;
 }
+
+/* Center section, where form, editing, etc. happen ****************/
 #controls {
 	background-color:#FFF;
 	border-left:25px solid #7B7C80;
 	border-right:25px solid #7B7C80;
-	background-color:#FFF;
 	padding:20px;
 }
 #controls p {
@@ -53,9 +61,9 @@
 #controls ul {
 	position:relative;
 	left:35px;
+	width:400px;
 	list-style-type:none;
 	line-height:20px;
-	width:400px;
 }
 #controls li {
 	background:url(/swat/images/arrow.png) top left no-repeat;
@@ -65,14 +73,24 @@
 .help_link {
 	margin:0 10px 0 0;
 }
+.view_conf {
+	position:absolute;
+	top:100px;
+	right:15%;	
+}
+.view_conf a {
+	display:block;
+}
+
+/* Footer **********************************************************/
 #footer {
 	text-align:center;
 	font-size:small;
 	font-style:italic;
 }
 #footer p {
+	width:100%;
 	margin:40px 0 0 0;
-	width:100%;
 }
 #footer img {
 	position:relative;
@@ -81,11 +99,4 @@
 	height:40px;
 	margin:0 25px 0 0;
 }
-.view_conf {
-  position:absolute;
-  top:100px;
-  right:15%;	
-}
-.view_conf a {
-	display:block;
-}
+



More information about the samba-cvs mailing list