[SPIP] v3.2.1-->v3.2.2
[lhc/web/www.git] / www / prive / themes / spip / minipres.css
index 14affe9..78eae86 100644 (file)
@@ -2,12 +2,13 @@
 ---------------------------------------------- */
 html { font-size: 100%; } /* Cf.: http://pompage.net/pompe/definir-des-tailles-de-polices-en-CSS/ */
 body { font: .75em/1.5em Verdana, Geneva, sans-serif; color: #222; }
+*, *:before, *:after { box-sizing: border-box; }
 input, textarea, select { font-size: 100%; font-family: inherit; }
 
 h1 { margin: 0 auto 1.5em auto; font-size: 1.3em; font-weight: bold; color: #db1762; text-align: center; }
 h2 { margin: 0 0 1.5em 0; font-size: 1.2em; font-weight: normal; }
 h3 { margin: 0 auto 1.5em auto; font-size: 1em; font-weight: bold; }
-p,.p { display: block; margin: 0 0 1.5em 0; }
+p  { display: block; margin: 0 0 1.5em 0; }
 
 img, .spip_logo { margin: 0; padding: 0; border: 0; }
 strong, b { font-weight: bold; }
@@ -23,73 +24,69 @@ ul.spip li li, ol.spip li li {margin-left:25px}
 
 /* LAYOUT / Disposition a l'ecran
 ---------------------------------------------- */
-body { padding: 5%; }
-
-#minipres { position: relative; margin: 0 auto; padding: 20px; background: #fff repeat; }
-.quitter_fenetre { position: absolute; right: 20px; top: 20px; }
-.quitter_fenetre a { display: block; width: 20px; height: 20px; background: url(images/fermer-16.png) no-repeat right center; color: #fff; text-indent: -999em; }
+html, body { height: 100%; }
+#minipres { position: relative; margin: 0 auto; background: #fff repeat; }
+.quitter_fenetre { position: absolute; right: 1.5em; top: 1.5em; }
+.quitter_fenetre a { display: block; width: 1.5em; height: 1.5em; background: url(images/fermer-16.png) no-repeat right center; color: #fff; text-indent: -999em; }
 
 @media (min-width: 640px) {
-#minipres { width: 540px; border: 1px solid #eee;
--webkit-border-radius: 20px; -moz-border-radius: 20px; border-radius: 20px;
--webkit-box-shadow: 0 0 20px #666; -moz-box-shadow: 0 0 20px #666; box-shadow: 0 0 20px #666; }
+       body { display: flex; padding: 2em; }
+       #minipres { margin: auto; width: 580px;border: 1px solid #DB1762;border-radius: 8px;padding: 2em 2em 1.5em 2em;overflow: hidden;}
+       #minipres h1 {margin-top: -2em;margin-left: -2em;margin-right: -2em;padding: 0.8em;font-size: 1.1em;color: white;background: #DB1762;}
 }
-
 @media (max-width: 640px) {
-body { padding: 5% 1%; }
-#minipres { width: auto; background: transparent; }
-fieldset { border-radius: 10px; }
-#etapes, #infos_etapes { display: none; }
+       body {padding: 1.5em;}
+       #minipres {width: auto;max-width: 25em;background: transparent;}
+       #etapes, #infos_etapes {display: none;}
 }
 
 @media screen and (max-width:640px) and (orientation: landscape) {
-body { -webkit-text-size-adjust: 70%; }
+       body { -webkit-text-size-adjust: 70%; }
 }
 
 /* Formulaires
 ---------------------------------------------- */
-.formulaire_spip { clear: both; margin-bottom: 20px; padding: 0; background: none; border: 0; text-align: left; }
-.formulaire_spip form { margin: 0; padding: 0; } /* Bug IE/Win */
-.boutons { margin: 20px 0; text-align: right; }
 
+.formo,
+input.text,
+input.password, select { display: block; margin-bottom: 0.5em; background: #F8F8F9 center bottom; padding: 4px; border: 1px solid #BEBEBF; border-radius: 3px; font-size: 1.2em; width: 100%; height: 2.5em; }
+button, input[type=submit] { color: white;background: #DB1762;border: none;border-radius: 4px;padding: 8px 1em;font-size: 1.2em;font-weight: bold;}
+button:hover, input[type=submit]:hover,
+button:focus, input[type=submit]:focus { background: #881644; }
+
+.formulaire_spip { clear: both; margin-bottom: 1.5em; padding: 0; background: none; border: 0; text-align: left; }
+.formulaire_spip form { margin: 0; padding: 0; }
 .formulaire_spip fieldset,
 fieldset,
-.fieldset { margin: 0 0 20px; padding: 20px; padding-bottom: 1px; background: #fff; border: 1px solid #ccc; border-radius: 3px; text-align: left; }
-legend { font-weight: bold; color: #333; } /* Preciser la couleur des legend pour IE/Win */
-label {}
+.fieldset { margin: 0 0 1em 0; padding: 0 1em 0.5em 1em; background: #FFFFFF; border: 1px solid #CCCCCC; border-radius: 4px; text-align: left; }
+legend { font-weight: bold; color: #333; padding: 0.5em; }  /* Preciser la couleur des legend pour IE/Win */
+label {display: inline-block; margin-bottom: .5em;}
+input[type=radio],input[type=checkbox] {display: inline-block; margin-right: 0.75em; margin-bottom: .5em;}
 
 .formulaire_spip fieldset ul { margin: 0; padding: 0; list-style: none; }
-.formulaire_spip fieldset ul li { clear: both; margin: 0 0 20px; padding: 0; }
+.formulaire_spip fieldset ul li { clear: both; margin: 0 0 1.5em; padding: 0; }
 .formulaire_spip fieldset ul li label,
 .formulaire_spip fieldset ul li .erreur_message,
 .formulaire_spip fieldset ul li .details { display: block; width: auto; margin: 0; }
 
-.formo,
-input.text,
-input.password { width: 50%; display: block; margin-bottom: 20px; background: #f8f8f9 center bottom; padding: 4px; border: 1px inset; border-radius: 3px; }
-.formo,
-input.text,
-input.password,
-select { font-size: 120%; }
-
 .formulaire_spip .choix label { display: inline; font-weight: normal; }
 .formulaire_spip .choix input.radio,
 .formulaire_spip .choix input.checkbox { width: auto; }
 
+.boutons { margin-top: 1.5em; text-align: right; }
+
 /* erreur */
 .formulaire_spip fieldset ul li.erreur {}
 .formulaire_spip fieldset ul li.erreur input { border-color: red; background-color: #fcc; }
 .reponse_formulaire,
 .erreur_message { font-weight: bold; color: red; }
-
-.reponse_formulaire.reponse_formulaire_ok { border: 2px solid; font-weight: normal; padding: 10px; margin-bottom: 20px; color: #264409; border-color: #c6d880; background-color: #e6efc2; }
-
+.reponse_formulaire.reponse_formulaire_ok {border: 2px solid #C6D880;font-weight: normal;padding: 0.8em;margin-bottom: 1.5em;color: #264409;background-color: #E6EFC2;}
 
 /* Habillage (en vrac)
 ---------------------------------------------- */
 
-.petit-centre { width: 300px; margin: auto; margin-bottom: 20px; text-align: center; }
-.petit-centre .logo { margin-bottom: 20px; }
+.petit-centre { width: 300px; margin: auto; margin-bottom: 1.5em; text-align: center; }
+.petit-centre .logo { margin-bottom: 1.5em; }
 
 .toile_foncee { background: #777; }
 
@@ -101,10 +98,10 @@ select { font-size: 120%; }
 #etapes span.encours { background: url(images/etape-encours.gif) center no-repeat; }
 #etapes span.todo { background: url(images/etape-todo.gif) center no-repeat; }
 
-#infos_etapes { height: 63px; overflow: hidden; margin: 0; padding: 0; padding-left: 10px; background: #8c8c8c url(images/degrade-etapes-clair-left.gif) no-repeat right top; text-align: left; list-style: none; }
+#infos_etapes { display: flex; height: 63px; overflow: hidden; margin: 0; padding: 0; padding-left: 10px; background: #8c8c8c url(images/degrade-etapes-clair-left.gif) no-repeat right top; text-align: left; list-style: none; }
 #infos_etapes.infos_etape_4 { background-image: url(images/degrade-etapes-rose-left.gif); background-color: #db1762; }
-#infos_etapes li { float: left; margin-left: -28px; padding-left: 29px; background: url(images/degrade-etapes-fonce-left.gif) no-repeat left top; color: #555; text-align: left; font-size: .9em; line-height: 1.05em; }
-#infos_etapes li .fond { width: 105px; height: 69px; padding-right: 25px; padding-top: 10px; background: url(images/degrade-etapes-fonce-left.gif) no-repeat -30px top; }
+#infos_etapes li { max-width: 160px; margin-left: -28px; padding-left: 29px; background: url(images/degrade-etapes-fonce-left.gif) no-repeat left top; color: #555; text-align: left; font-size: .9em; line-height: 1.05em; }
+#infos_etapes li .fond { height: 69px; padding-right: 25px; padding-top: 10px; background: url(images/degrade-etapes-fonce-left.gif) no-repeat -2em top; }
 #infos_etapes li em {float:left;position:absolute;top:-1000px;}
 #infos_etapes li span.numero_etape { float: left; display: block; height: 50px; margin-left: -10px; padding: 7px 3px 0 3px; font-weight: bold; font-size: 3em; }
 #infos_etapes li.on { background-image: url(images/degrade-etapes-rose-left.gif); color: #fff; font-weight: bold; }
@@ -118,7 +115,7 @@ select { font-size: 120%; }
 /* installation des plugins */
 .error,
 .success,
-.notice {border:2px solid; font-weight: normal;padding:10px;margin-bottom:20px;}
+.notice {border:2px solid; font-weight: normal;padding:0.8em;margin-bottom:1.5em;}
 .success {color: #264409;border-color: #c6d880;background-color:#e6efc2;}
 .error {color: #8a1f11;border-color: #fbc2c4;background-color:#fbe3e4;}
 .notice {color: #514721;border-color: #ffd324;background-color:#fff6bf;}
@@ -126,31 +123,36 @@ select { font-size: 120%; }
 .install-plugins {position:relative;margin-bottom: 0;}
 .install-plugins.success + .install-plugins.success {margin-top: 0;border-top: 0;}
 .install-plugins.error + .install-plugins.error {margin-top: 0;border-top: 0;}
-.install-plugins .result {display:block;position:absolute;top:10px;right:10px;font-weight:bold;}
+.install-plugins .result {display:block;position:absolute;top:0.8em;right:0.8em;font-weight:bold;}
 .install-plugins .success {display: none;} /* ne pas afficher les installations ok mais seulement les echecs */
 
 /* Page de login
 ---------------------------------------------- */
 .page_login { text-align: center; }
-.page_login #minipres { width: 30em; }
-.page_login #minipres h3 { margin: 0; }
-.page_login .formulaire_menu_lang { text-align: center; }
-.page_login .formulaire_menu_lang label { display: none; }
-.page_login .formulaire_menu_lang select { display: inline; }
+@media (min-width: 640px) {
+       .page_login #minipres {width: 30em;}
+}
+.page_login #minipres h3 {text-align: center;}
+.page_login .formulaire_menu_lang {text-align: center;}
+.page_login .formulaire_menu_lang label {display: none;}
+.page_login .formulaire_menu_lang select {display: inline;}
 .page_login .formulaire_menu_lang .boutons,
-.page_login .formulaire_menu_lang input.submit { display: inline; }
-.page_login .formulaire_login { clear: both; text-align: left; }
-.page_login .formulaire_login fieldset { clear: both; margin: 0; padding: 0 50px; background: none; border: 0; }
-.page_login .formulaire_login fieldset legend { display: none; }
-.page_login .formulaire_login fieldset #spip_logo_auteur { float: rigth; margin-right: -50px; }
-.page_login .formulaire_login fieldset #spip_logo_auteur img { margin-top: 1.5em; }
-.page_login .formulaire_login fieldset .editer-groupe { float: left; }
-.page_login .formulaire_login fieldset .editer-groupe .editer { margin: 0; padding-bottom: 10px; }
-.page_login .formulaire_login fieldset .editer-groupe .editer input.text,
-.page_login .formulaire_login fieldset .editer-groupe .editer input.password { display: inline; width: 90%; margin: 0; font-size: 140%; }
-.page_login .boutons { margin: 20px auto 20px; text-align: center; font-size: 130%; }
-.page_login .retour { clear: both; margin: 0 0 15px 0; }
+.page_login .formulaire_menu_lang input.submit {display: inline;}
+.page_login fieldset { clear: both; margin: 0; padding: 0; background: none; border: 0;}
+.page_login fieldset legend { display: none; }
+.page_login .editer-groupe { width: 100%; }
+.page_login .editer_password .details { margin-top: 0.5em; }
+.page_login .editer_password p { margin-bottom: 0; }
+.page_login .boutons { margin: 1.5em auto 1.5em; text-align: center; }
+.page_login .retour { clear: both; margin: 0 0 1.5em 0; }
 .page_login .generator { margin: 0; }
+#pass_securise img { display: none; }
+.editer_password p { margin-top: 1em; }
+/* logo de l'auteur */
+.page_login .editer_login label { display: block; }
+.page_login #spip_logo_auteur { display: inline-block; vertical-align: middle; }
+.page_login #spip_logo_auteur img { border-radius: 50%; }
+.page_login input[name=var_login]:not(:last-child) { display: inline-block; /* fallback */ width: 82%;  width: calc(100% - 54px); }
 
 /* Couleurs des liens
 ---------------------------------------------- */