alpaca_rails 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +21 -0
- data/app/assets/javascripts/alpaca.min.js +72 -0
- data/app/assets/javascripts/alpaca_rails/alpaca.js +16090 -0
- data/app/assets/javascripts/alpaca_rails/application.js +13 -0
- data/app/assets/stylesheets/alpaca_rails/alpaca-bootstrap.css +131 -0
- data/app/assets/stylesheets/alpaca_rails/alpaca-core.css +931 -0
- data/app/assets/stylesheets/alpaca_rails/alpaca-extras.css +22 -0
- data/app/assets/stylesheets/alpaca_rails/alpaca-jqueryui.css +43 -0
- data/app/assets/stylesheets/alpaca_rails/alpaca-mobile.css +71 -0
- data/app/assets/stylesheets/alpaca_rails/alpaca.css +931 -0
- data/app/assets/stylesheets/alpaca_rails/application.css +13 -0
- data/app/controllers/alpaca_rails/application_controller.rb +4 -0
- data/app/helpers/alpaca_rails/application_helper.rb +4 -0
- data/app/views/layouts/alpaca_rails/application.html.erb +14 -0
- data/config/routes.rb +2 -0
- data/lib/alpaca_rails.rb +4 -0
- data/lib/alpaca_rails/engine.rb +5 -0
- data/lib/alpaca_rails/version.rb +3 -0
- data/lib/tasks/alpaca_rails_tasks.rake +4 -0
- metadata +85 -0
@@ -0,0 +1,22 @@
|
|
1
|
+
/*!
|
2
|
+
Alpaca Version 1.1.1
|
3
|
+
|
4
|
+
Copyright 2013 Gitana Software, Inc.
|
5
|
+
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
you may not use this file except in compliance with the License.
|
8
|
+
|
9
|
+
You may obtain a copy of the License at
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
|
12
|
+
Unless required by applicable law or agreed to in writing, software
|
13
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
See the License for the specific language governing permissions and
|
16
|
+
limitations under the License.
|
17
|
+
|
18
|
+
For more information, please contact Gitana Software, Inc. at this
|
19
|
+
address:
|
20
|
+
|
21
|
+
info@gitanasoftware.com
|
22
|
+
*/
|
@@ -0,0 +1,43 @@
|
|
1
|
+
/*!
|
2
|
+
Alpaca Version 1.1.1
|
3
|
+
|
4
|
+
Copyright 2013 Gitana Software, Inc.
|
5
|
+
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
you may not use this file except in compliance with the License.
|
8
|
+
|
9
|
+
You may obtain a copy of the License at
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
|
12
|
+
Unless required by applicable law or agreed to in writing, software
|
13
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
See the License for the specific language governing permissions and
|
16
|
+
limitations under the License.
|
17
|
+
|
18
|
+
For more information, please contact Gitana Software, Inc. at this
|
19
|
+
address:
|
20
|
+
|
21
|
+
info@gitanasoftware.com
|
22
|
+
*/
|
23
|
+
/**
|
24
|
+
* Fix for jQuery datepicker initial state issue.
|
25
|
+
*/
|
26
|
+
#ui-datepicker-div
|
27
|
+
{
|
28
|
+
display: none;
|
29
|
+
background-color:white;
|
30
|
+
z-index: 9999999 !important;
|
31
|
+
width: 22em !important;
|
32
|
+
}
|
33
|
+
|
34
|
+
/* Fix for Chrome issue with Button text */
|
35
|
+
.ui-button .ui-button-text {
|
36
|
+
white-space: nowrap;
|
37
|
+
}
|
38
|
+
|
39
|
+
.ui-datepicker
|
40
|
+
{
|
41
|
+
z-index: 100;
|
42
|
+
}
|
43
|
+
|
@@ -0,0 +1,71 @@
|
|
1
|
+
/*!
|
2
|
+
Alpaca Version 1.1.1
|
3
|
+
|
4
|
+
Copyright 2013 Gitana Software, Inc.
|
5
|
+
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
you may not use this file except in compliance with the License.
|
8
|
+
|
9
|
+
You may obtain a copy of the License at
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
|
12
|
+
Unless required by applicable law or agreed to in writing, software
|
13
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
See the License for the specific language governing permissions and
|
16
|
+
limitations under the License.
|
17
|
+
|
18
|
+
For more information, please contact Gitana Software, Inc. at this
|
19
|
+
address:
|
20
|
+
|
21
|
+
info@gitanasoftware.com
|
22
|
+
*/
|
23
|
+
.alpaca-controlfield-label
|
24
|
+
{
|
25
|
+
display: inline-block !important;
|
26
|
+
margin: 0 2% 0 0 !important;
|
27
|
+
width: 20% !important;
|
28
|
+
vertical-align: top !important;
|
29
|
+
}
|
30
|
+
|
31
|
+
.alpaca-controlfield-label.ui-select
|
32
|
+
{
|
33
|
+
/** fix bug with jQuery Mobile positioning of ui-select **/
|
34
|
+
left: 0px !important;
|
35
|
+
position: relative !important;
|
36
|
+
}
|
37
|
+
|
38
|
+
.alpaca-radio-fieldset
|
39
|
+
{
|
40
|
+
display: inline-block !important;
|
41
|
+
width: 78% !important;
|
42
|
+
}
|
43
|
+
|
44
|
+
input, textarea, select
|
45
|
+
{
|
46
|
+
border: 0px;
|
47
|
+
border-radius: 0px;
|
48
|
+
-khtml-border-radius: 0px;
|
49
|
+
-moz-border-radius: 0px;
|
50
|
+
-webkit-border-radius: 0px;
|
51
|
+
-webkit-box-shadow: 0 0px 0px rgba(0, 0, 0, .2);
|
52
|
+
-moz-box-shadow: 0 0px 0px rgba(0, 0, 0, .2);
|
53
|
+
box-shadow: 0 0px 0px rgba(0, 0, 0, .2);
|
54
|
+
}
|
55
|
+
|
56
|
+
.alpaca-field-invalid
|
57
|
+
{
|
58
|
+
border: 1px solid #cd0a0a;
|
59
|
+
background: #fef1ec;
|
60
|
+
color: #cd0a0a;
|
61
|
+
}
|
62
|
+
|
63
|
+
.alpaca-field-invalid.ui-field-contain:last-child
|
64
|
+
{
|
65
|
+
border-bottom-width: 1px;
|
66
|
+
}
|
67
|
+
|
68
|
+
.alpaca-controlfield-message-hidden
|
69
|
+
{
|
70
|
+
display:none;
|
71
|
+
}
|
@@ -0,0 +1,931 @@
|
|
1
|
+
/*!
|
2
|
+
Alpaca Version 1.1.1
|
3
|
+
|
4
|
+
Copyright 2013 Gitana Software, Inc.
|
5
|
+
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
you may not use this file except in compliance with the License.
|
8
|
+
|
9
|
+
You may obtain a copy of the License at
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
|
12
|
+
Unless required by applicable law or agreed to in writing, software
|
13
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
See the License for the specific language governing permissions and
|
16
|
+
limitations under the License.
|
17
|
+
|
18
|
+
For more information, please contact Gitana Software, Inc. at this
|
19
|
+
address:
|
20
|
+
|
21
|
+
info@gitanasoftware.com
|
22
|
+
*/
|
23
|
+
.alpaca-hover {
|
24
|
+
}
|
25
|
+
|
26
|
+
.alpaca-clear {
|
27
|
+
clear: both;
|
28
|
+
}
|
29
|
+
|
30
|
+
/** Abstract Field **/
|
31
|
+
.alpaca-field {
|
32
|
+
}
|
33
|
+
|
34
|
+
.alpaca-field-required {
|
35
|
+
}
|
36
|
+
|
37
|
+
.alpaca-field-optional {
|
38
|
+
}
|
39
|
+
|
40
|
+
.alpaca-field-valid {
|
41
|
+
}
|
42
|
+
|
43
|
+
.alpaca-field-invalid {
|
44
|
+
}
|
45
|
+
|
46
|
+
.alpaca-field-readonly {
|
47
|
+
}
|
48
|
+
|
49
|
+
/**
|
50
|
+
* Control Field
|
51
|
+
*/
|
52
|
+
.alpaca-controlfield {
|
53
|
+
display: block;
|
54
|
+
padding: 2px;
|
55
|
+
margin: 2px;
|
56
|
+
}
|
57
|
+
|
58
|
+
.alpaca-controlfield * {
|
59
|
+
/*background: transparent;*/
|
60
|
+
}
|
61
|
+
|
62
|
+
.alpaca-controlfield-container {
|
63
|
+
display: block;
|
64
|
+
padding-top: 4px;
|
65
|
+
padding-bottom: 4px;
|
66
|
+
}
|
67
|
+
|
68
|
+
.alpaca-controlfield-label
|
69
|
+
{
|
70
|
+
font-size: 1.0em;
|
71
|
+
font-weight: bold;
|
72
|
+
text-align: left;
|
73
|
+
margin-left: 1px;
|
74
|
+
}
|
75
|
+
|
76
|
+
.alpaca-controlfield-helper {
|
77
|
+
font-size: 0.75em;
|
78
|
+
margin-top: 2px;
|
79
|
+
}
|
80
|
+
|
81
|
+
.alpaca-controlfield-message {
|
82
|
+
font-size: 0.85em;
|
83
|
+
}
|
84
|
+
|
85
|
+
.alpaca-controlfield-message-hidden {
|
86
|
+
display: none;
|
87
|
+
}
|
88
|
+
|
89
|
+
.alpaca-field-message-container {
|
90
|
+
}
|
91
|
+
|
92
|
+
.alpaca-field-required span.ui-icon-star {
|
93
|
+
float: left;
|
94
|
+
margin-right: 0.3em;
|
95
|
+
}
|
96
|
+
|
97
|
+
.alpaca-controlfield-helper > span.ui-icon, .alpaca-controlfield-message > span.ui-icon {
|
98
|
+
float: left;
|
99
|
+
margin-right: .3em;
|
100
|
+
}
|
101
|
+
|
102
|
+
/**
|
103
|
+
* Form Controls
|
104
|
+
*/
|
105
|
+
input, textarea, select {
|
106
|
+
border: 1px solid #555;
|
107
|
+
padding: 2px;
|
108
|
+
font-size: 1em;
|
109
|
+
border-radius: 2px;
|
110
|
+
-khtml-border-radius: 2px;
|
111
|
+
-moz-border-radius: 2px;
|
112
|
+
-webkit-border-radius: 2px;
|
113
|
+
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
|
114
|
+
-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
|
115
|
+
box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
|
116
|
+
}
|
117
|
+
|
118
|
+
input[type="checkbox"], input[type="radio"] {
|
119
|
+
border: 0px;
|
120
|
+
}
|
121
|
+
|
122
|
+
input[type="file"] {
|
123
|
+
border: none;
|
124
|
+
box-shadow: none;
|
125
|
+
}
|
126
|
+
|
127
|
+
select {
|
128
|
+
min-width: 150px;
|
129
|
+
}
|
130
|
+
|
131
|
+
input:focus, textarea:focus {
|
132
|
+
outline: none;
|
133
|
+
border: 1px solid #058cf5;
|
134
|
+
}
|
135
|
+
|
136
|
+
.alpaca-field-readonly input, .alpaca-field-readonly textarea, input[readonly], textarea[readonly] {
|
137
|
+
background-color: #dcdcdc;
|
138
|
+
cursor: default;
|
139
|
+
}
|
140
|
+
|
141
|
+
/* BEGIN styles for Text Field */
|
142
|
+
|
143
|
+
.alpaca-controlfield-text {
|
144
|
+
}
|
145
|
+
|
146
|
+
DIV.alpaca-controlfield-text .twitter-typeahead .tt-dropdown-menu
|
147
|
+
{
|
148
|
+
background-color: white;
|
149
|
+
border: 1px #777 solid;
|
150
|
+
padding-left: 10px;
|
151
|
+
margin-left: 2px;
|
152
|
+
padding-right: 10px;
|
153
|
+
color: #ccc;
|
154
|
+
}
|
155
|
+
|
156
|
+
DIV.alpaca-controlfield-text .twitter-typeahead .tt-dropdown-menu P
|
157
|
+
{
|
158
|
+
font-size: 1em;
|
159
|
+
}
|
160
|
+
|
161
|
+
.tt-suggestion.tt-is-under-cursor
|
162
|
+
{
|
163
|
+
background-color: #ccc;
|
164
|
+
color: #333;
|
165
|
+
}
|
166
|
+
|
167
|
+
/* END styles for Text Field */
|
168
|
+
|
169
|
+
/* BEGIN styles for Date Field, Phone Field, Password Field and Email Field */
|
170
|
+
|
171
|
+
.alpaca-controlfield-date {
|
172
|
+
}
|
173
|
+
|
174
|
+
.alpaca-controlfield-date input {
|
175
|
+
/* background: url("./images/alpaca-icons.png") no-repeat right -5px;*/
|
176
|
+
}
|
177
|
+
|
178
|
+
.alpaca-controlfield-phone {
|
179
|
+
}
|
180
|
+
|
181
|
+
.alpaca-controlfield-phone input {
|
182
|
+
/* background: url("./images/alpaca-icons.png") no-repeat right -85px;*/
|
183
|
+
}
|
184
|
+
|
185
|
+
.alpaca-controlfield-email {
|
186
|
+
}
|
187
|
+
|
188
|
+
.alpaca-controlfield-email input {
|
189
|
+
/* background: url("./images/alpaca-icons.png") no-repeat right -45px;*/
|
190
|
+
}
|
191
|
+
|
192
|
+
.alpaca-controlfield-time {
|
193
|
+
}
|
194
|
+
|
195
|
+
.alpaca-controlfield-time input {
|
196
|
+
/* background: url("./images/alpaca-icons.png") no-repeat right -125px;*/
|
197
|
+
}
|
198
|
+
|
199
|
+
.alpaca-controlfield-password {
|
200
|
+
}
|
201
|
+
|
202
|
+
.alpaca-controlfield-email > span.ui-icon, .alpaca-controlfield-date > span.ui-icon, .alpaca-controlfield-phone > span.ui-icon {
|
203
|
+
float: right;
|
204
|
+
margin-left: .3em;
|
205
|
+
}
|
206
|
+
|
207
|
+
.alpaca-controlfield-helper .alpaca-controlfield-helper-text, .alpaca-controlfield-message .alpaca-controlfield-message-text, .alpaca-controlfield-email > input, .alpaca-controlfield-date > input, .alpaca-controlfield-phone > input {
|
208
|
+
line-height: 16px;
|
209
|
+
}
|
210
|
+
|
211
|
+
/* END styles for Date Field, Phone Field, Password Field and Email Field */
|
212
|
+
|
213
|
+
/* BEGIN styles for Address Map Field */
|
214
|
+
|
215
|
+
.alpaca-controlfield-address-mapcanvas {
|
216
|
+
height: 300px;
|
217
|
+
width: 300px;
|
218
|
+
margin: 10px;
|
219
|
+
}
|
220
|
+
|
221
|
+
/* END styles for Address Map Field */
|
222
|
+
|
223
|
+
/* BEGIN styles for Checkbox Field */
|
224
|
+
|
225
|
+
.alpaca-controlfield-checkbox {
|
226
|
+
padding-top: 0.4em;
|
227
|
+
}
|
228
|
+
|
229
|
+
.alpaca-controlfield-checkbox input {
|
230
|
+
margin-right: 1em;
|
231
|
+
}
|
232
|
+
|
233
|
+
/* IE < 8 */
|
234
|
+
.alpaca-controlfield-checkbox {
|
235
|
+
*padding-top: 0;
|
236
|
+
}
|
237
|
+
|
238
|
+
/* END styles for Checkbox Field */
|
239
|
+
|
240
|
+
/* BEGIN styles for Radio Field */
|
241
|
+
|
242
|
+
.alpaca-controlfield-radio {
|
243
|
+
padding-top: 0.5em;
|
244
|
+
}
|
245
|
+
|
246
|
+
.alpaca-controlfield-radio input {
|
247
|
+
margin-right: 0.3em;
|
248
|
+
}
|
249
|
+
|
250
|
+
.alpaca-controlfield-radio-label {
|
251
|
+
margin-right: 0.3em;
|
252
|
+
}
|
253
|
+
|
254
|
+
/* END styles for Radio Field */
|
255
|
+
|
256
|
+
/* BEGIN styles for Select Field */
|
257
|
+
|
258
|
+
.alpaca-controlfield-select {
|
259
|
+
}
|
260
|
+
|
261
|
+
/* END styles for Select Field */
|
262
|
+
|
263
|
+
/* BEGIN styles for Number Field */
|
264
|
+
|
265
|
+
.alpaca-controlfield-number {
|
266
|
+
}
|
267
|
+
|
268
|
+
/* END styles for Number Field */
|
269
|
+
|
270
|
+
/* BEGIN styles for Integer Field */
|
271
|
+
|
272
|
+
.alpaca-controlfield-integer {
|
273
|
+
}
|
274
|
+
|
275
|
+
/* END styles for Integer Field */
|
276
|
+
|
277
|
+
/* BEGIN styles for Textarea Field */
|
278
|
+
|
279
|
+
.alpaca-controlfield-textarea {
|
280
|
+
}
|
281
|
+
|
282
|
+
/* END styles for Textarea Field */
|
283
|
+
|
284
|
+
/* BEGIN styles for WYSIWYG Field */
|
285
|
+
|
286
|
+
.alpaca-controlfield-wysiwyg {
|
287
|
+
}
|
288
|
+
|
289
|
+
/* END styles for WYSIWYG Field */
|
290
|
+
|
291
|
+
/* BEGIN styles for Button Field */
|
292
|
+
|
293
|
+
.alpaca-controlfield-button {
|
294
|
+
}
|
295
|
+
|
296
|
+
/* END styles for Button Field */
|
297
|
+
|
298
|
+
/* BEGIN styles for File Field */
|
299
|
+
|
300
|
+
.alpaca-controlfield-file {
|
301
|
+
}
|
302
|
+
|
303
|
+
.alpaca-controlfield-file-custom-input {
|
304
|
+
position: absolute;
|
305
|
+
height: 100px;
|
306
|
+
cursor: pointer;
|
307
|
+
background: transparent;
|
308
|
+
border: 0;
|
309
|
+
opacity: 0;
|
310
|
+
-moz-opacity: 0;
|
311
|
+
filter: progid:DXImageTransform.Microsoft.Alpha(opacity = 0);
|
312
|
+
z-index: 999;
|
313
|
+
}
|
314
|
+
|
315
|
+
.alpaca-controlfield-file-custom {
|
316
|
+
width: 350px;
|
317
|
+
cursor: pointer;
|
318
|
+
overflow: hidden;
|
319
|
+
padding: 2px;
|
320
|
+
position: relative;
|
321
|
+
}
|
322
|
+
|
323
|
+
.alpaca-controlfield-file-custom-disabled {
|
324
|
+
opacity: .5;
|
325
|
+
filter: progid:DXImageTransform.Microsoft.Alpha(opacity = 0);
|
326
|
+
cursor: default;
|
327
|
+
}
|
328
|
+
|
329
|
+
.alpaca-controlfield-file-custom-feedback {
|
330
|
+
display: block;
|
331
|
+
margin: 1px 1px 1px 5px;
|
332
|
+
font-style: italic;
|
333
|
+
padding: .3em .6em;
|
334
|
+
}
|
335
|
+
|
336
|
+
.alpaca-controlfield-file-custom-feedback-populated {
|
337
|
+
font-style: normal;
|
338
|
+
font-weight: bold;
|
339
|
+
padding-left: 20px;
|
340
|
+
}
|
341
|
+
|
342
|
+
/* END styles for File Field */
|
343
|
+
|
344
|
+
/* BEGIN styles for Editor Field */
|
345
|
+
|
346
|
+
.alpaca-controlfield-editor
|
347
|
+
{
|
348
|
+
position: relative;
|
349
|
+
width: 100%;
|
350
|
+
height: 300px;
|
351
|
+
border: 1px #ccc solid;
|
352
|
+
}
|
353
|
+
|
354
|
+
.alpaca-controlfield-editor .control-field-editor-el
|
355
|
+
{
|
356
|
+
position:absolute;
|
357
|
+
top:0;
|
358
|
+
bottom:0;
|
359
|
+
left: 0;
|
360
|
+
right:0
|
361
|
+
}
|
362
|
+
|
363
|
+
/* END styles for Editor Field */
|
364
|
+
|
365
|
+
/* BEGIN styles for JSON Field */
|
366
|
+
|
367
|
+
.alpaca-controlfield .alpaca-controlfield-json textarea {
|
368
|
+
font-family: "Courier New";
|
369
|
+
font-size: 0.9em;
|
370
|
+
font-style: italic;
|
371
|
+
}
|
372
|
+
|
373
|
+
/* END styles for JSON Field */
|
374
|
+
|
375
|
+
/* BEGIN styles for Hidden Field */
|
376
|
+
.alpaca-controlfield-hidden {
|
377
|
+
display: none;
|
378
|
+
}
|
379
|
+
/* END styles for Hidden Field */
|
380
|
+
|
381
|
+
/* BEGIN styles for Container Field (Fieldset) */
|
382
|
+
|
383
|
+
.alpaca-fieldset {
|
384
|
+
padding: 4px;
|
385
|
+
margin: 4px;
|
386
|
+
overflow: auto;
|
387
|
+
position: relative;
|
388
|
+
}
|
389
|
+
|
390
|
+
fieldset.alpaca-fieldset {
|
391
|
+
/*margin: 0.5em 1em 1em 0px;*/
|
392
|
+
margin-top: 0.5em;
|
393
|
+
margin-right: 0px;
|
394
|
+
margin-left: 0px;
|
395
|
+
margin-bottom: 0.5em;
|
396
|
+
}
|
397
|
+
|
398
|
+
legend.alpaca-fieldset-legend {
|
399
|
+
font-size: 1.1em;
|
400
|
+
text-align: left;
|
401
|
+
bottom: -1px;
|
402
|
+
}
|
403
|
+
|
404
|
+
.alpaca-fieldset-legend {
|
405
|
+
font-size: 1.0em;
|
406
|
+
font-weight: bold;
|
407
|
+
text-align: left;
|
408
|
+
}
|
409
|
+
|
410
|
+
.alpaca-fieldset-helper {
|
411
|
+
padding-top: 10px;
|
412
|
+
padding-bottom: 5px;
|
413
|
+
clear: both;
|
414
|
+
}
|
415
|
+
|
416
|
+
.alpaca-fieldset-items-container {
|
417
|
+
padding-top: 5px;
|
418
|
+
/**padding-bottom: 5px;**/
|
419
|
+
clear: both;
|
420
|
+
}
|
421
|
+
|
422
|
+
.alpaca-fieldset-legend-link {
|
423
|
+
float: left;
|
424
|
+
margin-right: 0.3em;
|
425
|
+
}
|
426
|
+
|
427
|
+
/* END styles for Container Field (Fieldset) */
|
428
|
+
|
429
|
+
/* BEGIN styles for Array Field */
|
430
|
+
|
431
|
+
.alpaca-fieldset-array-item-toolbar {
|
432
|
+
padding: 1px;
|
433
|
+
margin: 0px 2px 0px 2px;
|
434
|
+
font-size: 0.75em;
|
435
|
+
}
|
436
|
+
|
437
|
+
.alpaca-fieldset-array-toolbar {
|
438
|
+
padding: 10px 4px;
|
439
|
+
}
|
440
|
+
|
441
|
+
.alpaca-fieldset-array-item-toolbar-disabled {
|
442
|
+
opacity: .5;
|
443
|
+
}
|
444
|
+
|
445
|
+
.alpaca-fieldset-array-item-toolbar-add {
|
446
|
+
}
|
447
|
+
|
448
|
+
.alpaca-fieldset-array-item-toolbar-remove {
|
449
|
+
}
|
450
|
+
|
451
|
+
.alpaca-fieldset-array-item-toolbar-up {
|
452
|
+
}
|
453
|
+
|
454
|
+
.alpaca-fieldset-array-item-toolbar-down {
|
455
|
+
}
|
456
|
+
|
457
|
+
/* END styles for Array Field */
|
458
|
+
|
459
|
+
/* BEGIN styles for Form */
|
460
|
+
|
461
|
+
.alpaca-form {
|
462
|
+
margin-top: 15px;
|
463
|
+
margin-left: 15px;
|
464
|
+
}
|
465
|
+
|
466
|
+
.alpaca-form-buttons-container {
|
467
|
+
clear: both;
|
468
|
+
display: block;
|
469
|
+
margin: 5px 0 5px 0;
|
470
|
+
}
|
471
|
+
|
472
|
+
.alpaca-form-button {
|
473
|
+
}
|
474
|
+
|
475
|
+
.alpaca-form-button-print {
|
476
|
+
}
|
477
|
+
|
478
|
+
.alpaca-form-button-reload {
|
479
|
+
}
|
480
|
+
|
481
|
+
.alpaca-form-button-save {
|
482
|
+
}
|
483
|
+
|
484
|
+
.alpaca-form-button-view-switcher {
|
485
|
+
position: absolute;
|
486
|
+
float: left;
|
487
|
+
font-size: 1em;
|
488
|
+
padding: 8px 3px 3px;
|
489
|
+
zIndex: 999999;
|
490
|
+
}
|
491
|
+
|
492
|
+
.alpaca-form-button-view-switcher ul {
|
493
|
+
listStyle: none;
|
494
|
+
margin: 0;
|
495
|
+
padding: 0;
|
496
|
+
overflow: auto;
|
497
|
+
}
|
498
|
+
|
499
|
+
.alpaca-form-button-view-switcher ul li {
|
500
|
+
padding: 2px;
|
501
|
+
margin: 1px;
|
502
|
+
clear: left;
|
503
|
+
float: left;
|
504
|
+
}
|
505
|
+
|
506
|
+
.alpaca-form-button-view-switcher ul li a {
|
507
|
+
text-decoration: none;
|
508
|
+
}
|
509
|
+
|
510
|
+
.alpaca-form-buttons-container input {
|
511
|
+
margin-right: 4px;
|
512
|
+
}
|
513
|
+
|
514
|
+
.alpaca-form-buttons-container input.alpaca-form-button:hover {
|
515
|
+
background: #FFFFCC;
|
516
|
+
}
|
517
|
+
|
518
|
+
/* END styles for Form */
|
519
|
+
|
520
|
+
/* BEGIN styles for VIEW: DISPLAY */
|
521
|
+
|
522
|
+
div.alpaca-fieldset {
|
523
|
+
display: block;
|
524
|
+
border: none;
|
525
|
+
margin: 1.5em 1em 1em 0px;
|
526
|
+
}
|
527
|
+
|
528
|
+
div.alpaca-fieldset-legend {
|
529
|
+
}
|
530
|
+
|
531
|
+
.alpaca-data-container {
|
532
|
+
margin: 5px 5px 5px 5px;
|
533
|
+
padding: 5px 5px 5px 5px;
|
534
|
+
display: block;
|
535
|
+
}
|
536
|
+
|
537
|
+
.alpaca-data {
|
538
|
+
text-align: left;
|
539
|
+
padding-left: 10px;
|
540
|
+
}
|
541
|
+
|
542
|
+
.alpaca-data-label {
|
543
|
+
float: left;
|
544
|
+
min-width: 100px;
|
545
|
+
clear: both;
|
546
|
+
font-weight: bold;
|
547
|
+
display: block;
|
548
|
+
}
|
549
|
+
|
550
|
+
/* END styles for VIEW: DISPLAY */
|
551
|
+
|
552
|
+
/* BEGIN styles for Wizard */
|
553
|
+
|
554
|
+
.alpaca-wizard-status-bar {
|
555
|
+
list-style: none;
|
556
|
+
overflow: hidden;
|
557
|
+
margin: 10px 0px 10px 0px;
|
558
|
+
padding: 0px;
|
559
|
+
counter-reset: step;
|
560
|
+
float: left;
|
561
|
+
}
|
562
|
+
|
563
|
+
.alpaca-wizard-status-bar li {
|
564
|
+
float: left;
|
565
|
+
}
|
566
|
+
|
567
|
+
.alpaca-wizard-status-bar li span {
|
568
|
+
display: block;
|
569
|
+
font-size: 1.2em;
|
570
|
+
}
|
571
|
+
|
572
|
+
.alpaca-wizard-status-bar li div {
|
573
|
+
display: block;
|
574
|
+
position: relative;
|
575
|
+
padding: 2px 25px 2px 30px;
|
576
|
+
}
|
577
|
+
|
578
|
+
.alpaca-wizard-status-bar li div:before {
|
579
|
+
font-size: 1em;
|
580
|
+
position: absolute;
|
581
|
+
top: 50%;
|
582
|
+
left: 5px;
|
583
|
+
margin-top: -8px;
|
584
|
+
text-align: center;
|
585
|
+
font-weight: bold;
|
586
|
+
padding: 2px 6px;
|
587
|
+
counter-increment: step;
|
588
|
+
content: counter(step);
|
589
|
+
}
|
590
|
+
|
591
|
+
.alpaca-wizard-status-bar li div strong {
|
592
|
+
font-weight: normal
|
593
|
+
}
|
594
|
+
|
595
|
+
.alpaca-wizard-status-bar li.current {
|
596
|
+
}
|
597
|
+
|
598
|
+
.alpaca-wizard-status-bar li.current-has-next {
|
599
|
+
}
|
600
|
+
|
601
|
+
.alpaca-wizard-title {
|
602
|
+
font-size: 1.2em;
|
603
|
+
margin: 0px;
|
604
|
+
padding: 10px 0px;
|
605
|
+
font-weight: bold;
|
606
|
+
}
|
607
|
+
|
608
|
+
.alpaca-wizard-desc {
|
609
|
+
font-size: 0.9em;
|
610
|
+
margin: 0px;
|
611
|
+
padding: 5px 0px;
|
612
|
+
}
|
613
|
+
|
614
|
+
.alpaca-wizard-step-title {
|
615
|
+
font-size: 1em;
|
616
|
+
margin: 0px;
|
617
|
+
padding: 10px 0px;
|
618
|
+
text-decoration: underline;
|
619
|
+
font-weight: bold;
|
620
|
+
}
|
621
|
+
|
622
|
+
.alpaca-wizard-nav-bar {
|
623
|
+
clear: both;
|
624
|
+
float: right;
|
625
|
+
}
|
626
|
+
|
627
|
+
.alpaca-wizard-button {
|
628
|
+
}
|
629
|
+
|
630
|
+
.alpaca-wizard-button:hover {
|
631
|
+
}
|
632
|
+
|
633
|
+
.alpaca-wizard-button-back {
|
634
|
+
}
|
635
|
+
|
636
|
+
.alpaca-wizard-button-next {
|
637
|
+
}
|
638
|
+
|
639
|
+
/* END styles for Wizard */
|
640
|
+
|
641
|
+
/** BEGIN view-web-list **/
|
642
|
+
|
643
|
+
fieldset.alpaca-view-web-list
|
644
|
+
{
|
645
|
+
border-left: none;
|
646
|
+
border-bottom: none;
|
647
|
+
border-right: none;
|
648
|
+
padding-right: 3em;
|
649
|
+
}
|
650
|
+
|
651
|
+
fieldset.alpaca-view-web-list.fieldset-collapsed
|
652
|
+
{
|
653
|
+
border: solid 1px;
|
654
|
+
}
|
655
|
+
|
656
|
+
.alpaca-view-web-list .alpaca-controlfield-label {
|
657
|
+
display: inline-block;
|
658
|
+
vertical-align: top;
|
659
|
+
padding-top: 0.5em;
|
660
|
+
}
|
661
|
+
|
662
|
+
.alpaca-view-web-list .alpaca-controlfield-label {
|
663
|
+
width: 130px;
|
664
|
+
}
|
665
|
+
|
666
|
+
fieldset.alpaca-view-list legend {
|
667
|
+
/* to make chrome not wrapping text */
|
668
|
+
font-size: 1.01em
|
669
|
+
}
|
670
|
+
|
671
|
+
.alpaca-controlfield.alpaca-view-web-list
|
672
|
+
{
|
673
|
+
display:inline-block;
|
674
|
+
}
|
675
|
+
|
676
|
+
SPAN.alpaca-view-web-list label.alpaca-controlfield-label
|
677
|
+
{
|
678
|
+
font-size: 1.0em;
|
679
|
+
font-weight: bold !important;
|
680
|
+
text-align: left;
|
681
|
+
white-space: nowrap;
|
682
|
+
}
|
683
|
+
|
684
|
+
.alpaca-view-web-list DIV.alpaca-controlfield-container
|
685
|
+
{
|
686
|
+
display:inline-block;
|
687
|
+
}
|
688
|
+
|
689
|
+
.alpaca-controlfield-label-list-view {
|
690
|
+
width: 100px;
|
691
|
+
display: inline-block;
|
692
|
+
vertical-align: top;
|
693
|
+
padding-top: 0.5em;
|
694
|
+
}
|
695
|
+
|
696
|
+
.alpaca-fieldset-message-list-view {
|
697
|
+
float: left;
|
698
|
+
margin-right: .3em;
|
699
|
+
}
|
700
|
+
|
701
|
+
.alpaca-controlfield-item-label-list-view {
|
702
|
+
width: 100px;
|
703
|
+
display: inline-block;
|
704
|
+
vertical-align: top;
|
705
|
+
padding-top: 0.25em;
|
706
|
+
}
|
707
|
+
|
708
|
+
ol.alpaca-fieldset-itemscontainer-list-view-top {
|
709
|
+
padding-left :0;
|
710
|
+
}
|
711
|
+
|
712
|
+
li.alpaca-fieldset-itemcontainer-list-view-top {
|
713
|
+
list-style:none;
|
714
|
+
}
|
715
|
+
|
716
|
+
.alpaca-item-container-first
|
717
|
+
{
|
718
|
+
|
719
|
+
}
|
720
|
+
|
721
|
+
.alpaca-item-container-last
|
722
|
+
{
|
723
|
+
|
724
|
+
}
|
725
|
+
|
726
|
+
.alpaca-fieldset-items-container-empty
|
727
|
+
{
|
728
|
+
padding-top: 0px;
|
729
|
+
padding-bottom: 0px;
|
730
|
+
}
|
731
|
+
|
732
|
+
/** END view-web-list **/
|
733
|
+
|
734
|
+
/* BEGIN styles for VIEW: TWO COLUMN */
|
735
|
+
|
736
|
+
.alpaca-layout-two-column-mask {
|
737
|
+
overflow: auto;
|
738
|
+
width: 100%;
|
739
|
+
min-width: 600px;
|
740
|
+
display: inline-block;
|
741
|
+
}
|
742
|
+
|
743
|
+
.alpaca-layout-two-column-left {
|
744
|
+
overflow: auto;
|
745
|
+
display: inline-block;
|
746
|
+
padding: 5px;
|
747
|
+
vertical-align: top;
|
748
|
+
}
|
749
|
+
|
750
|
+
.alpaca-layout-two-column-right {
|
751
|
+
overflow: auto;
|
752
|
+
display: inline-block;
|
753
|
+
padding: 5px;
|
754
|
+
vertical-align: top;
|
755
|
+
}
|
756
|
+
|
757
|
+
|
758
|
+
fieldset.alpaca-fieldset-no-legend {
|
759
|
+
border: none;
|
760
|
+
}
|
761
|
+
|
762
|
+
/* END styles for VIEW: TWO COLUMN */
|
763
|
+
|
764
|
+
/* BEGIN styles for VIEW: VIEW_WEB_EDIT_YAML */
|
765
|
+
|
766
|
+
fieldset.alpaca-view-web-edit-yaml.alpaca-fieldset {
|
767
|
+
border: solid 1px;
|
768
|
+
border-radius: 5px;
|
769
|
+
margin: 1px 0 0 0;
|
770
|
+
padding-top: 4px;
|
771
|
+
padding-bottom: 2px;
|
772
|
+
}
|
773
|
+
|
774
|
+
/*hide the arrow icon before the fieldset name*/
|
775
|
+
fieldset.alpaca-view-web-edit-yaml legend.alpaca-fieldset-legend span {
|
776
|
+
display: none;
|
777
|
+
}
|
778
|
+
|
779
|
+
/* make the fonts the right size */
|
780
|
+
fieldset.alpaca-view-web-edit-yaml legend.alpaca-fieldset-legend {
|
781
|
+
font-size: 1em;
|
782
|
+
}
|
783
|
+
|
784
|
+
fieldset.alpaca-view-web-edit-yaml.fieldset-collapsed {
|
785
|
+
border: none;
|
786
|
+
margin: 1px 1px 1px 1px;
|
787
|
+
}
|
788
|
+
|
789
|
+
fieldset.alpaca-view-web-edit-yaml legend.alpaca-fieldset-legend.legend-expanded:after {
|
790
|
+
content: url("./images/down.png");
|
791
|
+
padding-left: 5px;
|
792
|
+
}
|
793
|
+
fieldset.alpaca-view-web-edit-yaml legend.alpaca-fieldset-legend.legend-collapsed:after {
|
794
|
+
content: url("./images/left.png");
|
795
|
+
padding-left: 5px;
|
796
|
+
}
|
797
|
+
|
798
|
+
/*sort out the text boxes so that they disappear when not focused */
|
799
|
+
fieldset.alpaca-view-web-edit-yaml span:not(.alpaca-field-focused) div.alpaca-controlfield-text input {
|
800
|
+
background: none;
|
801
|
+
border: none;
|
802
|
+
box-shadow: none;
|
803
|
+
margin-top: 2px;
|
804
|
+
margin-left: 2px;
|
805
|
+
margin-bottom: 2px;
|
806
|
+
margin-right: 2px;
|
807
|
+
}
|
808
|
+
|
809
|
+
fieldset.alpaca-view-web-edit-yaml {
|
810
|
+
font-family: courier;
|
811
|
+
padding-right: 1em;
|
812
|
+
padding-top: 0px;
|
813
|
+
}
|
814
|
+
|
815
|
+
fieldset.alpaca-view-web-edit-yaml div.alpaca-controlfield-checkbox {
|
816
|
+
margin-top: 4px;
|
817
|
+
margin-bottom: 4px;
|
818
|
+
}
|
819
|
+
|
820
|
+
fieldset.alpaca-view-web-edit-yaml div.alpaca-controlfield-select {
|
821
|
+
margin-bottom: 1px;
|
822
|
+
}
|
823
|
+
fieldset.alpaca-view-web-edit-yaml div.alpaca-controlfield-radio div.alpaca-controlfield-radio {
|
824
|
+
padding-top: 3px;
|
825
|
+
padding-bottom: 4px;
|
826
|
+
}
|
827
|
+
|
828
|
+
fieldset.alpaca-view-web-edit-yaml > input,
|
829
|
+
fieldset.alpaca-view-web-edit-yaml > select,
|
830
|
+
fieldset.alpaca-view-web-edit-yaml > label
|
831
|
+
{
|
832
|
+
font-family: courier;
|
833
|
+
}
|
834
|
+
|
835
|
+
span.alpaca-view-web-edit-yaml .alpaca-controlfield-label {
|
836
|
+
width: 175px;
|
837
|
+
padding-top: 3px;
|
838
|
+
padding-left: 3px;
|
839
|
+
display: inline-block;
|
840
|
+
vertical-align: top;
|
841
|
+
}
|
842
|
+
|
843
|
+
span.alpaca-view-web-edit-yaml div.alpaca-controlfield-container {
|
844
|
+
padding-top: 0px;
|
845
|
+
padding-bottom: 0px;
|
846
|
+
}
|
847
|
+
|
848
|
+
span.alpaca-view-web-edit-yaml div.alpaca-controlfield-container > input,
|
849
|
+
span.alpaca-view-web-edit-yaml div.alpaca-controlfield-container > select
|
850
|
+
{
|
851
|
+
padding: 1px 1px 1px 1px;
|
852
|
+
}
|
853
|
+
|
854
|
+
fieldset.alpaca-view-web-edit-yaml span.alpaca-field {
|
855
|
+
padding-top: 0px;
|
856
|
+
padding-bottom: 0px;
|
857
|
+
margin-top: 0px;
|
858
|
+
margin-bottom: 0px;
|
859
|
+
}
|
860
|
+
|
861
|
+
fieldset.alpaca-view-web-edit-yaml ol.alpaca-fieldset-items-container {
|
862
|
+
margin-top: 0px;
|
863
|
+
margin-bottom: 0px;
|
864
|
+
padding-top: 0px;
|
865
|
+
padding-bottom: 0px;
|
866
|
+
}
|
867
|
+
|
868
|
+
|
869
|
+
/* make the array item toolbar float, without displacing any other elements */
|
870
|
+
fieldset.alpaca-view-web-edit-yaml div.alpaca-fieldset-array-item-toolbar {
|
871
|
+
position: absolute;
|
872
|
+
z-index: 99999;
|
873
|
+
right: 15px;
|
874
|
+
}
|
875
|
+
|
876
|
+
|
877
|
+
fieldset.alpaca-view-web-edit-yaml .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text {
|
878
|
+
padding: 2px;
|
879
|
+
}
|
880
|
+
|
881
|
+
/* END styles for the view VIEW_WEB_EDIT_YAML */
|
882
|
+
|
883
|
+
/* BEGIN styles for the view VIEW_WEB_EDIT_INLINE */
|
884
|
+
|
885
|
+
.alpaca-inline .alpaca-inline-item-container {
|
886
|
+
float: left;
|
887
|
+
}
|
888
|
+
|
889
|
+
.alpaca-inline-item-container .alpaca-inline .alpaca-fieldset, .alpaca-inline-item-container .alpaca-fieldset.alpaca-inline {
|
890
|
+
margin: 0 1.5em;
|
891
|
+
padding: 0;
|
892
|
+
}
|
893
|
+
|
894
|
+
.alpaca-inline-item-container .alpaca-fieldset-array-item-toolbar {
|
895
|
+
width: 60px;
|
896
|
+
float: right;
|
897
|
+
margin-top: 0.7em;
|
898
|
+
}
|
899
|
+
|
900
|
+
.alpaca-inline .alpaca-fieldset-items-container {
|
901
|
+
margin: 0em 1em;
|
902
|
+
padding: 0;
|
903
|
+
}
|
904
|
+
|
905
|
+
.alpaca-inline select {
|
906
|
+
min-width: 0px;
|
907
|
+
}
|
908
|
+
|
909
|
+
#module-settings input:focus, textarea:focus {
|
910
|
+
border-width: 1px;
|
911
|
+
}
|
912
|
+
|
913
|
+
|
914
|
+
/* To Remove up/down buttons on items
|
915
|
+
|
916
|
+
.alpaca-inline-item-container .alpaca-fieldset-array-item-toolbar .alpaca-fieldset-array-item-toolbar-up,
|
917
|
+
.alpaca-inline-item-container .alpaca-fieldset-array-item-toolbar .alpaca-fieldset-array-item-toolbar-down {
|
918
|
+
{
|
919
|
+
display: none;
|
920
|
+
}
|
921
|
+
*/
|
922
|
+
|
923
|
+
/* To hide labels of inlined fields
|
924
|
+
|
925
|
+
.alpaca-inline-item-container .alpaca-inline .alpaca-controlfield-label, .alpaca-inline-item-container .alpaca-inline .alpaca-fieldset-legend {
|
926
|
+
display: none;
|
927
|
+
}
|
928
|
+
|
929
|
+
*/
|
930
|
+
|
931
|
+
/* END styles for VIEW: VIEW_WEB_EDIT_INLINE */
|