[SPIP][PLUGINS] v3.0-->v3.2
[lhc/web/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: #db1762; 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_logo { 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 .reponse_formulaire.reponse_formulaire_ok { border: 2px solid; font-weight: normal; padding: 10px; margin-bottom: 20px; color: #264409; border-color: #c6d880; background-color: #e6efc2; }
86
87
88 /* Habillage (en vrac)
89 ---------------------------------------------- */
90
91 .petit-centre { width: 300px; margin: auto; margin-bottom: 20px; text-align: center; }
92 .petit-centre .logo { margin-bottom: 20px; }
93
94 .toile_foncee { background: #777; }
95
96 #etapes { display: block; position: absolute; top: 10px; left: 10px; }
97 #etapes span { display: block; margin-top: -0.50em; padding: 12px 14px; margin-bottom: 5px; }
98 #etapes span em { font-size: 2em; font-weight: bold; }
99 #etapes span span { position: absolute; top: -100px; left: -100px; }
100 #etapes span.ok { background: url(images/etape-ok.gif) center no-repeat; }
101 #etapes span.encours { background: url(images/etape-encours.gif) center no-repeat; }
102 #etapes span.todo { background: url(images/etape-todo.gif) center no-repeat; }
103
104 #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; }
105 #infos_etapes.infos_etape_4 { background-image: url(images/degrade-etapes-rose-left.gif); background-color: #db1762; }
106 #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; }
107 #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; }
108 #infos_etapes li em {float:left;position:absolute;top:-1000px;}
109 #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; }
110 #infos_etapes li.on { background-image: url(images/degrade-etapes-rose-left.gif); color: #fff; font-weight: bold; }
111 #infos_etapes li.on .fond { background-color: #db1762; background-image: url(images/degrade-etapes-rose-left.gif); }
112 #infos_etapes li.erreur { background-image: url(images/degrade-etapes-rouge-left.gif); }
113 #infos_etapes li.erreur .fond { background-color: #ff6868; background-image: url(images/degrade-etapes-rouge-left.gif); }
114 #infos_etapes li.valides { color: white; }
115 #infos_etapes li.prochains { background-image: url(images/degrade-etapes-clair-left.gif); }
116 #infos_etapes li.prochains .fond { background-color: #dbdbdb;background-image: url(images/degrade-etapes-clair-left.gif); }
117
118 /* installation des plugins */
119 .error,
120 .success,
121 .notice {border:2px solid; font-weight: normal;padding:10px;margin-bottom:20px;}
122 .success {color: #264409;border-color: #c6d880;background-color:#e6efc2;}
123 .error {color: #8a1f11;border-color: #fbc2c4;background-color:#fbe3e4;}
124 .notice {color: #514721;border-color: #ffd324;background-color:#fff6bf;}
125
126 .install-plugins {position:relative;margin-bottom: 0;}
127 .install-plugins.success + .install-plugins.success {margin-top: 0;border-top: 0;}
128 .install-plugins.error + .install-plugins.error {margin-top: 0;border-top: 0;}
129 .install-plugins .result {display:block;position:absolute;top:10px;right:10px;font-weight:bold;}
130 .install-plugins .success {display: none;} /* ne pas afficher les installations ok mais seulement les echecs */
131
132 /* Page de login
133 ---------------------------------------------- */
134 .page_login { text-align: center; }
135 .page_login #minipres { width: 30em; }
136 .page_login #minipres h3 { margin: 0; }
137 .page_login .formulaire_menu_lang { text-align: center; }
138 .page_login .formulaire_menu_lang label { display: none; }
139 .page_login .formulaire_menu_lang select { display: inline; }
140 .page_login .formulaire_menu_lang .boutons,
141 .page_login .formulaire_menu_lang input.submit { display: inline; }
142 .page_login .formulaire_login { clear: both; text-align: left; }
143 .page_login .formulaire_login fieldset { clear: both; margin: 0; padding: 0 50px; background: none; border: 0; }
144 .page_login .formulaire_login fieldset legend { display: none; }
145 .page_login .formulaire_login fieldset #spip_logo_auteur { float: rigth; margin-right: -50px; }
146 .page_login .formulaire_login fieldset #spip_logo_auteur img { margin-top: 1.5em; }
147 .page_login .formulaire_login fieldset .editer-groupe { float: left; }
148 .page_login .formulaire_login fieldset .editer-groupe .editer { margin: 0; padding-bottom: 10px; }
149 .page_login .formulaire_login fieldset .editer-groupe .editer input.text,
150 .page_login .formulaire_login fieldset .editer-groupe .editer input.password { display: inline; width: 90%; margin: 0; font-size: 140%; }
151 .page_login .boutons { margin: 20px auto 20px; text-align: center; font-size: 130%; }
152 .page_login .retour { clear: both; margin: 0 0 15px 0; }
153 .page_login .generator { margin: 0; }
154
155 /* Couleurs des liens
156 ---------------------------------------------- */
157 a { color: #db1762; text-decoration: none; }
158 a:focus,
159 a:hover { color: #922149; text-decoration: underline; }
160 a:active { color: #922149; }
161
162 /* end */