Skip to content
Extraits de code Groupes Projets
Valider faf3b54c rédigé par tetue's avatar tetue
Parcourir les fichiers

CSS cosmetique : amelioration de la lisibilite des ecrans d'installation /...

CSS cosmetique : amelioration de la lisibilite des ecrans d'installation / repond en partie au ticket #1473
parent 91a8e512
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -195,7 +195,7 @@ function info_progression_etape($en_cours,$phase,$dir, $erreur = false){ ...@@ -195,7 +195,7 @@ function info_progression_etape($en_cours,$phase,$dir, $erreur = false){
$etat = 'todo'; $etat = 'todo';
*/ */
if ($debut < $last) { if ($debut < $last) {
if ($debut == $en_cours && $erreur) $class = "erreur"; if ($debut == $en_cours && $erreur) $class = "on erreur";
else if ($debut == $en_cours) $class = "on"; else if ($debut == $en_cours) $class = "on";
else if ($debut > $en_cours) $class = "prochains"; else if ($debut > $en_cours) $class = "prochains";
else $class = "valides"; else $class = "valides";
...@@ -325,7 +325,7 @@ function install_connexion_form($db, $login, $pass, $predef, $hidden, $etape) ...@@ -325,7 +325,7 @@ function install_connexion_form($db, $login, $pass, $predef, $hidden, $etape)
// Passer l'avertissement SQLIte en commentaire, on pourra facilement le supprimer par la suite sans changer les traductions. // Passer l'avertissement SQLIte en commentaire, on pourra facilement le supprimer par la suite sans changer les traductions.
. "<br /><small>(". _T('install_types_db_connus_avertissement') .')</small>' . "<br /><small>(". _T('install_types_db_connus_avertissement') .')</small>'
.'</label>' .'</label>'
. "\n<div style='text-align: center;'><select name='server_db' id='sql_serveur_db' >" . "\n<div><select name='server_db' id='sql_serveur_db' >"
. ($mysql . ($mysql
? "\n<option value='mysql'>"._T('install_select_type_mysql')."</option>" ? "\n<option value='mysql'>"._T('install_select_type_mysql')."</option>"
: '') : '')
......
...@@ -22,7 +22,7 @@ function install_etape__dist() ...@@ -22,7 +22,7 @@ function install_etape__dist()
} else { } else {
include_spip('inc/presentation'); // pour info_copyright include_spip('inc/presentation'); // pour info_copyright
$res = "<div><img alt='SPIP' src='" . chemin_image('logo-spip2.gif') . "' /></div>\n" . $res = "<div class='petit-centre'><img alt='SPIP' src='" . chemin_image('logo-spip2.gif') . "' /></div>\n" .
"<div class='petit-centre'><p>" .info_copyright() ."</p></div>\n" . "<div class='petit-centre'><p>" .info_copyright() ."</p></div>\n" .
"<p>" ._T('install_select_langue') ."</p>" . "<p>" ._T('install_select_langue') ."</p>" .
"<div>" .$menu_langues ."</div>\n" . "<div>" .$menu_langues ."</div>\n" .
......
...@@ -159,7 +159,7 @@ function install_etape_2_form($hidden, $checked, $res, $etape) ...@@ -159,7 +159,7 @@ function install_etape_2_form($hidden, $checked, $res, $etape)
. "\n<input name=\"choix_db\" value=\"new_spip\" type='radio' id='nou'" . "\n<input name=\"choix_db\" value=\"new_spip\" type='radio' id='nou'"
. ($checked ? '' : " checked='checked'") . ($checked ? '' : " checked='checked'")
. " />\n<label for='nou'>"._T('info_creer_base')."</label></p>\n<p>" . " />\n<label for='nou'>"._T('info_creer_base')."</label></p>\n<p>"
. "\n<input type='text' name='table_new' class='fondl' value=\"spip\" size='20' /></p></fieldset>\n" . "\n<input type='text' name='table_new' class='text' value=\"spip\" size='20' /></p></fieldset>\n"
) )
. ((defined('_INSTALL_TABLE_PREFIX') . ((defined('_INSTALL_TABLE_PREFIX')
...@@ -167,7 +167,7 @@ function install_etape_2_form($hidden, $checked, $res, $etape) ...@@ -167,7 +167,7 @@ function install_etape_2_form($hidden, $checked, $res, $etape)
? '<h3>'._T('install_table_prefix_hebergeur').' <tt>'.$GLOBALS['table_prefix'].'</tt>'.'</h3>' ? '<h3>'._T('install_table_prefix_hebergeur').' <tt>'.$GLOBALS['table_prefix'].'</tt>'.'</h3>'
: "<fieldset><legend>"._T('texte_choix_table_prefix')."</legend>\n" : "<fieldset><legend>"._T('texte_choix_table_prefix')."</legend>\n"
. "<p><label for='table_prefix'>"._T('info_table_prefix')."</label></p><p>" . "<p><label for='table_prefix'>"._T('info_table_prefix')."</label></p><p>"
. "\n<input type='text' id='tprefix' name='tprefix' class='fondl' value='" . "\n<input type='text' id='tprefix' name='tprefix' class='text' value='"
. 'spip' # valeur par defaut . 'spip' # valeur par defaut
. "' size='20' /></p></fieldset>" . "' size='20' /></p></fieldset>"
) )
......
...@@ -77,7 +77,7 @@ function install_etape_ldap3_dist() ...@@ -77,7 +77,7 @@ function install_etape_ldap3_dist()
. "\n<input type='hidden' name='tls_ldap' value=\"$tls_ldap\" />" . "\n<input type='hidden' name='tls_ldap' value=\"$tls_ldap\" />"
. "\n<fieldset>" . "\n<fieldset>"
. "<input type='text' name='base_ldap_text' class='formo' value=\"$base_ldap_text\" size='40' />" . "<input type='text' name='base_ldap_text' class='text' value=\"$base_ldap_text\" size='40' />"
. "\n</fieldset>" . "\n</fieldset>"
. bouton_suivant())); . bouton_suivant()));
......
...@@ -110,7 +110,7 @@ function install_etape_sup1_form($hidden, $checked, $bases, $etape) ...@@ -110,7 +110,7 @@ function install_etape_sup1_form($hidden, $checked, $bases, $etape)
. "<label for='nou'><b>" . "<label for='nou'><b>"
._T('config_choix_base_sup') ._T('config_choix_base_sup')
."</b></label></p>\n" ."</b></label></p>\n"
. "\n<input type='text' name='table_new' class='fondl' size='20' /></p></fieldset>\n" . "\n<input type='text' name='table_new' class='text' size='20' /></p></fieldset>\n"
. bouton_suivant())); . bouton_suivant()));
} }
?> ?>
/* Correction des styles par defaut /* Correction des styles par defaut
---------------------------------------------- */ ---------------------------------------------- */
html { font-size: 100%; } /* Cf.: http://pompage.net/pompe/definir-des-tailles-de-polices-en-CSS/ */ html { font-size: 100%; } /* Cf.: http://pompage.net/pompe/definir-des-tailles-de-polices-en-CSS/ */
body { font: 1em sans-serif; color: #2e3436; } body { font: .9em sans-serif; color: #2e3436; }
input, textarea, select { font-size: 100%; font-family: inherit; } input, textarea, select { font-size: 100%; font-family: inherit; }
h1 { margin: 1em 0 1em 0; font-size: 1.2em; font-weigth: bold; color: #5c3566; } h1 { margin: 1em auto; font-size: 1.2em; font-weigth: bold; color: #5c3566; text-align: center; }
h2 { margin: 0.80em 0 0.80em 0; font-size: 1.1em; font-weigth: normal; } h2 { margin: 0.80em 0 0.80em 0; font-size: 1.1em; font-weigth: normal; }
img, .spip_logos { margin: 0; padding: 0; border: 0; } img, .spip_logos { margin: 0; padding: 0; border: 0; }
...@@ -22,27 +22,29 @@ body { background: #babdb6 url(images/minipres-gris.png) no-repeat scroll 97% 10 ...@@ -22,27 +22,29 @@ body { background: #babdb6 url(images/minipres-gris.png) no-repeat scroll 97% 10
/* Habillage (en vrac) /* Habillage (en vrac)
---------------------------------------------- */ ---------------------------------------------- */
fieldset, .fieldset { text-align: left; padding: 0; border: 0; margin-top: 1em; font-size: 0.90em; } fieldset, .fieldset { text-align: left; padding: 0; border: 0; margin-top: 1em; font-size: .95em; }
legend { font-weight: bold; font-size: 1.1em; color: #000; } /* Preciser la couleur des legend pour IE/Win */ legend { font-weight: bold; font-size: 1em; color: #333; } /* Preciser la couleur des legend pour IE/Win */
label {} label {}
.reponse_formulaire, .erreur_message { font-weight: bold; color: red; } .reponse_formulaire, .erreur_message { font-weight: bold; color: red; }
body.minipres fieldset, body.minipres .fieldset { border: 1px solid #ccc; padding: 10px; font-family: helvetica, arial, sans; } body.minipres fieldset, body.minipres .fieldset { border: 1px solid #ccc; padding: 1em; }
#minipres { width: 40em; background: #fff repeat; margin: 1em auto; padding: 1em; border: 1px solid #888; text-align: center; } #minipres { width: 38em; background: #fff repeat; margin: 1em auto; padding: 1em; border: 1px solid #888; }
.pass #minipres { width: 90%; } .pass #minipres { width: 90%; }
.petit-centre { font-family: Verdana, Geneva, Sans, sans-serif; font-size: 1em; } .petit-centre { font-size: .8em; text-align: center; }
.petit-centre p { text-align: center; } .petit-centre p { width: 300px; margin: auto; }
.suivant { display: block; margin-top: 1em; text-align: right; } .suivant { display: block; margin-top: 1em; text-align: right; }
.toile_foncee { background: #777; } .toile_foncee { background: #777; }
.fondl { background-color: #eee; background-position: center bottom; padding: 3px; border: 1px solid #333; font-size: 0.90em; font-family: Verdana, Geneva, Sans, sans-serif; } #minipres label { color: #333; }
.formo { width: 100%; display: block; background-color: #fff; background-position: center bottom; margin-bottom: 1em; padding: 3px; border: 1px solid #333; behavior: url(win_width.htc); font-size: 1em; font-family: Verdana, Geneva, Sans, sans-serif; } .fondl { /*background-color: #eee; background-position: center bottom; padding: 3px; border: 1px solid #333; font-size: 0.90em;*/ }
.formo, input.text, input.password { width: 50%; display: block; background-color: #f8f8f9; background-position: center bottom; margin-bottom: 1em; padding: 3px; border: 1px inset #333; behavior: url(win_width.htc); }
.formo, input.text, input.password, select { font-size: 1.1em; }
p.resultat { background-color: #fcaf3e; padding: 0.20em 0.10em; text-align: center; color: #fff; font-weight: bold; } p.resultat { background-color: #fcaf3e; padding: 0.20em 0.10em; text-align: center; color: #fff; font-weight: bold; }
p.resultat.ok { background-color: #73d216; } p.resultat.ok { background-color: #73d216; }
...@@ -58,7 +60,7 @@ p.resultat.echec { background-color: #d60c0c; } ...@@ -58,7 +60,7 @@ p.resultat.echec { background-color: #d60c0c; }
#infos_etapes { height: 63px; overflow: hidden; margin: 0; padding: 0; padding-left: 10px; background: #dbdbdb url(../prive/images/degrade-etapes-clair-left.gif) no-repeat right top; text-align: left; font-family: helvetica, arial, sans; list-style: none; } #infos_etapes { height: 63px; overflow: hidden; margin: 0; padding: 0; padding-left: 10px; background: #dbdbdb url(../prive/images/degrade-etapes-clair-left.gif) no-repeat right top; text-align: left; font-family: helvetica, arial, sans; list-style: none; }
#infos_etapes li { float: left; margin-left: -28px; padding-left: 29px; background: url(../prive/images/degrade-etapes-clair-left.gif) no-repeat left top; color: #555; text-align: left; font-size: 0.85em; line-height: 1.05em; } #infos_etapes li { float: left; margin-left: -28px; padding-left: 29px; background: url(../prive/images/degrade-etapes-clair-left.gif) no-repeat left top; color: #555; text-align: left; font-size: 0.85em; line-height: 1.05em; }
#infos_etapes li .fond { width: 9em; height: 69px; padding-right: 2em; padding-top: 10px; background: url(../prive/images/degrade-etapes-clair-left.gif) no-repeat -30px top; } #infos_etapes li .fond { width: 8em; height: 69px; padding-right: 2em; padding-top: 10px; background: url(../prive/images/degrade-etapes-clair-left.gif) no-repeat -30px top; }
#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 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(../prive/images/degrade-etapes-vert-left.gif); color: #fff; font-weight: bold; } #infos_etapes li.on { background-image: url(../prive/images/degrade-etapes-vert-left.gif); color: #fff; font-weight: bold; }
#infos_etapes li.on .fond { background-color: #88f560; background-image: url(../prive/images/degrade-etapes-vert-left.gif); } #infos_etapes li.on .fond { background-color: #88f560; background-image: url(../prive/images/degrade-etapes-vert-left.gif); }
...@@ -67,12 +69,12 @@ p.resultat.echec { background-color: #d60c0c; } ...@@ -67,12 +69,12 @@ p.resultat.echec { background-color: #d60c0c; }
/* Page de login /* Page de login
---------------------------------------------- */ ---------------------------------------------- */
.page_login { text-align: center; } .page_login { text-align: center; }
.page_login #minipres { width: 25em; } .page_login #minipres { width: 28em; }
.page_login .formulaire_menu_lang { float: right; font-size: 0.80em; } .page_login .formulaire_menu_lang { float: right; font-size: .9em; }
.page_login .formulaire_menu_lang label { display: none; } .page_login .formulaire_menu_lang label { display: none; }
.page_login .formulaire_menu_lang select { display: inline; } .page_login .formulaire_menu_lang select { display: inline; }
.page_login .formulaire_menu_lang input.submit { display: inline; } .page_login .formulaire_menu_lang input.submit { display: inline; }
.page_login .formulaire_login { clear: both; text-align: left; font-size: 0.80em; } .page_login .formulaire_login { clear: both; text-align: left; font-size: .9em; }
.page_login .formulaire_login fieldset { margin: 0; padding: 0; border: 1px solid #babdb6; padding: 1em; font-size: 1em; } .page_login .formulaire_login fieldset { margin: 0; padding: 0; border: 1px solid #babdb6; padding: 1em; font-size: 1em; }
.page_login .formulaire_login fieldset .spip_logos { float: right; padding-left: 5px; } .page_login .formulaire_login fieldset .spip_logos { float: right; padding-left: 5px; }
.page_login .formulaire_login fieldset ul { float: left; width: 70%; margin: 0; padding: 0; list-style: none; } .page_login .formulaire_login fieldset ul { float: left; width: 70%; margin: 0; padding: 0; list-style: none; }
...@@ -82,9 +84,15 @@ p.resultat.echec { background-color: #d60c0c; } ...@@ -82,9 +84,15 @@ p.resultat.echec { background-color: #d60c0c; }
.page_login .formulaire_login fieldset ul li .details { display: block; width: auto; } .page_login .formulaire_login fieldset ul li .details { display: block; width: auto; }
.page_login .formulaire_login fieldset ul li label.nofx { display: inline; } .page_login .formulaire_login fieldset ul li label.nofx { display: inline; }
.page_login .formulaire_login fieldset ul li input.text, .page_login .formulaire_login fieldset ul li input.text,
.page_login .formulaire_login fieldset ul li input.password { width: 11em; } .page_login .formulaire_login fieldset ul li input.password { width: 11em; margin: 0; display: inline; }
.page_login .boutons { text-align: right; } .page_login .boutons { text-align: right; }
.page_login .retour { clear: both; text-align: center; font-size: 0.80em; } .page_login .retour { clear: both; text-align: center; font-size: .9em; }
/* Oublie du mot de passe
---------------------------------------------- */
body.pass #minipres {}
body.pass .formulaire_spip { background: none; border: none; margin: 0; padding: 0; }
/* Couleurs des liens /* Couleurs des liens
......
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