phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] phpgwapi/templates/desktop footer.tpl head.inc....


From: Dave Hall
Subject: [Phpgroupware-cvs] phpgwapi/templates/desktop footer.tpl head.inc....
Date: Sun, 15 Oct 2006 11:29:22 +0000

CVSROOT:        /cvsroot/phpgwapi
Module name:    phpgwapi
Changes by:     Dave Hall <skwashd>     06/10/15 11:29:21

Modified files:
        templates/desktop: footer.tpl head.inc.php head.tpl 
                           navbar.inc.php navbar.tpl 
        templates/desktop/css: desktop.css 

Log message:
        rollback to previous broken verison, the version i just commited is 
still very much a WIP, watch this space

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/templates/desktop/footer.tpl?cvsroot=phpgwapi&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/templates/desktop/head.inc.php?cvsroot=phpgwapi&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/templates/desktop/head.tpl?cvsroot=phpgwapi&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/templates/desktop/navbar.inc.php?cvsroot=phpgwapi&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/templates/desktop/navbar.tpl?cvsroot=phpgwapi&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/templates/desktop/css/desktop.css?cvsroot=phpgwapi&r1=1.5&r2=1.6

Patches:
Index: footer.tpl
===================================================================
RCS file: /cvsroot/phpgwapi/phpgwapi/templates/desktop/footer.tpl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- footer.tpl  15 Oct 2006 11:09:45 -0000      1.5
+++ footer.tpl  15 Oct 2006 11:29:21 -0000      1.6
@@ -1,15 +1,12 @@
 <!-- BEGIN footer -->
                                </div>
                        </div>
-               </div>
                <div id="footer">
-                       <!--
                        <ul>
                                <li class="first">{powered_by}</li>
                                <li>&nbsp;</li>
                                <li class="last">{current_users}</li>
                        </ul>
-                       -->
                </div>
 <!-- END footer -->
        </body>

Index: head.inc.php
===================================================================
RCS file: /cvsroot/phpgwapi/phpgwapi/templates/desktop/head.inc.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- head.inc.php        15 Oct 2006 11:09:45 -0000      1.8
+++ head.inc.php        15 Oct 2006 11:29:21 -0000      1.9
@@ -9,81 +9,35 @@
   *  option) any later version.                                              *
   \**************************************************************************/
 
-  /* $Id: head.inc.php,v 1.8 2006/10/15 11:09:45 skwashd Exp $ */
+  /* $Id: head.inc.php,v 1.9 2006/10/15 11:29:21 skwashd Exp $ */
 
-       $tpl =& $GLOBALS['phpgw']->template; // 
CreateObject('phpgwapi.Template',PHPGW_TEMPLATE_DIR);
-       $tpl->set_root(PHPGW_TEMPLATE_DIR);
+       $tpl = CreateObject('phpgwapi.Template',PHPGW_TEMPLATE_DIR);
        $tpl->set_unknowns('remove');
        $tpl->set_file(array('head' => 'head.tpl'));
-       $tpl->set_block('head', 'theme_stylesheet', 'theme_stylesheets');
 
