root / drupal7 / sites / all / modules / menu_icons / menu_icons_css_item.tpl.php @ a45e4bc1
1 | 85ad3d82 | Assos Assos | <?php
|
---|---|---|---|
2 | |||
3 | /**
|
||
4 | * @file
|
||
5 | *
|
||
6 | * Template file for generating the CSS file used for the menu-items
|
||
7 | */
|
||
8 | |||
9 | /**
|
||
10 | * Variables:
|
||
11 | * $mlid
|
||
12 | * $path
|
||
13 | */
|
||
14 | ?>
|
||
15 | a.menu-<?php print $mlid ?>, ul.links li.menu-<?php print $mlid ?> a { |
||
16 | background-image: url(<?php print $path ?>); |
||
17 | padding-<?php print "$pos:$size"?>px; |
||
18 | background-repeat: no-repeat; |
||
19 | background-position: <?php print $pos?>; |
||
20 | height: <?php print $height?>px; |
||
21 | } |