Statistiques
| Révision :

root / tei / css / spip_formulaires.css @ 2

Historique | Voir | Annoter | Télécharger (4,7 ko)

1
/*  ------------------------------------------
2
/*  Habillage des formulaires
3
/*  ------------------------------------------ */
4
input, select, textarea { font-size: 100%; font-family: inherit; }
5

    
6

    
7
/* Structure generale des formulaires
8
----------------------------------------------- */
9
.formulaire_spip { clear: both; margin-bottom: 2em; padding: 0; border: 0; text-align: left; font-size: 1em; }
10
.formulaire_spip form { margin: 0; padding: 0; } /* Bug IE/Win */
11

    
12
/* Fieldset */
13
.formulaire_spip fieldset { clear: both; margin: 0 0 1em 0; padding: 0; border: 0; }
14
.formulaire_spip fieldset legend { margin: 0; padding: 0; font-size: 1.05em; font-weight: bold; background-color: #fff; color: #333; } /* Preciser la couleur des legend et du fond pour IE/Win */
15
.formulaire_spip fieldset fieldset { margin-top: 1em; }
16
.formulaire_spip fieldset fieldset legend { font-size: 1em; font-weight: normal; }
17

    
18
/* Explications */
19
.formulaire_spip .explication { margin: 0.50em 0; color: #444; }
20

    
21
/* Lignes */
22
.formulaire_spip ul { margin: 0; padding: 0; list-style: none; }
23
.formulaire_spip ul li { clear: both; margin: 0; padding: 0.50em 0; }
24

    
25
/* Labels */
26
.formulaire_spip label { display: block; text-align: left; color: #444; font-weight: bold; /* pour IE/Win */ position: relative;  }
27
.formulaire_spip li p { margin-top: 0; margin-bottom: 0; }
28

    
29
.formulaire_spip .choix label{display:inline;font-weight:normal;}
30
.formulaire_spip .choix input.radio,
31
.formulaire_spip .choix input.checkbox {width:auto;}
32

    
33

    
34
/* Champs de saisie */
35
.formulaire_spip input.text { width: 15em; border: 1px inset; }
36
.formulaire_spip textarea { width: 99%; border: 1px inset; }
37
.formulaire_spip select { width: 99%; }
38

    
39
/* Boutons */
40
.formulaire_spip .boutons { clear: both; margin: 0; padding: 0; text-align: right; }
41
.formulaire_spip .boutons input { margin-left: 1em; }
42
.formulaire_spip .boutons input, input.submit {}
43

    
44

    
45
/* Reponses, previsu et erreurs
46
----------------------------------------------- */
47

    
48
/* Champs obligatoires */
49
.formulaire_spip li.obligatoire {}
50
.formulaire_spip li.obligatoire label {}
51

    
52
/* Previsualisation du message */
53
.formulaire_spip fieldset.previsu { margin-bottom: 2em; padding: 1em; border: 2px dashed #F57900; }
54
.formulaire_spip fieldset.previsu legend { padding: 0 0.50em; font-weight: bold; color: #F57900; }
55
.formulaire_spip fieldset.previsu li { padding: 3px; border: none; }
56
.formulaire_spip fieldset.previsu p { margin: 1em 0; } 
57

    
58
/* Reponse du formulaire */
59
.reponse_formulaire { font-weight: bold; color: #e86519; font-size: 1.20em; }
60
fieldset.reponse_formulaire { border-color: #e86519; font-weight: normal; }
61
fieldset.reponse_formulaire.reponse_formulaire legend { color: #F57900; } /* Preciser la couleur des legend et du fond pour IE/Win */
62

    
63
/* * Erreurs */
64
.formulaire_spip li.erreur .erreur_message { display: block; color: #C30; font-weight: bold; }
65
.formulaire_spip li.erreur input.text, .formulaire_spip li.erreur textarea { background-color: #FCC; border-style: solid; border-color: #C30; }
66
.reponse_formulaire_erreur { margin: 0; color: #C30; font-weight: bold; }
67

    
68
/* * OK */
69
.reponse_formulaire_ok { margin: 0; color: #53AD20; font-weight: bold; }
70

    
71

    
72
/* Variantes et cas particuliers
73
----------------------------------------------- */
74

    
75
/* Barre de raccourcis typographiques */
76
table.spip_barre { width: 100%; }
77
table.spip_barre a img { background: #FDA; padding: 3px; border: 1px outset #CC9; }
78
table.spip_barre a:focus img,
79
table.spip_barre a:hover img,
80
table.spip_barre a:active img { background: #FFF; border: 1px solid #CC9; }
81
table.spip_barre input.barre { width: 99%; background: transparent; border: 0; color:inherit; }
82

    
83
/* Formulaire de forum */
84
.formulaire_forum .saisie_titre input.text, .formulaire_forum .saisie_titre textarea { width: 98%; }
85

    
86
/* Selection des langues */
87
.formulaire_menu_lang { margin: 0; padding: 0; background: none; }
88

    
89
/* Formulaires de recherche (site / petitions) */
90
.formulaire_recherche { margin: 0; padding: 0; background: none; }
91
.formulaire_recherche * { display: inline; vertical-align: middle; }
92
.formulaire_recherche label {}
93
.formulaire_recherche input.text { width: 10em; padding-left: 25px; background: #FFF url(rechercher.gif) no-repeat left center; }
94
.formulaire_recherche input.submit {}
95

    
96
.spip_surligne {} /* Cf.: spip_style.css */
97

    
98
/* Choix des mots-clefs */
99
ul.choix_mots { display: block; margin: 0; padding: 0; list-style: none; }
100
ul.choix_mots li { clear: none; float: left; display: block; width: 30%; padding: 1%; }
101
ul.choix_mots li label { display: inline; font-weight: normal; }
102

    
103
.formulaire_spip .bugajaxie { display: none; } /* Bug IE/Win */
104

    
105
/* Formulaire de login dans une page */
106
.formulaire_login ul li {clear:left;}
107
.formulaire_login .editer_password .details {display:block;}
108
.formulaire_login #spip_logo_auteur {float:right;}