Projet

Général

Profil

Paste
Télécharger (4,39 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / webform / css / webform-admin.css @ e9f59ce0

1
/**
2
 * @file
3
 * Styles that are used when viewing results or modifying webform settings.
4
 */
5

    
6
/* Submission view page */
7
.webform-submission-info {
8
  padding: 10px;
9
}
10
.webform-submission-info .user-picture {
11
  float: right;
12
  margin-left: 10px;
13
}
14
.webform-submission-info-text {
15
  overflow: hidden;
16
}
17
.webform-submission-actions {
18
  float: left;
19
}
20
.webform-submission-navigation {
21
  text-align: right;
22
}
23
.webform-submission-next {
24
  margin-left: 20px;
25
}
26

    
27
/* Component table */
28
.webform-component-formkey,
29
.webform-component-value {
30
  max-width: 7em;
31
  word-wrap: break-word;
32
}
33

    
34
/* Analysis pages */
35
.webform-analysis-component {
36
  width: 33.33%;
37
  margin: 0 -2px;
38
  padding: 0;
39
  display: inline-block;
40
  vertical-align: top;
41
}
42
@media all and (max-width: 1024px) {
43
  .webform-analysis-component {
44
    width: 50%;
45
  }
46
}
47
@media all and (max-width: 600px) {
48
  .webform-analysis-component {
49
    width: 100%;
50
  }
51
}
52
.webform-analysis-component-grid {
53
  width: 100%;
54
  clear: both;
55
}
56
.webform-analysis-component-inner {
57
  padding: 12px;
58
  overflow: auto;
59
}
60
.webform-analysis-component table {
61
  width: 100%;
62
}
63
.webform-analysis-component table td {
64
  white-space: normal;
65
}
66

    
67
/* Element for selecting components, i.e. included components for e-mails. */
68
.webform-component-select-wrapper {
69
  max-height: 300px;
70
  overflow: auto;
71
}
72
.webform-component-select-table table {
73
  margin: 0;
74
}
75
.webform-component-select-table tr.selected td,
76
.webform-component-select-table tr.selected td.active {
77
  background: inherit;
78
  color: inherit;
79
}
80
.form-item .webform-component-select-table .description {
81
  font-size: inherit;
82
}
83
.form-item .webform-component-select-table input {
84
  width: 12px;
85
  height: 12px;
86
  margin: 0 2px 2px;
87
}
88
.webform-component-select-suffix {
89
  margin-top: 10px;
90
}
91
.webform-select-list-format table {
92
  border: 1px solid;
93
  width: auto;
94
  font-size: 90%;
95
}
96
.webform-select-list-format td,
97
.webform-select-list-format th {
98
  border: 1px solid;
99
}
100
tr.webform-pagebreak td {
101
  border-top: 2px dotted #999;
102
}
103
td.webform-pagebreak {
104
  font-weight: bold;
105
}
106

    
107
/* Special theming for the options element widget (if installed) */
108
.webform-options-element thead {
109
  display: none;
110
}
111
.webform-options-element fieldset {
112
  border: none;
113
  background: none;
114
  margin: 0;
115
  padding: 0;
116
}
117
.webform-options-element fieldset legend {
118
  display: none;
119
}
120

    
121
/* Checkboxes for allowed file extensions */
122
table.webform-file-extensions td {
123
  vertical-align: top;
124
}
125
table.webform-file-extensions td .description {
126
  white-space: normal;
127
}
128
table.webform-file-extensions .form-type-checkbox {
129
  width: 5em;
130
  float: left;
131
}
132
table.webform-file-extensions input.form-text {
133
  width: 95%;
134
}
135

    
136
/* General styles */
137
.webform-checkbox {
138
  text-align: center;
139
  width: 40px;
140
}
141
.webform-container-inline div,
142
.webform-container-inline div.form-item {
143
  display: inline;
144
}
145
.webform-results-per-page a.selected {
146
  font-weight: bold;
147
}
148

    
149
/* Display of adding/editing components */
150
html.js fieldset.webform-position,
151
html.js div.webform-position {
152
  display: none;
153
}
154
tr.webform-add-form .tabledrag-changed {
155
  display: none;
156
}
157
#webform-emails tr.webform-add-form,
158
#webform-components tr.webform-add-form {
159
  background-color: inherit;
160
}
161

    
162
/* E-mail configuration */
163
html.js .webform-email-mapping {
164
  display: none;
165
}
166
td.webform-email-option {
167
  text-align: right;
168
}
169

    
170
/* Conditionals */
171
.webform-conditional,
172
.webform-conditional-new {
173
  display: block;
174
  position: relative;
175
  padding-left: 1em;
176
  padding-right: 8em;
177
  margin-left: 3em;
178
  max-width: 600px;
179
}
180

    
181
.webform-conditional-new {
182
  text-align: right;
183
  margin-left: 11em;
184
  padding-right: 0;
185
}
186

    
187
.webform-conditional-if {
188
  position: absolute;
189
  left: -.5em;
190
  margin-top: .2em;
191
}
192

    
193
.webform-conditional-rule {
194
  margin: .5em 0;
195
}
196

    
197
.webform-conditional-condition {
198
  display: inline;
199
}
200

    
201
.webform-conditional-operations {
202
  position: absolute;
203
  right: 0;
204
  margin-top: .2em;
205
}
206

    
207
.webform-conditional-new input.form-submit,
208
.webform-conditional-operations input.form-submit {
209
  margin: 0 2px;
210
  padding: 2px 6px;
211
}
212

    
213
#webform-conditionals-table input.progress-disabled,
214
.webform-conditional-operations input.progress-disabled {
215
  float: none;
216
}
217

    
218
#webform-conditionals-table .ahah-progress-throbber {
219
  float: none;
220
  display: inline;
221
}
222

    
223
#webform-conditionals-table .ahah-progress-throbber .throbber {
224
  float: none;
225
  display: inline;
226
  padding-right: 12px;
227
}
228

    
229
.webform-conditional-andor {
230
  display: inline;
231
}
232

    
233
.webform-conditional-andor .form-item {
234
  margin: 0;
235
  padding: 0;
236
}