pari: trunk r353 - in /trunk/config: ./ stylesheets/

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Fri Feb 16 11:59:35 MST 2007


Author: pari
Date: Fri Feb 16 12:59:35 2007
New Revision: 353

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=353
Log:
minor improvements to hover tab colors 

Modified:
    trunk/config/localexts.html
    trunk/config/options.html
    trunk/config/stylesheets/rico.css
    trunk/config/stylesheets/schwing.css
    trunk/config/sysinfo.html

Modified: trunk/config/localexts.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/localexts.html?view=diff&rev=353&r1=352&r2=353
==============================================================================
--- trunk/config/localexts.html (original)
+++ trunk/config/localexts.html Fri Feb 16 12:59:35 2007
@@ -118,9 +118,9 @@
 <div class="mainscreenContentBox" id="userscontent">
 <TABLE align=center width="520" cellpadding=0 cellspacing=0 style="margin: 5px 0 0 0;">
 <TR>
-	<TD valign="bottom" align="center" class="tab"><a href="#" class="tab" style="border-bottom: 4px solid #000000; font-weight:bold; background: #FFFFFF; font-size: 13px">Local Extension settings</a></TD>
-	<TD><a href="options.html" class="tab" style="border-bottom: 0px solid #777788; font-weight:bold; background: #DDDDEE; font-size: 11px">Change Password</a></TD>
-	<TD valign="bottom" align="left"><a href="#" class="tab" onclick="tosetup();"  style="border-bottom: 0px solid #777788; font-weight:bold; background: #DDDDEE; font-size: 11px">Run Setup Wizard</a></TD> 
+	<TD valign="bottom" align="center" class="tab"><a href="#" class="tabselected">Local Extension settings</a></TD>
+	<TD><a href="options.html" class="tab">Change Password</a></TD>
+	<TD valign="bottom" align="left"><a href="#" class="tab" onclick="tosetup();">Run Setup Wizard</a></TD> 
 </TR>
 </TABLE>
 <BR>

Modified: trunk/config/options.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/options.html?view=diff&rev=353&r1=352&r2=353
==============================================================================
--- trunk/config/options.html (original)
+++ trunk/config/options.html Fri Feb 16 12:59:35 2007
@@ -237,9 +237,9 @@
 
 <TABLE align=center width="520" cellpadding=0 cellspacing=0 style="margin: 5px 0 0 0;">
 <TR>
-	<TD valign="bottom" align="center"><a href="localexts.html" class="tab" style="border-bottom: 0px solid #777788; font-weight:bold; background: #DDDDEE; font-size: 11px">Local Extension settings</a></TD>
-	<TD><a href="#" class="tab" style="border-bottom: 4px solid #000000; font-weight:bold; background: #FFFFFF; font-size: 13px">Change Password</a></TD>
-	<TD valign="bottom" align="left"><a href="#" onclick="tosetup();" class="tab" style="border-bottom: 0px solid #777788; font-weight:bold; background: #DDDDEE; font-size: 11px">Run Setup Wizard</a></TD> 
+	<TD valign="bottom" align="center"><a href="localexts.html" class="tab">Local Extension settings</a></TD>
+	<TD><a href="#" class="tabselected">Change Password</a></TD>
+	<TD valign="bottom" align="left"><a href="#" onclick="tosetup();" class="tab">Run Setup Wizard</a></TD> 
 </TR>
 </TABLE>
 <BR>

Modified: trunk/config/stylesheets/rico.css
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/stylesheets/rico.css?view=diff&rev=353&r1=352&r2=353
==============================================================================
--- trunk/config/stylesheets/rico.css (original)
+++ trunk/config/stylesheets/rico.css Fri Feb 16 12:59:35 2007
@@ -243,28 +243,4 @@
    margin: 6px 0px 6px 0px;
    }
 
-/* for DHTML tabs */
-  a.tab { 
-		border-bottom: 0px solid #778;
-		font: bold 11px arial,Verdana, sans-serif;
-		margin: 0;
-		display: inline;
-		padding: 2px 0.5em;
-		margin-left: 3px;
-		border: 0px solid #778;
-		background: #DDE;
-		text-decoration: none;
-		color: #448; 
-		height: 11px;
- }
-
-a.tab:visited { 
-		color: #448; 
-}
-
-a.tab:hover { 
-		color: #000;
-		background: #AAE;
-		border-color: #227;
-		text-decoration: none;
-}
+

Modified: trunk/config/stylesheets/schwing.css
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/stylesheets/schwing.css?view=diff&rev=353&r1=352&r2=353
==============================================================================
--- trunk/config/stylesheets/schwing.css (original)
+++ trunk/config/stylesheets/schwing.css Fri Feb 16 12:59:35 2007
@@ -226,3 +226,46 @@
 	color : #717171;
 }
 /* end of - From astman.css */
+
+
+/* for DHTML tabs */
+  a.tab { 
+		border-bottom: 0px solid #778;
+		font: bold 11px arial,Verdana, sans-serif;
+		margin: 0;
+		display: inline;
+		padding: 2px 0.5em;
+		margin-left: 3px;
+		border: 0px solid #778;
+		background: #DDE;
+		text-decoration: none;
+		color: #448; 
+		height: 11px;
+ }
+
+a.tab:visited { 
+		color: #448; 
+}
+
+a.tab:hover { 
+		color: #000;
+		background: #AAE;
+		border-color: #227;
+		text-decoration: none;
+}
+
+  a.tabselected { 
+		border-bottom: 4px solid #000000;
+		font: bold 13px arial,Verdana, sans-serif;
+		margin:0pt 0pt 0pt 3px;
+		padding:2px 0.5em;
+		display: inline;
+		border: 0px solid #778;
+		background: #FFF;
+		text-decoration: none;
+		color: #448; 
+		height: 11px;
+		border-bottom-color:#000000;
+		border-bottom-style:solid;
+		border-bottom-width:4px;
+ }

Modified: trunk/config/sysinfo.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/sysinfo.html?view=diff&rev=353&r1=352&r2=353
==============================================================================
--- trunk/config/sysinfo.html (original)
+++ trunk/config/sysinfo.html Fri Feb 16 12:59:35 2007
@@ -69,15 +69,9 @@
 
 function show_window(x){
 		for(i=0; i < tabs.length ; i++){
-			document.getElementById(tabs[i]).style.background = '#DDDDEE';
-			document.getElementById(tabs[i]).style.borderBottom = '0px solid #777788';
-			document.getElementById(tabs[0]).style.fontWeight = 'bold';
-			document.getElementById(tabs[0]).style.fontSize = '11px';
+			document.getElementById(tabs[i]).className = "tab";
 		}
-		document.getElementById(tabs[x-1]).style.background = '#FFFFFF';
-		document.getElementById(tabs[x-1]).style.borderBottom = '4px solid #000000';
-		document.getElementById(tabs[x-1]).style.fontWeight = 'bold';
-		document.getElementById(tabs[x-1]).style.fontSize= '13px';
+		document.getElementById(tabs[x-1]).className = "tabselected";
 		document.getElementById(tabs[x-1]).blur();
 		
 
@@ -135,10 +129,8 @@
 					$(divs_toshow[i]).style.display = "block";
 				}
 
-				document.getElementById(tabs[0]).style.background = 'white';
-				document.getElementById(tabs[0]).style.borderBottom = '4px solid #000000';
-				document.getElementById(tabs[0]).style.fontWeight = 'bold';
-				document.getElementById(tabs[0]).style.fontSize = '13px';
+				document.getElementById(tabs[0]).className = "tabselected";
+
 				load_todayslog();
 
 			},



More information about the asterisk-gui-commits mailing list