diff options
author | Ivan Kohler <ivan@freeside.biz> | 2012-06-07 15:31:12 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2012-06-07 15:31:12 -0700 |
commit | b5352dfcdce712af4ff2d76b034ec53fc5034024 (patch) | |
tree | ccc16ea382a64608566d81c70298cddb32506091 /rt/share/html | |
parent | 6c5dd54b1725b6ccbefd0c180ce8c660a49ee7ad (diff) |
position RT's menu bar better, for now
Diffstat (limited to 'rt/share/html')
-rwxr-xr-x | rt/share/html/Elements/Header | 2 | ||||
-rw-r--r-- | rt/share/html/NoAuth/css/freeside3/nav.css | 171 |
2 files changed, 172 insertions, 1 deletions
diff --git a/rt/share/html/Elements/Header b/rt/share/html/Elements/Header index 67588e33d..5d89fe690 100755 --- a/rt/share/html/Elements/Header +++ b/rt/share/html/Elements/Header @@ -49,7 +49,7 @@ 'title' => $Title, 'head' => $head, 'etc' => $etc, - 'nobr' => 1, + #make space for RT menu for now# 'nobr' => 1, 'nocss' => 1, } &> diff --git a/rt/share/html/NoAuth/css/freeside3/nav.css b/rt/share/html/NoAuth/css/freeside3/nav.css new file mode 100644 index 000000000..5c49cb33b --- /dev/null +++ b/rt/share/html/NoAuth/css/freeside3/nav.css @@ -0,0 +1,171 @@ +%# BEGIN BPS TAGGED BLOCK {{{ +%# +%# COPYRIGHT: +%# +%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC +%# <sales@bestpractical.com> +%# +%# (Except where explicitly superseded by other copyright notices) +%# +%# +%# LICENSE: +%# +%# This work is made available to you under the terms of Version 2 of +%# the GNU General Public License. A copy of that license should have +%# been provided with this software, but in any event can be snarfed +%# from www.gnu.org. +%# +%# This work is distributed in the hope that it will be useful, but +%# WITHOUT ANY WARRANTY; without even the implied warranty of +%# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +%# General Public License for more details. +%# +%# You should have received a copy of the GNU General Public License +%# along with this program; if not, write to the Free Software +%# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +%# 02110-1301 or visit their web page on the internet at +%# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html. +%# +%# +%# CONTRIBUTION SUBMISSION POLICY: +%# +%# (The following paragraph is not intended to limit the rights granted +%# to you to modify and distribute this software under the terms of +%# the GNU General Public License and is only of importance to you if +%# you choose to contribute your changes and enhancements to the +%# community by submitting them to Best Practical Solutions, LLC.) +%# +%# By intentionally submitting any modifications, corrections or +%# derivatives to this work, or any other work intended for use with +%# Request Tracker, to Best Practical Solutions, LLC, you confirm that +%# you are the copyright holder for those contributions and you grant +%# Best Practical Solutions, LLC a nonexclusive, worldwide, irrevocable, +%# royalty-free, perpetual, license to use, copy, create derivative +%# works based on those contributions, and sublicense and distribute +%# those contributions and any derivatives thereof. +%# +%# END BPS TAGGED BLOCK }}} +.sf-menu { + width: 100%; +} + +.sf-menu li:hover { + background-color: #CFDEFF; +} + +.sf-menu li, .sf-menu li li, .sf-menu li li li { + background-color: #eaeaea; +} + +.sf-sub-indicator { + background-image: url(<%RT->Config->Get('WebPath')%>/NoAuth/css/images/arrows-grey.png); +} + +.sf-menu li li .sf-sub-indicator { + margin-top: -3px; +} + +#page-menu.sf-menu li .sf-sub-indicator { + top: 0.7em; +} + +#page-menu.sf-menu li:hover ul, #page-menu.sf-menu li.sfHover ul { + top: 2.5em; +} + +#page-menu.sf-menu li ul { + border-bottom: 2px solid #ccc; +} + +#main-navigation { + position: absolute; + top: 1px; + left: 0; + z-index: 9999; + text-color: #000; +} + +#main-navigation .sf-menu a, #main-navigation .sf-menu a:hover { + padding-top: 0.5em; + padding-bottom: 0.5em; + border-color: #fff; + color: #000; +background-color: #000000; +} + +#main-navigation a { + border-top: none; +} + +#main-navigation li li a { + border-top: 1px solid white; +} + +#app-nav.sf-menu > li:first-child > a { + border-left: none; +} + +#main-navigation #app-nav > li, #main-navigation #app-nav > li > a { + background-color: transparent; +} + +#page-navigation { + position: absolute; + /*top: 6em;*/ + top: 13em; + right: 0em; + left: auto; + font-size: 0.9em; + z-index: 9995; +} + +#page-navigation .sf-menu li, #page-navigation .sf-menu li li, #page-navigation .sf-menu li li li { + /*background-color: #fff; */ + background-color: #f8f8f8; +} + +#page-navigation .sf-menu a:visited, #page-navigation .sf-menu a { +/* border: none; */ + color: #000; +} + +/* to stop a "flash" of an unstyled menu on an older browser, hide the menu until superfish has initialized it */ +#app-nav.toplevel { display: none; } +#app-nav.toplevel.sf-menu { display:block; } +#page-menu.toplevel { display: none; } +#page-menu.toplevel.sf-menu { display:block; } + +/* ## new ticket via customer, and we already have a ticket search box + +#topactions { + position: absolute; + background: transparent; + top: 3.2em; + right: 0.7em; + width: auto; + min-width: 42em; + font-size: 0.9em; + z-index: 99; +} + +#topactions form * { + vertical-align: top; +} + +#topactions button, #topactions select, #topactions input{ + padding-top: 0em; + padding-bottom: 0em; + width: 8em; + +} + +#topactions #simple-search .field{ + margin-left: 1em; + color: #787; + } + +#topactions #simple-search .field:focus { + color: #000; + } + +*/ |