From f739ddddf37af757292db3e9f834028e155a8ebd Mon Sep 17 00:00:00 2001 From: "rastapopoulos@spip.org" <> Date: Mon, 17 Nov 2014 22:25:22 +0000 Subject: [PATCH] =?UTF-8?q?Premi=C3=A8res=20corrections=20concernant=20#33?= =?UTF-8?q?46=20:=20toutes=20la=20barre=20d'outils=20est=20cadr=C3=A9e=20e?= =?UTF-8?q?t=20positionn=C3=A9e=20en=20PIXEL=20(hauteur=20des=20ic=C3=B4ne?= =?UTF-8?q?s,=20marges,=20etc).=20Tant=20que=20c'est=20le=20cas,=20les=20o?= =?UTF-8?q?nglets=20DOIVENT=20donc=20=C3=AAtre=20calcul=C3=A9s=20en=20pixe?= =?UTF-8?q?l=20aussi=20pour=20=C3=AAtre=20toujours=20raccord.=20Pareil=20p?= =?UTF-8?q?our=20le=20d=C3=A9calage=20top=20du=20bloc=20de=20pr=C3=A9visu.?= =?UTF-8?q?=20Si=20ces=20trucs=20sont=20en=20"em",=20suivant=20la=20config?= =?UTF-8?q?uration=20de=20la=20police,=20=C3=A7a=20peut=20alors=20faire=20?= =?UTF-8?q?des=20tailles=20compl=C3=A8tement=20diff=C3=A9rentes=20des=20pi?= =?UTF-8?q?xels=20de=20la=20barre=20d'ic=C3=B4nes,=20et=20donc=20tout=20d?= =?UTF-8?q?=C3=A9caler.=20D=C3=A9sormais,=20en=20admin=20ou=20en=20site=20?= =?UTF-8?q?public,=20les=20onglets=20et=20le=20bloc=20de=20pr=C3=A9visu=20?= =?UTF-8?q?sont=20toujours=20cal=C3=A9s=20pile=20aux=20m=C3=AAmes=20distan?= =?UTF-8?q?ces=20par=20rapport=20=C3=A0=20la=20barre.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cela ne corrige pas le deuxième point du ticket, mais peut-être une piste : dans "barre_outils_prive.css" il y a plein de styles qui ne sont insérés que dans l'admin. Alors que la même barre peut parfaitement être active dans le site public. Je n'arrive pas à voir de raisons pour lesquels il y a tous ces styles uniquement pour l'admin… --- css/barre_outils.css | 5 +++-- css/barre_outils_prive.css | 2 +- paquet.xml | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/css/barre_outils.css b/css/barre_outils.css index b983097..8df3c91 100644 --- a/css/barre_outils.css +++ b/css/barre_outils.css @@ -53,7 +53,8 @@ /***************************/ /* tabs */ .markItUp .markItUpTabs { - text-align:right; + font-size:12px; + text-align:right; padding:1px 1px 0; margin-bottom: -2px; top: 6px; @@ -86,7 +87,7 @@ padding:1em; /* decaler de la hauteur de .markItUpTabs */ position:relative; - top:2.2em; + top:31px; } /* correction des styles spip_formulaires appliques par defaut (grr) */ diff --git a/css/barre_outils_prive.css b/css/barre_outils_prive.css index 43b2278..3ef9496 100644 --- a/css/barre_outils_prive.css +++ b/css/barre_outils_prive.css @@ -67,4 +67,4 @@ } .markItUp .markItUpTabs .fullscreen { text-indent: -1000em; text-align: left; font-size: 1px; background: url(img/arrow_out.png) center no-repeat; width: 16px; } -.markItUp .fullscreen .markItUpTabs .fullscreen { background-image: url(img/arrow_in.png); } \ No newline at end of file +.markItUp .fullscreen .markItUpTabs .fullscreen { background-image: url(img/arrow_in.png); } diff --git a/paquet.xml b/paquet.xml index 98c2b20..16fab95 100644 --- a/paquet.xml +++ b/paquet.xml @@ -1,7 +1,7 @@