[SPIP] ~maj SPIP v3.0.17 --> v3.0.19
[lhc/web/clavette_www.git] / www / prive / themes / spip / minipres.css
1 /* Correction des styles par defaut
2 ---------------------------------------------- */
3 html { font-size: 100%; } /* Cf.: http://pompage.net/pompe/definir-des-tailles-de-polices-en-CSS/ */
4 body { font: .75em/1.5em Verdana, Geneva, sans-serif; color: #222; }
5 input, textarea, select { font-size: 100%; font-family: inherit; }
6
7 h1 { margin: 0 auto 1.5em auto; font-size: 1.3em; font-weight: bold; color: #5c3566; text-align: center; }
8 h2 { margin: 0 0 1.5em 0; font-size: 1.2em; font-weight: normal; }
9 h3 { margin: 0 auto 1.5em auto; font-size: 1em; font-weight: bold; }
10 p,.p { display: block; margin: 0 0 1.5em 0; }
11
12 img, .spip_logos { margin: 0; padding: 0; border: 0; }
13 strong, b { font-weight: bold; }
14 em, i { font-style: italic; }
15 small,.small { font-size: .9em; }
16 ul.spip { list-style: square; margin-bottom:1.5em;}
17 ul.spip ul { list-style: circle; }
18 ol.spip { list-style: decimal; margin-bottom:1.5em;}
19 ul.spip li, ol.spip li {margin-left:50px;}
20 ul.spip li li, ol.spip li li {margin-left:25px}
21
22
23
24 /* LAYOUT / Disposition a l'ecran
25 ---------------------------------------------- */
26 body { padding: 5%; }
27
28 #minipres { position: relative; margin: 0 auto; padding: 20px; background: #fff repeat; }
29 .quitter_fenetre { position: absolute; right: 20px; top: 20px; }
30 .quitter_fenetre a { display: block; width: 20px; height: 20px; background: url(images/fermer-16.png) no-repeat right center; color: #FFF; text-indent: -999em; }
31
32 @media (min-width: 640px) {
33 #minipres { width: 540px; border: 1px solid #EEE;
34 -webkit-border-radius: 20px; -moz-border-radius: 20px; border-radius: 20px;
35 -webkit-box-shadow: 0 0 20px #666; -moz-box-shadow: 0 0 20px #666; box-shadow: 0 0 20px #666; }
36 }
37
38 @media (max-width: 640px) {
39 body { padding: 5% 1%; }
40 #minipres { width: auto; background: transparent; }
41 fieldset { border-radius: 10px; }
42 #etapes, #infos_etapes { display: none; }
43 }
44
45 @media screen and (max-width:640px) and (orientation: landscape) {
46 body { -webkit-text-size-adjust: 70%; }
47 }
48
49 /* Formulaires
50 ---------------------------------------------- */
51 .formulaire_spip { clear: both; margin-bottom: 20px; padding: 0; background: none; border: 0; text-align: left; }
52 .formulaire_spip form { margin: 0; padding: 0; } /* Bug IE/Win */
53 .boutons { margin: 20px 0; text-align: right; }
54
55 .formulaire_spip fieldset,
56 fieldset,
57 .fieldset { margin: 0 0 20px; padding: 20px; padding-bottom: 1px; background: #fff; border: 1px solid #CCC; border-radius: 3px; text-align: left; }
58 legend { font-weight: bold; color: #333; } /* Preciser la couleur des legend pour IE/Win */
59 label {}
60
61 .formulaire_spip fieldset ul { margin: 0; padding: 0; list-style: none; }
62 .formulaire_spip fieldset ul li { clear: both; margin: 0 0 20px; padding: 0; }
63 .formulaire_spip fieldset ul li label,
64 .formulaire_spip fieldset ul li .erreur_message,
65 .formulaire_spip fieldset ul li .details { display: block; width: auto; margin: 0; }
66
67 .formo,
68 input.text,
69 input.password { width: 50%; display: block; margin-bottom: 20px; background: #f8f8f9 center bottom; padding: 4px; border: 1px inset; border-radius: 3px; }
70 .formo,
71 input.text,
72 input.password,
73 select { font-size: 120%; }
74
75 .formulaire_spip .choix label { display: inline; font-weight: normal; }
76 .formulaire_spip .choix input.radio,
77 .formulaire_spip .choix input.checkbox { width: auto; }
78
79 /* erreur */
80 .formulaire_spip fieldset ul li.erreur {}
81 .formulaire_spip fieldset ul li.erreur input { border-color: red; background-color: #FCC; }
82 .reponse_formulaire,
83 .erreur_message { font-weight: bold; color: red; }
84
85
86 /* Habillage (en vrac)
87 ---------------------------------------------- */
88
89 .petit-centre { width: 300px; margin: auto; margin-bottom: 20px; text-align: center; }
90
91 .toile_foncee { background: #777; }
92
93 #etapes { display: block; position: absolute; top: 10px; left: 10px; }
94 #etapes span { display: block; margin-top: -0.50em; padding: 12px 14px; margin-bottom: 5px; }
95 #etapes span em { font-size: 2em; font-weight: bold; }
96 #etapes span span { position: absolute; top: -100px; left: -100px; }
97 #etapes span.ok { background: url(images/etape-ok.gif) center no-repeat; }
98 #etapes span.encours { background: url(images/etape-encours.gif) center no-repeat; }
99 #etapes span.todo { background: url(images/etape-todo.gif) center no-repeat; }
100
101 #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; }
102 #infos_etapes.infos_etape_4 { background-image: url(images/degrade-etapes-vert-left.gif); background-color: green; }
103 #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; }
104 #infos_etapes li .fond { width: 100px; height: 69px; padding-right: 30px; padding-top: 10px; background: url(images/degrade-etapes-fonce-left.gif) no-repeat -30px top; }
105 #infos_etapes li em {float:left;position:absolute;top:-1000px;}
106 #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; }
107 #infos_etapes li.on { background-image: url(images/degrade-etapes-vert-left.gif); color: #fff; font-weight: bold; }
108 #infos_etapes li.on .fond { background-color: #88f560; background-image: url(images/degrade-etapes-vert-left.gif); }
109 #infos_etapes li.erreur { background-image: url(images/degrade-etapes-rouge-left.gif); }
110 #infos_etapes li.erreur .fond { background-color: #ff6868; background-image: url(images/degrade-etapes-rouge-left.gif); }
111 #infos_etapes li.prochains { background-image: url(images/degrade-etapes-clair-left.gif); }
112 #infos_etapes li.prochains .fond { background-color: #dbdbdb;background-image: url(images/degrade-etapes-clair-left.gif); }
113
114 /* installation des plugins */
115 .error,
116 .success,
117 .notice {border:2px solid; font-weight: normal;padding:10px;margin-bottom:20px;}
118 .success {color: #264409;border-color: #C6D880;background-color:#E6EFC2;}
119 .error {color: #8A1F11;border-color: #FBC2C4;background-color:#FBE3E4;}
120 .notice {color: #514721;border-color: #FFD324;background-color:#FFF6BF;}
121
122 .install-plugins {position:relative;margin-bottom: 0;}
123 .install-plugins.success + .install-plugins.success {margin-top: 0;border-top: 0;}
124 .install-plugins.error + .install-plugins.error {margin-top: 0;border-top: 0;}
125 .install-plugins .result {display:block;position:absolute;top:10px;right:10px;font-weight:bold;}
126 .install-plugins .success {display: none;} /* ne pas afficher les installations ok mais seulement les echecs */
127
128 /* Page de login
129 ---------------------------------------------- */
130 .page_login { text-align: center; }
131 .page_login #minipres { width: 30em; }
132 .page_login #minipres h3 { margin: 0; }
133 .page_login .formulaire_menu_lang { text-align: center; }
134 .page_login .formulaire_menu_lang label { display: none; }
135 .page_login .formulaire_menu_lang select { display: inline; }
136 .page_login .formulaire_menu_lang .boutons,
137 .page_login .formulaire_menu_lang input.submit { display: inline; }
138 .page_login .formulaire_login { clear: both; text-align: left; }
139 .page_login .formulaire_login fieldset { clear: both; margin: 0; padding: 0 50px; background: none; border: 0; }
140 .page_login .formulaire_login fieldset legend { display: none; }
141 .page_login .formulaire_login fieldset #spip_logo_auteur { float: rigth; margin-right: -50px; }
142 .page_login .formulaire_login fieldset #spip_logo_auteur img { margin-top: 1.5em; }
143 .page_login .formulaire_login fieldset ul { float: left; }
144 .page_login .formulaire_login fieldset ul li { margin: 0; padding-bottom: 10px; }
145 .page_login .formulaire_login fieldset ul li input.text,
146 .page_login .formulaire_login fieldset ul li input.password { display: inline; width: 90%; margin: 0; font-size: 140%; }
147 .page_login .boutons { margin: 20px auto 30px; text-align: center; font-size: 130%; }
148 .page_login .retour { clear: both; margin: 0 0 5px 0; }
149 .page_login .generator { margin: 0; }
150
151 /* Couleurs des liens
152 ---------------------------------------------- */
153 a { color: #75507b; text-decoration: none; }
154 a:focus,
155 a:hover { color: #e86519; text-decoration: underline; }
156 a:active { color: #8ae234; }
157
158 /* end */