diff admin.css @ 201:a4be19c4d99d

Modularize admin pages tab system.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 17 Nov 2013 17:52:51 +0200
parents a3f0f2a3551a
children a7aa20dec154
line wrap: on
line diff
--- a/admin.css	Sun Nov 17 16:42:47 2013 +0200
+++ b/admin.css	Sun Nov 17 17:52:51 2013 +0200
@@ -1,10 +1,10 @@
-#pageTabs {
+div.tabHeaders {
 	margin-top: 10pt;
 	margin-bottom: 0px;
 	border-bottom: 5pt solid #595F23;
 }
 
-#pageTabs a {
+div.tabHeaders a {
 	text-decoration: none;
 	padding: 5pt;
 	margin: 5pt;
@@ -14,20 +14,32 @@
 	border-top-right-radius: 5pt;
 }
 
-#pageTabs a:hover {
+div.tabHeaders a:hover {
 	background: #C8D286;
 }
 
-#pageTabs a:active {
+div.tabHeaders a:active {
 	background: #C8D286;
 }
 
-#pageTabs a.admin {
+div.tabHeaders a.admin {
 	position: relative;
 	right: -2em;
 }
 
-#admCont {
+div.tabContents {
+	position: absolute;
+	left: 0em;
+	right: 0em;
+	top: 4em;
+	bottom: 0em;
+	padding: 1em;
+	margin: 0px;
+	color: #0f0;
+}
+
+
+#adminContent {
 	position: absolute;
 	top: 1em;
 	bottom: 1em;
@@ -39,14 +51,3 @@
 	background: rgba(0,0,0,0.7);
 	color: #0f0;
 }
-
-#admin {
-	position: absolute;
-	left: 0em;
-	right: 0em;
-	top: 4em;
-	bottom: 0em;
-	padding: 1em;
-	margin: 0px;
-	color: #0f0;
-}