From af93730887d47b670de01380e752c937bcd0b23e Mon Sep 17 00:00:00 2001 From: RastaPopoulos <rastapopoulos@spip.org> Date: Mon, 1 Apr 2024 02:25:28 +0200 Subject: [PATCH] feat(4766): nouvelle icone pour creer et uniformisation des tailles pas juste pour le plan --- prive/squelettes/inclure/barre-nav.html | 2 +- prive/themes/spip/bando.css.html | 8 ++++---- prive/themes/spip/images/creer-xx.svg | 3 +++ 3 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 prive/themes/spip/images/creer-xx.svg diff --git a/prive/squelettes/inclure/barre-nav.html b/prive/squelettes/inclure/barre-nav.html index b5340fc13c..a3a2d7e7a2 100644 --- a/prive/squelettes/inclure/barre-nav.html +++ b/prive/squelettes/inclure/barre-nav.html @@ -128,7 +128,7 @@ <ul class="deroulant deroulant_creer" data-racine> <li class="deroulant__item"> <a class="deroulant__lien bando2_creer" href="#URL_ECRIRE{navigation, menu=outils_rapides}"> - [(#CHEMIN_IMAGE{ouvrir-24.png}|balise_img{'', picto picto_creer})] + [(#CHEMIN_IMAGE{creer-24.png}|balise_img{'', picto picto_creer})] <span class="libelle"><:icone_outils_rapides:></span> </a> diff --git a/prive/themes/spip/bando.css.html b/prive/themes/spip/bando.css.html index 4475ed0d0b..c94d1d8cdf 100644 --- a/prive/themes/spip/bando.css.html +++ b/prive/themes/spip/bando.css.html @@ -510,6 +510,10 @@ .bando-outils { color: var(--spip-color-gray-dark); } +.bando-outils .picto { + width: var(--spip-bando-outils-icon-size); + height: auto; +} .bando-outils .deroulant__lien img + .libelle { margin-left: 0.25em; } @@ -555,10 +559,6 @@ .deroulant_rubriques .deroulant__item_plan > .deroulant__lien { height: 100%; } -.deroulant_rubriques .picto_plan { - width: var(--spip-bando-outils-icon-size); - height: auto; -} .deroulant_rubriques .deroulant__item_plan .image_loading { float: var(--spip-right); } diff --git a/prive/themes/spip/images/creer-xx.svg b/prive/themes/spip/images/creer-xx.svg new file mode 100644 index 0000000000..aa0f311761 --- /dev/null +++ b/prive/themes/spip/images/creer-xx.svg @@ -0,0 +1,3 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64"> + <path fill="#000" d="M56.006 26.176c-.662-.663-1.467-.995-2.415-.995H38.818V10.41c0-.947-.331-1.752-.995-2.416C37.161 7.331 36.356 7 35.41 7h-6.817c-.947 0-1.752.332-2.414.994-.663.663-.995 1.468-.995 2.416v14.77H10.409c-.947 0-1.752.333-2.415.995C7.33 26.84 7 27.644 7 28.59v6.82c0 .946.331 1.75.994 2.414.663.662 1.467.994 2.415.994h14.773V53.59c0 .947.331 1.753.994 2.416.663.662 1.467.994 2.415.994h6.818c.948 0 1.752-.332 2.415-.994.663-.664.994-1.468.994-2.416V38.818h14.773c.948 0 1.753-.332 2.415-.994.663-.663.994-1.468.994-2.414v-6.82c0-.946-.33-1.751-.994-2.414z" style="fill:#666;fill-opacity:1"/> +</svg> -- GitLab