Browse Source

styles et configuration

svn/attic/html5up_massively/117919
chankalan@choc0.net 4 years ago
parent
commit
3f560a77fa
  1. 64
      css/spip.css
  2. 22
      formulaires/configurer_html5up.html
  3. 17
      html5up_massively_administrations.php
  4. 8
      inclure/footer.html
  5. 2
      inclure/resume/article.html
  6. 2
      lang/html5up_de.php
  7. 2
      lang/html5up_en.php
  8. 15
      lang/html5up_fr.php
  9. 28
      lang/massively_fr.php
  10. 4
      paquet.xml
  11. 6
      styles_config.css.html

64
css/spip.css

@ -8,9 +8,6 @@ label, table th, .pagination a, .pagination span,
#navPanelToggle, #sousnavToggle, #navPanel .links li a { font-family: "Open Sans", Helvetica, sans-serif; }
html, body { height:100%; }
#wrapper { min-height:100%; }
img { height: auto; }
#intro.hidden .button { opacity:0 !important; visibility:hidden !important; }
@ -131,4 +128,65 @@ img { height: auto; }
#contact_texte { height:150px; }
/* de squelettes-dist/css/spip.css */
/* Citations, code et poesie */
blockquote.spip { min-height: 40px; background: url(img/quote.png) no-repeat; }
.spip_poesie { border-left: 1px solid; }
.spip_poesie div { margin-left: 50px; text-indent: -50px; }
.spip_code,
.spip_cadre {
font-family: 'Courier New', Courier, monospace;
font-size: 1em;
margin:0 .2em;
}
.spip_code {
border: 1px solid #dfdfcd;
background-color: rgba(227,227,211,0.5);
color: #3b3b25;
text-shadow: 0 1px 0 #fdfdfc;
}
.spip_cadre {
background:#333;
color:#fff;
border-radius:0.5em;
border:0;
}
textarea.spip_code,
textarea.spip_cadre {
padding: 1em;
width:98%;
}
/* Logos, documents et images */
.spip_logo { float:right; margin: 0 0 10px 10px; padding:0; border: none; }
.spip_logo { margin: 0 0 10px 10px; padding: 0; border: none; }
.spip_logo_center { clear: both; display: block; margin: 0 auto 1.5em auto; }
.spip_logo_left { float: left; margin-right: 1.5em; margin-bottom: 1.5em; }
.spip_logo_right { float: right; margin-left: 1.5em; margin-bottom: 1.5em; }
.spip_documents { margin-bottom: 1.5em; padding: 0; background: none; max-width: 100%;}
.spip_documents,
.spip_documents_center,
.spip_doc_titre,
.spip_doc_descriptif { margin-right: auto; margin-left: auto; text-align: center; }
.spip_documents_center { clear: both; display: block; width: 100%; }
.spip_documents_left { float: left; margin-right: 1.5em; }
.spip_documents_right { float: right; margin-left: 1.5em; }
.spip_doc_titre {}
.spip_doc_descriptif { clear: both; }
.spip_doc_credits { font-size:x-small; clear: both; }
/* fixer une largeur maximale de 100 % aux elements potentiellement problematiques */
@media (max-width: 640px) {
.spip_documents,.spip_doc_titre,.spip_doc_descriptif { max-width: 100% !important; }
}
/* remettre d'aplomb la boite modale */
/* boite modale de SPIP */
button#cboxPrevious, button#cboxPrevious:hover, button#cboxNext, button#cboxNext:hover, button#cboxSlideshow, button#cboxSlideshow:hover,
button#cboxClose, button#cboxClose:hover{ border:0; box-shadow:none; }

22
formulaires/configurer_html5up.html

