Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
js:choca_menu [2024/10/30 11:35] avillepreuxjs:choca_menu [2026/05/29 15:30] (Version actuelle) avillepreux
Ligne 32: Ligne 32:
     margin: 0 0 10px;     margin: 0 0 10px;
     background-color: var(--color);     background-color: var(--color);
 +    
 +    /*BADGES FIX*/
 +    position: relative;
 } }
  
Ligne 44: Ligne 47:
     border: none;     border: none;
     margin: 0.1em 0 0;     margin: 0.1em 0 0;
 +    
 +    /*BADGES FIX*/
 +    position: relative;
 +    z-index: 1;
 +    background: #ddd;
 } }
  
Ligne 84: Ligne 92:
     height: 2.0em;     height: 2.0em;
     overflow: hidden;     overflow: hidden;
 +    
 +    /* BADGES FIX */
 +    overflow: visible;
 } }
 +
 +/* BADGES FIX */
 +.wrap_nav.wrap_choca > * > *:not([open]) *:not(
 +
 +    .wrap_nav.wrap_choca > * > *:not([open]) > :is(a,p):first-child, 
 +    .wrap_nav.wrap_choca > * > *:not([open]) > :is(a,p):first-child *
 +    
 +    ) {
 +
 +    top: 0;
 +    position: absolute;
 +    pointer-events: none;
 +}
 +
  
 .wrap_nav.wrap_choca > .wrap_column > p, .wrap_nav.wrap_choca > .wrap_column > p,
Ligne 101: Ligne 126:
 } }
  
-.dokuwiki .wrap_choca ul {+.dokuwiki .wrap_choca ul ul {
     height: auto;     height: auto;
 +    overflow: hidden;
     transition: all .1s;     transition: all .1s;
 } }
-.dokuwiki .wrap_choca ul:not([open]) {+.dokuwiki .wrap_choca ul ul:not([open]) {
     height: 0;     height: 0;
   /*line-height: 0;*/   /*line-height: 0;*/
   /*margin-top: -10px;*/   /*margin-top: -10px;*/
 } }
-.dokuwiki .wrap_choca ul:not([open]) * {+.dokuwiki .wrap_choca ul ul:not([open]) * {
   /*max-height: 0;*/   /*max-height: 0;*/
   /*line-height: 0;*/   /*line-height: 0;*/
Ligne 614: Ligne 640:
  
                     var id = jQuery(e.target).attr("data-id");                     var id = jQuery(e.target).attr("data-id");
-                    +                  /*jQuery('ul[data-id="'+id+'"]').toggleClass("submenu-hidden");*/
                     if (!!jQuery('ul[data-id="'+id+'"]').attr("open"))                     if (!!jQuery('ul[data-id="'+id+'"]').attr("open"))
                     jQuery('ul[data-id="'+id+'"]').removeAttr("open");                     jQuery('ul[data-id="'+id+'"]').removeAttr("open");
Ligne 620: Ligne 646:
                     jQuery('ul[data-id="'+id+'"]').attr("open", true);                     jQuery('ul[data-id="'+id+'"]').attr("open", true);
  
 +                  /*var hidden = jQuery('ul[data-id="'+id+'"]').hasClass("submenu-hidden");*/
                     var hidden = !jQuery('ul[data-id="'+id+'"]').attr("open");                     var hidden = !jQuery('ul[data-id="'+id+'"]').attr("open");
    
  • js/choca_menu.1730284521.txt.gz
  • Dernière modification : 2024/10/30 11:35
  • de avillepreux