Projet

Général

Profil

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

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

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
/* Analysis pages */
28
.webform-analysis-component {
29
  width: 33.33%;
30
  margin: 0 -2px;
31
  padding: 0;
32
  display: inline-block;
33
  vertical-align: top;
34
}
35
@media all and (max-width: 1024px) {
36
  .webform-analysis-component {
37
    width: 50%;
38
  }
39
}
40
@media all and (max-width: 600px) {
41
  .webform-analysis-component {
42
    width: 100%;
43
  }
44
}
45
.webform-analysis-component-grid {
46
  width: 100%;
47
  clear: both;
48
}
49
.webform-analysis-component-inner {
50
  padding: 12px;
51
  overflow: auto;
52
}
53
.webform-analysis-component table {
54
  width: 100%;
55
}
56
.webform-analysis-component table td {
57
  white-space: normal;
58
}
59

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

    
100
/* Special theming for the options element widget (if installed) */
101
.webform-options-element thead {
102
  display: none;
103
}
104
.webform-options-element fieldset {
105
  border: none;
106
  background: none;
107
  margin: 0;
108
  padding: 0;
109
}
110
.webform-options-element fieldset legend {
111
  display: none;
112
}
113

    
114
/* Checkboxes for allowed file extensions */
115
table.webform-file-extensions td {
116
  vertical-align: top;
117
}
118
table.webform-file-extensions td .description {
119
  white-space: normal;
120
}
121
table.webform-file-extensions .form-type-checkbox {
122
  width: 5em;
123
  float: left;
124
}
125
table.webform-file-extensions input.form-text {
126
  width: 95%;
127
}
128

    
129
/* General styles */
130
.webform-checkbox {
131
  text-align: center;
132
  width: 40px;
133
}
134
.webform-container-inline div,
135
.webform-container-inline div.form-item {
136
  display: inline;
137
}
138
.webform-results-per-page a.selected {
139
  font-weight: bold;
140
}
141

    
142
/* Display of adding/editing components */
143
html.js fieldset.webform-position,
144
html.js div.webform-position {
145
  display: none;
146
}
147
tr.webform-add-form .tabledrag-changed {
148
  display: none;
149
}
150
#webform-emails tr.webform-add-form,
151
#webform-components tr.webform-add-form {
152
  background-color: inherit;
153
}
154

    
155
/* E-mail configuration */
156
html.js .webform-email-mapping {
157
  display: none;
158
}
159
td.webform-email-option {
160
  text-align: right;
161
}
162

    
163
/* Conditionals */
164
.webform-conditional,
165
.webform-conditional-new {
166
  display: block;
167
  position: relative;
168
  padding-left: 1em;
169
  padding-right: 8em;
170
  margin-left: 3em;
171
  max-width: 600px;
172
}
173

    
174
.webform-conditional-new {
175
  text-align: right;
176
  margin-left: 11em;
177
  padding-right: 0;
178
}
179

    
180
.webform-conditional-if {
181
  position: absolute;
182
  left: -.5em;
183
  margin-top: .2em;
184
}
185

    
186
.webform-conditional-rule {
187
  margin: .5em 0;
188
}
189

    
190
.webform-conditional-condition {
191
  display: inline;
192
}
193

    
194
.webform-conditional-operations {
195
  position: absolute;
196
  right: 0;
197
  margin-top: .2em;
198
}
199

    
200
.webform-conditional-new input.form-submit,
201
.webform-conditional-operations input.form-submit {
202
  margin: 0 2px;
203
  padding: 2px 6px;
204
}
205

    
206
#webform-conditionals-table input.progress-disabled,
207
.webform-conditional-operations input.progress-disabled {
208
  float: none;
209
}
210

    
211
#webform-conditionals-table .ahah-progress-throbber {
212
  float: none;
213
  display: inline;
214
}
215

    
216
#webform-conditionals-table .ahah-progress-throbber .throbber {
217
  float: none;
218
  display: inline;
219
  padding-right: 12px;
220
}
221

    
222
.webform-conditional-andor {
223
  display: inline;
224
}
225

    
226
.webform-conditional-andor .form-item {
227
  margin: 0;
228
  padding: 0;
229
}