@ -42,23 +42,29 @@
class=palette,
type=color,
defaut=#717981})]
[(#SAISIE{input,couleur_typo_copyright,
label=<:html5up:couleur_typo_copyright:>,
explication=<:html5up:couleur_typo_copyright_explications:>,
class=palette,
type=color,
defaut=#717981})]
</div>
</fieldset>
<fieldset>
<legend><:zcore:accueil:></legend>
<div class="editer-groupe">
[(#SAISIE{input, titre_sommaire,
label=<:html5up:titre_sommaire_accueil:>,
explication=<:html5up:titre_sommaire_accueil_explications:>})]
label=<:massively:titre_sommaire_accueil:>,
explication=<:massively:titre_sommaire_accueil_explications:>})]
[(#SAISIE{case, slogan_accueil,
label=<:html5up:slogan_accueil:>,
explication=<:html5up:slogan_accueil_explications:>})]
label=<:massively:slogan_accueil:>,
explication=<:massively:slogan_accueil_explications:>})]
[(#SAISIE{case, descriptif_accueil,
label=<:html5up:descriptif_accueil:>,
explication=<:html5up:descriptif_accueil_explications:>})]
label=<:massively:descriptif_accueil:>,
explication=<:massively:descriptif_accueil_explications:>})]
[(#SAISIE{selecteur_article, major,
label=<:html5up:major:>,
explication=<:html5up:major_explications:>})]
label=<:massively:major:>,
explication=<:massively:major_explications:>})]
</div>
</fieldset>
<fieldset>

17
html5up_massively_administrations.php

@ -33,6 +33,23 @@ function html5up_massively_upgrade($nom_meta_base_version, $version_cible) {
'couleur_bkg_footer' => '#F5F5F5',
))
);
$config_enluminures = array(
'titraille1open' => '<h2 class="spip">',
'titraille1close' => '</h2>',
'titraille2open' => '<h3 class="spip">',
'titraille2close' => '</h3>',
'titraille3open' => '<h4 class="spip">',
'titraille3close' => '</h4>',
'titraille4open' => '<h5 class="spip">',
'titraille4close' => '</h5>',
'titraille5open' => '<h6 class="spip">',
'titraille5close' => '</h6>'
);
$maj['0.1.3'] = array(
array('ecrire_config', 'bte', $config_enluminures)
);
include_spip('base/upgrade');
maj_plugin($nom_meta_base_version, $version_cible, $maj);
}

8
inclure/footer.html