-       $app =& $GLOBALS['phpgw_info']['flags']['currentapp'];
-       $title = "{$GLOBALS['phpgw_info']['server']['site_title']} [" . 
lang($GLOBALS['phpgw_info']['flags']['currentapp']);
-       
-       if ( isset($GLOBALS['phpgw_info']['flags']['app_header']) )
-       {
-               $title .= " - {$GLOBALS['phpgw_info']['flags']['app_header']}";
-       }
-       $title .= ']';
-
-       $theme_styles = array();
-       $theme_styles[] = 
"{$GLOBALS['phpgw_info']['server']['webserver_url']}/phpgwapi/templates/desktop/css/base.css";
+       $app = $GLOBALS['phpgw_info']['flags']['currentapp'];
+       $app = $app ? ' ['.(isset($GLOBALS['phpgw_info']['apps'][$app]) ? 
$GLOBALS['phpgw_info']['apps'][$app]['title'] : lang($app)).']':'';
 
        if(file_exists(PHPGW_SERVER_ROOT . '/phpgwapi/templates/desktop/css/' . 
$GLOBALS['phpgw_info']['user']['preferences']['common']['theme'] . '.css'))
        {
-               $theme_styles[] = 
"{$GLOBALS['phpgw_info']['server']['webserver_url']}/phpgwapi/templates/desktop/css/{$GLOBALS['phpgw_info']['user']['preferences']['common']['theme']}.css";
+                $theme_css = $GLOBALS['phpgw_info']['server']['webserver_url'] 
. 
'/phpgwapi/templates/desktop/css/'.$GLOBALS['phpgw_info']['user']['preferences']['common']['theme'].'.css';
        }
        else
        {
-               $theme_styles[] = 
"{$GLOBALS['phpgw_info']['server']['webserver_url']}/phpgwapi/templates/desktop/css/dekstop.css";
-               
$GLOBALS['phpgw_info']['user']['preferences']['common']['theme'] = 'desktop';
-       }
-
-       if(file_exists(PHPGW_SERVER_ROOT . 
"/{$app}/templates/base/css/base.css"))
-       {
-               $theme_styles[] = 
"{$GLOBALS['phpgw_info']['server']['webserver_url']}/{$app}/templates/base/css/base.css";
-       }
-
-       if(file_exists(PHPGW_SERVER_ROOT . 
"/{$app}/templates/desktop/css/base.css"))
-       {
-               $theme_styles[] = 
"{$GLOBALS['phpgw_info']['server']['webserver_url']}/{$app}/templates/desktop/css/base.css";
-       }
-
-       if(file_exists(PHPGW_SERVER_ROOT . 
"/{$app}/templates/desktop/css/{$GLOBALS['phpgw_info']['user']['preferences']['common']['theme']}.css"))
-       {
-               $theme_styles[] = 
"{$GLOBALS['phpgw_info']['server']['webserver_url']}/{$app}/templates/desktop/css/{$GLOBALS['phpgw_info']['user']['preferences']['common']['theme']}.css";
-       }
-       
-       foreach ( $theme_styles as $style )
-       {
-               $tpl->set_var('theme_style', $style);
-               $tpl->parse('theme_stylesheets', 'theme_stylesheet', true);
+                $theme_css = $GLOBALS['phpgw_info']['server']['webserver_url'] 
. '/phpgwapi/templates/desktop/css/desktop.css';
        }
 
        if( !is_object($GLOBALS['phpgw']->js) )
        {
                $GLOBALS['phpgw']->js = createObject('phpgwapi.javascript');
        }
+       $GLOBALS['phpgw']->js->set_onload('initPage();');
 
        if ( ! (isset($GLOBALS['phpgw_info']['theme']) && 
is_array($GLOBALS['phpgw_info']['theme']) && 
count($GLOBALS['phpgw_info']['theme']) ) )
        {
                $GLOBALS['phpgw_info']['theme'] = array('font'  => '');
        }
 
-<<<<<<< head.inc.php
-       $tpl->set_var(array
-                       (
-                               'img_icon'              => PHPGW_IMAGES_DIR . 
'/favicon.ico',
-                               'img_shortcut'  => PHPGW_IMAGES_DIR . 
'/favicon.ico',
-                               'font_family'   => 
$GLOBALS['phpgw_info']['theme']['font'],
-                               'css'                   => 
$GLOBALS['phpgw']->common->get_css(),
-                               'java_script'   => 
$GLOBALS['phpgw']->common->get_java_script(),
-                               'str_base_url'  => $GLOBALS['phpgw']->link('/'),
-                               'webserver_url' => 
$GLOBALS['phpgw_info']['server']['webserver_url'],
-                               'website_title' => $title,
-                               'win_on_events' => 
$GLOBALS['phpgw']->common->get_on_events()
-                       ));
-=======
        $var = Array (
                'img_icon'      => PHPGW_IMAGES_DIR . '/favicon.ico',
                'img_shortcut'  => PHPGW_IMAGES_DIR . '/favicon.ico',
@@ -95,7 +49,6 @@
                'java_script'   => $GLOBALS['phpgw']->common->get_java_script(),
        );
        $tpl->set_var($var);
