Changeset 90588 in spip-zone
- Timestamp:
- Jun 29, 2015, 10:33:28 AM (6 years ago)
- Location:
- _plugins_/albums/trunk
- Files:
-
- 2 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/albums/trunk/albums_pipelines.php
r88435 r90588 301 301 $flux .= '<link rel="stylesheet" href="'.find_in_path('css/albums.css').'" type="text/css" />'; 302 302 303 // fix selon les plugins304 $plugins_actifs = liste_plugin_actifs();305 306 // compatibilité avec bootstrap307 if (isset($plugins_actifs['BOOTSTRAP'])) {308 $flux .= '<link rel="stylesheet" href="'.find_in_path('css/albums_bootstrap.css').'" type="text/css" />';309 }310 311 // compatibilité avec foundation312 if (isset($plugins_actifs['FOUNDATION'])) {313 $flux .= '<link rel="stylesheet" href="'.find_in_path('css/albums_foundation.css').'" type="text/css" />';314 }315 303 } 316 304 } -
_plugins_/albums/trunk/css/albums.css
r88314 r90588 2 2 albums.css : style minimal pour les albums 3 3 ------------------------------------------ */ 4 .album { margin -bottom: 1.5em;}4 .album { margin: 0 0 1.5em 0;} 5 5 .album-caption.bottom { text-align: center; } 6 6 /* vignettes */ … … 10 10 /* squelettes de la dist : albums après le portfolio */ 11 11 .portfolio-albums { clear: both; } 12 13 /* ----------------------- 14 Compatibilité Bootstrap 15 -----------------------*/ 16 .album-bootstrap:not(.center) { margin-left:0; margin-right:0; } 17 18 /* ------------------------ 19 Compatibilité Foundation 20 ------------------------*/ 21 .album-foundation.vignettes li { margin: 0; } -
_plugins_/albums/trunk/modeles/album.html
r89734 r90588 118 118 119 119 ]<B_documents_album> 120 [<(#HTML5|?{figure,div}) class="album vignettes figure[ (#ENV{align})][ (#ENV{classe})] ">]120 [<(#HTML5|?{figure,div}) class="album vignettes figure[ (#ENV{align})][ (#ENV{classe})][ (#PLUGIN{bootstrap}|oui)album-bootstrap][ (#PLUGIN{foundation}|oui)album-foundation]">] 121 121 #ANCRE_PAGINATION[ 122 122 (#GET{position_legende}|=={top}|oui)[(#GET{caption})]] … … 139 139 #LOGO_DOCUMENT{#FICHIER}} 140 140 |extraire_attribut{src}})] 141 <li[ (#PLUGIN{bootstrap}|oui)class=' thumbnail']>142 <a href="#FICHIER" type="#MIME_TYPE" rel="album#ID_ALBUM" class="[(#EXTENSION)][ (#PLUGIN{foundation}|oui)th] " title="[(#GET{titre_doc_long}|attribut_html)]" role="button" aria-label="Vignette">141 <li[ (#PLUGIN{bootstrap}|oui)class='span4']> 142 <a href="#FICHIER" type="#MIME_TYPE" rel="album#ID_ALBUM" class="[(#EXTENSION)][ (#PLUGIN{foundation}|oui)th][ (#PLUGIN{bootstrap}|oui)thumbnail]" title="[(#GET{titre_doc_long}|attribut_html)]" role="button" aria-label="Vignette"> 143 143 [(#GET{src}|balise_img{#GET{titre_doc_long},vignette}|inserer_attribut{aria-hidden,true})] 144 144 </a>[ -
_plugins_/albums/trunk/paquet.xml
r89734 r90588 2 2 prefix="albums" 3 3 categorie="multimedia" 4 version="3.3.1 1"4 version="3.3.12" 5 5 schema="1.0.0" 6 6 etat="stable"
Note: See TracChangeset
for help on using the changeset viewer.