projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8a16e8a
)
RT# 81706 CSS arrow placement fix for Mozilla
author
Mitch Jackson
<mitch@freeside.biz>
Sat, 30 Mar 2019 19:00:03 +0000
(15:00 -0400)
committer
Mitch Jackson
<mitch@freeside.biz>
Sat, 30 Mar 2019 19:00:03 +0000
(15:00 -0400)
httemplate/elements/dropdown-menu.html
patch
|
blob
|
history
diff --git
a/httemplate/elements/dropdown-menu.html
b/httemplate/elements/dropdown-menu.html
index
3c0f40f
..
c8e9961
100644
(file)
--- a/
httemplate/elements/dropdown-menu.html
+++ b/
httemplate/elements/dropdown-menu.html
@@
-92,17
+92,9
@@
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:
4
px;
+ margin-top:
5
px;
}
}
-/* Firefox hack
-@-moz-document url-prefix() {
- #<% $opt{id} %> a .arrow {
- margin-top:-.8em;
- }
-}
-*/
-
</style>
<ul id="<% $opt{id} %>">
</style>
<ul id="<% $opt{id} %>">
@@
-195,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>';