From 55e2a98988c76425ec2dac583b91410eaf835659 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 19 Mar 2010 08:27:22 +0000 Subject: [PATCH] skin RT 3.8, slight new look for 2.1, RT#6640 --- httemplate/docs/cvv2.html | 2 +- httemplate/elements/freeside-menu.css | 145 ++++++++++++++++++++++++++++++++ httemplate/elements/header-minimal.html | 2 +- httemplate/elements/header-popup.html | 2 +- httemplate/elements/header.html | 120 +++++--------------------- httemplate/elements/menu.html | 1 + httemplate/elements/menubar.html | 40 --------- httemplate/elements/tr-justtitle.html | 2 +- httemplate/elements/tr-title.html | 2 +- httemplate/elements/xmenu.top.css | 2 +- 10 files changed, 171 insertions(+), 147 deletions(-) create mode 100644 httemplate/elements/freeside-menu.css diff --git a/httemplate/docs/cvv2.html b/httemplate/docs/cvv2.html index 767098537..845484d26 100644 --- a/httemplate/docs/cvv2.html +++ b/httemplate/docs/cvv2.html @@ -4,7 +4,7 @@ CVV2 information - + The CVV2 number (also called CVC2 or CID) is a three- or four-digit security code used to reduce credit card fraud.

diff --git a/httemplate/elements/freeside-menu.css b/httemplate/elements/freeside-menu.css new file mode 100644 index 000000000..8bdec31fa --- /dev/null +++ b/httemplate/elements/freeside-menu.css @@ -0,0 +1,145 @@ +input.fsblackbutton { + background-color:#333333; + color: #ffffff; + border:1px solid; + border-top-color:#cccccc; + border-left-color:#cccccc; + border-right-color:#aaaaaa; + border-bottom-color:#aaaaaa; + font-family: Arial, Verdana, Helvetica, sans-serif; + font-weight:bold; + padding-left:12px; + padding-right:12px; + padding-top:0px; + padding-bottom:0px; + margin-left:0px; + margin-right:0px; + margin-top:2px; + margin-bottom:0px; + overflow:visible; + filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr='#ff333333',EndColorStr='#ff666666') +} + +input.fsblackbuttonselected { + background-color:#7e0079; + color: #ffffff; + border:1px solid; + border-top-color:#cccccc; + border-left-color:#cccccc; + border-right-color:#aaaaaa; + border-bottom-color:#aaaaaa; + font-family: Arial, Verdana, Helvetica, sans-serif; + font-weight:bold; + padding-left:12px; + padding-right:12px; + padding-top:0px; + padding-bottom:0px; + margin-left:0px; + margin-right:0px; + margin-top:2px; + margin-bottom:0px; + overflow:visible; + filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr='#ff330033',EndColorStr='#ff7e0079') +} + +input.fstext { + border: 2px inset #eee; + /*border-top-color:#aaaaaa; + border-left-color:#aaaaaa; + border-right-color:#cccccc; + border-bottom-color:#cccccc; + */ + vertical-align:bottom; + text-align:right; + font-family: Arial,Verdana,Helvetica,sans-serif; + font-size: 13px; + padding-left: 0px; + padding-right: 0px; + padding-top: 0px; + padding-bottom: 0px; + margin-left:0px; + margin-right:0px; + margin-top:0px; + margin-bottom:1px; +} + +a.fsblackbutton { + background-color:#333333; + color: #ffffff; + border:1px solid; + border-top-color:#cccccc; + border-left-color:#cccccc; + border-right-color:#aaaaaa; + border-bottom-color:#aaaaaa; + /*font-weight:bold;*/ + /*padding-left:12px; + padding-right:12px;*/ + padding-left:4px; + padding-right:4px; + font-size:16px; + text-decoration:none; + overflow:visible; + filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr='#ff333333',EndColorStr='#ff666666') +} + +a.fsblackbuttonselected, +a:link:hover.fsblackbutton, +a:visited:hover.fsblackbutton { + background-color:#7e0079; + color: #ffffff; + border:1px solid; + border-top-color:#cccccc; + border-left-color:#cccccc; + border-right-color:#aaaaaa; + border-bottom-color:#aaaaaa; + /*font-weight:bold;*/ + /*padding-left:12px; + padding-right:12px;*/ + padding-left:4px; + padding-right:4px; + font-size:16px; + text-decoration:none; + overflow:visible; + filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr='#ff330033',EndColorStr='#ff7e0079') +} + +a.fsdarkbutton { + background-color:#555555; + color: #ffffff; + border:1px solid; + border-top-color:#cccccc; + border-left-color:#cccccc; + border-right-color:#aaaaaa; + border-bottom-color:#aaaaaa; + /*font-weight:bold;*/ + /*padding-left:12px; + padding-right:12px;*/ + padding-left:4px; + padding-right:4px; + font-size:16px; + text-decoration:none; + overflow:visible; + filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr='#ff555555',EndColorStr='#ff666666') +} + +a.fsdarkbuttonselected, +a:link:hover.fsdarkbutton, +a:visited:hover.fsdarkbutton { + background-color:#7e0079; + color: #ffffff; + border:1px solid; + border-top-color:#cccccc; + border-left-color:#cccccc; + border-right-color:#aaaaaa; + border-bottom-color:#aaaaaa; + /*font-weight:bold;*/ + /*padding-left:12px; + padding-right:12px;*/ + padding-left:4px; + padding-right:4px; + font-size:16px; + text-decoration:none; + overflow:visible; + filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr='#ff330033',EndColorStr='#ff7e0079') +} + diff --git a/httemplate/elements/header-minimal.html b/httemplate/elements/header-minimal.html index f74a9cc62..28a78b435 100644 --- a/httemplate/elements/header-minimal.html +++ b/httemplate/elements/header-minimal.html @@ -16,4 +16,4 @@ <% $head %> - > + > diff --git a/httemplate/elements/header-popup.html b/httemplate/elements/header-popup.html index d74581b07..cd8da5657 100644 --- a/httemplate/elements/header-popup.html +++ b/httemplate/elements/header-popup.html @@ -9,7 +9,7 @@ <% $head %> - > + >
<% $title %>
diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 5c4d736d2..08de3b686 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -77,7 +77,7 @@ Example: <% $head |n %> - <% $etc |n %> STYLE="margin-top:0; margin-bottom:0; margin-left:0; margin-right:0"> + <% $etc |n %> STYLE="margin-top:0; margin-bottom:0; margin-left:0; margin-right:0">
@@ -87,99 +87,30 @@ Example:
freesideLogged in as <% getotaker %>  [ logout ]
Preferences % if ( $conf->config("ticket_system") % && FS::TicketSystem->access_right(\%session, 'ModifySelf') ) { - | Ticketing preferences + | Ticketing preferences % }
- - - - - + + % if ( $menu_position eq 'top' ) { - -
+ - +
+ @@ -190,12 +121,12 @@ input.fstext { - - @@ -203,7 +134,7 @@ input.fstext { - - - - - -
<% include('/elements/about_freeside.html') |n %> <% include('/elements/about_rt.html') |n %>
+
+
+ % if ( $curuser->access_right('List prospects') ) {

@@ -213,7 +144,7 @@ input.fstext { % }
+ % if ( $curuser->access_right('List customers') ) {
@@ -223,7 +154,7 @@ input.fstext { % }
+ % if ( $conf->exists('address2-search') ) { @@ -234,7 +165,7 @@ input.fstext { % } + % if ( $curuser->access_right('View invoices') ) { @@ -246,17 +177,17 @@ input.fstext { % } + % if ( $curuser->access_right('View customer services') ) {
- Advanced + Advanced % }
+ % if ( $conf->config("ticket_system") ) {

@@ -271,31 +202,18 @@ input.fstext { - - -% if ( $menu_position eq 'left' ) { - - - - -% } - - - - - % if ( $menu_position eq 'left' ) { -
+
- +
@@ -309,7 +227,7 @@ input.fstext { % } -
<% include('/elements/about_freeside.html') |n %>
+ <% $title %> diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html index 1694a5927..a26624ee8 100644 --- a/httemplate/elements/menu.html +++ b/httemplate/elements/menu.html @@ -15,6 +15,7 @@ % unless ( $opt{'nocss'} ) { % } +