source: spip-zone/_plugins_/adx_menu/trunk/adxmenu_css_ie.css.html

Last change on this file was 61090, checked in by piero.wbmstr@…, 8 years ago

Version complète compatible SPIP3 (à vérifier pour SPIP2)

  • Property svn:executable set to *
File size: 2.1 KB
Line 
1[(#REM)
2        Les commentaires sont ceux de l'auteur
3]#CACHE{3600*100,cache-client}
4#HTTP_HEADER{Content-Type: text/css; charset=utf8}
5#HTTP_HEADER{Vary: Accept-Encoding}[
6(#SET{style,#ENV{type,htb}})
7][(#SET{ouverture,[(#GET{style}|=={vlr}|sinon{#GET{style}|=={vrl}}|?{vertical,horizontal})]})
8]/* - - - ADxMenu: BASIC styles [ MANDATORY ] / special IE6 - - - */
9/*<![CDATA[*/
10
11/* - - - ADxMenu: BASIC styles - - - */
12
13/*
14        this rules improves accessibility - if Javascript is disabled, the entire menu will be visible
15        of course, that means that it might require different styling then.
16        in which case you can use adxie class - see: aplus.co.yu/adxmenu/examples/ie6-double-style/
17 */
18.adxmenu ul {
19        visibility:visible;
20        position:static;
21}
22
23.adxmenu, .adxmenu ul { /* float.clear */
24        zoom:1;
25}
26
27.adxmenu li.adxmhover {
28        z-index:10000;
29}
30
31.adxmenu .adxmhoverUL { /* li:hover>ul selector */
32        visibility:visible;
33}
34
35.adxmenu .adxmhoverUL { /* 1st-level submenu go below their parent item */
36        [(#GET{ouverture}|=={horizontal}|oui)[(#GET{style}|=={hbt}|?{bottom,top}): 100%;]][
37        (#GET{ouverture}|=={vertical}|oui)[(#GET{style}|=={vlr}|?{left,right}): 100%;]]
38        [(#GET{ouverture}|=={vertical}|non)left:0;]
39}[(#GET{ouverture}|=={horizontal}|oui)
40
41.adxmenu .adxmhoverUL .adxmhoverUL { /* 2nd+ levels go on the right side of the parent item */
42        [(#GET{ouverture}|=={horizontal}|oui)[(#GET{style}|=={hbt}|?{bottom,top}): 0;]]
43        left:100%;
44}]
45
46[(#REM)
47        PERSONNALISATION des styles du plugin ADX Menu pour SPIP ci-dessous
48]
49
50/* - - - ADxMenu: DESIGN styles - - - */
51
52.adxmenu ul a { /* fix clickability-area problem */
53        zoom: 1;
54}
55
56[(#GET{ouverture}|=={horizontal}|?{.adxmenu li li,.adxmenu li})] { /* fix white gap problem */
57        float:left;
58        width:100%;
59        margin-top:-1px; /* prevent double-line between items */
60}
61
62.adxmenu a:hover, .adxmenu .adxmhoverA { /* li:hover>a selector */
63        color:#fc3;
64}
65
66[(#GET{ouverture}|=={horizontal}|?{.adxmenu .adxmhoverUL .adxmhoverUL,.adxmenu .adxmhoverUL})] { /* inset 2nd+ submenus, to show off overlapping */
67        [(#GET{style}|=={hbt}|?{bottom,top}): 5px;]
68        [(#GET{style}|=={vrl}|?{right,left}): 90%;]
69}
70
71/*]]>*/
Note: See TracBrowser for help on using the repository browser.