Skip to content
Extraits de code Groupes Projets
Valider 6295ef23 rédigé par cerdic's avatar cerdic Validation de marcimat
Parcourir les fichiers

fix: lever l'ambiguité sur les balises simples des `url()` suite à la...

fix: lever l'ambiguité sur les balises simples des `url()` suite à la comprehension plus large des balises étendues par le phraseur

Refs: #3637
parent 1c1c5e78
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -142,7 +142,7 @@
color: hsl(var(--spip-color-notice--h), var(--spip-color-notice--s), 18%);
background-color: hsl(var(--spip-color-notice--h), 90%, 88%);
border-color: hsl(var(--spip-color-notice--h), 100%, 48%);
background-image: url(#CHEMIN_IMAGE{warning-24.png});
background-image: url("#CHEMIN_IMAGE{warning-24.png}");
}
/* Erreur */
......@@ -152,7 +152,7 @@
color: hsl(var(--spip-color-error--h), var(--spip-color-error--s), 18%);
background-color: hsl(var(--spip-color-error--h), 60%, 95%);
border-color: hsl(var(--spip-color-error--h), var(--spip-color-error--s), 50%);
background-image: url(#CHEMIN_IMAGE{erreur-24.png});
background-image: url("#CHEMIN_IMAGE{erreur-24.png}");
}
/* Succès */
......@@ -162,7 +162,7 @@
color: hsl(var(--spip-color-success--h), var(--spip-color-success--s), 15%);
background-color: hsl(var(--spip-color-success--h), 55%, 90%);
border-color: hsl(var(--spip-color-success--h), var(--spip-color-success--s), 45%);
background-image: url(#CHEMIN_IMAGE{ok-24.png});
background-image: url("#CHEMIN_IMAGE{ok-24.png}");
}
/* Information */
......@@ -171,7 +171,7 @@
color: hsl(var(--spip-color-info--h), var(--spip-color-info--s), 25%);
background-color: hsl(var(--spip-color-info--h), 45%, 93%);
border-color: hsl(var(--spip-color-info--h), var(--spip-color-info--s), 60%);
background-image: url(#CHEMIN_IMAGE{info-24.png});
background-image: url("#CHEMIN_IMAGE{info-24.png}");
}
......@@ -224,4 +224,4 @@
/* Bloc ajax invalid apres reload */
.ajaxbloc.invalid {
box-shadow: 0 0 var(--spip-alert-spacing-x) hsl(var(--spip-color-error--h), var(--spip-color-error--s), 50%);
}
\ No newline at end of file
}
......@@ -574,10 +574,10 @@
}
/* Icônes secteur / rubriques selon la profondeur */
.deroulant_rubriques .deroulant__lien[data-profondeur="1"] {
background-image: url(#CHEMIN_IMAGE{secteur-xx.svg});
background-image: url("#CHEMIN_IMAGE{secteur-xx.svg}");
}
.deroulant_rubriques [data-profondeur="2"] .deroulant__lien {
background-image: url(#CHEMIN_IMAGE{rubrique-xx.svg});
background-image: url("#CHEMIN_IMAGE{rubrique-xx.svg}");
}
/* picto pour indiquer les items dépliants */
.deroulant_rubriques .deroulant__item_parent > .deroulant__lien {
......@@ -588,7 +588,7 @@
display: block;
width: var(--spip-deroulant-icon-size);
height: var(--spip-deroulant-icon-size);
background-image: url(#CHEMIN_IMAGE{deplier-right.svg});
background-image: url("#CHEMIN_IMAGE{deplier-right.svg}");
background-repeat: no-repeat;
background-position: center center;
background-size: contain;
......
......@@ -135,8 +135,8 @@ button {
user-select: none;
transition: all 0.1s;
}
a.btn,
#wysiwyg a.btn, #wysiwyg a.btn:hover,
a.btn,
#wysiwyg a.btn, #wysiwyg a.btn:hover,
input.submit,
input.reset,
button {
......@@ -395,7 +395,7 @@ button.btn_danger {
background-color: transparent;
border-color: transparent transparent var(--spip-btn-color-border-accent);
color: var(--spip-btn-color-black);
background-image: url(#CHEMIN_IMAGE{rayures-sup.svg});
background-image: url("#CHEMIN_IMAGE{rayures-sup.svg}");
text-shadow: 0 0 0.25em white, 0 0 0.5em white, 0 0 1em white; /* Lisibilité */
}
.btn_danger:hover,
......@@ -494,7 +494,7 @@ button.btn_#VALEUR,
}
/* Dans le footer d'une boîte */
.box__footer .bouton_action_post {
.box__footer .bouton_action_post {
margin-bottom: 0;
}
......@@ -758,4 +758,4 @@ input.reset.sp-icone:before,
padding: var(--spip-btn-padding-y-mini) var(--spip-btn-padding-x-mini);
border-radius: var(--spip-btn-border-radius-mini);
margin-bottom: var(--spip-btn-margin-mini);
}
\ No newline at end of file
}
......@@ -341,7 +341,7 @@
}
.box.notice .box__header,
.box.notice .box__body:first-child {
background-image: url(#CHEMIN_IMAGE{warning-32.png});
background-image: url("#CHEMIN_IMAGE{warning-32.png}");
}
/* Erreur */
......@@ -354,7 +354,7 @@
}
.box.error .box__header,
.box.error .box__body:first-child {
background-image: url(#CHEMIN_IMAGE{erreur-32.png});
background-image: url("#CHEMIN_IMAGE{erreur-32.png}");
}
/* Succès */
......@@ -367,7 +367,7 @@
}
.box.success .box__header,
.box.success .box__body:first-child {
background-image: url(#CHEMIN_IMAGE{ok-32.png});
background-image: url("#CHEMIN_IMAGE{ok-32.png}");
}
......@@ -597,7 +597,7 @@
background-image: url([(#CHEMIN_IMAGE{deplierhaut.svg})]);
}
.box .deplie .titremancre {
background-image: url(#CHEMIN_IMAGE{deplierbas.svg});
background-image: url("#CHEMIN_IMAGE{deplierbas.svg}");
}
.box .impliable .titremancre {
display: none;
......
......@@ -139,10 +139,10 @@ a.boutonlien { color: #808080; text-decoration: none; }
a.triangle_block { margin-top: -3px; margin-bottom: -3px; margin-#ENV{right}: -3px; opacity: 0.7; }
a.triangle_block:hover { opacity: 1; }
a.ical { background: url(#CHEMIN_IMAGE{synchro-24.png}) no-repeat; background-position: top center; padding-#ENV{left}: 30px; padding-bottom: 20px; }
a.ical { background: url("#CHEMIN_IMAGE{synchro-24.png}") no-repeat; background-position: top center; padding-#ENV{left}: 30px; padding-bottom: 20px; }
.enfants ul { list-style: none; }
.enfants ul li.rubrique_12 {background:url(#CHEMIN_IMAGE{rubrique-xx.svg})[ (#ENV{left})] center no-repeat; background-size:12px; padding: 2px; padding-#ENV{left}: 18px; margin-#ENV{left}: 6px;position:relative;}
.enfants ul li.rubrique_12 {background:url("#CHEMIN_IMAGE{rubrique-xx.svg}")[ (#ENV{left})] center no-repeat; background-size:12px; padding: 2px; padding-#ENV{left}: 18px; margin-#ENV{left}: 6px;position:relative;}
/* menu langues */
......@@ -296,7 +296,7 @@ li .puce_article_popup, li.puce_breve_popup,li.puce_site_popup { padding: 0; }*/
/* fond des miniatures de logos et documents */
.miniature_logo, .miniature_document {
background: url(#CHEMIN_IMAGE{fond-grille.gif}) top left;
background: url("#CHEMIN_IMAGE{fond-grille.gif}") top left;
}
h2.titrem { display: block; padding-top: 6px; padding-bottom: 4px; background-repeat: no-repeat;padding-[(#ENV{left})]:16px;background-color: #ENV{claire};font-size:14px;}
......
......@@ -1156,7 +1156,7 @@
.formulaire_editer_logo .spip_logo img,
#illustrations .vignette img,
#documents_joints .image img.spip_logo {
background: url(#CHEMIN_IMAGE{fond-imgs.png});
background: url("#CHEMIN_IMAGE{fond-imgs.png}");
}
#illustrations .vignette img.spip_document_icone {
background-image:none;
......
......@@ -147,7 +147,7 @@
#SET{icones, #LISTE{add, new, del, config, edit}}
<BOUCLE_icones_images(DATA){source table, #GET{icones}}>
.icone-fonction-#VALEUR:after {
background-image: url(#CHEMIN_IMAGE{#VALEUR-xx.svg});
background-image: url("#CHEMIN_IMAGE{#VALEUR-xx.svg}");
}
</BOUCLE_icones_images>
......@@ -245,7 +245,7 @@
/* Variante danger (à mutualiser avec boutons.css ?) */
.icone.danger a {
background-image: url(#CHEMIN_IMAGE{rayures-sup.svg});
background-image: url("#CHEMIN_IMAGE{rayures-sup.svg}");
background-color: transparent;
}
.icone.danger b {
......@@ -332,7 +332,7 @@
padding: 3px;
margin: 1px;
border: 1px dashed #000;
background: #fce8dd url(#CHEMIN_IMAGE{rayures-danger.svg});
background: #fce8dd url("#CHEMIN_IMAGE{rayures-danger.svg}");
}
/* OLDIES anciennes icones issues de php */
......@@ -351,4 +351,4 @@ td.icone a:hover {
td.icone a img {
border: 0;
}
\ No newline at end of file
}
......@@ -19,8 +19,8 @@
/* Ancien selecteur de rubriques */
.selecteur_parent{font-size: 90%; width: 99%;} /* appliquee sur le <select> */
option.selec_rub { background-position: [(#GET{left})] center; background-image: url(#CHEMIN_IMAGE{rubrique-xx.svg}); background-size:12px; background-repeat: no-repeat; padding-#GET{left}: 16px; }
option.niveau_1 { font-weight: bold; background: #GET{claire}; background-image: url(#CHEMIN_IMAGE{secteur-xx.svg}); background-size: 12px; background-repeat: no-repeat; color: #444;}
option.selec_rub { background-position: [(#GET{left})] center; background-image: url("#CHEMIN_IMAGE{rubrique-xx.svg}"); background-size:12px; background-repeat: no-repeat; padding-#GET{left}: 16px; }
option.niveau_1 { font-weight: bold; background: #GET{claire}; background-image: url("#CHEMIN_IMAGE{secteur-xx.svg}"); background-size: 12px; background-repeat: no-repeat; color: #444;}
option.niveau_2 { background:#eee; color: #202020; border-bottom: 1px solid #GET{claire}; }
option.niveau_3 { background:#eee; color: #404040; }
option.niveau_4 { background:#eee; color: #606060; }
......@@ -32,7 +32,7 @@ option.niveau_6 { background:#eee; color: #a0a0a0; }
div.petite-racine,
a.petite-racine {
background: [(#ENV{ltr}|choixsiegal{left,1,99})%] no-repeat;
background-image: url(#CHEMIN_IMAGE{racine-xx.svg});
background-image: url("#CHEMIN_IMAGE{racine-xx.svg}");
background-size: 14px;
background-position: 5px center;
padding-#LEFT: 24px;
......@@ -48,7 +48,7 @@ a.petite-racine {
div.petite-rubrique,
a.petite-rubrique {
background: [(#ENV{ltr}|choixsiegal{left,1,99})%] no-repeat;
background-image: url(#CHEMIN_IMAGE{rubrique-xx.svg});
background-image: url("#CHEMIN_IMAGE{rubrique-xx.svg}");
background-size:14px;
background-position: 5px center;
padding-#LEFT: 24px;
......@@ -57,7 +57,7 @@ a.petite-rubrique {
div.petit-secteur,
a.petit-secteur {
background: [(#ENV{ltr}|choixsiegal{left,1,99})%] no-repeat;
background-image: url(#CHEMIN_IMAGE{secteur-xx.svg});
background-image: url("#CHEMIN_IMAGE{secteur-xx.svg}");
background-size: 14px;
background-position: 5px center;
padding-#GET{left}: 24px;
......@@ -211,9 +211,9 @@ a.petit-secteur {
/* Les éléments propres à chaque objet */
<BOUCLE_objets(DATA){source table, (#NULL|lister_tables_objets_sql)}>
[(#SET{petite_icone, [(#CHEMIN_IMAGE{#VALEUR{icone_objet}-12.png}|sinon{[(#CHEMIN_IMAGE{#VALEUR{icone_objet}-16.png}|image_reduire{12}|extraire_attribut{src})]})]})]
ul.item_picked li.#VALEUR{type} {padding-#GET{left}:24px;background-image:url(#GET{petite_icone});background-size:12px;}
.item_picker .[(#VALEUR{table_objet})] .type_objet {padding-#GET{left}:24px; background:url(#GET{petite_icone}) no-repeat[ (#GET{left}) ]center; background-size:12px;}
.item_picker .frame ul li.#VALEUR{type} {background:url(#GET{petite_icone}) no-repeat[ (#GET{left}) ]2px;background-size:12px;}
ul.item_picked li.#VALEUR{type} {padding-#GET{left}:24px;background-image:url("#GET{petite_icone}");background-size:12px;}
.item_picker .[(#VALEUR{table_objet})] .type_objet {padding-#GET{left}:24px; background:url("#GET{petite_icone}") no-repeat[ (#GET{left}) ]center; background-size:12px;}
.item_picker .frame ul li.#VALEUR{type} {background:url("#GET{petite_icone}") no-repeat[ (#GET{left}) ]2px;background-size:12px;}
</BOUCLE_objets>
/* Styles des éléments déjà sélectionnés */
......@@ -287,4 +287,3 @@ ul.item_picked.changing {}
.formulaire_spip li.selecteur_item label {
margin-#GET{left}:0;display:block;float:left;padding:2px 0;
}
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter