administrate 0.20.1 → 1.0.0.beta1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +9 -9
  3. data/app/assets/builds/administrate/application.css +1960 -0
  4. data/app/assets/builds/administrate/application.css.map +1 -0
  5. data/app/assets/builds/administrate/application.js +8110 -0
  6. data/app/assets/builds/administrate/application.js.map +7 -0
  7. data/app/assets/builds/administrate-internal/docs.css +89 -0
  8. data/app/assets/builds/administrate-internal/docs.css.map +1 -0
  9. data/app/assets/config/administrate_manifest.js +2 -0
  10. data/app/assets/javascripts/administrate/add_jquery.js +4 -0
  11. data/app/assets/javascripts/administrate/application.js +8 -4
  12. data/app/assets/stylesheets/administrate/application.scss +2 -1
  13. data/app/assets/stylesheets/administrate/base/_forms.scss +4 -4
  14. data/app/assets/stylesheets/administrate/base/_tables.scss +1 -1
  15. data/app/assets/stylesheets/administrate/components/_attributes.scss +1 -0
  16. data/app/assets/stylesheets/administrate/components/_buttons.scss +1 -3
  17. data/app/assets/stylesheets/administrate/components/_cells.scss +19 -19
  18. data/app/assets/stylesheets/administrate/components/_field-unit.scss +1 -0
  19. data/app/assets/stylesheets/administrate/components/_main-content.scss +1 -1
  20. data/app/assets/stylesheets/administrate/components/_navigation.scss +3 -3
  21. data/app/assets/stylesheets/administrate/components/_search.scss +11 -11
  22. data/app/assets/stylesheets/administrate/library/_variables.scss +7 -3
  23. data/app/controllers/administrate/application_controller.rb +19 -19
  24. data/app/controllers/concerns/administrate/punditize.rb +5 -5
  25. data/app/helpers/administrate/application_helper.rb +4 -4
  26. data/lib/administrate/base_dashboard.rb +5 -5
  27. data/lib/administrate/engine.rb +1 -6
  28. data/lib/administrate/field/associative.rb +1 -1
  29. data/lib/administrate/field/base.rb +2 -2
  30. data/lib/administrate/field/belongs_to.rb +1 -1
  31. data/lib/administrate/field/date.rb +1 -1
  32. data/lib/administrate/field/date_time.rb +2 -2
  33. data/lib/administrate/field/deferred.rb +1 -1
  34. data/lib/administrate/field/has_many.rb +5 -5
  35. data/lib/administrate/field/has_one.rb +6 -6
  36. data/lib/administrate/field/number.rb +2 -2
  37. data/lib/administrate/field/polymorphic.rb +3 -3
  38. data/lib/administrate/generator_helpers.rb +1 -1
  39. data/lib/administrate/namespace/resource.rb +1 -1
  40. data/lib/administrate/order.rb +6 -6
  41. data/lib/administrate/page/base.rb +1 -1
  42. data/lib/administrate/page/collection.rb +2 -2
  43. data/lib/administrate/page/form.rb +1 -1
  44. data/lib/administrate/page/show.rb +1 -1
  45. data/lib/administrate/resource_resolver.rb +1 -1
  46. data/lib/administrate/search.rb +6 -7
  47. data/lib/administrate/version.rb +1 -1
  48. data/lib/administrate/view_generator.rb +3 -3
  49. data/lib/administrate.rb +18 -18
  50. data/lib/generators/administrate/dashboard/dashboard_generator.rb +9 -9
  51. data/lib/generators/administrate/field/field_generator.rb +2 -2
  52. data/lib/generators/administrate/install/install_generator.rb +2 -2
  53. data/lib/generators/administrate/routes/routes_generator.rb +5 -5
  54. data/lib/generators/administrate/views/field_generator.rb +2 -2
  55. data/lib/generators/administrate/views/layout_generator.rb +1 -1
  56. metadata +13 -47
  57. /data/app/assets/stylesheets/{docs.scss → administrate-internal/docs.scss} +0 -0
@@ -0,0 +1,1960 @@
1
+ @charset "UTF-8";
2
+ /*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
3
+ /* Document
4
+ ========================================================================== */
5
+ /**
6
+ * 1. Correct the line height in all browsers.
7
+ * 2. Prevent adjustments of font size after orientation changes in
8
+ * IE on Windows Phone and in iOS.
9
+ */
10
+ html {
11
+ line-height: 1.15; /* 1 */
12
+ -ms-text-size-adjust: 100%; /* 2 */
13
+ -webkit-text-size-adjust: 100%; /* 2 */
14
+ }
15
+
16
+ /* Sections
17
+ ========================================================================== */
18
+ /**
19
+ * Remove the margin in all browsers (opinionated).
20
+ */
21
+ body {
22
+ margin: 0;
23
+ }
24
+
25
+ /**
26
+ * Add the correct display in IE 9-.
27
+ */
28
+ article,
29
+ aside,
30
+ footer,
31
+ header,
32
+ nav,
33
+ section {
34
+ display: block;
35
+ }
36
+
37
+ /**
38
+ * Correct the font size and margin on `h1` elements within `section` and
39
+ * `article` contexts in Chrome, Firefox, and Safari.
40
+ */
41
+ h1 {
42
+ font-size: 2em;
43
+ margin: 0.67em 0;
44
+ }
45
+
46
+ /* Grouping content
47
+ ========================================================================== */
48
+ /**
49
+ * Add the correct display in IE 9-.
50
+ * 1. Add the correct display in IE.
51
+ */
52
+ figcaption,
53
+ figure,
54
+ main { /* 1 */
55
+ display: block;
56
+ }
57
+
58
+ /**
59
+ * Add the correct margin in IE 8.
60
+ */
61
+ figure {
62
+ margin: 1em 40px;
63
+ }
64
+
65
+ /**
66
+ * 1. Add the correct box sizing in Firefox.
67
+ * 2. Show the overflow in Edge and IE.
68
+ */
69
+ hr {
70
+ box-sizing: content-box; /* 1 */
71
+ height: 0; /* 1 */
72
+ overflow: visible; /* 2 */
73
+ }
74
+
75
+ /**
76
+ * 1. Correct the inheritance and scaling of font size in all browsers.
77
+ * 2. Correct the odd `em` font sizing in all browsers.
78
+ */
79
+ pre {
80
+ font-family: monospace, monospace; /* 1 */
81
+ font-size: 1em; /* 2 */
82
+ }
83
+
84
+ /* Text-level semantics
85
+ ========================================================================== */
86
+ /**
87
+ * 1. Remove the gray background on active links in IE 10.
88
+ * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
89
+ */
90
+ a {
91
+ background-color: transparent; /* 1 */
92
+ -webkit-text-decoration-skip: objects; /* 2 */
93
+ }
94
+
95
+ /**
96
+ * 1. Remove the bottom border in Chrome 57- and Firefox 39-.
97
+ * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
98
+ */
99
+ abbr[title] {
100
+ border-bottom: none; /* 1 */
101
+ text-decoration: underline; /* 2 */
102
+ text-decoration: underline dotted; /* 2 */
103
+ }
104
+
105
+ /**
106
+ * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
107
+ */
108
+ b,
109
+ strong {
110
+ font-weight: inherit;
111
+ }
112
+
113
+ /**
114
+ * Add the correct font weight in Chrome, Edge, and Safari.
115
+ */
116
+ b,
117
+ strong {
118
+ font-weight: bolder;
119
+ }
120
+
121
+ /**
122
+ * 1. Correct the inheritance and scaling of font size in all browsers.
123
+ * 2. Correct the odd `em` font sizing in all browsers.
124
+ */
125
+ code,
126
+ kbd,
127
+ samp {
128
+ font-family: monospace, monospace; /* 1 */
129
+ font-size: 1em; /* 2 */
130
+ }
131
+
132
+ /**
133
+ * Add the correct font style in Android 4.3-.
134
+ */
135
+ dfn {
136
+ font-style: italic;
137
+ }
138
+
139
+ /**
140
+ * Add the correct background and color in IE 9-.
141
+ */
142
+ mark {
143
+ background-color: #ff0;
144
+ color: #000;
145
+ }
146
+
147
+ /**
148
+ * Add the correct font size in all browsers.
149
+ */
150
+ small {
151
+ font-size: 80%;
152
+ }
153
+
154
+ /**
155
+ * Prevent `sub` and `sup` elements from affecting the line height in
156
+ * all browsers.
157
+ */
158
+ sub,
159
+ sup {
160
+ font-size: 75%;
161
+ line-height: 0;
162
+ position: relative;
163
+ vertical-align: baseline;
164
+ }
165
+
166
+ sub {
167
+ bottom: -0.25em;
168
+ }
169
+
170
+ sup {
171
+ top: -0.5em;
172
+ }
173
+
174
+ /* Embedded content
175
+ ========================================================================== */
176
+ /**
177
+ * Add the correct display in IE 9-.
178
+ */
179
+ audio,
180
+ video {
181
+ display: inline-block;
182
+ }
183
+
184
+ /**
185
+ * Add the correct display in iOS 4-7.
186
+ */
187
+ audio:not([controls]) {
188
+ display: none;
189
+ height: 0;
190
+ }
191
+
192
+ /**
193
+ * Remove the border on images inside links in IE 10-.
194
+ */
195
+ img {
196
+ border-style: none;
197
+ }
198
+
199
+ /**
200
+ * Hide the overflow in IE.
201
+ */
202
+ svg:not(:root) {
203
+ overflow: hidden;
204
+ }
205
+
206
+ /* Forms
207
+ ========================================================================== */
208
+ /**
209
+ * 1. Change the font styles in all browsers (opinionated).
210
+ * 2. Remove the margin in Firefox and Safari.
211
+ */
212
+ button,
213
+ input,
214
+ optgroup,
215
+ select,
216
+ textarea {
217
+ font-family: sans-serif; /* 1 */
218
+ font-size: 100%; /* 1 */
219
+ line-height: 1.15; /* 1 */
220
+ margin: 0; /* 2 */
221
+ }
222
+
223
+ /**
224
+ * Show the overflow in IE.
225
+ * 1. Show the overflow in Edge.
226
+ */
227
+ button,
228
+ input { /* 1 */
229
+ overflow: visible;
230
+ }
231
+
232
+ /**
233
+ * Remove the inheritance of text transform in Edge, Firefox, and IE.
234
+ * 1. Remove the inheritance of text transform in Firefox.
235
+ */
236
+ button,
237
+ select { /* 1 */
238
+ text-transform: none;
239
+ }
240
+
241
+ /**
242
+ * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
243
+ * controls in Android 4.
244
+ * 2. Correct the inability to style clickable types in iOS and Safari.
245
+ */
246
+ button,
247
+ html [type=button],
248
+ [type=reset],
249
+ [type=submit] {
250
+ -webkit-appearance: button; /* 2 */
251
+ }
252
+
253
+ /**
254
+ * Remove the inner border and padding in Firefox.
255
+ */
256
+ button::-moz-focus-inner,
257
+ [type=button]::-moz-focus-inner,
258
+ [type=reset]::-moz-focus-inner,
259
+ [type=submit]::-moz-focus-inner {
260
+ border-style: none;
261
+ padding: 0;
262
+ }
263
+
264
+ /**
265
+ * Restore the focus styles unset by the previous rule.
266
+ */
267
+ button:-moz-focusring,
268
+ [type=button]:-moz-focusring,
269
+ [type=reset]:-moz-focusring,
270
+ [type=submit]:-moz-focusring {
271
+ outline: 1px dotted ButtonText;
272
+ }
273
+
274
+ /**
275
+ * Correct the padding in Firefox.
276
+ */
277
+ fieldset {
278
+ padding: 0.35em 0.75em 0.625em;
279
+ }
280
+
281
+ /**
282
+ * 1. Correct the text wrapping in Edge and IE.
283
+ * 2. Correct the color inheritance from `fieldset` elements in IE.
284
+ * 3. Remove the padding so developers are not caught out when they zero out
285
+ * `fieldset` elements in all browsers.
286
+ */
287
+ legend {
288
+ box-sizing: border-box; /* 1 */
289
+ color: inherit; /* 2 */
290
+ display: table; /* 1 */
291
+ max-width: 100%; /* 1 */
292
+ padding: 0; /* 3 */
293
+ white-space: normal; /* 1 */
294
+ }
295
+
296
+ /**
297
+ * 1. Add the correct display in IE 9-.
298
+ * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
299
+ */
300
+ progress {
301
+ display: inline-block; /* 1 */
302
+ vertical-align: baseline; /* 2 */
303
+ }
304
+
305
+ /**
306
+ * Remove the default vertical scrollbar in IE.
307
+ */
308
+ textarea {
309
+ overflow: auto;
310
+ }
311
+
312
+ /**
313
+ * 1. Add the correct box sizing in IE 10-.
314
+ * 2. Remove the padding in IE 10-.
315
+ */
316
+ [type=checkbox],
317
+ [type=radio] {
318
+ box-sizing: border-box; /* 1 */
319
+ padding: 0; /* 2 */
320
+ }
321
+
322
+ /**
323
+ * Correct the cursor style of increment and decrement buttons in Chrome.
324
+ */
325
+ [type=number]::-webkit-inner-spin-button,
326
+ [type=number]::-webkit-outer-spin-button {
327
+ height: auto;
328
+ }
329
+
330
+ /**
331
+ * 1. Correct the odd appearance in Chrome and Safari.
332
+ * 2. Correct the outline style in Safari.
333
+ */
334
+ [type=search] {
335
+ -webkit-appearance: textfield; /* 1 */
336
+ outline-offset: -2px; /* 2 */
337
+ }
338
+
339
+ /**
340
+ * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
341
+ */
342
+ [type=search]::-webkit-search-cancel-button,
343
+ [type=search]::-webkit-search-decoration {
344
+ -webkit-appearance: none;
345
+ }
346
+
347
+ /**
348
+ * 1. Correct the inability to style clickable types in iOS and Safari.
349
+ * 2. Change font properties to `inherit` in Safari.
350
+ */
351
+ ::-webkit-file-upload-button {
352
+ -webkit-appearance: button; /* 1 */
353
+ font: inherit; /* 2 */
354
+ }
355
+
356
+ /* Interactive
357
+ ========================================================================== */
358
+ /*
359
+ * Add the correct display in IE 9-.
360
+ * 1. Add the correct display in Edge, IE, and Firefox.
361
+ */
362
+ details,
363
+ menu {
364
+ display: block;
365
+ }
366
+
367
+ /*
368
+ * Add the correct display in all browsers.
369
+ */
370
+ summary {
371
+ display: list-item;
372
+ }
373
+
374
+ /* Scripting
375
+ ========================================================================== */
376
+ /**
377
+ * Add the correct display in IE 9-.
378
+ */
379
+ canvas {
380
+ display: inline-block;
381
+ }
382
+
383
+ /**
384
+ * Add the correct display in IE.
385
+ */
386
+ template {
387
+ display: none;
388
+ }
389
+
390
+ /* Hidden
391
+ ========================================================================== */
392
+ /**
393
+ * Add the correct display in IE 10-.
394
+ */
395
+ [hidden] {
396
+ display: none;
397
+ }
398
+
399
+ /**
400
+ * selectize.css (v0.12.6)
401
+ * Copyright (c) 2013–2015 Brian Reavis & contributors
402
+ *
403
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
404
+ * file except in compliance with the License. You may obtain a copy of the License at:
405
+ * http://www.apache.org/licenses/LICENSE-2.0
406
+ *
407
+ * Unless required by applicable law or agreed to in writing, software distributed under
408
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
409
+ * ANY KIND, either express or implied. See the License for the specific language
410
+ * governing permissions and limitations under the License.
411
+ *
412
+ * @author Brian Reavis <brian@thirdroute.com>
413
+ */
414
+ .selectize-control.plugin-drag_drop.multi > .selectize-input > div.ui-sortable-placeholder {
415
+ visibility: visible !important;
416
+ background: #f2f2f2 !important;
417
+ background: rgba(0, 0, 0, 0.06) !important;
418
+ border: 0 none !important;
419
+ -webkit-box-shadow: inset 0 0 12px 4px #fff;
420
+ box-shadow: inset 0 0 12px 4px #fff;
421
+ }
422
+
423
+ .selectize-control.plugin-drag_drop .ui-sortable-placeholder::after {
424
+ content: "!";
425
+ visibility: hidden;
426
+ }
427
+
428
+ .selectize-control.plugin-drag_drop .ui-sortable-helper {
429
+ -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
430
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
431
+ }
432
+
433
+ .selectize-dropdown-header {
434
+ position: relative;
435
+ padding: 5px 8px;
436
+ border-bottom: 1px solid #d0d0d0;
437
+ background: #f8f8f8;
438
+ -webkit-border-radius: 3px 3px 0 0;
439
+ -moz-border-radius: 3px 3px 0 0;
440
+ border-radius: 3px 3px 0 0;
441
+ }
442
+
443
+ .selectize-dropdown-header-close {
444
+ position: absolute;
445
+ right: 8px;
446
+ top: 50%;
447
+ color: #303030;
448
+ opacity: 0.4;
449
+ margin-top: -12px;
450
+ line-height: 20px;
451
+ font-size: 20px !important;
452
+ }
453
+
454
+ .selectize-dropdown-header-close:hover {
455
+ color: #000000;
456
+ }
457
+
458
+ .selectize-dropdown.plugin-optgroup_columns .optgroup {
459
+ border-right: 1px solid #f2f2f2;
460
+ border-top: 0 none;
461
+ float: left;
462
+ -webkit-box-sizing: border-box;
463
+ -moz-box-sizing: border-box;
464
+ box-sizing: border-box;
465
+ }
466
+
467
+ .selectize-dropdown.plugin-optgroup_columns .optgroup:last-child {
468
+ border-right: 0 none;
469
+ }
470
+
471
+ .selectize-dropdown.plugin-optgroup_columns .optgroup:before {
472
+ display: none;
473
+ }
474
+
475
+ .selectize-dropdown.plugin-optgroup_columns .optgroup-header {
476
+ border-top: 0 none;
477
+ }
478
+
479
+ .selectize-control.plugin-remove_button [data-value] {
480
+ position: relative;
481
+ padding-right: 24px !important;
482
+ }
483
+
484
+ .selectize-control.plugin-remove_button [data-value] .remove {
485
+ z-index: 1;
486
+ /* fixes ie bug (see #392) */
487
+ position: absolute;
488
+ top: 0;
489
+ right: 0;
490
+ bottom: 0;
491
+ width: 17px;
492
+ text-align: center;
493
+ font-weight: bold;
494
+ font-size: 12px;
495
+ color: inherit;
496
+ text-decoration: none;
497
+ vertical-align: middle;
498
+ display: inline-block;
499
+ padding: 2px 0 0 0;
500
+ border-left: 1px solid #d0d0d0;
501
+ -webkit-border-radius: 0 2px 2px 0;
502
+ -moz-border-radius: 0 2px 2px 0;
503
+ border-radius: 0 2px 2px 0;
504
+ -webkit-box-sizing: border-box;
505
+ -moz-box-sizing: border-box;
506
+ box-sizing: border-box;
507
+ }
508
+
509
+ .selectize-control.plugin-remove_button [data-value] .remove:hover {
510
+ background: rgba(0, 0, 0, 0.05);
511
+ }
512
+
513
+ .selectize-control.plugin-remove_button [data-value].active .remove {
514
+ border-left-color: #cacaca;
515
+ }
516
+
517
+ .selectize-control.plugin-remove_button .disabled [data-value] .remove:hover {
518
+ background: none;
519
+ }
520
+
521
+ .selectize-control.plugin-remove_button .disabled [data-value] .remove {
522
+ border-left-color: #ffffff;
523
+ }
524
+
525
+ .selectize-control.plugin-remove_button .remove-single {
526
+ position: absolute;
527
+ right: 0;
528
+ top: 0;
529
+ font-size: 23px;
530
+ }
531
+
532
+ .selectize-control {
533
+ position: relative;
534
+ }
535
+
536
+ .selectize-dropdown,
537
+ .selectize-input,
538
+ .selectize-input input {
539
+ color: #303030;
540
+ font-family: inherit;
541
+ font-size: 13px;
542
+ line-height: 18px;
543
+ -webkit-font-smoothing: inherit;
544
+ }
545
+
546
+ .selectize-input,
547
+ .selectize-control.single .selectize-input.input-active {
548
+ background: #fff;
549
+ cursor: text;
550
+ display: inline-block;
551
+ }
552
+
553
+ .selectize-input {
554
+ border: 1px solid #d0d0d0;
555
+ padding: 8px 8px;
556
+ display: inline-block;
557
+ width: 100%;
558
+ overflow: hidden;
559
+ position: relative;
560
+ z-index: 1;
561
+ -webkit-box-sizing: border-box;
562
+ -moz-box-sizing: border-box;
563
+ box-sizing: border-box;
564
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
565
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
566
+ -webkit-border-radius: 3px;
567
+ -moz-border-radius: 3px;
568
+ border-radius: 3px;
569
+ }
570
+
571
+ .selectize-control.multi .selectize-input.has-items {
572
+ padding: 6px 8px 3px;
573
+ }
574
+
575
+ .selectize-input.full {
576
+ background-color: #fff;
577
+ }
578
+
579
+ .selectize-input.disabled,
580
+ .selectize-input.disabled * {
581
+ cursor: default !important;
582
+ }
583
+
584
+ .selectize-input.focus {
585
+ -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
586
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
587
+ }
588
+
589
+ .selectize-input.dropdown-active {
590
+ -webkit-border-radius: 3px 3px 0 0;
591
+ -moz-border-radius: 3px 3px 0 0;
592
+ border-radius: 3px 3px 0 0;
593
+ }
594
+
595
+ .selectize-input > * {
596
+ vertical-align: baseline;
597
+ display: -moz-inline-stack;
598
+ display: inline-block;
599
+ zoom: 1;
600
+ *display: inline;
601
+ }
602
+
603
+ .selectize-control.multi .selectize-input > div {
604
+ cursor: pointer;
605
+ margin: 0 3px 3px 0;
606
+ padding: 2px 6px;
607
+ background: #f2f2f2;
608
+ color: #303030;
609
+ border: 0 solid #d0d0d0;
610
+ }
611
+
612
+ .selectize-control.multi .selectize-input > div.active {
613
+ background: #e8e8e8;
614
+ color: #303030;
615
+ border: 0 solid #cacaca;
616
+ }
617
+
618
+ .selectize-control.multi .selectize-input.disabled > div,
619
+ .selectize-control.multi .selectize-input.disabled > div.active {
620
+ color: #7d7d7d;
621
+ background: #ffffff;
622
+ border: 0 solid #ffffff;
623
+ }
624
+
625
+ .selectize-input > input {
626
+ display: inline-block !important;
627
+ padding: 0 !important;
628
+ min-height: 0 !important;
629
+ max-height: none !important;
630
+ max-width: 100% !important;
631
+ margin: 0 2px 0 0 !important;
632
+ text-indent: 0 !important;
633
+ border: 0 none !important;
634
+ background: none !important;
635
+ line-height: inherit !important;
636
+ -webkit-user-select: auto !important;
637
+ -webkit-box-shadow: none !important;
638
+ box-shadow: none !important;
639
+ }
640
+
641
+ .selectize-input > input::-ms-clear {
642
+ display: none;
643
+ }
644
+
645
+ .selectize-input > input:focus {
646
+ outline: none !important;
647
+ }
648
+
649
+ .selectize-input::after {
650
+ content: " ";
651
+ display: block;
652
+ clear: left;
653
+ }
654
+
655
+ .selectize-input.dropdown-active::before {
656
+ content: " ";
657
+ display: block;
658
+ position: absolute;
659
+ background: #f0f0f0;
660
+ height: 1px;
661
+ bottom: 0;
662
+ left: 0;
663
+ right: 0;
664
+ }
665
+
666
+ .selectize-dropdown {
667
+ position: absolute;
668
+ z-index: 10;
669
+ border: 1px solid #d0d0d0;
670
+ background: #fff;
671
+ margin: -1px 0 0 0;
672
+ border-top: 0 none;
673
+ -webkit-box-sizing: border-box;
674
+ -moz-box-sizing: border-box;
675
+ box-sizing: border-box;
676
+ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
677
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
678
+ -webkit-border-radius: 0 0 3px 3px;
679
+ -moz-border-radius: 0 0 3px 3px;
680
+ border-radius: 0 0 3px 3px;
681
+ }
682
+
683
+ .selectize-dropdown [data-selectable] {
684
+ cursor: pointer;
685
+ overflow: hidden;
686
+ }
687
+
688
+ .selectize-dropdown [data-selectable] .highlight {
689
+ background: rgba(125, 168, 208, 0.2);
690
+ -webkit-border-radius: 1px;
691
+ -moz-border-radius: 1px;
692
+ border-radius: 1px;
693
+ }
694
+
695
+ .selectize-dropdown .option,
696
+ .selectize-dropdown .optgroup-header {
697
+ padding: 5px 8px;
698
+ }
699
+
700
+ .selectize-dropdown .option,
701
+ .selectize-dropdown [data-disabled],
702
+ .selectize-dropdown [data-disabled] [data-selectable].option {
703
+ cursor: inherit;
704
+ opacity: 0.5;
705
+ }
706
+
707
+ .selectize-dropdown [data-selectable].option {
708
+ opacity: 1;
709
+ }
710
+
711
+ .selectize-dropdown .optgroup:first-child .optgroup-header {
712
+ border-top: 0 none;
713
+ }
714
+
715
+ .selectize-dropdown .optgroup-header {
716
+ color: #303030;
717
+ background: #fff;
718
+ cursor: default;
719
+ }
720
+
721
+ .selectize-dropdown .active {
722
+ background-color: #f5fafd;
723
+ color: #495c68;
724
+ }
725
+
726
+ .selectize-dropdown .active.create {
727
+ color: #495c68;
728
+ }
729
+
730
+ .selectize-dropdown .create {
731
+ color: rgba(48, 48, 48, 0.5);
732
+ }
733
+
734
+ .selectize-dropdown-content {
735
+ overflow-y: auto;
736
+ overflow-x: hidden;
737
+ max-height: 200px;
738
+ -webkit-overflow-scrolling: touch;
739
+ }
740
+
741
+ .selectize-control.single .selectize-input,
742
+ .selectize-control.single .selectize-input input {
743
+ cursor: pointer;
744
+ }
745
+
746
+ .selectize-control.single .selectize-input.input-active,
747
+ .selectize-control.single .selectize-input.input-active input {
748
+ cursor: text;
749
+ }
750
+
751
+ .selectize-control.single .selectize-input:after {
752
+ content: " ";
753
+ display: block;
754
+ position: absolute;
755
+ top: 50%;
756
+ right: 15px;
757
+ margin-top: -3px;
758
+ width: 0;
759
+ height: 0;
760
+ border-style: solid;
761
+ border-width: 5px 5px 0 5px;
762
+ border-color: #808080 transparent transparent transparent;
763
+ }
764
+
765
+ .selectize-control.single .selectize-input.dropdown-active:after {
766
+ margin-top: -4px;
767
+ border-width: 0 5px 5px 5px;
768
+ border-color: transparent transparent #808080 transparent;
769
+ }
770
+
771
+ .selectize-control.rtl.single .selectize-input:after {
772
+ left: 15px;
773
+ right: auto;
774
+ }
775
+
776
+ .selectize-control.rtl .selectize-input > input {
777
+ margin: 0 4px 0 -2px !important;
778
+ }
779
+
780
+ .selectize-control .selectize-input.disabled {
781
+ opacity: 0.5;
782
+ background-color: #fafafa;
783
+ }
784
+
785
+ /**
786
+ * selectize.default.css (v0.12.6) - Default Theme
787
+ * Copyright (c) 2013–2015 Brian Reavis & contributors
788
+ *
789
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
790
+ * file except in compliance with the License. You may obtain a copy of the License at:
791
+ * http://www.apache.org/licenses/LICENSE-2.0
792
+ *
793
+ * Unless required by applicable law or agreed to in writing, software distributed under
794
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
795
+ * ANY KIND, either express or implied. See the License for the specific language
796
+ * governing permissions and limitations under the License.
797
+ *
798
+ * @author Brian Reavis <brian@thirdroute.com>
799
+ */
800
+ .selectize-control.plugin-drag_drop.multi > .selectize-input > div.ui-sortable-placeholder {
801
+ visibility: visible !important;
802
+ background: #f2f2f2 !important;
803
+ background: rgba(0, 0, 0, 0.06) !important;
804
+ border: 0 none !important;
805
+ -webkit-box-shadow: inset 0 0 12px 4px #fff;
806
+ box-shadow: inset 0 0 12px 4px #fff;
807
+ }
808
+
809
+ .selectize-control.plugin-drag_drop .ui-sortable-placeholder::after {
810
+ content: "!";
811
+ visibility: hidden;
812
+ }
813
+
814
+ .selectize-control.plugin-drag_drop .ui-sortable-helper {
815
+ -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
816
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
817
+ }
818
+
819
+ .selectize-dropdown-header {
820
+ position: relative;
821
+ padding: 5px 8px;
822
+ border-bottom: 1px solid #d0d0d0;
823
+ background: #f8f8f8;
824
+ -webkit-border-radius: 3px 3px 0 0;
825
+ -moz-border-radius: 3px 3px 0 0;
826
+ border-radius: 3px 3px 0 0;
827
+ }
828
+
829
+ .selectize-dropdown-header-close {
830
+ position: absolute;
831
+ right: 8px;
832
+ top: 50%;
833
+ color: #303030;
834
+ opacity: 0.4;
835
+ margin-top: -12px;
836
+ line-height: 20px;
837
+ font-size: 20px !important;
838
+ }
839
+
840
+ .selectize-dropdown-header-close:hover {
841
+ color: #000000;
842
+ }
843
+
844
+ .selectize-dropdown.plugin-optgroup_columns .optgroup {
845
+ border-right: 1px solid #f2f2f2;
846
+ border-top: 0 none;
847
+ float: left;
848
+ -webkit-box-sizing: border-box;
849
+ -moz-box-sizing: border-box;
850
+ box-sizing: border-box;
851
+ }
852
+
853
+ .selectize-dropdown.plugin-optgroup_columns .optgroup:last-child {
854
+ border-right: 0 none;
855
+ }
856
+
857
+ .selectize-dropdown.plugin-optgroup_columns .optgroup:before {
858
+ display: none;
859
+ }
860
+
861
+ .selectize-dropdown.plugin-optgroup_columns .optgroup-header {
862
+ border-top: 0 none;
863
+ }
864
+
865
+ .selectize-control.plugin-remove_button [data-value] {
866
+ position: relative;
867
+ padding-right: 24px !important;
868
+ }
869
+
870
+ .selectize-control.plugin-remove_button [data-value] .remove {
871
+ z-index: 1;
872
+ /* fixes ie bug (see #392) */
873
+ position: absolute;
874
+ top: 0;
875
+ right: 0;
876
+ bottom: 0;
877
+ width: 17px;
878
+ text-align: center;
879
+ font-weight: bold;
880
+ font-size: 12px;
881
+ color: inherit;
882
+ text-decoration: none;
883
+ vertical-align: middle;
884
+ display: inline-block;
885
+ padding: 2px 0 0 0;
886
+ border-left: 1px solid #0073bb;
887
+ -webkit-border-radius: 0 2px 2px 0;
888
+ -moz-border-radius: 0 2px 2px 0;
889
+ border-radius: 0 2px 2px 0;
890
+ -webkit-box-sizing: border-box;
891
+ -moz-box-sizing: border-box;
892
+ box-sizing: border-box;
893
+ }
894
+
895
+ .selectize-control.plugin-remove_button [data-value] .remove:hover {
896
+ background: rgba(0, 0, 0, 0.05);
897
+ }
898
+
899
+ .selectize-control.plugin-remove_button [data-value].active .remove {
900
+ border-left-color: #00578d;
901
+ }
902
+
903
+ .selectize-control.plugin-remove_button .disabled [data-value] .remove:hover {
904
+ background: none;
905
+ }
906
+
907
+ .selectize-control.plugin-remove_button .disabled [data-value] .remove {
908
+ border-left-color: #aaaaaa;
909
+ }
910
+
911
+ .selectize-control.plugin-remove_button .remove-single {
912
+ position: absolute;
913
+ right: 0;
914
+ top: 0;
915
+ font-size: 23px;
916
+ }
917
+
918
+ .selectize-control {
919
+ position: relative;
920
+ }
921
+
922
+ .selectize-dropdown,
923
+ .selectize-input,
924
+ .selectize-input input {
925
+ color: #303030;
926
+ font-family: inherit;
927
+ font-size: 13px;
928
+ line-height: 18px;
929
+ -webkit-font-smoothing: inherit;
930
+ }
931
+
932
+ .selectize-input,
933
+ .selectize-control.single .selectize-input.input-active {
934
+ background: #fff;
935
+ cursor: text;
936
+ display: inline-block;
937
+ }
938
+
939
+ .selectize-input {
940
+ border: 1px solid #d0d0d0;
941
+ padding: 8px 8px;
942
+ display: inline-block;
943
+ width: 100%;
944
+ overflow: hidden;
945
+ position: relative;
946
+ z-index: 1;
947
+ -webkit-box-sizing: border-box;
948
+ -moz-box-sizing: border-box;
949
+ box-sizing: border-box;
950
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
951
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
952
+ -webkit-border-radius: 3px;
953
+ -moz-border-radius: 3px;
954
+ border-radius: 3px;
955
+ }
956
+
957
+ .selectize-control.multi .selectize-input.has-items {
958
+ padding: 5px 8px 2px;
959
+ }
960
+
961
+ .selectize-input.full {
962
+ background-color: #fff;
963
+ }
964
+
965
+ .selectize-input.disabled,
966
+ .selectize-input.disabled * {
967
+ cursor: default !important;
968
+ }
969
+
970
+ .selectize-input.focus {
971
+ -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
972
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
973
+ }
974
+
975
+ .selectize-input.dropdown-active {
976
+ -webkit-border-radius: 3px 3px 0 0;
977
+ -moz-border-radius: 3px 3px 0 0;
978
+ border-radius: 3px 3px 0 0;
979
+ }
980
+
981
+ .selectize-input > * {
982
+ vertical-align: baseline;
983
+ display: -moz-inline-stack;
984
+ display: inline-block;
985
+ zoom: 1;
986
+ *display: inline;
987
+ }
988
+
989
+ .selectize-control.multi .selectize-input > div {
990
+ cursor: pointer;
991
+ margin: 0 3px 3px 0;
992
+ padding: 2px 6px;
993
+ background: #1da7ee;
994
+ color: #fff;
995
+ border: 1px solid #0073bb;
996
+ }
997
+
998
+ .selectize-control.multi .selectize-input > div.active {
999
+ background: #92c836;
1000
+ color: #fff;
1001
+ border: 1px solid #00578d;
1002
+ }
1003
+
1004
+ .selectize-control.multi .selectize-input.disabled > div,
1005
+ .selectize-control.multi .selectize-input.disabled > div.active {
1006
+ color: #ffffff;
1007
+ background: #d2d2d2;
1008
+ border: 1px solid #aaaaaa;
1009
+ }
1010
+
1011
+ .selectize-input > input {
1012
+ display: inline-block !important;
1013
+ padding: 0 !important;
1014
+ min-height: 0 !important;
1015
+ max-height: none !important;
1016
+ max-width: 100% !important;
1017
+ margin: 0 1px !important;
1018
+ text-indent: 0 !important;
1019
+ border: 0 none !important;
1020
+ background: none !important;
1021
+ line-height: inherit !important;
1022
+ -webkit-user-select: auto !important;
1023
+ -webkit-box-shadow: none !important;
1024
+ box-shadow: none !important;
1025
+ }
1026
+
1027
+ .selectize-input > input::-ms-clear {
1028
+ display: none;
1029
+ }
1030
+
1031
+ .selectize-input > input:focus {
1032
+ outline: none !important;
1033
+ }
1034
+
1035
+ .selectize-input::after {
1036
+ content: " ";
1037
+ display: block;
1038
+ clear: left;
1039
+ }
1040
+
1041
+ .selectize-input.dropdown-active::before {
1042
+ content: " ";
1043
+ display: block;
1044
+ position: absolute;
1045
+ background: #f0f0f0;
1046
+ height: 1px;
1047
+ bottom: 0;
1048
+ left: 0;
1049
+ right: 0;
1050
+ }
1051
+
1052
+ .selectize-dropdown {
1053
+ position: absolute;
1054
+ z-index: 10;
1055
+ border: 1px solid #d0d0d0;
1056
+ background: #fff;
1057
+ margin: -1px 0 0 0;
1058
+ border-top: 0 none;
1059
+ -webkit-box-sizing: border-box;
1060
+ -moz-box-sizing: border-box;
1061
+ box-sizing: border-box;
1062
+ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
1063
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
1064
+ -webkit-border-radius: 0 0 3px 3px;
1065
+ -moz-border-radius: 0 0 3px 3px;
1066
+ border-radius: 0 0 3px 3px;
1067
+ }
1068
+
1069
+ .selectize-dropdown [data-selectable] {
1070
+ cursor: pointer;
1071
+ overflow: hidden;
1072
+ }
1073
+
1074
+ .selectize-dropdown [data-selectable] .highlight {
1075
+ background: rgba(125, 168, 208, 0.2);
1076
+ -webkit-border-radius: 1px;
1077
+ -moz-border-radius: 1px;
1078
+ border-radius: 1px;
1079
+ }
1080
+
1081
+ .selectize-dropdown .option,
1082
+ .selectize-dropdown .optgroup-header {
1083
+ padding: 5px 8px;
1084
+ }
1085
+
1086
+ .selectize-dropdown .option,
1087
+ .selectize-dropdown [data-disabled],
1088
+ .selectize-dropdown [data-disabled] [data-selectable].option {
1089
+ cursor: inherit;
1090
+ opacity: 0.5;
1091
+ }
1092
+
1093
+ .selectize-dropdown [data-selectable].option {
1094
+ opacity: 1;
1095
+ }
1096
+
1097
+ .selectize-dropdown .optgroup:first-child .optgroup-header {
1098
+ border-top: 0 none;
1099
+ }
1100
+
1101
+ .selectize-dropdown .optgroup-header {
1102
+ color: #303030;
1103
+ background: #fff;
1104
+ cursor: default;
1105
+ }
1106
+
1107
+ .selectize-dropdown .active {
1108
+ background-color: #f5fafd;
1109
+ color: #495c68;
1110
+ }
1111
+
1112
+ .selectize-dropdown .active.create {
1113
+ color: #495c68;
1114
+ }
1115
+
1116
+ .selectize-dropdown .create {
1117
+ color: rgba(48, 48, 48, 0.5);
1118
+ }
1119
+
1120
+ .selectize-dropdown-content {
1121
+ overflow-y: auto;
1122
+ overflow-x: hidden;
1123
+ max-height: 200px;
1124
+ -webkit-overflow-scrolling: touch;
1125
+ }
1126
+
1127
+ .selectize-control.single .selectize-input,
1128
+ .selectize-control.single .selectize-input input {
1129
+ cursor: pointer;
1130
+ }
1131
+
1132
+ .selectize-control.single .selectize-input.input-active,
1133
+ .selectize-control.single .selectize-input.input-active input {
1134
+ cursor: text;
1135
+ }
1136
+
1137
+ .selectize-control.single .selectize-input:after {
1138
+ content: " ";
1139
+ display: block;
1140
+ position: absolute;
1141
+ top: 50%;
1142
+ right: 15px;
1143
+ margin-top: -3px;
1144
+ width: 0;
1145
+ height: 0;
1146
+ border-style: solid;
1147
+ border-width: 5px 5px 0 5px;
1148
+ border-color: #808080 transparent transparent transparent;
1149
+ }
1150
+
1151
+ .selectize-control.single .selectize-input.dropdown-active:after {
1152
+ margin-top: -4px;
1153
+ border-width: 0 5px 5px 5px;
1154
+ border-color: transparent transparent #808080 transparent;
1155
+ }
1156
+
1157
+ .selectize-control.rtl.single .selectize-input:after {
1158
+ left: 15px;
1159
+ right: auto;
1160
+ }
1161
+
1162
+ .selectize-control.rtl .selectize-input > input {
1163
+ margin: 0 4px 0 -2px !important;
1164
+ }
1165
+
1166
+ .selectize-control .selectize-input.disabled {
1167
+ opacity: 0.5;
1168
+ background-color: #fafafa;
1169
+ }
1170
+
1171
+ .selectize-control.multi .selectize-input.has-items {
1172
+ padding-left: 5px;
1173
+ padding-right: 5px;
1174
+ }
1175
+
1176
+ .selectize-control.multi .selectize-input.disabled [data-value] {
1177
+ color: #999;
1178
+ text-shadow: none;
1179
+ background: none;
1180
+ -webkit-box-shadow: none;
1181
+ box-shadow: none;
1182
+ }
1183
+
1184
+ .selectize-control.multi .selectize-input.disabled [data-value],
1185
+ .selectize-control.multi .selectize-input.disabled [data-value] .remove {
1186
+ border-color: #e6e6e6;
1187
+ }
1188
+
1189
+ .selectize-control.multi .selectize-input.disabled [data-value] .remove {
1190
+ background: none;
1191
+ }
1192
+
1193
+ .selectize-control.multi .selectize-input [data-value] {
1194
+ text-shadow: 0 1px 0 rgba(0, 51, 83, 0.3);
1195
+ -webkit-border-radius: 3px;
1196
+ -moz-border-radius: 3px;
1197
+ border-radius: 3px;
1198
+ background-color: #1b9dec;
1199
+ background-image: -moz-linear-gradient(top, #1da7ee, #178ee9);
1200
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#1da7ee), to(#178ee9));
1201
+ background-image: -webkit-linear-gradient(top, #1da7ee, #178ee9);
1202
+ background-image: -o-linear-gradient(top, #1da7ee, #178ee9);
1203
+ background-image: linear-gradient(to bottom, #1da7ee, #178ee9);
1204
+ background-repeat: repeat-x;
1205
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ff1da7ee", endColorstr="#ff178ee9", GradientType=0);
1206
+ -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.03);
1207
+ box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.03);
1208
+ }
1209
+
1210
+ .selectize-control.multi .selectize-input [data-value].active {
1211
+ background-color: #0085d4;
1212
+ background-image: -moz-linear-gradient(top, #008fd8, #0075cf);
1213
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#008fd8), to(#0075cf));
1214
+ background-image: -webkit-linear-gradient(top, #008fd8, #0075cf);
1215
+ background-image: -o-linear-gradient(top, #008fd8, #0075cf);
1216
+ background-image: linear-gradient(to bottom, #008fd8, #0075cf);
1217
+ background-repeat: repeat-x;
1218
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ff008fd8", endColorstr="#ff0075cf", GradientType=0);
1219
+ }
1220
+
1221
+ .selectize-control.single .selectize-input {
1222
+ -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
1223
+ box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
1224
+ background-color: #f9f9f9;
1225
+ background-image: -moz-linear-gradient(top, #fefefe, #f2f2f2);
1226
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fefefe), to(#f2f2f2));
1227
+ background-image: -webkit-linear-gradient(top, #fefefe, #f2f2f2);
1228
+ background-image: -o-linear-gradient(top, #fefefe, #f2f2f2);
1229
+ background-image: linear-gradient(to bottom, #fefefe, #f2f2f2);
1230
+ background-repeat: repeat-x;
1231
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#fffefefe", endColorstr="#fff2f2f2", GradientType=0);
1232
+ }
1233
+
1234
+ .selectize-control.single .selectize-input,
1235
+ .selectize-dropdown.single {
1236
+ border-color: #b8b8b8;
1237
+ }
1238
+
1239
+ .selectize-dropdown .optgroup-header {
1240
+ padding-top: 7px;
1241
+ font-weight: bold;
1242
+ font-size: 0.85em;
1243
+ }
1244
+
1245
+ .selectize-dropdown .optgroup {
1246
+ border-top: 1px solid #f0f0f0;
1247
+ }
1248
+
1249
+ .selectize-dropdown .optgroup:first-child {
1250
+ border-top: 0 none;
1251
+ }
1252
+
1253
+ /* stylelint-disable scss/dollar-variable-empty-line-before */
1254
+ /* stylelint-enable scss/dollar-variable-empty-line-before */
1255
+ fieldset {
1256
+ background-color: transparent;
1257
+ border: 0;
1258
+ margin: 0;
1259
+ padding: 0;
1260
+ }
1261
+
1262
+ legend {
1263
+ font-weight: 700;
1264
+ margin: 0;
1265
+ padding: 0;
1266
+ }
1267
+
1268
+ label {
1269
+ display: block;
1270
+ font-weight: 700;
1271
+ margin: 0;
1272
+ }
1273
+
1274
+ input,
1275
+ select {
1276
+ display: block;
1277
+ font-family: -apple-system, blinkmacsystemfont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
1278
+ font-size: 1em;
1279
+ }
1280
+
1281
+ input,
1282
+ select,
1283
+ textarea {
1284
+ display: block;
1285
+ font-family: -apple-system, blinkmacsystemfont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
1286
+ font-size: 16px;
1287
+ }
1288
+
1289
+ textarea {
1290
+ resize: vertical;
1291
+ }
1292
+
1293
+ [type=color],
1294
+ [type=date],
1295
+ [type=datetime-local],
1296
+ [type=email],
1297
+ [type=month],
1298
+ [type=number],
1299
+ [type=password],
1300
+ [type=search],
1301
+ [type=tel],
1302
+ [type=text],
1303
+ [type=time],
1304
+ [type=url],
1305
+ [type=week],
1306
+ input:not([type]),
1307
+ textarea {
1308
+ appearance: none;
1309
+ background-color: #ffffff;
1310
+ border: 1px solid #dfe0e1;
1311
+ border-radius: 4px;
1312
+ padding: 0.5em;
1313
+ transition: border-color 250ms ease-in-out;
1314
+ width: 100%;
1315
+ }
1316
+ [type=color]:hover,
1317
+ [type=date]:hover,
1318
+ [type=datetime-local]:hover,
1319
+ [type=email]:hover,
1320
+ [type=month]:hover,
1321
+ [type=number]:hover,
1322
+ [type=password]:hover,
1323
+ [type=search]:hover,
1324
+ [type=tel]:hover,
1325
+ [type=text]:hover,
1326
+ [type=time]:hover,
1327
+ [type=url]:hover,
1328
+ [type=week]:hover,
1329
+ input:not([type]):hover,
1330
+ textarea:hover {
1331
+ border-color: #b2b3b4;
1332
+ }
1333
+ [type=color]:focus,
1334
+ [type=date]:focus,
1335
+ [type=datetime-local]:focus,
1336
+ [type=email]:focus,
1337
+ [type=month]:focus,
1338
+ [type=number]:focus,
1339
+ [type=password]:focus,
1340
+ [type=search]:focus,
1341
+ [type=tel]:focus,
1342
+ [type=text]:focus,
1343
+ [type=time]:focus,
1344
+ [type=url]:focus,
1345
+ [type=week]:focus,
1346
+ input:not([type]):focus,
1347
+ textarea:focus {
1348
+ border-color: #1976d2;
1349
+ outline: none;
1350
+ }
1351
+ [type=color]:disabled,
1352
+ [type=date]:disabled,
1353
+ [type=datetime-local]:disabled,
1354
+ [type=email]:disabled,
1355
+ [type=month]:disabled,
1356
+ [type=number]:disabled,
1357
+ [type=password]:disabled,
1358
+ [type=search]:disabled,
1359
+ [type=tel]:disabled,
1360
+ [type=text]:disabled,
1361
+ [type=time]:disabled,
1362
+ [type=url]:disabled,
1363
+ [type=week]:disabled,
1364
+ input:not([type]):disabled,
1365
+ textarea:disabled {
1366
+ background-color: #f2f2f2;
1367
+ cursor: not-allowed;
1368
+ }
1369
+ [type=color]:disabled:hover,
1370
+ [type=date]:disabled:hover,
1371
+ [type=datetime-local]:disabled:hover,
1372
+ [type=email]:disabled:hover,
1373
+ [type=month]:disabled:hover,
1374
+ [type=number]:disabled:hover,
1375
+ [type=password]:disabled:hover,
1376
+ [type=search]:disabled:hover,
1377
+ [type=tel]:disabled:hover,
1378
+ [type=text]:disabled:hover,
1379
+ [type=time]:disabled:hover,
1380
+ [type=url]:disabled:hover,
1381
+ [type=week]:disabled:hover,
1382
+ input:not([type]):disabled:hover,
1383
+ textarea:disabled:hover {
1384
+ border: 1px solid #dfe0e1;
1385
+ }
1386
+ [type=color]::placeholder,
1387
+ [type=date]::placeholder,
1388
+ [type=datetime-local]::placeholder,
1389
+ [type=email]::placeholder,
1390
+ [type=month]::placeholder,
1391
+ [type=number]::placeholder,
1392
+ [type=password]::placeholder,
1393
+ [type=search]::placeholder,
1394
+ [type=tel]::placeholder,
1395
+ [type=text]::placeholder,
1396
+ [type=time]::placeholder,
1397
+ [type=url]::placeholder,
1398
+ [type=week]::placeholder,
1399
+ input:not([type])::placeholder,
1400
+ textarea::placeholder {
1401
+ font-style: italic;
1402
+ }
1403
+
1404
+ [type=checkbox],
1405
+ [type=radio] {
1406
+ display: inline;
1407
+ margin-right: 0.375em;
1408
+ }
1409
+
1410
+ [type=file] {
1411
+ width: 100%;
1412
+ }
1413
+
1414
+ select {
1415
+ width: 100%;
1416
+ }
1417
+
1418
+ [type=checkbox]:focus,
1419
+ [type=radio]:focus,
1420
+ [type=file]:focus,
1421
+ select:focus {
1422
+ outline: 3px solid rgba(25, 118, 210, 0.6);
1423
+ outline-offset: 1px;
1424
+ }
1425
+
1426
+ html {
1427
+ background-color: #f6f7f7;
1428
+ box-sizing: border-box;
1429
+ }
1430
+
1431
+ *,
1432
+ *::before,
1433
+ *::after {
1434
+ box-sizing: inherit;
1435
+ }
1436
+
1437
+ figure {
1438
+ margin: 0;
1439
+ }
1440
+
1441
+ img,
1442
+ picture {
1443
+ margin: 0;
1444
+ max-width: 100%;
1445
+ }
1446
+
1447
+ ul,
1448
+ ol {
1449
+ list-style-type: none;
1450
+ margin: 0;
1451
+ padding: 0;
1452
+ }
1453
+
1454
+ dl {
1455
+ margin-bottom: 0.75em;
1456
+ }
1457
+ dl dt {
1458
+ font-weight: 700;
1459
+ margin-top: 0.75em;
1460
+ }
1461
+ dl dd {
1462
+ margin: 0;
1463
+ }
1464
+
1465
+ table {
1466
+ border-collapse: collapse;
1467
+ font-size: 0.9em;
1468
+ text-align: left;
1469
+ width: 100%;
1470
+ }
1471
+ table a {
1472
+ color: inherit;
1473
+ text-decoration: none;
1474
+ }
1475
+
1476
+ thead {
1477
+ font-weight: 700;
1478
+ }
1479
+
1480
+ tr {
1481
+ border-bottom: 1px solid #dfe0e1;
1482
+ }
1483
+
1484
+ tbody tr:hover {
1485
+ background-color: #f6f7f7;
1486
+ }
1487
+ tbody tr [role=link] {
1488
+ cursor: pointer;
1489
+ }
1490
+ tbody tr:focus {
1491
+ outline: 3px solid rgba(25, 118, 210, 0.6);
1492
+ outline-offset: -3px;
1493
+ }
1494
+
1495
+ td,
1496
+ th {
1497
+ font-feature-settings: "kern", "liga", "clig", "calt", "lnum", "tnum";
1498
+ font-kerning: normal;
1499
+ font-variant-ligatures: common-ligatures, contextual;
1500
+ font-variant-numeric: lining-nums, tabular-nums;
1501
+ padding: 0.75rem;
1502
+ vertical-align: middle;
1503
+ }
1504
+
1505
+ td:first-child,
1506
+ th:first-child {
1507
+ padding-left: 2rem;
1508
+ }
1509
+
1510
+ td:last-child,
1511
+ th:last-child {
1512
+ padding-right: 2rem;
1513
+ }
1514
+
1515
+ td img {
1516
+ max-height: 2rem;
1517
+ }
1518
+
1519
+ body {
1520
+ color: #293f54;
1521
+ font-family: -apple-system, blinkmacsystemfont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
1522
+ font-size: 1em;
1523
+ line-height: 1.5;
1524
+ }
1525
+
1526
+ h1,
1527
+ h2,
1528
+ h3,
1529
+ h4,
1530
+ h5,
1531
+ h6 {
1532
+ font-family: -apple-system, blinkmacsystemfont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
1533
+ font-size: 1em;
1534
+ line-height: 1.2;
1535
+ margin: 0;
1536
+ }
1537
+
1538
+ p {
1539
+ margin: 0 0 0.75em;
1540
+ }
1541
+
1542
+ a {
1543
+ color: #1976d2;
1544
+ text-decoration-skip-ink: auto;
1545
+ transition: color 250ms ease-in-out;
1546
+ }
1547
+ a:hover {
1548
+ color: #13599e;
1549
+ }
1550
+ a:focus {
1551
+ outline: 3px solid rgba(25, 118, 210, 0.6);
1552
+ outline-offset: 1px;
1553
+ }
1554
+
1555
+ hr {
1556
+ border-bottom: 1px solid #dfe0e1;
1557
+ border-left: 0;
1558
+ border-right: 0;
1559
+ border-top: 0;
1560
+ margin: 1.5em 0;
1561
+ }
1562
+
1563
+ .app-container {
1564
+ align-items: stretch;
1565
+ display: flex;
1566
+ margin-left: auto;
1567
+ margin-right: auto;
1568
+ max-width: 100rem;
1569
+ min-height: 100vh;
1570
+ padding: 1.5em;
1571
+ }
1572
+
1573
+ .attribute-label {
1574
+ color: #7b808c;
1575
+ font-size: 0.8em;
1576
+ font-weight: 400;
1577
+ letter-spacing: 0.0357em;
1578
+ position: relative;
1579
+ text-transform: uppercase;
1580
+ clear: left;
1581
+ float: left;
1582
+ margin-bottom: 1.5em;
1583
+ margin-top: 0.25em;
1584
+ text-align: right;
1585
+ width: calc(20% - 1rem);
1586
+ }
1587
+
1588
+ .preserve-whitespace {
1589
+ white-space: pre-wrap;
1590
+ word-wrap: break-word;
1591
+ }
1592
+
1593
+ .attribute-data {
1594
+ float: left;
1595
+ margin-bottom: 1.5em;
1596
+ margin-left: 2rem;
1597
+ width: calc(80% - 1rem);
1598
+ word-break: break-word;
1599
+ }
1600
+
1601
+ .attribute--nested {
1602
+ border: 1px solid #dfe0e1;
1603
+ padding: 0.75em;
1604
+ }
1605
+
1606
+ button,
1607
+ input,
1608
+ .button {
1609
+ appearance: none;
1610
+ background-color: #1976d2;
1611
+ border: 0;
1612
+ border-radius: 4px;
1613
+ color: #ffffff;
1614
+ cursor: pointer;
1615
+ display: inline-block;
1616
+ font-family: -apple-system, blinkmacsystemfont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
1617
+ font-size: 1em;
1618
+ -webkit-font-smoothing: antialiased;
1619
+ font-weight: 700;
1620
+ line-height: 1;
1621
+ padding: 0.75em 1.5em;
1622
+ text-decoration: none;
1623
+ transition: background-color 250ms ease-in-out;
1624
+ user-select: none;
1625
+ vertical-align: middle;
1626
+ white-space: nowrap;
1627
+ }
1628
+ button:hover,
1629
+ input:hover,
1630
+ .button:hover {
1631
+ background-color: #145ea8;
1632
+ color: #ffffff;
1633
+ }
1634
+ button:focus,
1635
+ input:focus,
1636
+ .button:focus {
1637
+ outline: 3px solid rgba(25, 118, 210, 0.6);
1638
+ outline-offset: 1px;
1639
+ }
1640
+ button:disabled,
1641
+ input:disabled,
1642
+ .button:disabled {
1643
+ cursor: not-allowed;
1644
+ opacity: 0.5;
1645
+ }
1646
+ button:disabled:hover,
1647
+ input:disabled:hover,
1648
+ .button:disabled:hover {
1649
+ background-color: #1976d2;
1650
+ }
1651
+
1652
+ .button--alt {
1653
+ background-color: transparent;
1654
+ border: 1px solid #dfe0e1;
1655
+ border-color: #1976d2;
1656
+ color: #1976d2;
1657
+ }
1658
+
1659
+ .button--danger {
1660
+ background-color: #d32f2f;
1661
+ }
1662
+ .button--danger:hover {
1663
+ background-color: #a92626;
1664
+ color: #ffffff;
1665
+ }
1666
+
1667
+ .button--nav {
1668
+ margin-bottom: 1.5em;
1669
+ }
1670
+
1671
+ .cell-label__sort-indicator {
1672
+ float: right;
1673
+ margin-left: 5px;
1674
+ }
1675
+ .cell-label__sort-indicator svg {
1676
+ fill: #7b808c;
1677
+ height: 13px;
1678
+ transition: transform 250ms ease-in-out;
1679
+ width: 13px;
1680
+ }
1681
+
1682
+ .cell-label {
1683
+ padding-top: 0.15em;
1684
+ }
1685
+ .cell-label a {
1686
+ color: inherit;
1687
+ display: inline-block;
1688
+ transition: color 250ms ease-in-out;
1689
+ width: 100%;
1690
+ }
1691
+ .cell-label:hover a {
1692
+ color: #1976d2;
1693
+ }
1694
+ .cell-label:hover svg {
1695
+ fill: #1976d2;
1696
+ transform: rotate(180deg);
1697
+ }
1698
+
1699
+ .cell-label--asc,
1700
+ .cell-label--desc {
1701
+ font-weight: 700;
1702
+ }
1703
+
1704
+ .cell-label__sort-indicator--desc {
1705
+ transform: rotate(180deg);
1706
+ }
1707
+
1708
+ .cell-data--number,
1709
+ .cell-label--number {
1710
+ text-align: right;
1711
+ }
1712
+
1713
+ .field-unit {
1714
+ align-items: center;
1715
+ display: flex;
1716
+ flex-wrap: wrap;
1717
+ margin-bottom: 1.5em;
1718
+ position: relative;
1719
+ width: 100%;
1720
+ }
1721
+ .field-unit::after {
1722
+ clear: both;
1723
+ content: "";
1724
+ display: block;
1725
+ }
1726
+
1727
+ .field-unit__label {
1728
+ float: left;
1729
+ margin-left: 1rem;
1730
+ text-align: right;
1731
+ width: calc(15% - 1rem);
1732
+ }
1733
+
1734
+ .field-unit__field {
1735
+ float: left;
1736
+ margin-left: 2rem;
1737
+ max-width: 50rem;
1738
+ width: 100%;
1739
+ }
1740
+ .field-unit__field .optgroup-header {
1741
+ font-weight: 700;
1742
+ }
1743
+
1744
+ .field-unit__hint {
1745
+ font-size: 90%;
1746
+ margin-left: calc(15% + 2rem);
1747
+ width: 100%;
1748
+ }
1749
+
1750
+ .field-unit--nested {
1751
+ border: 1px solid #dfe0e1;
1752
+ margin-left: 7.5%;
1753
+ max-width: 60rem;
1754
+ padding: 0.75em;
1755
+ width: 100%;
1756
+ }
1757
+ .field-unit--nested .field-unit__field {
1758
+ width: 100%;
1759
+ }
1760
+ .field-unit--nested .field-unit__label {
1761
+ width: 10rem;
1762
+ }
1763
+
1764
+ .field-unit--required label::after {
1765
+ color: #d32f2f;
1766
+ content: " *";
1767
+ }
1768
+
1769
+ .flash-alert {
1770
+ background-color: #fff6bf;
1771
+ color: #66624c;
1772
+ display: block;
1773
+ margin-bottom: 0.75em;
1774
+ padding: 0.75em;
1775
+ text-align: center;
1776
+ }
1777
+ .flash-alert a {
1778
+ color: #4d4a39;
1779
+ text-decoration: underline;
1780
+ }
1781
+ .flash-alert a:focus, .flash-alert a:hover {
1782
+ color: #1a1913;
1783
+ }
1784
+
1785
+ .flash-error {
1786
+ background-color: #fbe3e4;
1787
+ color: #645b5b;
1788
+ display: block;
1789
+ margin-bottom: 0.75em;
1790
+ padding: 0.75em;
1791
+ text-align: center;
1792
+ }
1793
+ .flash-error a {
1794
+ color: #4b4444;
1795
+ text-decoration: underline;
1796
+ }
1797
+ .flash-error a:focus, .flash-error a:hover {
1798
+ color: #191717;
1799
+ }
1800
+
1801
+ .flash-notice {
1802
+ background-color: #e5edf8;
1803
+ color: #5c5f63;
1804
+ display: block;
1805
+ margin-bottom: 0.75em;
1806
+ padding: 0.75em;
1807
+ text-align: center;
1808
+ }
1809
+ .flash-notice a {
1810
+ color: #45474a;
1811
+ text-decoration: underline;
1812
+ }
1813
+ .flash-notice a:focus, .flash-notice a:hover {
1814
+ color: #171819;
1815
+ }
1816
+
1817
+ .flash-success {
1818
+ background-color: #e6efc2;
1819
+ color: #5c604e;
1820
+ display: block;
1821
+ margin-bottom: 0.75em;
1822
+ padding: 0.75em;
1823
+ text-align: center;
1824
+ }
1825
+ .flash-success a {
1826
+ color: #45483a;
1827
+ text-decoration: underline;
1828
+ }
1829
+ .flash-success a:focus, .flash-success a:hover {
1830
+ color: #171813;
1831
+ }
1832
+
1833
+ .form-actions {
1834
+ margin-left: calc(15% + 2rem);
1835
+ }
1836
+
1837
+ .main-content {
1838
+ background-color: #ffffff;
1839
+ border-radius: 4px;
1840
+ box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.12), 0 2px 2px rgba(0, 0, 0, 0.2);
1841
+ flex: 1 1 100%;
1842
+ min-width: 800px;
1843
+ padding-bottom: 10vh;
1844
+ }
1845
+
1846
+ .main-content__header,
1847
+ .main-content__body {
1848
+ padding: 1rem 2rem;
1849
+ }
1850
+
1851
+ .main-content__body--flush {
1852
+ padding-left: 0;
1853
+ padding-right: 0;
1854
+ }
1855
+
1856
+ .main-content__header {
1857
+ align-items: center;
1858
+ border-bottom: 1px solid #dfe0e1;
1859
+ display: flex;
1860
+ }
1861
+
1862
+ .main-content__page-title {
1863
+ font-size: 1.6em;
1864
+ margin-right: auto;
1865
+ }
1866
+
1867
+ .navigation {
1868
+ flex: 1 0 10rem;
1869
+ padding: 1.5em;
1870
+ padding-left: 0;
1871
+ }
1872
+
1873
+ .navigation__link {
1874
+ background-color: transparent;
1875
+ color: #293f54;
1876
+ display: block;
1877
+ line-height: 1;
1878
+ margin-left: -0.6em;
1879
+ padding: 0.6em;
1880
+ transition: background-color 250ms ease-in-out, color 250ms ease-in-out;
1881
+ }
1882
+ .navigation__link:not(:last-of-type) {
1883
+ margin-bottom: 0.75em;
1884
+ }
1885
+ .navigation__link:hover {
1886
+ background-color: #eaebeb;
1887
+ border-radius: 4px;
1888
+ color: #293f54;
1889
+ }
1890
+
1891
+ .navigation__link--active {
1892
+ font-weight: 700;
1893
+ }
1894
+
1895
+ .pagination {
1896
+ margin-top: 1.5em;
1897
+ padding-left: 1.5em;
1898
+ padding-right: 1.5em;
1899
+ text-align: center;
1900
+ }
1901
+ .pagination .first,
1902
+ .pagination .prev,
1903
+ .pagination .page,
1904
+ .pagination .next,
1905
+ .pagination .last {
1906
+ margin: 0.75em;
1907
+ }
1908
+ .pagination .current {
1909
+ font-weight: 700;
1910
+ }
1911
+
1912
+ .search {
1913
+ margin-left: auto;
1914
+ margin-right: 2rem;
1915
+ max-width: 20rem;
1916
+ position: relative;
1917
+ width: 100%;
1918
+ }
1919
+
1920
+ .search__input {
1921
+ border-radius: 100rem;
1922
+ padding-left: 2.5rem;
1923
+ padding-right: 2.5rem;
1924
+ }
1925
+
1926
+ .search__eyeglass-icon {
1927
+ fill: #293f54;
1928
+ height: 1rem;
1929
+ left: 1rem;
1930
+ position: absolute;
1931
+ top: 50%;
1932
+ transform: translateY(-50%);
1933
+ width: 1rem;
1934
+ }
1935
+
1936
+ .search__clear-link {
1937
+ height: 1rem;
1938
+ position: absolute;
1939
+ right: 0.75rem;
1940
+ top: 50%;
1941
+ transform: translateY(-50%);
1942
+ width: 1rem;
1943
+ }
1944
+
1945
+ .search__clear-icon {
1946
+ fill: #adb5bd;
1947
+ height: 1rem;
1948
+ position: absolute;
1949
+ transition: fill 250ms ease-in-out;
1950
+ width: 1rem;
1951
+ }
1952
+ .search__clear-icon:hover {
1953
+ fill: #1976d2;
1954
+ }
1955
+
1956
+ .text-color-red {
1957
+ color: #d32f2f;
1958
+ }
1959
+
1960
+ /*# sourceMappingURL=application.css.map */