From c182a03ee59a0a3447f868241476089881bf0d72 Mon Sep 17 00:00:00 2001 From: Cerdic <cedric@yterium.com> Date: Mon, 13 Dec 2010 07:42:51 +0000 Subject: [PATCH] Report de r16589 --- prive/spip_admin.css | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/prive/spip_admin.css b/prive/spip_admin.css index 6e63da0ab6..9745c63274 100644 --- a/prive/spip_admin.css +++ b/prive/spip_admin.css @@ -1,10 +1,22 @@ /* Les boutons d'admin survolent la page (sauf # FORMULAIRE_ADMIN) */ -.spip-admin-float { position: absolute; right: 20px; top: 0; background-color: transparent; z-index: 100; } +.spip-admin-bloc, +.spip-admin-float { z-index: 100; position: fixed; right: 20%; top: 0; white-space: nowrap; } /* Couleurs et design des boutons d'admin */ -.spip-admin-boutons { border-top: 1px solid #cecece; border-bottom: 2px solid #4A4A4A; border-left: 1px solid #cecece; border-right: 1px solid #cecece; text-decoration: none; text-align: center; margin: 0 2px; padding: 1px .5em; font-family: helvetica,arial, sans-serif; font-size: 10px; font-weight: bold; background-color: #fff; color: #0C479D; display:block;float:left; } -a:hover.spip-admin-boutons,.spip-admin-boutons a:hover { background-color: #fc3; border-bottom: 2px solid #36F; } -a:active.spip-admin-boutons,.spip-admin-boutons a:active { background-color: #ccc; border-bottom: 2px solid #f00; } +.spip-admin-boutons { margin: 0; padding: .4em 1em; background: #666; border: 0; font-weight: bold; +-webkit-border-bottom-left-radius: .3em; -webkit-border-bottom-right-radius: .3em; +-moz-border-radius-bottomleft: .3em; -moz-border-radius-bottomright: .3em; +border-radius: 0 0 .3em .3em; +opacity: .7; } +.spip-admin-boutons, +a.spip-admin-boutons, +.spip-admin-boutons a { color: #FFF; text-decoration: none; } +a:focus.spip-admin-boutons, +.spip-admin-boutons a:focus, +a:hover.spip-admin-boutons, +.spip-admin-boutons a:hover { opacity: 1; } +a:active.spip-admin-boutons, +.spip-admin-boutons a:active { background-color: #333; opacity: 1; } /* Style pour le mode debug */ #spip-debug { background-color: #f0f0f0; font-family: Verdana, Geneva, Helvetica, sans-serif; position:absolute;top:20px;left:0;width:100%;height:100%;z-index:10000; font-size:1em; text-align:left; } -- GitLab