projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add dsl, circuit and fiber services to email and RT ticket exports, RT#84345
[freeside.git]
/
httemplate
/
elements
/
dropdown-menu.html
diff --git
a/httemplate/elements/dropdown-menu.html
b/httemplate/elements/dropdown-menu.html
index
1ba4c00
..
c8e9961
100644
(file)
--- a/
httemplate/elements/dropdown-menu.html
+++ b/
httemplate/elements/dropdown-menu.html
@@
-5,6
+5,17
@@
border: none;
}
border: none;
}
+% if ( $opt{id} !~ /customer_/ ) {
+% # Fix for changes to how jQuery UI applies state classes
+
+#<% $opt{id} %> .ui-state-active {
+ color: inherit;
+ background-color: transparent;
+ border-color: transparent;
+}
+
+% }
+
#<% $opt{id} %> li {
float: left;
padding: .25em;
#<% $opt{id} %> li {
float: left;
padding: .25em;
@@
-81,14
+92,7
@@
background-image: url("<% $p %>images/arrow.right.black.png");
width: 3px;
height: 6px;
background-image: url("<% $p %>images/arrow.right.black.png");
width: 3px;
height: 6px;
- margin-top:4px;
-}
-
-/* Firefox hack */
-@-moz-document url-prefix() {
- #<% $opt{id} %> a .arrow {
- margin-top:-.8em;
- }
+ margin-top:5px;
}
</style>
}
</style>
@@
-183,8
+187,9
@@
sub entry2link {
if ( $entry->{submenu} ) {
if ( $entry->{submenu} ) {
- my $a = '<a href="javascript:void(0);">'.
$label.
+ my $a = '<a href="javascript:void(0);">'.
'<span class="arrow"></span>'.
'<span class="arrow"></span>'.
+ $label.
'</a><ul class="customer_subsubmenu">';
foreach my $submenu (@{ $entry->{submenu} }) {
$a .= '<li>'. entry2link($submenu, $opt->{cust_main}, $opt->{show}), '</li>';
'</a><ul class="customer_subsubmenu">';
foreach my $submenu (@{ $entry->{submenu} }) {
$a .= '<li>'. entry2link($submenu, $opt->{cust_main}, $opt->{show}), '</li>';