->>>>>>> 1.7
        $tpl->pfp('out','head');
        unset($tpl);
 ?>

Index: head.tpl
===================================================================
RCS file: /cvsroot/phpgwapi/phpgwapi/templates/desktop/head.tpl,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- head.tpl    15 Oct 2006 11:09:45 -0000      1.6
+++ head.tpl    15 Oct 2006 11:29:21 -0000      1.7
@@ -8,31 +8,88 @@
                <meta name="description" content="phpGroupWare" />
                <meta name="keywords" content="phpGroupWare" />
                <meta name="robots" content="none" />
-               <!--[if lt IE 7]>
-                       <style type="text/css">
-                               /* IE7 is meant to support :hover so we won't 
need this! */
-                               body
-                               {
-                                       
behavior:url('{webserver_url}/phpgwapi/templates/desktop/behaviours/csshover.htc');
 
-                               }
-                       </style>
-               <![endif]-->
                <link rel="ICON" href="{img_icon}" type="image/x-ico" />
                <link rel="SHORTCUT ICON" href="{img_shortcut}" />
                {css}
-               <!-- BEGIN theme_stylesheet -->
-               <link href="{theme_style}" type="text/css" rel="StyleSheet" />
-               <!-- END theme_stylesheet -->
+               <link href="{theme_css}" type="text/css" rel="StyleSheet" />
                <title>{website_title}</title>
                {java_script}
-               <script type="text/javascript">
+               <script>
                        //<![CDATA[
+                       //Parts based public doman code from ALA - 
http://www.alistapart.com/articles/dropdowns/
+                       function fixIE()
+                       {
+                               if( document.all && document.getElementById )
+                               {
+                                       navRoot = 
document.getElementById('navbar_ul');
+                                       for( i=0; i < 
navRoot.childNodes.length; i++ )
+                                       {
+                                               node = navRoot.childNodes[i];
+                                               if( node.nodeName == 'LI' )
+                                               {
+                                                       
node.onmouseover=function()
+                                                       {
+                                                               this.className 
+= ' over';
+                                                       }
 
-                       var strBaseURL = '{str_base_url}';
+                                                       
node.onmouseout=function()
+                                                       {
+                                                               this.className 
= this.className.replace(' over', '');
+                                                       }
+                                                       if( 
node.childNodes.length )
+                                                       {
+                                                               for( j=0; j < 
node.childNodes.length; j++)
+                                                               {
+                                                                       subNode 
= node.childNodes[j];
+                                                                       if( 
subNode.nodeName == 'UL' )
+                                                                       {
+                                                                               
if( subNode.childNodes.length )
+                                                                               
{
+                                                                               
        for( k = 0; k < subNode.childNodes.length; k++)
+                                                                               
        {
+                                                                               
                if( subNode.childNodes[k].nodeName == 'LI' )
+                                                                               
                {
+                                                                               
                        subNode.childNodes[k].onmouseover=function()
+                                                                               
                        {
+                                                                               
                                this.className += ' over';
+                                                                               
                        }
+                                                                               
                        
+                                                                               
                        subNode.childNodes[k].onmouseout=function()
+                                                                               
                        {
+                                                                               
                                this.className = this.className.replace(' 
over', '');
+                                                                               
                        }
 
-                       {win_on_events}
+                                                                               
                }
+                                                                               
        }
+                                                                               
}
+                                                                       }
+
+                                                               }
+                                                       }
+                                               }
+                                       }
+                               }
+                       }
+                       
+                       function updateClock()
+                       {
+                               var oDate = new Date();
+                               
+                               strHr = oDate.getHours();
+                               strMin = ( oDate.getMinutes() < 10 ? "0" + 
oDate.getMinutes() : oDate.getMinutes() );
+                       
+                               document.getElementById('clock').innerHTML = 
strHr + ':' + strMin;
+
+                               setTimeout('updateClock()', 1000);
+                       }
+
+                       function initPage()
+                       {
+                               fixIE();
+                               updateClock();
+                       }
                        //]]>
                </script>
 </head>
-<body>
+<body {body_tags}>
 <!-- END Head -->

Index: navbar.inc.php
===================================================================
RCS file: /cvsroot/phpgwapi/phpgwapi/templates/desktop/navbar.inc.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- navbar.inc.php      15 Oct 2006 11:09:45 -0000      1.7
+++ navbar.inc.php      15 Oct 2006 11:29:21 -0000      1.8
@@ -9,7 +9,7 @@
   *  option) any later version.                                              *
   \**************************************************************************/
 
