radiolive simplifié et mis en forme, fix clearfix
This commit is contained in:
parent
f7d33e3d2f
commit
e18de730de
@ -1,7 +1,7 @@
|
||||
<paquet
|
||||
prefix="libreavous"
|
||||
categorie="squelette"
|
||||
version="1.1.0"
|
||||
version="1.1.1"
|
||||
schema="0.1.9"
|
||||
etat="dev"
|
||||
compatibilite="[3.2.8;4.0.*]"
|
||||
|
@ -16,14 +16,14 @@
|
||||
<span class="bientot"><:libreavous:c_est_bientot:></span><br />]
|
||||
[<span class="btn">[(#DATE|nom_jour) ][(#DATE|jour) ](#DATE|nom_mois)</span><br />]
|
||||
<:libreavous:de_15h30_a_17h:>[(#ENV{date}|>={#DATE}|oui)<br />
|
||||
<a href="#URL_ARTICLE" class="btn taille80 blanc"><:libreavous:page_de_l_emission:></a>]
|
||||
<a href="#URL_ARTICLE" class="btn taille80 blanc[ (#ENV{date}|<={#GET{fin_emission}}|oui)spip_out]"><:libreavous:page_de_l_emission:></a>]
|
||||
</p>
|
||||
|
||||
<h1><span class="#EDIT{titre} article__titre">[(#TITRE|libreavous_supp_numero)]</span>[
|
||||
<small class="#EDIT{soustitre} soustitre">(#SOUSTITRE)</small>
|
||||
]</h1>
|
||||
|
||||
<INCLURE{fond=inclure/radiolive} />
|
||||
<INCLURE{fond=inclure/radiolive, debut_emission=#DATE, fin_emission=#GET{fin_emission}} />
|
||||
|
||||
</header>
|
||||
[(#REM) on ne met que le podcast_sommaire, les chapitres ne seront jamais présent lorsque l'émission est en cours... ]
|
||||
|
@ -1,12 +1,6 @@
|
||||
#CACHE{0}
|
||||
#SET{live,off}
|
||||
[(#ENV{date}|nom_jour|=={mardi}|oui)
|
||||
[(#ENV{date}|heures|>={15}|oui)
|
||||
#SET{live,on}
|
||||
][(#ENV{date}|heures|>={17}|oui)
|
||||
#SET{live,off}
|
||||
]
|
||||
][(#ENV{date}|<={#ENV{fin_emission}}|oui)
|
||||
[(#ENV{date}|<={#ENV{fin_emission}}|oui)
|
||||
[(#ENV{date}|>={#ENV{debut_emission}}|oui)
|
||||
#SET{live,on}]
|
||||
][(#GET{live}|=={on}|oui)<div class="radiolive">
|
||||
|
@ -254,6 +254,7 @@ html .formulaire_spip input[type="text"] {
|
||||
> * {
|
||||
margin:0 0 2rem;
|
||||
padding:1rem 4rem;
|
||||
@include clearfix();
|
||||
@include media($bp-medium) {
|
||||
padding:1rem 2rem;
|
||||
}
|
||||
@ -942,6 +943,7 @@ a:hover .fab, a:hover .fas {
|
||||
}
|
||||
/* modele radiolive */
|
||||
.radiolive {
|
||||
@include clearfix();
|
||||
p {
|
||||
line-height:1.1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user