changeset 470:a65a00599a68

Some visual adjustments.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 06 Dec 2013 20:42:25 +0200
parents fccb15424ca3
children c1da26fc4982
files admajax.php admin.css
diffstat 2 files changed, 8 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/admajax.php	Fri Dec 06 20:30:16 2013 +0200
+++ b/admajax.php	Fri Dec 06 20:42:25 2013 +0200
@@ -204,7 +204,7 @@
       return
         "<b>#".$entry["show_id"]." - ".chentities($entry["name"]).
         " by ".chentities($entry["author"])."</b><br />".
-        "File: <i>".chentities(substr($entry["filename"], 0, 40))."</i>";
+        "<i>".chentities(substr($entry["filename"], 0, 40))."</i>";
     }
   }
   return "-";
@@ -227,7 +227,7 @@
     $strCompo = $strCurrEntry = $strCurrEntryFile = $strPrevEntry = "-";
 
   return
-    $indent."<div>Current compo:<br /><b>".$strCompo."</b></div>\n".
+    $indent."<div><b>".$strCompo."</b></div>\n".
     $indent."<div>Current entry:<br />".$strCurrEntry."</div>\n".
     $indent."<div>Previous entry:<br />".$strPrevEntry."</div>\n";
 }
--- a/admin.css	Fri Dec 06 20:30:16 2013 +0200
+++ b/admin.css	Fri Dec 06 20:42:25 2013 +0200
@@ -80,13 +80,11 @@
 
 #adminContent {
 	position: absolute;
-	top: 1em;
-	bottom: 1em;
-	left: 1em;
-	right: 1em;
+	top: 0em;
+	bottom: 0em;
+	left: 0em;
+	right: 0em;
 	padding: 1em;
-	border-radius: 10pt;
-	box-shadow: 2px 2px 4px rgba(0,255,0,0.5) inset, -2px -2px 4px rgba(0,255,0,0.5) inset;
 	background: rgba(0,0,0,0.7);
 	color: #0f0;
 }
@@ -196,14 +194,13 @@
 }
 
 div.ctrlDBox2 {
-	width: 20em;
+	width: 25em;
 	border: 2pt solid #060;
 }
 
 #ctrlCurrEntryData {
 	background: black;
 	position: relative;
-	top: -1em;
 }
 
 #ctrlCurrEntryData div {
@@ -211,6 +208,7 @@
 	padding: 0.5em;
 	margin: 0.5em;
 	border-radius: 0.5em;
+	overflow: hidden;
 }
 
 div.ctrlBox .selectBox {