-  /* $Id: navbar.inc.php,v 1.7 2006/10/15 11:09:45 skwashd Exp $ */
+  /* $Id: navbar.inc.php,v 1.8 2006/10/15 11:29:21 skwashd Exp $ */
 
   function parse_navbar($force = False)
   {
@@ -109,14 +109,8 @@
                $var['logout_url'] = 
$GLOBALS['phpgw_info']['navbar']['logout']['url'];
                $var['lang_about'] = lang('about');
                $var['about_url'] = 
$GLOBALS['phpgw_info']['navbar']['about']['url'];
-               $var['cur_app_title'] = 
lang($GLOBALS['phpgw_info']['flags']['currentapp']);
-               if ( isset($GLOBALS['phpgw_info']['flags']['app_header']) )
-               {
-                       $var['cur_app_title'] .= " - 
{$GLOBALS['phpgw_info']['flags']['app_header']}";
-               }
-               
+               $var['cur_app_title'] = 
$GLOBALS['phpgw_info']['navbar'][$GLOBALS['phpgw_info']['flags']['currentapp']]['title'];
                $var['cur_app_icon'] = 
$GLOBALS['phpgw_info']['navbar'][$GLOBALS['phpgw_info']['flags']['currentapp']]['icon'];
-               $var['cur_app_icon_alt'] = lang('%1 icon', 
lang($GLOBALS['phpgw_info']['flags']['currentapp'])); 
 
                if ( isset($GLOBALS['phpgw_info']['server']['showpoweredbyon']) 
&& $GLOBALS['phpgw_info']['server']['showpoweredbyon'] == 'top')
                {
@@ -153,6 +147,17 @@
                        $var['messages'] = $api_messages . '<br />' . 
checkcode($cd);
                }
 
+               if (isset($GLOBALS['phpgw_info']['flags']['app_header']))
+               {
+                       $var['current_app_header'] = 
$GLOBALS['phpgw_info']['flags']['app_header'];
+                       $var['th_bg'] = 
$GLOBALS['phpgw_info']['theme']['th_bg'];
+               }
+               else
+               {
+                       $tpl->set_block('navbar','app_header','app_header');
+                       $var['app_header'] = '';
+               }
+
                $tpl->set_var($var);
                $tpl->pfp('out','navbar');
                // If the application has a header include, we now include it

Index: navbar.tpl
===================================================================
RCS file: /cvsroot/phpgwapi/phpgwapi/templates/desktop/navbar.tpl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- navbar.tpl  15 Oct 2006 11:09:45 -0000      1.5
+++ navbar.tpl  15 Oct 2006 11:29:21 -0000      1.6
@@ -24,15 +24,14 @@
                                </ul>
                        </div>
                        <div id="about"><a href="{about_url}">?</a></div>
-                       <div id="user">{user_info}</div>
+                       <div id="user">{user_info} <span 
id="clock"></span></div>
                </div>
                <div id="content">
-                       <div class="content_title">
-                               <img class="app_icon" src="{cur_app_icon}" 
alt="{cur_app_icon_alt}" /> 
-                               <h1>{cur_app_title}</h1>
-                       </div>
+                       <div id="content_title">
+                               <img src="{cur_app_icon}" alt="{cur_app_title} 
icon" height="16" width="16" /> {cur_app_title}</div>
+                       <!-- BEGIN app_header -->
+                               <strong>{current_app_header}</strong><hr />
+                       <!-- END app_header -->
+                       {messages}<br />
                        <div id="content_body">
-                               <!-- FIXME move this somewhere where it is 
actually useful! -->
-                               <!--<p class="msg">{messages}</p>-->
-                               <div>   
 <!-- END navbar -->

Index: css/desktop.css
===================================================================
RCS file: /cvsroot/phpgwapi/phpgwapi/templates/desktop/css/desktop.css,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- css/desktop.css     15 Oct 2006 11:09:45 -0000      1.5
+++ css/desktop.css     15 Oct 2006 11:29:21 -0000      1.6
@@ -1,609 +1,259 @@
 /**
 * phpGroupWare desktop template
-* @author Dave Hall dave.hall at skwashd.com
-* @copyright Copyright (C) 2004-2006 Free Software Foundation 
http://www.fsf.org/
+* @author Dave Hall dave.hall at mbox.com.au
+* @internal parts based on idots css written by Pim Snel and myself
+* @TODO this still needs work - clean up and simplify
+* @copyright Copyright (C) 2004 Free Software Foundation http://www.fsf.org/
 * @license http://www.gnu.org/licenses/gpl.html GNU General Public License
-* @version $Id: desktop.css,v 1.5 2006/10/15 11:09:45 skwashd Exp $
+* @version $Id: desktop.css,v 1.6 2006/10/15 11:29:21 skwashd Exp $
 */
 
-a, a:visited
-{
-       color: #00f;
+                       a, a:visited
+                       {
+                               color: #f93;
        text-decoration: none;
-}
+                       }
 
-a:hover, a:hover
-{      
-       color: #f00;
+                       a:hover, a:hover
+                       {       
+                               color: #f90;
        text-decoration: underline;
-}
+                       }
 
-body, div, label, input, p, select, span, textarea
-{
-       font-family: Arial, Helvetica, sans-serif;
-       font-size: 14px;
-}
+                       body, div, p
+                       {
+                               font-family: Verdana, Arial, Helvetica, 
sans-serif;
+                               font-size: 11px;
+                       }
 
-body
-{
+                       body
+                       {
        padding: 0px;
        margin: 0px;
-}
+                       }
 
-img
-{
+                       img
+                       {
        border: 0px;
-}
+                       }
 
-h1
-{
-}
-
-h2, h2 a, h2 a:hover, h2 a:active
-{
-       background-color: #628cb2;
-       color: #fff;
-}
+                       h1
+                       {
+                       }
+                       
+                       h2, h2 a, h2 a:hover, h2 a:active
+                       {
+                               background-color: #f93;
+                               color: #ddd;
+                               text-decoration: none;
+                       }
 
-#header
-{
-       background-color: #efebe7;
+                       #header
+                       {
+                               background-color: #eee;
        border-bottom: 1px solid #000;
        height: 23px;
        left: 0px;
-       padding: 4px 0px 0px 1px;
        position: fixed;
        right: 0px;
        top: 0px;
        z-index: 20;
-}
+                       }
 
-#header ul
-{
+                       #header ul
+                       {
        display: block;
        float: left;
        list-style: none;
        margin: 0px;
-       position: absolute;
        padding: 0px;
-       z-index: 50;
-}
+                       }
 
-#header ul a
-{
-       display: block;
+                       #header ul a, #header ul a:hover, #header ul a:active, 
#header ul a:visited
+                       {
        color: #000;
        text-decoration: none;
-}
-
-#header ul ul li:hover a
-{
-       color: #fff;
-}
+                       }
 
-#header ul img
-{
+                       #header ul img
+                       {
        vertical-align: middle;
-}
+                       }
 
-#header ul li
-{
+                       #header ul li
+                       {
        display: block;
        float: left;
-       font-size: 14px;
+                               font-size: 120%;
        position: relative;
-       margin: 0px;
-       padding: 0px;
        width: 150px;
-}
+                       }
 
-#header ul ul
-{
-       border: 1px solid #000;
-       background-color: #efebe7;
+                       #header ul ul
+                       {
+                               border: 1px solid #ddd;
+                               background-color: #eee;
        display: none;
-       left: 0px;
-       margin: 0px;
-       position: relative; 
-       top: 2px;
-}
+                               left: 0;
+                               position: absolute; 
+                               top: 18px;
+                       }
 
-#header ul ul img
-{
-       height: 24px;
+                       #header ul ul img
+                       {
+                               background-color: #ccc;
        padding: 2px;
-       width: 24px;
-}
+                       }
 
-#header ul li:hover ul
-{
+                       #header ul li:hover ul, #header ul li.over ul
+                       {
        display: block;
-}
+                       }
 
-#header ul ul li
-{
-       height: 29px;
+                       #header ul ul li
+                       {
+                               font-size: 100%;
        padding: 2px;
-       width: 200px;
-}
+                               width: 145px;
+                       }
 
-#header ul ul li:hover, #header ul ul li.over
-{
-       background: transparent url('../images/hover-bg.png') repeat-x 0 0;
-       color: #fff;
-}
+                       #header ul ul li:hover, #header ul ul li.over
+                       {
+                               background-color: #f93;
+                               color: #999;
+                       }
 
-#user
-{
+                       #header ul ul li:hover img, #header ul ul li.over img
+                       {
+                               background-color: #fff;
+                       }
+
+                       #user
+                       {
        float: right;
        font-size: smaller;
        margin: 3px;
        text-align: right;
        width: 210px;
        white-space: nowrap;
-}
+                       }
 
-#about
-{
+                       #about
+                       {
        float: right;
        text-align: right;
        width: 10px;
-}
+                       }
 
-#content
-{
-       background-color: #efebe7;
-       margin: 30px;
-       position: relative;
-}
-
-.content_title, #portal_title
-{
-       background: transparent url('../images/title-bg.png') repeat-x;
-       height: 24px;
+                       #content, #portal
+                       {
+                               border: 2px ridge #999;
+                               margin: 30px auto;
+                               width: 95%;
+                       }
+
+                       #content_title, #portal_title
+                       {
+                               background: #eee url('../images/title-bg.png') 
repeat-x;
+                               border-bottom: 1px solid #000;
+                               height: 18px;
        padding: 1px;
-}
-
-.content_title .app_icon
-{
-       background: transparent url('../images/title-tl.png') no-repeat 0 0;
-       display: block;
-       float: left;
-       height: 16px;
-       margin: -1px;
-       padding: 4px;
-       width: 16px;
-}
-
-.content_title h1
-{
-       background: transparent url('../images/title-tr.png') no-repeat top 
right;
-       color: #fff;
-       font-size: 14px;
-       margin: -1px -1px 0px 25px;
-       padding: 3px 0px 0px 0px;
-       text-align: center;
-}
+                       }
 
-#content_body, #portal_content
-{
-       margin: 0px;
-       padding: 0px;
-       overflow: auto;
-}
+                       #content_body, #portal_content
+                       {
+                               margin: 10px;
+                       }
 
-#portal_controls
-{
+                       #portal_controls
+                       {
        float: right;
        text-align: right;
        width: 100px;
-}
+                       }
 
-#footer
-{
-       background-color: #efebe7;
+                       #footer
+                       {
+                               background-color: #eee;
        border-top: 1px solid #000;
        bottom: 0px;
        height: 25px;
        left: 0px;
        margin: 0px;
        padding: 0px;
-       position: absolute;
+                               position: fixed;
        right: 0px;
-}
+                       }
 
-#footer ul
-{
+                       #footer ul
+                       {
        list-style: none;
-}
+                       }
 
-#footer ul li
-{
+                       #footer ul li
+                       {
        float: left;
        text-align: center;
        width: 33%;
-}
+                       }
 
-#footer ul li.first
-{
+                       #footer ul li.first
+                       {
        text-align: left;
-}
-
-#footer ul li.last
-{
-       text-align: right;
-}
-
-
-button img
-{
-       vertical-align: middle;
-}
-
-.btngrp
-{
-       clear: both;
-       text-align: right;
-}
-
-input, label, select, textarea, .mock_label, .mock_input
-{
-       display: block;
-       float: left;
-       width: 300px;
-}
-
-input, select, textarea
-{
-       border: 1px solid #9f9284;
-       margin: 1px 21px 11px 1px;      
-}
-
-input:focus, select:focus, textarea:focus
-{
-       border: 2px solid #5b85ab;
-       margin: 0px 20px 10px 0px;      
-}
-
-label, .mock_label
-{
-       margin-right: 6px;
-       text-align: right;
-       width: 150px;
-}
-
-.even label, .even .mock_label
-{
-       text-align: left;
-}
-
-input[disabled=disabled], select[disabled=disabled], 
textarea[disabled=disabled]
-{
-       background-color: #efebe7;
-       color: #b5b3ac;
-}
-
-input[hidden=hidden], input.hidden, tr.hidden, .InputHidden
-{
-       display: none;
-}
-
-form br
-{
-       clear: left;
-}
-
-button
-{
-       height: 28px;
-}
-
-button.help
-{
-       float: left;
-}
-
-#modal_bg
-{
-       background-color: #999;
-       bottom: 0px;
-       display: none;
-       filter: alpha(opacity=50); /* IE crap */
-       left: 0px;
-       opacity: .5;
-       position: fixed;
-       right: 0px;
-       top: 0px;
-       z-index: 25;
-}
+                       }
 
-.btngrp
-{
+                       #footer ul li.last
+                       {
        text-align: right;
-}
+                       }
 
-.dialog
-{
-       background-color: #efebe7;
-       display: none;
-       height: 250px;
-       margin: auto;
-       position: fixed;
-       width: 450px;
-       z-index: 30;
-}
 
-.dialog .close
-{
-       position: absolute;
-       right: 3px;
-       top: 3px;
-}
-
-.dialog_content h1
-{
-       background-color: #628cb2;
-       color: #fff;
-       display: block;
-       margin: 0px 0px 10px 0px;
-       padding: 5px 3px;
-}
-
-.dialog_content p
-{
-       padding: 5px 10px;
-}
-
-.popup_buttons
-{
-       bottom: 10px;
-       position: absolute;
-       right: 10px;
-}
-
-/* Check boxes */
-input.cbStyled, input.check
-{
-       width: 15px;
-}
-
-.mock_checkbox, .mock_checkbox_checked, .Checkbox, .CheckboxChecked
-{
-       background-position: center center;
-       background-repeat: no-repeat;
-       display: block;
-       float: left;
-       height:16px;
-       vertical-align: middle;
-       width: 40px;
-}
-
-.mock_checkbox, .Checkbox
-{
-       background-image: url('../images/stock_form-checkbox_unchecked.png');
-}
-
-.mock_checkbox_checked, .CheckboxChecked
-{
-       background-image: url('../images/stock_form-checkbox.png');
-}
-
-/* Get our tables looking right */
-table
+/* Used by tabs */
+th.activetab
 {
        background-color: #fff;
-       border: 1px solid #c0b5a9;
-       border-collapse: collapse;
-       margin: 5px;
-       padding: 0px;
-}
-
-thead
-{
-       border-bottom: 1px solid #aa9c8f;
-       background-color: #efebe7;
-}
-
-thead td, thead th
-{
-       border-right: 1px solid #c0b5a9;
+       border-color: #000;
+       border-radius-topleft: 10px;
+       border-radius-topright: 10px;
+       border-style: solid;
+       border-width: 1px 1px 0px 1px;
        height: 20px;
-       margin-right: 3px;
-       overflow: hidden;
-       padding: 0px 5px;
-       text-align: center;
-}
-
-thead td.last
-{
-       border-right: 0px;
-       margin-right: 0px;
-}
-
-/* tabs */
-ul.tabs
-{
-       display: block;
-       list-style: none;
-       padding: 0px;
-       margin: 0px;
-}
-
-ul.tabs li
-{
-       background-color: transparent;
-       background-position: left top;
-       background-repeat: repeat-x;
-       display: block;
-       float: left;
-       height: 29px;
-       padding: 0px;
-       text-align: center;
+       padding: 0px 5px 0px 5px;
        white-space: nowrap;
-       width: 100px;
-}
-
-div.tabsholder
-{
-       background-color: #eae4df;
-       background-image: url('../images/tab-bg.png');
-       background-position: left top;
-       background-repeat: repeat-x;
-       height: 29px;
-}
-
-div.activetab
-{
-       display: block;
-       height: 400px;
-       overflow: auto;
-}
-
-div.inactivetab
-{
-       display: none;
-}
-
-ul.tabs li a, ul.tabs li a:hover, ul.tabs li a:active
-{
-       background-position: left top;
-       background-repeat: no-repeat;
-       color: #000;
-       display: block;
-       height: 29px;
-       padding-left: 5px;
-       text-decoration: none;
-}
-
-ul.tabs li a span
-{
-       background-position: right top;
-       background-repeat: no-repeat;
-       display: block;
-       height: 29px;
-       padding-right: 5px;
-       padding-top: 5px;
-}
-
-li.activetab
-{
-       background-image: url('../images/tab-active-bg.png');
-}
-
-li.activetab a
-{
-       background-image: url('../images/tab-active-left.png');
 }
 
-li.activetab a span
+th.inactivetab
 {
-       background-image: url('../images/tab-active-right.png');
-}
-
-li.inactivetab
-{
-       background-image: url('../images/tab-inactive-bg.png');
-}
-
-li.inactivetab a
-{
-       background-image: url('../images/tab-inactive-left.png');
+       background-color:#CCCCCC;
+       border: 1px solid #000000;
+       border-radius-topleft: 10px;
+       border-radius-topright: 10px;
+       color:#006699;
+       height: 20px;
+       padding: 0px 5px 0px 5px;
+       white-space: nowrap;
 }
 
-li.inactivetab a span
+th.tablast
 {
-       background-image: url('../images/tab-inactive-right.png');
+       width: 100%;
 }
 
 /* nextmatch values */
 .row_off
 {
-       background-color: #eee;
-       color: #000;
+       background-color: #E8F0F0;
+       color: #000000;
 }
 
 .row_on
 {
-       background-color: #fff;
-       color: #000;
+       background-color: #DDDDDD;
+       color: #000000;
 }
 
-.highlight
+.th
 {
-       background-color: #587ea0;
-       color: #fff;
-}
-
-/** Application buttons styling **/
-/** TODO Add some nice gradients here? **/
-.app_buttons
-{
-       background-color: transparent;
-       border-bottom: 1px solid #c0b5a9;
-       border-top: 1px solid #c0b5a9;
-       height: 50px;
-       list-style: none;
-       margin: 0px;
-       overflow: hidden;
-       padding: 0px;
-}
-
-.app_buttons li
-{
-       border: 2px solid transparent;
-       color: #000;
-       display: block;
-       float: left;
-       hide-focus: true;/* M$IE Only :( */
-       margin: 2px;
-       padding: 0px 10px;
-       text-align: center;
-       -moz-user-select: none;
-}
-
-.app_buttons li a, .app_buttons li a:hover, .app_buttons li a:active
-{
-       
-       color: #000;
-       text-decoration: none;
-}
-
-.app_buttons li:hover
-{
-       border: 2px outset #c0b5a9;
-       background-color: #eee;
-}
-
-.app_buttons li:active
-{
-       border: 2px inset #ccc;
-       background-color: #ccc;
-}
-
-.app_buttons li.inactive
-{
-       background-color: #ddd;
-       color: #999;
-}
-
-.app_buttons li.inactive:hover
-{
-       border: 2px solid transparent;
-}
-
-.app_buttons li.inactive img
-{
-       /* CSS 3 */
-       opacity: 0.7;
-
-       /* Non standard */
-       -moz-opacity: 0.7;
-       filter:alpha(opacity=70);
-}
-
-.app_buttons img
-{
-       border: 0px;
-       height: 24px;
-       width: 24px;
+       background-color: #D3DCE3;
+       color: #000000;
 }
\ No newline at end of file




reply via email to

[Prev in Thread] Current Thread [Next in Thread]