[freeside-commits] freeside/httemplate/elements menubar.html, 1.7, 1.8 freeside.css, 1.6, 1.7
Ivan,,,
ivan at wavetail.420.am
Mon Mar 22 12:46:17 PDT 2010
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv22189
Modified Files:
menubar.html freeside.css
Log Message:
1.9-style menubar was hurting my eyes
Index: freeside.css
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/freeside.css,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -w -d -r1.6 -r1.7
--- freeside.css 22 Mar 2010 06:34:52 -0000 1.6
+++ freeside.css 22 Mar 2010 19:46:15 -0000 1.7
@@ -38,3 +38,61 @@
/* a:focus { background-color: #ccccee } */
+a.fstab {
+ background-color:#cccccc;
+ color: #000000;
+ border:1px solid;
+ border-top-color:#666666;
+ border-left-color:#666666;
+ border-right-color:#666666;
+ border-bottom-color:#7e0079;
+ -moz-border-radius-topleft:8px;
+ -moz-border-radius-topright:8px;
+ -webkit-border-radius-topleft:8px;
+ -webkit-border-radius-topright:8px;
+ border-radius-topleft:8px;
+ border-radius-topright:8px;
+ /*font-weight:bold;*/
+ /*padding-left:12px;
+ padding-right:12px;*/
+ padding-left:4px;
+ padding-right:4px;
+ font-size:16px;
+ text-decoration:none;
+ overflow:visible;
+}
+a.fstab:hover {
+ text-decoration:none;
+}
+
+/* a:link:hover.fsblackbutton,
+a:visited:hover.fsblackbutton
+*/
+a.fstabselected {
+ background-color:#f8f8f8;
+ color: #000000;
+ border:1px solid;
+ border-top-color:#7e0079;
+ border-left-color:#7e0079;
+ border-right-color:#7e0079;
+ border-bottom-color:#ffffff;
+ -moz-border-radius-topleft:8px;
+ -moz-border-radius-topright:8px;
+ -webkit-border-radius-topleft:8px;
+ -webkit-border-radius-topright:8px;
+ border-radius-topleft:8px;
+ border-radius-topright:8px;
+ /*font-weight:bold;*/
+ /*padding-left:12px;
+ padding-right:12px;*/
+ padding-left:4px;
+ padding-right:4px;
+ font-size:16px;
+ text-decoration:none;
+ overflow:visible;
+}
+a.fstabselected:hover {
+ text-decoration:none;
+ color: #000000;
+}
+
Index: menubar.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/menubar.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -w -d -r1.7 -r1.8
--- menubar.html 19 Mar 2010 08:27:22 -0000 1.7
+++ menubar.html 22 Mar 2010 19:46:15 -0000 1.8
@@ -19,17 +19,11 @@
</%doc>
%if ( $opt->{'newstyle'} ) {
+% my $s = '<FONT STYLE="border-bottom:1px solid #7e0079">';
- <TABLE BGCOLOR="#000000" BORDER=0 CELLSPACING=0 CELLPADDING=0>
- <TR>
- <TD><IMG SRC="<%$fsurl%>images/gray-black-side.png" WIDTH=13 HEIGHT=25></TD>
- <TD>
- <% join(' ', @html ) %>
- </TD>
- <TD><IMG SRC="<%$fsurl%>images/black-gray-side.png" WIDTH=13 HEIGHT=25></TD>
- </TD>
- </TR>
- </TABLE>
+ <BR>
+ <% join("$s </FONT>", ( '', @html, '' ) ) %>
+ <BR>
%} else {
@@ -52,13 +46,11 @@
if ( $opt->{'newstyle'} ) {
my $dclass = $item eq $opt->{'selected'}
- ? 'fsblackbuttonselected'
- : 'fsblackbutton';
+ ? 'fstabselected'
+ : 'fstab';
+
+ $style = qq( CLASS="$dclass" );
- $style =
- qq( CLASS="$dclass" ).
- qq( onMouseOver="this.className='fsblackbuttonselected'; return true;" ).
- qq( onMouseOut="this.className='$dclass'; return true;" );
}
push @html, qq!<A HREF="$url_base$url" $style>$item</A>!;
More information about the freeside-commits
mailing list