Projet

Général

Profil

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

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

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
/* Checkboxes for allowed file extensions */
108
table.webform-file-extensions td {
109
  vertical-align: top;
110
}
111
table.webform-file-extensions td .description {
112
  white-space: normal;
113
}
114
table.webform-file-extensions .form-type-checkbox {
115
  width: 5em;
116
  float: left;
117
}
118
table.webform-file-extensions input.form-text {
119
  width: 95%;
120
}
121

    
122
/* General styles */
123
.webform-checkbox {
124
  text-align: center;
125
  width: 40px;
126
}
127
.webform-container-inline div,
128
.webform-container-inline div.form-item {
129
  display: inline;
130
}
131
.webform-results-per-page a.selected {
132
  font-weight: bold;
133
}
134

    
135
/* Display of adding/editing components */
136
html.js fieldset.webform-position,
137
html.js div.webform-position {
138
  display: none;
139
}
140
tr.webform-add-form .tabledrag-changed {
141
  display: none;
142
}
143
#webform-emails tr.webform-add-form,
144
#webform-components tr.webform-add-form {
145
  background-color: inherit;
146
}
147

    
148
/* E-mail configuration */
149
html.js .webform-email-mapping {
150
  display: none;
151
}
152
td.webform-email-option {
153
  text-align: right;
154
}
155

    
156
/* Conditionals */
157
.webform-conditional,
158
.webform-conditional-new {
159
  display: block;
160
  position: relative;
161
  padding-left: 1em;
162
  padding-right: 9em;
163
  margin-left: 3em;
164
  max-width: 750px;
165
}
166

    
167
.webform-conditional-new {
168
  text-align: right;
169
  margin-left: 12em;
170
  padding-right: 0;
171
}
172

    
173
.webform-conditional-if {
174
  position: absolute;
175
  left: -.5em;
176
  margin-top: .2em;
177
}
178

    
179
.webform-conditional-rule {
180
  margin: .5em 0;
181
}
182

    
183
.webform-conditional-condition {
184
  display: inline;
185
}
186

    
187
.webform-conditional-operations {
188
  position: absolute;
189
  right: 0;
190
  margin-top: .1em;
191
}
192

    
193
.webform-andor {
194
  padding-left: 0.5em;
195
}
196
.webform-subconditional {
197
  font-size: 1.5em;
198
  line-height: 0;
199
}
200

    
201
.webform-indentation {
202
  float: left;
203
  width: 2em;
204
}
205

    
206
.webform-conditional-new input[disabled] {
207
  visibility: hidden;
208
}
209

    
210
.webform-conditional-new input.form-submit,
211
.webform-conditional-operations input.form-submit {
212
  margin: 0 2px;
213
  padding: 0 6px 2px 6px;
214
}
215

    
216
#webform-conditionals-table input.progress-disabled,
217
.webform-conditional-operations input.progress-disabled {
218
  float: none;
219
}
220

    
221
#webform-conditionals-table .ahah-progress-throbber {
222
  float: none;
223
  display: inline;
224
}
225

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

    
232
.webform-conditional-andor {
233
  display: inline;
234
}
235

    
236
.webform-conditional-andor .form-item {
237
  margin: 0;
238
  padding: 0;
239
}