Merge branch 'master' of https://github.com/jgoodman/Freeside
[freeside.git] / rt / share / html / NoAuth / css / aileron / nav.css
1 %# BEGIN BPS TAGGED BLOCK {{{
2 %#
3 %# COPYRIGHT:
4 %#
5 %# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC
6 %#                                          <sales@bestpractical.com>
7 %#
8 %# (Except where explicitly superseded by other copyright notices)
9 %#
10 %#
11 %# LICENSE:
12 %#
13 %# This work is made available to you under the terms of Version 2 of
14 %# the GNU General Public License. A copy of that license should have
15 %# been provided with this software, but in any event can be snarfed
16 %# from www.gnu.org.
17 %#
18 %# This work is distributed in the hope that it will be useful, but
19 %# WITHOUT ANY WARRANTY; without even the implied warranty of
20 %# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
21 %# General Public License for more details.
22 %#
23 %# You should have received a copy of the GNU General Public License
24 %# along with this program; if not, write to the Free Software
25 %# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
26 %# 02110-1301 or visit their web page on the internet at
27 %# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html.
28 %#
29 %#
30 %# CONTRIBUTION SUBMISSION POLICY:
31 %#
32 %# (The following paragraph is not intended to limit the rights granted
33 %# to you to modify and distribute this software under the terms of
34 %# the GNU General Public License and is only of importance to you if
35 %# you choose to contribute your changes and enhancements to the
36 %# community by submitting them to Best Practical Solutions, LLC.)
37 %#
38 %# By intentionally submitting any modifications, corrections or
39 %# derivatives to this work, or any other work intended for use with
40 %# Request Tracker, to Best Practical Solutions, LLC, you confirm that
41 %# you are the copyright holder for those contributions and you grant
42 %# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
43 %# royalty-free, perpetual, license to use, copy, create derivative
44 %# works based on those contributions, and sublicense and distribute
45 %# those contributions and any derivatives thereof.
46 %#
47 %# END BPS TAGGED BLOCK }}}
48 .sf-menu {
49     width: 100%;
50     margin-bottom: 0;
51 }
52
53 .sf-menu li:hover {
54     background-color: #CFDEFF;
55 }
56
57 .sf-menu li, .sf-menu li li, .sf-menu li li li {
58     background-color: #eaeaea;
59 }
60
61 .sf-sub-indicator {
62     background-image: url(<%RT->Config->Get('WebPath')%>/NoAuth/css/images/arrows-grey.png);
63 }
64
65 .sf-menu li li .sf-sub-indicator {
66     margin-top: -3px;
67 }
68
69 #page-menu.sf-menu li .sf-sub-indicator {
70     top: 0.7em;
71 }
72
73 #page-menu.sf-menu li:hover ul, #page-menu.sf-menu li.sfHover ul {
74     top: 2.5em;
75 }
76
77 #page-menu.sf-menu li ul {
78     border-bottom: 2px solid #ccc;
79 }
80
81 #main-navigation {
82     position: absolute;
83     top: 1px;
84     left: 0;
85     z-index: 9999;
86     text-color: #000;
87 }
88
89 #main-navigation .sf-menu a, #main-navigation .sf-menu a:hover {
90     padding-top: 0.5em;
91     padding-bottom: 0.5em;
92     border-color: #fff;
93     color: #000;
94 }
95
96 #main-navigation a {
97     border-top: none;
98 }
99
100 #main-navigation li li a {
101     border-top: 1px solid white;
102 }
103
104 #app-nav.sf-menu > li:first-child > a {
105     border-left: none;
106 }
107
108 #main-navigation #app-nav > li, #main-navigation #app-nav > li > a {
109     background-color: transparent;
110 }
111
112 #page-navigation {
113     position: absolute;
114     top: 6.05em;
115     right: 0em;
116     left: auto;
117     z-index: 9995;
118     font-size: 0.9em;
119 }
120
121 #page-navigation .sf-menu li, #page-navigation .sf-menu li li, #page-navigation .sf-menu li li li {
122     background-color: #fff;
123 }
124
125 #page-navigation .sf-menu a:visited, #page-navigation .sf-menu a {
126     border: none;
127     color: #000;
128 }
129
130 /* to stop a "flash" of an unstyled menu on an older browser,  hide the menu until superfish has initialized it */
131 #app-nav.toplevel { display: none; }
132 #app-nav.toplevel.sf-menu { display:block; }
133 #page-menu.toplevel { display: none; }
134 #page-menu.toplevel.sf-menu { display:block; }
135
136 #topactions {
137  position: absolute;
138  background: transparent;
139  top: 3.2em;
140  right: 0.7em;
141  width: auto;
142  min-width: 42em;
143  font-size: 0.9em;
144  z-index: 99;
145 }
146
147 #topactions form * {
148     vertical-align: top;
149 }
150
151 #topactions button, #topactions select, #topactions input{
152  padding-top: 0em;
153  padding-bottom: 0em;
154  width: 8em;
155
156 }
157
158 #topactions #simple-search .field{
159  margin-left: 1em;
160  color: #787;
161  }
162
163 #topactions #simple-search .field:focus {
164  color: #000;
165  }