@ -6,21 +6,21 @@
</section>]
<section class="split contact">[
<section class="alt">
<h3><:massively:adresse:></h3>
<h3><:html5up:adresse:></h3>
<div>
<p> (#CONFIG{html5up/contact_adresse}|propre|ptobr)</p>
</div>
</section>][
<section>
<h3><:massively:phone:></h3>
<h3><:html5up:phone:></h3>
<p> (#CONFIG{html5up/contact_telephone})</p>
</section>][
<section>
<h3><:massively:courriel:></h3>
<h3><:html5up:courriel:></h3>
<p> <a href="mailto:#CONFIG{sociaux/mail}">(#CONFIG{sociaux/mail})</a></p>
</section>][(#PLUGIN{sociaux}|oui)
<section>
<h3><:massively:sociaux:></h3>
<h3><:html5up:reseaux_sociaux:></h3>
<INCLURE{fond=inclure/rezo,class=alt} />
</section>]
</section>

2
inclure/resume/article.html

@ -6,6 +6,6 @@
</header>
[<a href="#URL_ARTICLE" class="image fit">(#LOGO_ARTICLE|image_reduire{1200,*}|vider_attribut{class})</a>]
[<div class="introduction">(#INTRODUCTION|couper{160})</div>]
<a href="#URL_ARTICLE" class="button"><:massively:lire_la_suite:></a>
<a href="#URL_ARTICLE" class="button"><:html5up:lire_la_suite:></a>
</article>
</BOUCLE_article>

2
lang/html5up_de.php

@ -46,7 +46,7 @@ $GLOBALS[$GLOBALS['idx_lang']] = array(
// R
'rechercher' => 'Suchen',
'reseaux_sociaux' => 'Soziale Netzwerke',
'reseaux_sociaux' => 'Netzwerke',
'reseaux_sociaux_activer' => 'Aktivieren sie das Plugin «Links zu sozialen Netzwerken» um diese Links anzuzeigen.',
'reseaux_sociaux_configurer' => 'Plugin konfigurieren: Links zu sozialen Netzwerken',

2
lang/html5up_en.php

@ -39,7 +39,7 @@ $GLOBALS[$GLOBALS['idx_lang']] = array(
// R
'rechercher' => 'Search',
'reseaux_sociaux' => 'Social networks',
'reseaux_sociaux' => 'Networks',
'reseaux_sociaux_activer' => 'Activate the plugin "Links towards the social networks" to show such links.',
'reseaux_sociaux_configurer' => 'Configure the plugin: social Links',

15
lang/html5up_fr.php

@ -7,6 +7,9 @@ if (!defined('_ECRIRE_INC_VERSION')) {
$GLOBALS[$GLOBALS['idx_lang']] = array(
// A
'adresse' => 'Adresse',
// C
'cfg_titre_parametrages' => 'Paramétrages',
'contact' => 'Restez en contact',
@ -20,7 +23,12 @@ $GLOBALS[$GLOBALS['idx_lang']] = array(
'couleur_bkg' => 'Couleur d’arrière plan de la page',
'couleur_bkg_explications' => 'Par défaut #FFFFFF',
'couleur_bkg_footer' => 'Couleur d’arrière plan du pied de page',
'couleur_bkg_footer_explications' => 'Par défaut #F5F5F5',
'couleur_bkg_footer_explications' => 'Par défaut #f6f7ea',
'couleur_typo_footer' => 'Couleur de la typographie du pied de page',
'couleur_typo_footer_explications' => 'Par défaut #717981',
'couleur_typo_copyright' => 'Couleur de la typographie à la fin du pied de page.',
'couleur_typo_copyright_explications' => 'Couleur de la typographie de la dernière ligne en bas de page (copyright).',
'courriel' => 'Courriel',
// D
"design" => 'Design',
@ -35,9 +43,12 @@ $GLOBALS[$GLOBALS['idx_lang']] = array(
'largeur_page' => 'Largeur de la page',
'largeur_page_explications' => 'Si les lignes de texte vous parraissent trop longues à la lecture, vous pouvez choisir la largeur maximum du contenu des pages (max-width). Exprimez ici la valeur et son unité (%,px,vw...).',
// P
'phone' => 'Téléphone',
// R
'rechercher' => 'Chercher',
'reseaux_sociaux' => 'Réseaux sociaux',
'reseaux_sociaux' => 'Réseaux',
'reseaux_sociaux_activer' => 'Activer le plugin «Liens vers les réseaux sociaux» pour afficher de tels liens.',
'reseaux_sociaux_configurer' => 'Configurer le plugin : Liens sociaux',

28
lang/massively_fr.php

@ -8,27 +8,23 @@ if (!defined('_ECRIRE_INC_VERSION')) {
$GLOBALS[$GLOBALS['idx_lang']] = array(
// A
'aide' => 'Aide : <a href="https://contrib.spip.net/?article5019">lire la documentation sur contrib.spip.net</a>',
// E
'extras_accueil_label' => 'Sur l’accueil du site',
'extras_accueil_explications' => 'Cochez cette case pour que cet article apparaisse sur la page d’accueil du site.',
'extras_ordre_accueil_label' => 'Ordre sur la page accueil',
'extras_ordre_accueil_explications' => 'Associez un chiffre qui permettra de trier entre eux et dans l’ordre croissant les articles choisis pour la page d’accueil.',
'aide' => 'Aide : <a href="https://contrib.spip.net/?article5123">lire la documentation sur contrib.spip.net</a>',
// H
'html5up_phantom_titre' => 'Html5up Phantom ',
// L
'largeur_page' => 'Largeur de la page',
'largeur_page_explications' => 'Si les lignes de texte vous parraissent trop longues à la lecture, vous pouvez choisir la largeur maximum du contenu des pages (max-width). Exprimez ici la valeur et son unité (%,px,vw...).',
'html5up_massively_titre' => 'Html5up Massively ',
// P
'phantom_label' => 'Page accueil du site',
// M
'major' => 'Un article sur la page accueil',
'major_explications' => 'Choisissez un article pour le mettre en évidence sur la page d’accueil',
// S
'suivre' => 'Suivre',
'slogan_accueil' => 'Le slogan du site',
'slogan_accueil_explications' => 'Oui, afficher le slogan du site sur la page accueil.',
'descriptif_accueil' => 'Le descriptif du site',
'descriptif_accueil_explications' => 'Oui, afficher le descriptif du site sur la page accueil.',
// T
'titre_page_configurer_html5up_phantom' => 'Configurer le squelette Phantom',
'titre_page_configurer_html5up_massively' => 'Configurer le squelette Massively',
'titre_sommaire_accueil' => 'Titre sur la page d’accueil',
'titre_sommaire_accueil_explications' => 'Ce titre est utilisé sur la page d’accueil et dans le premier item du menu. Si ce champ n’est pas renseigné, c’est le titre du site qui est utilisé.',
);

4
paquet.xml

@ -1,8 +1,8 @@
<paquet
prefix="html5up_massively"
categorie="squelette"
version="0.2.0"
schema="0.1.2"
version="0.3.0"
schema="0.1.3"
etat="test"
compatibilite="[3.2.0;3.2.*]"
logo="prive/themes/spip/images/html5up_massively-64.png"

6
styles_config.css.html

@ -11,7 +11,7 @@ c'est du text/html et iso-8859-15 car bug vieux navigateurs
#HTTP_HEADER{Content-Type: text/css; charset=iso-8859-15}
#HTTP_HEADER{Vary: Accept-Encoding}
#wrapper {[ background-color:(#CONFIG{html5up/couleur_bkg});][ color:(#CONFIG{html5up/couleur_typo});] }
body, #wrapper.fade-in, #wrapper > .bg {[ background-color:(#CONFIG{html5up/couleur_bkg});][ color:(#CONFIG{html5up/couleur_typo});] }
a, #footer input[type="submit"], h1, h2, h3, h4, h5, h6, #nav ul.links li.active a {[ color:(#CONFIG{html5up/couleur_typo}); ]}
@ -23,7 +23,7 @@ a:hover, a:active, a:focus, a.on, .formulaire_contact form > fieldset.previsu >
button:hover, .button:hover, #footer input[type="submit"]:hover, #footer input[type="reset"]:hover,
#footer input[type="button"]:hover, #footer button:hover, #footer .button:hover, #footer a:hover, .pagination a:hover,
#footer ul.icons li a.icon:hover:before, #nav ul.icons li a.icon:hover:before, #nav a:hover, #header .logo:hover,
#copyright a:hover, ul.icons li a.icon:hover::before {[ color:(#CONFIG{html5up/couleur_accent}) !important; ]}
#copyright a:hover, ul.icons li a.icon:hover::before, .reponse_formulaire_erreur, .erreur_message {[ color:(#CONFIG{html5up/couleur_accent}) !important; ]}
/* box-shadow */
#intro input[type="submit"]:hover, #intro input[type="reset"]:hover, #intro input[type="button"]:hover, #intro button:hover, #intro .button:hover,
@ -38,6 +38,8 @@ ul.icons.alt li a.icon:hover::before {[ box-shadow:inset 0 0 0 2px (#CONFIG{html
#footer, #footer h1, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6,
#footer input, #footer select, #footer textarea, #footer label, #footer strong, #footer b {[ color:(#CONFIG{html5up/couleur_typo_footer}); ]}
#copyright, #copyright a {[ color:(#CONFIG{html5up/couleur_typo_copyright});] }
<BOUCLE_bg(DOCUMENTS){role=arriereplan}{0,1}{!par date}{tout}>
#wrapper .bg { background-image:url("#CHEMIN{images/overlay.png}"), linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url("#FICHIER"); }
</BOUCLE_bg>

Loading…
Cancel
Save