diff options
Diffstat (limited to 'httemplate/elements')
-rw-r--r-- | httemplate/elements/freeside.css | 15 | ||||
-rw-r--r-- | httemplate/elements/header.html | 21 | ||||
-rw-r--r-- | httemplate/elements/xmenu.css | 16 |
3 files changed, 42 insertions, 10 deletions
diff --git a/httemplate/elements/freeside.css b/httemplate/elements/freeside.css new file mode 100644 index 000000000..5908e6aab --- /dev/null +++ b/httemplate/elements/freeside.css @@ -0,0 +1,15 @@ +* { + font-family: Arial, Verdana, Helvetica, sans-serif; +} + +A:link IMG, A:visited { border-style: none } +A:focus {text-decoration: underline } + +a:link, a:visited { + /* text-decoration: none; */ + color: #000000; +} +/* a:hover { text-decoration: underline } */ + +/* a:focus { background-color: #ccccee } */ + diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 49814577e..0eb5695ce 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -16,6 +16,7 @@ <script type="text/javascript" src="<%=$fsurl%>elements/cssexpr.js"></script> <script type="text/javascript" src="<%=$fsurl%>elements/xmenu.js"></script> <link href="<%=$fsurl%>elements/xmenu.css" type="text/css" rel="stylesheet"> + <link href="<%=$fsurl%>elements/freeside.css" type="text/css" rel="stylesheet"> <% tie my %report_menu, 'Tie::IxHash', @@ -183,10 +184,16 @@ </SCRIPT> <SCRIPT TYPE="text/javascript"> - function clearhint_search_cust () { - alert(this); - if ( this.value='(cust #, name or company)' ) - this.value = ''; + function clearhint_search_cust (what) { + if ( what.value = '(cust #, name or company)' ) + what.value = ''; + } + </SCRIPT> + + <SCRIPT TYPE="text/javascript"> + function clearhint_search_ticket (what) { + if ( what.value = '(ticket # or subject string)' ) + what.value = ''; } </SCRIPT> @@ -200,7 +207,7 @@ <IMG BORDER=0 ALT="freeside" SRC="<%=$fsurl%>images/small-logo.png"> </td> <td align=left rowspan=2 BGCOLOR="#ffffff"> <!-- valign="top" --> - <font size=6><%= $conf->config('company_name') %> Billing</font> + <font size=6><%= $conf->config('company_name') || 'ExampleCo' %></font> </td> <td align=right valign=top BGCOLOR="#ffffff">Logged in as <b><%= getotaker %> </b><br><FONT SIZE="-2"><a href="<%=$fsurl%>pref/XXXwritethis">Preferences</a> <BR><BR></FONT> </td> @@ -248,13 +255,13 @@ </TD> <TD COLSPAN=1 BGCOLOR="#000000" ALIGN="right"> <FORM ACTION="<%=$fsurl%>search/cust_main.cgi" METHOD="GET" STYLE="margin:0"> - <INPUT NAME="search_cust" TYPE="text" VALUE="(cust #, name or company)" SIZE="23" onFocus="clearhint_search_cust" onClick="clearhint_search_cust"> + <INPUT NAME="search_cust" TYPE="text" VALUE="(cust #, name or company)" SIZE="23" onFocus="clearhint_search_cust(this);" onClick="clearhint_search_cust(this);" STYLE="text-align:right"> <INPUT TYPE="submit" VALUE="Search customers"> </FORM> </TD> <TD COLSPAN=1 BGCOLOR="#000000" ALIGN="right"> <FORM ACTION="<%=$fsurl%>rt/index.html" METHOD="GET" STYLE="margin:0"> - <INPUT NAME="q" TYPE="text" VALUE="" onFocus="clearhint_search_ticket" onClick="clearhint_search_ticket"> + <INPUT NAME="q" TYPE="text" VALUE="(ticket # or subject string)" onFocus="clearhint_search_ticket(this);" onClick="clearhint_search_ticket(this);" STYLE="text-align:right"> <INPUT TYPE="submit" VALUE="Search tickets"> </FORM> </TD> diff --git a/httemplate/elements/xmenu.css b/httemplate/elements/xmenu.css index 5bb8a0deb..60881b813 100644 --- a/httemplate/elements/xmenu.css +++ b/httemplate/elements/xmenu.css @@ -55,9 +55,14 @@ border: 1px solid white; } -.webfx-menu a:visited, -.webfx-menu a:visited:hover { +.webfx-menu a:visited { color: black; + border: 1px solid white; +} + +.webfx-menu a:hover { + color: black; + border: 1px solid #7e0079; } .webfx-menu a:hover { @@ -98,11 +103,12 @@ /* border: 1px solid #7E0079; */ /* border: 1px solid #000000; */ /* border: none */ + color: white; padding: 2px; font-family: Verdana, Helvetica, Sans-Serif; - font-size: 11px; + /* font-size: 11px; */ /* IE5.0 has the wierdest box model for inline elements */ padding: expression(constExpression(ie50 ? "0px" : "2px")); @@ -132,6 +138,10 @@ height: expression(constExpression(ie50 ? "17px" : "auto")); } +.webfx-menu-bar a:link { + color: white; +} + .webfx-menu-bar a:hover { /* color: black; */ color: white; |