diff --git a/modeles/document_case.html b/modeles/document_case.html index 5340cc5a0df98bbb328d64101a080311b3209342..ec9c47bcd5f7fb3eb8c7bed23d08efa146bac694 100644 --- a/modeles/document_case.html +++ b/modeles/document_case.html @@ -6,7 +6,8 @@ ] <BOUCLE_docslies(DOCUMENTS documents_liens types_documents){id_document}{id_objet}{objet}{statut?}> - <div class="item #MODE" id="doc#ID_DOCUMENT"> + <div class="item #MODE" id="doc#ID_DOCUMENT" + onclick="jQuery(this).toggleClass('hover');"> <h3 class="titrem">[<span class="fichier">(#FICHIER*|basename)</span>] <span class="image_loading"></span> [<span class="#EDIT{titre} titre">(#TITRE|sinon{<i class="sanstitre"><:info_sans_titre:></i>})</span>] diff --git a/modeles/document_desc.html b/modeles/document_desc.html index bdec1c5e9346bac0f4113c4148026610dd2e1145..80037b1b87e158999f69ab679462a823c4fa880e 100644 --- a/modeles/document_desc.html +++ b/modeles/document_desc.html @@ -6,7 +6,8 @@ ] <BOUCLE_docslies(DOCUMENTS documents_liens types_documents){id_document}{id_objet}{objet}{statut?}> - <div class="item #MODE vu_#VU statut_#STATUT[(#DISTANT|=={oui}|oui)distant]" id="doc#ID_DOCUMENT"> + <div class="item #MODE vu_#VU statut_#STATUT[(#DISTANT|=={oui}|oui)distant]" id="doc#ID_DOCUMENT" + onclick="jQuery(this).toggleClass('hover');"> [(#EXTENSION|match{gif|png|jpg}|oui) #SET{id,#ID_VIGNETTE|?{#ID_VIGNETTE,#ID_DOCUMENT}} <div class="tourner"> [(#BOUTON_ACTION{[(#CHEMIN_IMAGE{tourner-gauche-12.png}|balise_img{<:medias:image_tourner_gauche:>})],#URL_ACTION_AUTEUR{tourner,#GET{id}|concat{',-90'},#SELF},ajax})] diff --git a/paquet.xml b/paquet.xml index ce6ac5fd342b85c6c554f89daa7b54277dc1c876..f096974be05cfd82956e869bafc923f29540b2be 100644 --- a/paquet.xml +++ b/paquet.xml @@ -1,7 +1,7 @@ <paquet prefix="medias" categorie="multimedia" - version="2.7.19" + version="2.7.20" etat="test" compatibilite="[3.0.0-alpha2;[" logo="prive/themes/spip/images/portfolio-32.png" diff --git a/prive/style_prive_plugin_medias.html b/prive/style_prive_plugin_medias.html index 1c25f0ae3dfb5fbf9c8ee941d0b84c6d56162f41..0c35d9e54557a4331a1dfafe88623c16988d62f7 100644 --- a/prive/style_prive_plugin_medias.html +++ b/prive/style_prive_plugin_medias.html @@ -134,7 +134,10 @@ p.actions {clear:both;} #documents_joints .item .actions a.editbox {visibility:visible;opacity:1;-moz-opacity:1;font-weight:bold;} #documents_joints .item:hover .actions > *, #documents_joints .item:hover .tourner, -#documents_joints .item:hover .mode {visibility:visible;opacity:1;-moz-opacity:1;} +#documents_joints .item:hover .mode, +#documents_joints .item.hover .actions > *, +#documents_joints .item.hover .tourner, +#documents_joints .item.hover .mode {visibility:visible;opacity:1;-moz-opacity:1;} #portfolios {} #portfolios h3 {background-color:#GET{claire};padding:2px 10px;color:#000;margin-bottom:0;} @@ -161,6 +164,9 @@ p.actions {clear:both;} #portfolios .item:hover .actions > *, #portfolios .item:hover .tourner, #portfolios .item:hover .mode {visibility:visible;opacity:1;-moz-opacity:1;z-index:1000;background:[#(#GET{claire}|couleur_eclaircir|couleur_eclaircir)];} +#portfolios .item.hover .actions > *, +#portfolios .item.hover .tourner, +#portfolios .item.hover .mode {visibility:visible;opacity:1;-moz-opacity:1;z-index:1000;} #portfolios .item .titre > .sanstitre {opacity:0.1;-moz-opacity:0.1;}