administrate 0.20.1 → 1.0.0.beta2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +9 -9
  3. data/app/assets/builds/administrate/application.css +2542 -0
  4. data/app/assets/builds/administrate/application.css.map +1 -0
  5. data/app/assets/builds/administrate/application.js +22169 -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/javascripts/administrate/controllers/application.js +9 -0
  13. data/app/assets/javascripts/administrate/controllers/index.js +7 -0
  14. data/app/assets/javascripts/administrate/controllers/select_controller.js +8 -0
  15. data/app/assets/javascripts/administrate/{components/table.js → controllers/table_controller.js} +9 -9
  16. data/app/assets/stylesheets/administrate/application.scss +3 -3
  17. data/app/assets/stylesheets/administrate/base/_forms.scss +4 -4
  18. data/app/assets/stylesheets/administrate/base/_layout.scss +5 -0
  19. data/app/assets/stylesheets/administrate/base/_tables.scss +1 -1
  20. data/app/assets/stylesheets/administrate/base/_typography.scss +12 -1
  21. data/app/assets/stylesheets/administrate/components/_attributes.scss +1 -0
  22. data/app/assets/stylesheets/administrate/components/_buttons.scss +12 -12
  23. data/app/assets/stylesheets/administrate/components/_cells.scss +19 -19
  24. data/app/assets/stylesheets/administrate/components/_field-unit.scss +3 -3
  25. data/app/assets/stylesheets/administrate/components/_main-content.scss +1 -1
  26. data/app/assets/stylesheets/administrate/components/_navigation.scss +3 -3
  27. data/app/assets/stylesheets/administrate/components/_search.scss +11 -11
  28. data/app/assets/stylesheets/administrate/library/_variables.scss +7 -3
  29. data/app/assets/stylesheets/administrate/reset/_normalize.scss +7 -1
  30. data/app/controllers/administrate/application_controller.rb +20 -19
  31. data/app/controllers/concerns/administrate/punditize.rb +5 -5
  32. data/app/helpers/administrate/application_helper.rb +4 -4
  33. data/app/views/administrate/application/_collection.html.erb +1 -1
  34. data/app/views/administrate/application/_collection_item_actions.html.erb +3 -3
  35. data/app/views/administrate/application/_index_header.html.erb +4 -0
  36. data/app/views/administrate/application/_javascript.html.erb +1 -1
  37. data/app/views/administrate/application/edit.html.erb +15 -3
  38. data/app/views/administrate/application/index.html.erb +19 -11
  39. data/app/views/administrate/application/new.html.erb +15 -3
  40. data/app/views/administrate/application/show.html.erb +35 -23
  41. data/app/views/fields/belongs_to/_form.html.erb +3 -2
  42. data/app/views/fields/has_many/_form.html.erb +1 -1
  43. data/app/views/fields/polymorphic/_form.html.erb +1 -1
  44. data/app/views/fields/rich_text/_form.html.erb +6 -0
  45. data/app/views/fields/rich_text/_index.html.erb +18 -0
  46. data/app/views/fields/rich_text/_show.html.erb +18 -0
  47. data/app/views/fields/select/_form.html.erb +2 -1
  48. data/app/views/fields/text/_form.html.erb +1 -1
  49. data/app/views/layouts/administrate/application.html.erb +1 -2
  50. data/docs/customizing_dashboards.md +138 -4
  51. data/docs/customizing_page_views.md +25 -0
  52. data/lib/administrate/base_dashboard.rb +6 -5
  53. data/lib/administrate/engine.rb +7 -6
  54. data/lib/administrate/field/associative.rb +5 -1
  55. data/lib/administrate/field/base.rb +21 -3
  56. data/lib/administrate/field/belongs_to.rb +7 -2
  57. data/lib/administrate/field/date.rb +1 -1
  58. data/lib/administrate/field/date_time.rb +2 -2
  59. data/lib/administrate/field/deferred.rb +10 -2
  60. data/lib/administrate/field/has_many.rb +5 -5
  61. data/lib/administrate/field/has_one.rb +10 -6
  62. data/lib/administrate/field/number.rb +2 -2
  63. data/lib/administrate/field/polymorphic.rb +3 -3
  64. data/lib/administrate/field/rich_text.rb +21 -0
  65. data/lib/administrate/field/select.rb +4 -0
  66. data/lib/administrate/generator_helpers.rb +1 -1
  67. data/lib/administrate/namespace/resource.rb +1 -1
  68. data/lib/administrate/order.rb +30 -26
  69. data/lib/administrate/page/base.rb +2 -7
  70. data/lib/administrate/page/collection.rb +2 -2
  71. data/lib/administrate/page/form.rb +1 -1
  72. data/lib/administrate/page/show.rb +1 -1
  73. data/lib/administrate/resource_resolver.rb +1 -1
  74. data/lib/administrate/search.rb +6 -7
  75. data/lib/administrate/version.rb +1 -1
  76. data/lib/administrate/view_generator.rb +3 -3
  77. data/lib/administrate.rb +18 -18
  78. data/lib/generators/administrate/dashboard/dashboard_generator.rb +12 -9
  79. data/lib/generators/administrate/field/field_generator.rb +2 -2
  80. data/lib/generators/administrate/install/install_generator.rb +2 -2
  81. data/lib/generators/administrate/routes/routes_generator.rb +5 -5
  82. data/lib/generators/administrate/views/field_generator.rb +2 -2
  83. data/lib/generators/administrate/views/index_generator.rb +1 -0
  84. data/lib/generators/administrate/views/layout_generator.rb +1 -1
  85. metadata +20 -53
  86. data/app/assets/javascripts/administrate/components/associative.js +0 -5
  87. data/app/assets/javascripts/administrate/components/select.js +0 -3
  88. data/app/assets/stylesheets/administrate/utilities/_text-color.scss +0 -3
  89. data/lib/generators/administrate/assets/assets_generator.rb +0 -12
  90. data/lib/generators/administrate/assets/javascripts_generator.rb +0 -17
  91. data/lib/generators/administrate/assets/stylesheets_generator.rb +0 -17
  92. /data/app/assets/stylesheets/{docs.scss → administrate-internal/docs.scss} +0 -0
@@ -0,0 +1,2542 @@
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
+ .link:is(button,
92
+ [type=button],
93
+ [type=reset],
94
+ [type=submit]) {
95
+ background-color: transparent; /* 1 */
96
+ -webkit-text-decoration-skip: objects; /* 2 */
97
+ }
98
+
99
+ /**
100
+ * 1. Remove the bottom border in Chrome 57- and Firefox 39-.
101
+ * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
102
+ */
103
+ abbr[title] {
104
+ border-bottom: none; /* 1 */
105
+ text-decoration: underline; /* 2 */
106
+ text-decoration: underline dotted; /* 2 */
107
+ }
108
+
109
+ /**
110
+ * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
111
+ */
112
+ b,
113
+ strong {
114
+ font-weight: inherit;
115
+ }
116
+
117
+ /**
118
+ * Add the correct font weight in Chrome, Edge, and Safari.
119
+ */
120
+ b,
121
+ strong {
122
+ font-weight: bolder;
123
+ }
124
+
125
+ /**
126
+ * 1. Correct the inheritance and scaling of font size in all browsers.
127
+ * 2. Correct the odd `em` font sizing in all browsers.
128
+ */
129
+ code,
130
+ kbd,
131
+ samp {
132
+ font-family: monospace, monospace; /* 1 */
133
+ font-size: 1em; /* 2 */
134
+ }
135
+
136
+ /**
137
+ * Add the correct font style in Android 4.3-.
138
+ */
139
+ dfn {
140
+ font-style: italic;
141
+ }
142
+
143
+ /**
144
+ * Add the correct background and color in IE 9-.
145
+ */
146
+ mark {
147
+ background-color: #ff0;
148
+ color: #000;
149
+ }
150
+
151
+ /**
152
+ * Add the correct font size in all browsers.
153
+ */
154
+ small {
155
+ font-size: 80%;
156
+ }
157
+
158
+ /**
159
+ * Prevent `sub` and `sup` elements from affecting the line height in
160
+ * all browsers.
161
+ */
162
+ sub,
163
+ sup {
164
+ font-size: 75%;
165
+ line-height: 0;
166
+ position: relative;
167
+ vertical-align: baseline;
168
+ }
169
+
170
+ sub {
171
+ bottom: -0.25em;
172
+ }
173
+
174
+ sup {
175
+ top: -0.5em;
176
+ }
177
+
178
+ /* Embedded content
179
+ ========================================================================== */
180
+ /**
181
+ * Add the correct display in IE 9-.
182
+ */
183
+ audio,
184
+ video {
185
+ display: inline-block;
186
+ }
187
+
188
+ /**
189
+ * Add the correct display in iOS 4-7.
190
+ */
191
+ audio:not([controls]) {
192
+ display: none;
193
+ height: 0;
194
+ }
195
+
196
+ /**
197
+ * Remove the border on images inside links in IE 10-.
198
+ */
199
+ img {
200
+ border-style: none;
201
+ }
202
+
203
+ /**
204
+ * Hide the overflow in IE.
205
+ */
206
+ svg:not(:root) {
207
+ overflow: hidden;
208
+ }
209
+
210
+ /* Forms
211
+ ========================================================================== */
212
+ /**
213
+ * 1. Change the font styles in all browsers (opinionated).
214
+ * 2. Remove the margin in Firefox and Safari.
215
+ */
216
+ button,
217
+ input,
218
+ optgroup,
219
+ select,
220
+ textarea {
221
+ font-family: sans-serif; /* 1 */
222
+ font-size: 100%; /* 1 */
223
+ line-height: 1.15; /* 1 */
224
+ margin: 0; /* 2 */
225
+ }
226
+
227
+ /**
228
+ * Show the overflow in IE.
229
+ * 1. Show the overflow in Edge.
230
+ */
231
+ button,
232
+ input { /* 1 */
233
+ overflow: visible;
234
+ }
235
+
236
+ /**
237
+ * Remove the inheritance of text transform in Edge, Firefox, and IE.
238
+ * 1. Remove the inheritance of text transform in Firefox.
239
+ */
240
+ button,
241
+ select { /* 1 */
242
+ text-transform: none;
243
+ }
244
+
245
+ /**
246
+ * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
247
+ * controls in Android 4.
248
+ * 2. Correct the inability to style clickable types in iOS and Safari.
249
+ */
250
+ button,
251
+ html [type=button],
252
+ [type=reset],
253
+ [type=submit] {
254
+ -webkit-appearance: button; /* 2 */
255
+ }
256
+
257
+ /**
258
+ * Remove the inner border and padding in Firefox.
259
+ */
260
+ button::-moz-focus-inner,
261
+ [type=button]::-moz-focus-inner,
262
+ [type=reset]::-moz-focus-inner,
263
+ [type=submit]::-moz-focus-inner {
264
+ border-style: none;
265
+ padding: 0;
266
+ }
267
+
268
+ /**
269
+ * Restore the focus styles unset by the previous rule.
270
+ */
271
+ button:-moz-focusring,
272
+ [type=button]:-moz-focusring,
273
+ [type=reset]:-moz-focusring,
274
+ [type=submit]:-moz-focusring {
275
+ outline: 1px dotted ButtonText;
276
+ }
277
+
278
+ /**
279
+ * Correct the padding in Firefox.
280
+ */
281
+ fieldset {
282
+ padding: 0.35em 0.75em 0.625em;
283
+ }
284
+
285
+ /**
286
+ * 1. Correct the text wrapping in Edge and IE.
287
+ * 2. Correct the color inheritance from `fieldset` elements in IE.
288
+ * 3. Remove the padding so developers are not caught out when they zero out
289
+ * `fieldset` elements in all browsers.
290
+ */
291
+ legend {
292
+ box-sizing: border-box; /* 1 */
293
+ color: inherit; /* 2 */
294
+ display: table; /* 1 */
295
+ max-width: 100%; /* 1 */
296
+ padding: 0; /* 3 */
297
+ white-space: normal; /* 1 */
298
+ }
299
+
300
+ /**
301
+ * 1. Add the correct display in IE 9-.
302
+ * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
303
+ */
304
+ progress {
305
+ display: inline-block; /* 1 */
306
+ vertical-align: baseline; /* 2 */
307
+ }
308
+
309
+ /**
310
+ * Remove the default vertical scrollbar in IE.
311
+ */
312
+ textarea {
313
+ overflow: auto;
314
+ }
315
+
316
+ /**
317
+ * 1. Add the correct box sizing in IE 10-.
318
+ * 2. Remove the padding in IE 10-.
319
+ */
320
+ [type=checkbox],
321
+ [type=radio] {
322
+ box-sizing: border-box; /* 1 */
323
+ padding: 0; /* 2 */
324
+ }
325
+
326
+ /**
327
+ * Correct the cursor style of increment and decrement buttons in Chrome.
328
+ */
329
+ [type=number]::-webkit-inner-spin-button,
330
+ [type=number]::-webkit-outer-spin-button {
331
+ height: auto;
332
+ }
333
+
334
+ /**
335
+ * 1. Correct the odd appearance in Chrome and Safari.
336
+ * 2. Correct the outline style in Safari.
337
+ */
338
+ [type=search] {
339
+ -webkit-appearance: textfield; /* 1 */
340
+ outline-offset: -2px; /* 2 */
341
+ }
342
+
343
+ /**
344
+ * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
345
+ */
346
+ [type=search]::-webkit-search-cancel-button,
347
+ [type=search]::-webkit-search-decoration {
348
+ -webkit-appearance: none;
349
+ }
350
+
351
+ /**
352
+ * 1. Correct the inability to style clickable types in iOS and Safari.
353
+ * 2. Change font properties to `inherit` in Safari.
354
+ */
355
+ ::-webkit-file-upload-button {
356
+ -webkit-appearance: button; /* 1 */
357
+ font: inherit; /* 2 */
358
+ }
359
+
360
+ /* Interactive
361
+ ========================================================================== */
362
+ /*
363
+ * Add the correct display in IE 9-.
364
+ * 1. Add the correct display in Edge, IE, and Firefox.
365
+ */
366
+ details,
367
+ menu {
368
+ display: block;
369
+ }
370
+
371
+ /*
372
+ * Add the correct display in all browsers.
373
+ */
374
+ summary {
375
+ display: list-item;
376
+ }
377
+
378
+ /* Scripting
379
+ ========================================================================== */
380
+ /**
381
+ * Add the correct display in IE 9-.
382
+ */
383
+ canvas {
384
+ display: inline-block;
385
+ }
386
+
387
+ /**
388
+ * Add the correct display in IE.
389
+ */
390
+ template {
391
+ display: none;
392
+ }
393
+
394
+ /* Hidden
395
+ ========================================================================== */
396
+ /**
397
+ * Add the correct display in IE 10-.
398
+ */
399
+ [hidden] {
400
+ display: none;
401
+ }
402
+
403
+ trix-editor {
404
+ border: 1px solid #bbb;
405
+ border-radius: 3px;
406
+ margin: 0;
407
+ padding: 0.4em 0.6em;
408
+ min-height: 5em;
409
+ outline: none;
410
+ }
411
+
412
+ trix-toolbar * {
413
+ box-sizing: border-box;
414
+ }
415
+
416
+ trix-toolbar .trix-button-row {
417
+ display: flex;
418
+ flex-wrap: nowrap;
419
+ justify-content: space-between;
420
+ overflow-x: auto;
421
+ }
422
+
423
+ trix-toolbar .trix-button-group {
424
+ display: flex;
425
+ margin-bottom: 10px;
426
+ border: 1px solid #bbb;
427
+ border-top-color: #ccc;
428
+ border-bottom-color: #888;
429
+ border-radius: 3px;
430
+ }
431
+
432
+ trix-toolbar .trix-button-group:not(:first-child) {
433
+ margin-left: 1.5vw;
434
+ }
435
+
436
+ @media (max-width: 768px) {
437
+ trix-toolbar .trix-button-group:not(:first-child) {
438
+ margin-left: 0;
439
+ }
440
+ }
441
+ trix-toolbar .trix-button-group-spacer {
442
+ flex-grow: 1;
443
+ }
444
+
445
+ @media (max-width: 768px) {
446
+ trix-toolbar .trix-button-group-spacer {
447
+ display: none;
448
+ }
449
+ }
450
+ trix-toolbar .trix-button {
451
+ position: relative;
452
+ float: left;
453
+ color: rgba(0, 0, 0, 0.6);
454
+ font-size: 0.75em;
455
+ font-weight: 600;
456
+ white-space: nowrap;
457
+ padding: 0 0.5em;
458
+ margin: 0;
459
+ outline: none;
460
+ border: none;
461
+ border-bottom: 1px solid #ddd;
462
+ border-radius: 0;
463
+ background: transparent;
464
+ }
465
+
466
+ trix-toolbar .trix-button:not(:first-child) {
467
+ border-left: 1px solid #ccc;
468
+ }
469
+
470
+ trix-toolbar .trix-button.trix-active {
471
+ background: #cbeefa;
472
+ color: black;
473
+ }
474
+
475
+ trix-toolbar .trix-button:not(:disabled) {
476
+ cursor: pointer;
477
+ }
478
+
479
+ trix-toolbar .trix-button:disabled {
480
+ color: rgba(0, 0, 0, 0.125);
481
+ }
482
+
483
+ @media (max-width: 768px) {
484
+ trix-toolbar .trix-button {
485
+ letter-spacing: -0.01em;
486
+ padding: 0 0.3em;
487
+ }
488
+ }
489
+ trix-toolbar .trix-button--icon {
490
+ font-size: inherit;
491
+ width: 2.6em;
492
+ height: 1.6em;
493
+ max-width: calc(0.8em + 4vw);
494
+ text-indent: -9999px;
495
+ }
496
+
497
+ @media (max-width: 768px) {
498
+ trix-toolbar .trix-button--icon {
499
+ height: 2em;
500
+ max-width: calc(0.8em + 3.5vw);
501
+ }
502
+ }
503
+ trix-toolbar .trix-button--icon::before {
504
+ display: inline-block;
505
+ position: absolute;
506
+ top: 0;
507
+ right: 0;
508
+ bottom: 0;
509
+ left: 0;
510
+ opacity: 0.6;
511
+ content: "";
512
+ background-position: center;
513
+ background-repeat: no-repeat;
514
+ background-size: contain;
515
+ }
516
+
517
+ @media (max-width: 768px) {
518
+ trix-toolbar .trix-button--icon::before {
519
+ right: 6%;
520
+ left: 6%;
521
+ }
522
+ }
523
+ trix-toolbar .trix-button--icon.trix-active::before {
524
+ opacity: 1;
525
+ }
526
+
527
+ trix-toolbar .trix-button--icon:disabled::before {
528
+ opacity: 0.125;
529
+ }
530
+
531
+ trix-toolbar .trix-button--icon-attach::before {
532
+ background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10.5%2018V7.5c0-2.25%203-2.25%203%200V18c0%204.125-6%204.125-6%200V7.5c0-6.375%209-6.375%209%200V18%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-miterlimit%3D%2210%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
533
+ top: 8%;
534
+ bottom: 4%;
535
+ }
536
+
537
+ trix-toolbar .trix-button--icon-bold::before {
538
+ background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6.522%2019.242a.5.5%200%200%201-.5-.5V5.35a.5.5%200%200%201%20.5-.5h5.783c1.347%200%202.46.345%203.24.982.783.64%201.216%201.562%201.216%202.683%200%201.13-.587%202.129-1.476%202.71a.35.35%200%200%200%20.049.613c1.259.56%202.101%201.742%202.101%203.22%200%201.282-.483%202.334-1.363%203.063-.876.726-2.132%201.12-3.66%201.12h-5.89ZM9.27%207.347v3.362h1.97c.766%200%201.347-.17%201.733-.464.38-.291.587-.716.587-1.27%200-.53-.183-.928-.513-1.198-.334-.273-.838-.43-1.505-.43H9.27Zm0%205.606v3.791h2.389c.832%200%201.448-.177%201.853-.497.399-.315.614-.786.614-1.423%200-.62-.22-1.077-.63-1.385-.418-.313-1.053-.486-1.905-.486H9.27Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
539
+ }
540
+
541
+ trix-toolbar .trix-button--icon-italic::before {
542
+ background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M9%205h6.5v2h-2.23l-2.31%2010H13v2H6v-2h2.461l2.306-10H9V5Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
543
+ }
544
+
545
+ trix-toolbar .trix-button--icon-link::before {
546
+ background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M18.948%205.258a4.337%204.337%200%200%200-6.108%200L11.217%206.87a.993.993%200%200%200%200%201.41c.392.39%201.027.39%201.418%200l1.623-1.613a2.323%202.323%200%200%201%203.271%200%202.29%202.29%200%200%201%200%203.251l-2.393%202.38a3.021%203.021%200%200%201-4.255%200l-.05-.049a1.007%201.007%200%200%200-1.418%200%20.993.993%200%200%200%200%201.41l.05.049a5.036%205.036%200%200%200%207.091%200l2.394-2.38a4.275%204.275%200%200%200%200-6.072Zm-13.683%2013.6a4.337%204.337%200%200%200%206.108%200l1.262-1.255a.993.993%200%200%200%200-1.41%201.007%201.007%200%200%200-1.418%200L9.954%2017.45a2.323%202.323%200%200%201-3.27%200%202.29%202.29%200%200%201%200-3.251l2.344-2.331a2.579%202.579%200%200%201%203.631%200c.392.39%201.027.39%201.419%200a.993.993%200%200%200%200-1.41%204.593%204.593%200%200%200-6.468%200l-2.345%202.33a4.275%204.275%200%200%200%200%206.072Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
547
+ }
548
+
549
+ trix-toolbar .trix-button--icon-strike::before {
550
+ background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6%2014.986c.088%202.647%202.246%204.258%205.635%204.258%203.496%200%205.713-1.728%205.713-4.463%200-.275-.02-.536-.062-.781h-3.461c.398.293.573.654.573%201.123%200%201.035-1.074%201.787-2.646%201.787-1.563%200-2.773-.762-2.91-1.924H6ZM6.432%2010h3.763c-.632-.314-.914-.715-.914-1.273%200-1.045.977-1.739%202.432-1.739%201.475%200%202.52.723%202.617%201.914h2.764c-.05-2.548-2.11-4.238-5.39-4.238-3.145%200-5.392%201.719-5.392%204.316%200%20.363.04.703.12%201.02ZM4%2011a1%201%200%201%200%200%202h15a1%201%200%201%200%200-2H4Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
551
+ }
552
+
553
+ trix-toolbar .trix-button--icon-quote::before {
554
+ background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M4.581%208.471c.44-.5%201.056-.834%201.758-.995C8.074%207.17%209.201%207.822%2010%208.752c1.354%201.578%201.33%203.555.394%205.277-.941%201.731-2.788%203.163-4.988%203.56a.622.622%200%200%201-.653-.317c-.113-.205-.121-.49.16-.764.294-.286.567-.566.791-.835.222-.266.413-.54.524-.815.113-.28.156-.597.026-.908-.128-.303-.39-.524-.72-.69a3.02%203.02%200%200%201-1.674-2.7c0-.905.283-1.59.72-2.088Zm9.419%200c.44-.5%201.055-.834%201.758-.995%201.734-.306%202.862.346%203.66%201.276%201.355%201.578%201.33%203.555.395%205.277-.941%201.731-2.789%203.163-4.988%203.56a.622.622%200%200%201-.653-.317c-.113-.205-.122-.49.16-.764.294-.286.567-.566.791-.835.222-.266.412-.54.523-.815.114-.28.157-.597.026-.908-.127-.303-.39-.524-.72-.69a3.02%203.02%200%200%201-1.672-2.701c0-.905.283-1.59.72-2.088Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
555
+ }
556
+
557
+ trix-toolbar .trix-button--icon-heading-1::before {
558
+ background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M21.5%207.5v-3h-12v3H14v13h3v-13h4.5ZM9%2013.5h3.5v-3h-10v3H6v7h3v-7Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
559
+ }
560
+
561
+ trix-toolbar .trix-button--icon-code::before {
562
+ background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3.293%2011.293a1%201%200%200%200%200%201.414l4%204a1%201%200%201%200%201.414-1.414L5.414%2012l3.293-3.293a1%201%200%200%200-1.414-1.414l-4%204Zm13.414%205.414%204-4a1%201%200%200%200%200-1.414l-4-4a1%201%200%201%200-1.414%201.414L18.586%2012l-3.293%203.293a1%201%200%200%200%201.414%201.414Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
563
+ }
564
+
565
+ trix-toolbar .trix-button--icon-bullet-list::before {
566
+ background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M5%207.5a1.5%201.5%200%201%200%200-3%201.5%201.5%200%200%200%200%203ZM8%206a1%201%200%200%201%201-1h11a1%201%200%201%201%200%202H9a1%201%200%200%201-1-1Zm1%205a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm0%206a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm-2.5-5a1.5%201.5%200%201%201-3%200%201.5%201.5%200%200%201%203%200ZM5%2019.5a1.5%201.5%200%201%200%200-3%201.5%201.5%200%200%200%200%203Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
567
+ }
568
+
569
+ trix-toolbar .trix-button--icon-number-list::before {
570
+ background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3%204h2v4H4V5H3V4Zm5%202a1%201%200%200%201%201-1h11a1%201%200%201%201%200%202H9a1%201%200%200%201-1-1Zm1%205a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm0%206a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm-3.5-7H6v1l-1.5%202H6v1H3v-1l1.667-2H3v-1h2.5ZM3%2017v-1h3v4H3v-1h2v-.5H4v-1h1V17H3Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
571
+ }
572
+
573
+ trix-toolbar .trix-button--icon-undo::before {
574
+ background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3%2014a1%201%200%200%200%201%201h6a1%201%200%201%200%200-2H6.257c2.247-2.764%205.151-3.668%207.579-3.264%202.589.432%204.739%202.356%205.174%205.405a1%201%200%200%200%201.98-.283c-.564-3.95-3.415-6.526-6.825-7.095C11.084%207.25%207.63%208.377%205%2011.39V8a1%201%200%200%200-2%200v6Zm2-1Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
575
+ }
576
+
577
+ trix-toolbar .trix-button--icon-redo::before {
578
+ background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M21%2014a1%201%200%200%201-1%201h-6a1%201%200%201%201%200-2h3.743c-2.247-2.764-5.151-3.668-7.579-3.264-2.589.432-4.739%202.356-5.174%205.405a1%201%200%200%201-1.98-.283c.564-3.95%203.415-6.526%206.826-7.095%203.08-.513%206.534.614%209.164%203.626V8a1%201%200%201%201%202%200v6Zm-2-1Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
579
+ }
580
+
581
+ trix-toolbar .trix-button--icon-decrease-nesting-level::before {
582
+ background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M5%206a1%201%200%200%201%201-1h12a1%201%200%201%201%200%202H6a1%201%200%200%201-1-1Zm4%205a1%201%200%201%200%200%202h9a1%201%200%201%200%200-2H9Zm-3%206a1%201%200%201%200%200%202h12a1%201%200%201%200%200-2H6Zm-3.707-5.707a1%201%200%200%200%200%201.414l2%202a1%201%200%201%200%201.414-1.414L4.414%2012l1.293-1.293a1%201%200%200%200-1.414-1.414l-2%202Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
583
+ }
584
+
585
+ trix-toolbar .trix-button--icon-increase-nesting-level::before {
586
+ background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M5%206a1%201%200%200%201%201-1h12a1%201%200%201%201%200%202H6a1%201%200%200%201-1-1Zm4%205a1%201%200%201%200%200%202h9a1%201%200%201%200%200-2H9Zm-3%206a1%201%200%201%200%200%202h12a1%201%200%201%200%200-2H6Zm-2.293-2.293%202-2a1%201%200%200%200%200-1.414l-2-2a1%201%200%201%200-1.414%201.414L3.586%2012l-1.293%201.293a1%201%200%201%200%201.414%201.414Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
587
+ }
588
+
589
+ trix-toolbar .trix-dialogs {
590
+ position: relative;
591
+ }
592
+
593
+ trix-toolbar .trix-dialog {
594
+ position: absolute;
595
+ top: 0;
596
+ left: 0;
597
+ right: 0;
598
+ font-size: 0.75em;
599
+ padding: 15px 10px;
600
+ background: #fff;
601
+ box-shadow: 0 0.3em 1em #ccc;
602
+ border-top: 2px solid #888;
603
+ border-radius: 5px;
604
+ z-index: 5;
605
+ }
606
+
607
+ trix-toolbar .trix-input--dialog {
608
+ font-size: inherit;
609
+ font-weight: normal;
610
+ padding: 0.5em 0.8em;
611
+ margin: 0 10px 0 0;
612
+ border-radius: 3px;
613
+ border: 1px solid #bbb;
614
+ background-color: #fff;
615
+ box-shadow: none;
616
+ outline: none;
617
+ -webkit-appearance: none;
618
+ -moz-appearance: none;
619
+ }
620
+
621
+ trix-toolbar .trix-input--dialog.validate:invalid {
622
+ box-shadow: #F00 0px 0px 1.5px 1px;
623
+ }
624
+
625
+ trix-toolbar .trix-button--dialog {
626
+ font-size: inherit;
627
+ padding: 0.5em;
628
+ border-bottom: none;
629
+ }
630
+
631
+ trix-toolbar .trix-dialog--link {
632
+ max-width: 600px;
633
+ }
634
+
635
+ trix-toolbar .trix-dialog__link-fields {
636
+ display: flex;
637
+ align-items: baseline;
638
+ }
639
+
640
+ trix-toolbar .trix-dialog__link-fields .trix-input {
641
+ flex: 1;
642
+ }
643
+
644
+ trix-toolbar .trix-dialog__link-fields .trix-button-group {
645
+ flex: 0 0 content;
646
+ margin: 0;
647
+ }
648
+
649
+ trix-editor [data-trix-mutable]:not(.attachment__caption-editor) {
650
+ -webkit-user-select: none;
651
+ -moz-user-select: none;
652
+ -ms-user-select: none;
653
+ user-select: none;
654
+ }
655
+
656
+ trix-editor [data-trix-mutable]::-moz-selection,
657
+ trix-editor [data-trix-cursor-target]::-moz-selection, trix-editor [data-trix-mutable] ::-moz-selection {
658
+ background: none;
659
+ }
660
+
661
+ trix-editor [data-trix-mutable]::selection,
662
+ trix-editor [data-trix-cursor-target]::selection, trix-editor [data-trix-mutable] ::selection {
663
+ background: none;
664
+ }
665
+
666
+ trix-editor .attachment__caption-editor:focus[data-trix-mutable]::-moz-selection {
667
+ background: highlight;
668
+ }
669
+
670
+ trix-editor .attachment__caption-editor:focus[data-trix-mutable]::selection {
671
+ background: highlight;
672
+ }
673
+
674
+ trix-editor [data-trix-mutable].attachment.attachment--file {
675
+ box-shadow: 0 0 0 2px highlight;
676
+ border-color: transparent;
677
+ }
678
+
679
+ trix-editor [data-trix-mutable].attachment img {
680
+ box-shadow: 0 0 0 2px highlight;
681
+ }
682
+
683
+ trix-editor .attachment {
684
+ position: relative;
685
+ }
686
+
687
+ trix-editor .attachment:hover {
688
+ cursor: default;
689
+ }
690
+
691
+ trix-editor .attachment--preview .attachment__caption:hover {
692
+ cursor: text;
693
+ }
694
+
695
+ trix-editor .attachment__progress {
696
+ position: absolute;
697
+ z-index: 1;
698
+ height: 20px;
699
+ top: calc(50% - 10px);
700
+ left: 5%;
701
+ width: 90%;
702
+ opacity: 0.9;
703
+ transition: opacity 200ms ease-in;
704
+ }
705
+
706
+ trix-editor .attachment__progress[value="100"] {
707
+ opacity: 0;
708
+ }
709
+
710
+ trix-editor .attachment__caption-editor {
711
+ display: inline-block;
712
+ width: 100%;
713
+ margin: 0;
714
+ padding: 0;
715
+ font-size: inherit;
716
+ font-family: inherit;
717
+ line-height: inherit;
718
+ color: inherit;
719
+ text-align: center;
720
+ vertical-align: top;
721
+ border: none;
722
+ outline: none;
723
+ -webkit-appearance: none;
724
+ -moz-appearance: none;
725
+ }
726
+
727
+ trix-editor .attachment__toolbar {
728
+ position: absolute;
729
+ z-index: 1;
730
+ top: -0.9em;
731
+ left: 0;
732
+ width: 100%;
733
+ text-align: center;
734
+ }
735
+
736
+ trix-editor .trix-button-group {
737
+ display: inline-flex;
738
+ }
739
+
740
+ trix-editor .trix-button {
741
+ position: relative;
742
+ float: left;
743
+ color: #666;
744
+ white-space: nowrap;
745
+ font-size: 80%;
746
+ padding: 0 0.8em;
747
+ margin: 0;
748
+ outline: none;
749
+ border: none;
750
+ border-radius: 0;
751
+ background: transparent;
752
+ }
753
+
754
+ trix-editor .trix-button:not(:first-child) {
755
+ border-left: 1px solid #ccc;
756
+ }
757
+
758
+ trix-editor .trix-button.trix-active {
759
+ background: #cbeefa;
760
+ }
761
+
762
+ trix-editor .trix-button:not(:disabled) {
763
+ cursor: pointer;
764
+ }
765
+
766
+ trix-editor .trix-button--remove {
767
+ text-indent: -9999px;
768
+ display: inline-block;
769
+ padding: 0;
770
+ outline: none;
771
+ width: 1.8em;
772
+ height: 1.8em;
773
+ line-height: 1.8em;
774
+ border-radius: 50%;
775
+ background-color: #fff;
776
+ border: 2px solid highlight;
777
+ box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.25);
778
+ }
779
+
780
+ trix-editor .trix-button--remove::before {
781
+ display: inline-block;
782
+ position: absolute;
783
+ top: 0;
784
+ right: 0;
785
+ bottom: 0;
786
+ left: 0;
787
+ opacity: 0.7;
788
+ content: "";
789
+ background-image: url("data:image/svg+xml,%3Csvg%20height%3D%2224%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M19%206.41%2017.59%205%2012%2010.59%206.41%205%205%206.41%2010.59%2012%205%2017.59%206.41%2019%2012%2013.41%2017.59%2019%2019%2017.59%2013.41%2012z%22%2F%3E%3Cpath%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%2F%3E%3C%2Fsvg%3E");
790
+ background-position: center;
791
+ background-repeat: no-repeat;
792
+ background-size: 90%;
793
+ }
794
+
795
+ trix-editor .trix-button--remove:hover {
796
+ border-color: #333;
797
+ }
798
+
799
+ trix-editor .trix-button--remove:hover::before {
800
+ opacity: 1;
801
+ }
802
+
803
+ trix-editor .attachment__metadata-container {
804
+ position: relative;
805
+ }
806
+
807
+ trix-editor .attachment__metadata {
808
+ position: absolute;
809
+ left: 50%;
810
+ top: 2em;
811
+ transform: translate(-50%, 0);
812
+ max-width: 90%;
813
+ padding: 0.1em 0.6em;
814
+ font-size: 0.8em;
815
+ color: #fff;
816
+ background-color: rgba(0, 0, 0, 0.7);
817
+ border-radius: 3px;
818
+ }
819
+
820
+ trix-editor .attachment__metadata .attachment__name {
821
+ display: inline-block;
822
+ max-width: 100%;
823
+ vertical-align: bottom;
824
+ overflow: hidden;
825
+ text-overflow: ellipsis;
826
+ white-space: nowrap;
827
+ }
828
+
829
+ trix-editor .attachment__metadata .attachment__size {
830
+ margin-left: 0.2em;
831
+ white-space: nowrap;
832
+ }
833
+
834
+ .trix-content {
835
+ line-height: 1.5;
836
+ overflow-wrap: break-word;
837
+ word-break: break-word;
838
+ }
839
+
840
+ .trix-content * {
841
+ box-sizing: border-box;
842
+ margin: 0;
843
+ padding: 0;
844
+ }
845
+
846
+ .trix-content h1 {
847
+ font-size: 1.2em;
848
+ line-height: 1.2;
849
+ }
850
+
851
+ .trix-content blockquote {
852
+ border: 0 solid #ccc;
853
+ border-left-width: 0.3em;
854
+ margin-left: 0.3em;
855
+ padding-left: 0.6em;
856
+ }
857
+
858
+ .trix-content [dir=rtl] blockquote,
859
+ .trix-content blockquote[dir=rtl] {
860
+ border-width: 0;
861
+ border-right-width: 0.3em;
862
+ margin-right: 0.3em;
863
+ padding-right: 0.6em;
864
+ }
865
+
866
+ .trix-content li {
867
+ margin-left: 1em;
868
+ }
869
+
870
+ .trix-content [dir=rtl] li {
871
+ margin-right: 1em;
872
+ }
873
+
874
+ .trix-content pre {
875
+ display: inline-block;
876
+ width: 100%;
877
+ vertical-align: top;
878
+ font-family: monospace;
879
+ font-size: 0.9em;
880
+ padding: 0.5em;
881
+ white-space: pre;
882
+ background-color: #eee;
883
+ overflow-x: auto;
884
+ }
885
+
886
+ .trix-content img {
887
+ max-width: 100%;
888
+ height: auto;
889
+ }
890
+
891
+ .trix-content .attachment {
892
+ display: inline-block;
893
+ position: relative;
894
+ max-width: 100%;
895
+ }
896
+
897
+ .trix-content .attachment a {
898
+ color: inherit;
899
+ text-decoration: none;
900
+ }
901
+
902
+ .trix-content .attachment a:hover, .trix-content .attachment a:visited:hover {
903
+ color: inherit;
904
+ }
905
+
906
+ .trix-content .attachment__caption {
907
+ text-align: center;
908
+ }
909
+
910
+ .trix-content .attachment__caption .attachment__name + .attachment__size::before {
911
+ content: " •";
912
+ }
913
+
914
+ .trix-content .attachment--preview {
915
+ width: 100%;
916
+ text-align: center;
917
+ }
918
+
919
+ .trix-content .attachment--preview .attachment__caption {
920
+ color: #666;
921
+ font-size: 0.9em;
922
+ line-height: 1.2;
923
+ }
924
+
925
+ .trix-content .attachment--file {
926
+ color: #333;
927
+ line-height: 1;
928
+ margin: 0 2px 2px 2px;
929
+ padding: 0.4em 1em;
930
+ border: 1px solid #bbb;
931
+ border-radius: 5px;
932
+ }
933
+
934
+ .trix-content .attachment-gallery {
935
+ display: flex;
936
+ flex-wrap: wrap;
937
+ position: relative;
938
+ }
939
+
940
+ .trix-content .attachment-gallery .attachment {
941
+ flex: 1 0 33%;
942
+ padding: 0 0.5em;
943
+ max-width: 33%;
944
+ }
945
+
946
+ .trix-content .attachment-gallery.attachment-gallery--2 .attachment, .trix-content .attachment-gallery.attachment-gallery--4 .attachment {
947
+ flex-basis: 50%;
948
+ max-width: 50%;
949
+ }
950
+
951
+ /**
952
+ * selectize.css (v0.12.6)
953
+ * Copyright (c) 2013–2015 Brian Reavis & contributors
954
+ *
955
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
956
+ * file except in compliance with the License. You may obtain a copy of the License at:
957
+ * http://www.apache.org/licenses/LICENSE-2.0
958
+ *
959
+ * Unless required by applicable law or agreed to in writing, software distributed under
960
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
961
+ * ANY KIND, either express or implied. See the License for the specific language
962
+ * governing permissions and limitations under the License.
963
+ *
964
+ * @author Brian Reavis <brian@thirdroute.com>
965
+ */
966
+ .selectize-control.plugin-drag_drop.multi > .selectize-input > div.ui-sortable-placeholder {
967
+ visibility: visible !important;
968
+ background: #f2f2f2 !important;
969
+ background: rgba(0, 0, 0, 0.06) !important;
970
+ border: 0 none !important;
971
+ -webkit-box-shadow: inset 0 0 12px 4px #fff;
972
+ box-shadow: inset 0 0 12px 4px #fff;
973
+ }
974
+
975
+ .selectize-control.plugin-drag_drop .ui-sortable-placeholder::after {
976
+ content: "!";
977
+ visibility: hidden;
978
+ }
979
+
980
+ .selectize-control.plugin-drag_drop .ui-sortable-helper {
981
+ -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
982
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
983
+ }
984
+
985
+ .selectize-dropdown-header {
986
+ position: relative;
987
+ padding: 5px 8px;
988
+ border-bottom: 1px solid #d0d0d0;
989
+ background: #f8f8f8;
990
+ -webkit-border-radius: 3px 3px 0 0;
991
+ -moz-border-radius: 3px 3px 0 0;
992
+ border-radius: 3px 3px 0 0;
993
+ }
994
+
995
+ .selectize-dropdown-header-close {
996
+ position: absolute;
997
+ right: 8px;
998
+ top: 50%;
999
+ color: #303030;
1000
+ opacity: 0.4;
1001
+ margin-top: -12px;
1002
+ line-height: 20px;
1003
+ font-size: 20px !important;
1004
+ }
1005
+
1006
+ .selectize-dropdown-header-close:hover {
1007
+ color: #000000;
1008
+ }
1009
+
1010
+ .selectize-dropdown.plugin-optgroup_columns .optgroup {
1011
+ border-right: 1px solid #f2f2f2;
1012
+ border-top: 0 none;
1013
+ float: left;
1014
+ -webkit-box-sizing: border-box;
1015
+ -moz-box-sizing: border-box;
1016
+ box-sizing: border-box;
1017
+ }
1018
+
1019
+ .selectize-dropdown.plugin-optgroup_columns .optgroup:last-child {
1020
+ border-right: 0 none;
1021
+ }
1022
+
1023
+ .selectize-dropdown.plugin-optgroup_columns .optgroup:before {
1024
+ display: none;
1025
+ }
1026
+
1027
+ .selectize-dropdown.plugin-optgroup_columns .optgroup-header {
1028
+ border-top: 0 none;
1029
+ }
1030
+
1031
+ .selectize-control.plugin-remove_button [data-value] {
1032
+ position: relative;
1033
+ padding-right: 24px !important;
1034
+ }
1035
+
1036
+ .selectize-control.plugin-remove_button [data-value] .remove {
1037
+ z-index: 1;
1038
+ /* fixes ie bug (see #392) */
1039
+ position: absolute;
1040
+ top: 0;
1041
+ right: 0;
1042
+ bottom: 0;
1043
+ width: 17px;
1044
+ text-align: center;
1045
+ font-weight: bold;
1046
+ font-size: 12px;
1047
+ color: inherit;
1048
+ text-decoration: none;
1049
+ vertical-align: middle;
1050
+ display: inline-block;
1051
+ padding: 2px 0 0 0;
1052
+ border-left: 1px solid #d0d0d0;
1053
+ -webkit-border-radius: 0 2px 2px 0;
1054
+ -moz-border-radius: 0 2px 2px 0;
1055
+ border-radius: 0 2px 2px 0;
1056
+ -webkit-box-sizing: border-box;
1057
+ -moz-box-sizing: border-box;
1058
+ box-sizing: border-box;
1059
+ }
1060
+
1061
+ .selectize-control.plugin-remove_button [data-value] .remove:hover {
1062
+ background: rgba(0, 0, 0, 0.05);
1063
+ }
1064
+
1065
+ .selectize-control.plugin-remove_button [data-value].active .remove {
1066
+ border-left-color: #cacaca;
1067
+ }
1068
+
1069
+ .selectize-control.plugin-remove_button .disabled [data-value] .remove:hover {
1070
+ background: none;
1071
+ }
1072
+
1073
+ .selectize-control.plugin-remove_button .disabled [data-value] .remove {
1074
+ border-left-color: #ffffff;
1075
+ }
1076
+
1077
+ .selectize-control.plugin-remove_button .remove-single {
1078
+ position: absolute;
1079
+ right: 0;
1080
+ top: 0;
1081
+ font-size: 23px;
1082
+ }
1083
+
1084
+ .selectize-control {
1085
+ position: relative;
1086
+ }
1087
+
1088
+ .selectize-dropdown,
1089
+ .selectize-input,
1090
+ .selectize-input input {
1091
+ color: #303030;
1092
+ font-family: inherit;
1093
+ font-size: 13px;
1094
+ line-height: 18px;
1095
+ -webkit-font-smoothing: inherit;
1096
+ }
1097
+
1098
+ .selectize-input,
1099
+ .selectize-control.single .selectize-input.input-active {
1100
+ background: #fff;
1101
+ cursor: text;
1102
+ display: inline-block;
1103
+ }
1104
+
1105
+ .selectize-input {
1106
+ border: 1px solid #d0d0d0;
1107
+ padding: 8px 8px;
1108
+ display: inline-block;
1109
+ width: 100%;
1110
+ overflow: hidden;
1111
+ position: relative;
1112
+ z-index: 1;
1113
+ -webkit-box-sizing: border-box;
1114
+ -moz-box-sizing: border-box;
1115
+ box-sizing: border-box;
1116
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
1117
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
1118
+ -webkit-border-radius: 3px;
1119
+ -moz-border-radius: 3px;
1120
+ border-radius: 3px;
1121
+ }
1122
+
1123
+ .selectize-control.multi .selectize-input.has-items {
1124
+ padding: 6px 8px 3px;
1125
+ }
1126
+
1127
+ .selectize-input.full {
1128
+ background-color: #fff;
1129
+ }
1130
+
1131
+ .selectize-input.disabled,
1132
+ .selectize-input.disabled * {
1133
+ cursor: default !important;
1134
+ }
1135
+
1136
+ .selectize-input.focus {
1137
+ -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
1138
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
1139
+ }
1140
+
1141
+ .selectize-input.dropdown-active {
1142
+ -webkit-border-radius: 3px 3px 0 0;
1143
+ -moz-border-radius: 3px 3px 0 0;
1144
+ border-radius: 3px 3px 0 0;
1145
+ }
1146
+
1147
+ .selectize-input > * {
1148
+ vertical-align: baseline;
1149
+ display: -moz-inline-stack;
1150
+ display: inline-block;
1151
+ zoom: 1;
1152
+ *display: inline;
1153
+ }
1154
+
1155
+ .selectize-control.multi .selectize-input > div {
1156
+ cursor: pointer;
1157
+ margin: 0 3px 3px 0;
1158
+ padding: 2px 6px;
1159
+ background: #f2f2f2;
1160
+ color: #303030;
1161
+ border: 0 solid #d0d0d0;
1162
+ }
1163
+
1164
+ .selectize-control.multi .selectize-input > div.active {
1165
+ background: #e8e8e8;
1166
+ color: #303030;
1167
+ border: 0 solid #cacaca;
1168
+ }
1169
+
1170
+ .selectize-control.multi .selectize-input.disabled > div,
1171
+ .selectize-control.multi .selectize-input.disabled > div.active {
1172
+ color: #7d7d7d;
1173
+ background: #ffffff;
1174
+ border: 0 solid #ffffff;
1175
+ }
1176
+
1177
+ .selectize-input > input {
1178
+ display: inline-block !important;
1179
+ padding: 0 !important;
1180
+ min-height: 0 !important;
1181
+ max-height: none !important;
1182
+ max-width: 100% !important;
1183
+ margin: 0 2px 0 0 !important;
1184
+ text-indent: 0 !important;
1185
+ border: 0 none !important;
1186
+ background: none !important;
1187
+ line-height: inherit !important;
1188
+ -webkit-user-select: auto !important;
1189
+ -webkit-box-shadow: none !important;
1190
+ box-shadow: none !important;
1191
+ }
1192
+
1193
+ .selectize-input > input::-ms-clear {
1194
+ display: none;
1195
+ }
1196
+
1197
+ .selectize-input > input:focus {
1198
+ outline: none !important;
1199
+ }
1200
+
1201
+ .selectize-input::after {
1202
+ content: " ";
1203
+ display: block;
1204
+ clear: left;
1205
+ }
1206
+
1207
+ .selectize-input.dropdown-active::before {
1208
+ content: " ";
1209
+ display: block;
1210
+ position: absolute;
1211
+ background: #f0f0f0;
1212
+ height: 1px;
1213
+ bottom: 0;
1214
+ left: 0;
1215
+ right: 0;
1216
+ }
1217
+
1218
+ .selectize-dropdown {
1219
+ position: absolute;
1220
+ z-index: 10;
1221
+ border: 1px solid #d0d0d0;
1222
+ background: #fff;
1223
+ margin: -1px 0 0 0;
1224
+ border-top: 0 none;
1225
+ -webkit-box-sizing: border-box;
1226
+ -moz-box-sizing: border-box;
1227
+ box-sizing: border-box;
1228
+ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
1229
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
1230
+ -webkit-border-radius: 0 0 3px 3px;
1231
+ -moz-border-radius: 0 0 3px 3px;
1232
+ border-radius: 0 0 3px 3px;
1233
+ }
1234
+
1235
+ .selectize-dropdown [data-selectable] {
1236
+ cursor: pointer;
1237
+ overflow: hidden;
1238
+ }
1239
+
1240
+ .selectize-dropdown [data-selectable] .highlight {
1241
+ background: rgba(125, 168, 208, 0.2);
1242
+ -webkit-border-radius: 1px;
1243
+ -moz-border-radius: 1px;
1244
+ border-radius: 1px;
1245
+ }
1246
+
1247
+ .selectize-dropdown .option,
1248
+ .selectize-dropdown .optgroup-header {
1249
+ padding: 5px 8px;
1250
+ }
1251
+
1252
+ .selectize-dropdown .option,
1253
+ .selectize-dropdown [data-disabled],
1254
+ .selectize-dropdown [data-disabled] [data-selectable].option {
1255
+ cursor: inherit;
1256
+ opacity: 0.5;
1257
+ }
1258
+
1259
+ .selectize-dropdown [data-selectable].option {
1260
+ opacity: 1;
1261
+ }
1262
+
1263
+ .selectize-dropdown .optgroup:first-child .optgroup-header {
1264
+ border-top: 0 none;
1265
+ }
1266
+
1267
+ .selectize-dropdown .optgroup-header {
1268
+ color: #303030;
1269
+ background: #fff;
1270
+ cursor: default;
1271
+ }
1272
+
1273
+ .selectize-dropdown .active {
1274
+ background-color: #f5fafd;
1275
+ color: #495c68;
1276
+ }
1277
+
1278
+ .selectize-dropdown .active.create {
1279
+ color: #495c68;
1280
+ }
1281
+
1282
+ .selectize-dropdown .create {
1283
+ color: rgba(48, 48, 48, 0.5);
1284
+ }
1285
+
1286
+ .selectize-dropdown-content {
1287
+ overflow-y: auto;
1288
+ overflow-x: hidden;
1289
+ max-height: 200px;
1290
+ -webkit-overflow-scrolling: touch;
1291
+ }
1292
+
1293
+ .selectize-control.single .selectize-input,
1294
+ .selectize-control.single .selectize-input input {
1295
+ cursor: pointer;
1296
+ }
1297
+
1298
+ .selectize-control.single .selectize-input.input-active,
1299
+ .selectize-control.single .selectize-input.input-active input {
1300
+ cursor: text;
1301
+ }
1302
+
1303
+ .selectize-control.single .selectize-input:after {
1304
+ content: " ";
1305
+ display: block;
1306
+ position: absolute;
1307
+ top: 50%;
1308
+ right: 15px;
1309
+ margin-top: -3px;
1310
+ width: 0;
1311
+ height: 0;
1312
+ border-style: solid;
1313
+ border-width: 5px 5px 0 5px;
1314
+ border-color: #808080 transparent transparent transparent;
1315
+ }
1316
+
1317
+ .selectize-control.single .selectize-input.dropdown-active:after {
1318
+ margin-top: -4px;
1319
+ border-width: 0 5px 5px 5px;
1320
+ border-color: transparent transparent #808080 transparent;
1321
+ }
1322
+
1323
+ .selectize-control.rtl.single .selectize-input:after {
1324
+ left: 15px;
1325
+ right: auto;
1326
+ }
1327
+
1328
+ .selectize-control.rtl .selectize-input > input {
1329
+ margin: 0 4px 0 -2px !important;
1330
+ }
1331
+
1332
+ .selectize-control .selectize-input.disabled {
1333
+ opacity: 0.5;
1334
+ background-color: #fafafa;
1335
+ }
1336
+
1337
+ /**
1338
+ * selectize.default.css (v0.12.6) - Default Theme
1339
+ * Copyright (c) 2013–2015 Brian Reavis & contributors
1340
+ *
1341
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
1342
+ * file except in compliance with the License. You may obtain a copy of the License at:
1343
+ * http://www.apache.org/licenses/LICENSE-2.0
1344
+ *
1345
+ * Unless required by applicable law or agreed to in writing, software distributed under
1346
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
1347
+ * ANY KIND, either express or implied. See the License for the specific language
1348
+ * governing permissions and limitations under the License.
1349
+ *
1350
+ * @author Brian Reavis <brian@thirdroute.com>
1351
+ */
1352
+ .selectize-control.plugin-drag_drop.multi > .selectize-input > div.ui-sortable-placeholder {
1353
+ visibility: visible !important;
1354
+ background: #f2f2f2 !important;
1355
+ background: rgba(0, 0, 0, 0.06) !important;
1356
+ border: 0 none !important;
1357
+ -webkit-box-shadow: inset 0 0 12px 4px #fff;
1358
+ box-shadow: inset 0 0 12px 4px #fff;
1359
+ }
1360
+
1361
+ .selectize-control.plugin-drag_drop .ui-sortable-placeholder::after {
1362
+ content: "!";
1363
+ visibility: hidden;
1364
+ }
1365
+
1366
+ .selectize-control.plugin-drag_drop .ui-sortable-helper {
1367
+ -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
1368
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
1369
+ }
1370
+
1371
+ .selectize-dropdown-header {
1372
+ position: relative;
1373
+ padding: 5px 8px;
1374
+ border-bottom: 1px solid #d0d0d0;
1375
+ background: #f8f8f8;
1376
+ -webkit-border-radius: 3px 3px 0 0;
1377
+ -moz-border-radius: 3px 3px 0 0;
1378
+ border-radius: 3px 3px 0 0;
1379
+ }
1380
+
1381
+ .selectize-dropdown-header-close {
1382
+ position: absolute;
1383
+ right: 8px;
1384
+ top: 50%;
1385
+ color: #303030;
1386
+ opacity: 0.4;
1387
+ margin-top: -12px;
1388
+ line-height: 20px;
1389
+ font-size: 20px !important;
1390
+ }
1391
+
1392
+ .selectize-dropdown-header-close:hover {
1393
+ color: #000000;
1394
+ }
1395
+
1396
+ .selectize-dropdown.plugin-optgroup_columns .optgroup {
1397
+ border-right: 1px solid #f2f2f2;
1398
+ border-top: 0 none;
1399
+ float: left;
1400
+ -webkit-box-sizing: border-box;
1401
+ -moz-box-sizing: border-box;
1402
+ box-sizing: border-box;
1403
+ }
1404
+
1405
+ .selectize-dropdown.plugin-optgroup_columns .optgroup:last-child {
1406
+ border-right: 0 none;
1407
+ }
1408
+
1409
+ .selectize-dropdown.plugin-optgroup_columns .optgroup:before {
1410
+ display: none;
1411
+ }
1412
+
1413
+ .selectize-dropdown.plugin-optgroup_columns .optgroup-header {
1414
+ border-top: 0 none;
1415
+ }
1416
+
1417
+ .selectize-control.plugin-remove_button [data-value] {
1418
+ position: relative;
1419
+ padding-right: 24px !important;
1420
+ }
1421
+
1422
+ .selectize-control.plugin-remove_button [data-value] .remove {
1423
+ z-index: 1;
1424
+ /* fixes ie bug (see #392) */
1425
+ position: absolute;
1426
+ top: 0;
1427
+ right: 0;
1428
+ bottom: 0;
1429
+ width: 17px;
1430
+ text-align: center;
1431
+ font-weight: bold;
1432
+ font-size: 12px;
1433
+ color: inherit;
1434
+ text-decoration: none;
1435
+ vertical-align: middle;
1436
+ display: inline-block;
1437
+ padding: 2px 0 0 0;
1438
+ border-left: 1px solid #0073bb;
1439
+ -webkit-border-radius: 0 2px 2px 0;
1440
+ -moz-border-radius: 0 2px 2px 0;
1441
+ border-radius: 0 2px 2px 0;
1442
+ -webkit-box-sizing: border-box;
1443
+ -moz-box-sizing: border-box;
1444
+ box-sizing: border-box;
1445
+ }
1446
+
1447
+ .selectize-control.plugin-remove_button [data-value] .remove:hover {
1448
+ background: rgba(0, 0, 0, 0.05);
1449
+ }
1450
+
1451
+ .selectize-control.plugin-remove_button [data-value].active .remove {
1452
+ border-left-color: #00578d;
1453
+ }
1454
+
1455
+ .selectize-control.plugin-remove_button .disabled [data-value] .remove:hover {
1456
+ background: none;
1457
+ }
1458
+
1459
+ .selectize-control.plugin-remove_button .disabled [data-value] .remove {
1460
+ border-left-color: #aaaaaa;
1461
+ }
1462
+
1463
+ .selectize-control.plugin-remove_button .remove-single {
1464
+ position: absolute;
1465
+ right: 0;
1466
+ top: 0;
1467
+ font-size: 23px;
1468
+ }
1469
+
1470
+ .selectize-control {
1471
+ position: relative;
1472
+ }
1473
+
1474
+ .selectize-dropdown,
1475
+ .selectize-input,
1476
+ .selectize-input input {
1477
+ color: #303030;
1478
+ font-family: inherit;
1479
+ font-size: 13px;
1480
+ line-height: 18px;
1481
+ -webkit-font-smoothing: inherit;
1482
+ }
1483
+
1484
+ .selectize-input,
1485
+ .selectize-control.single .selectize-input.input-active {
1486
+ background: #fff;
1487
+ cursor: text;
1488
+ display: inline-block;
1489
+ }
1490
+
1491
+ .selectize-input {
1492
+ border: 1px solid #d0d0d0;
1493
+ padding: 8px 8px;
1494
+ display: inline-block;
1495
+ width: 100%;
1496
+ overflow: hidden;
1497
+ position: relative;
1498
+ z-index: 1;
1499
+ -webkit-box-sizing: border-box;
1500
+ -moz-box-sizing: border-box;
1501
+ box-sizing: border-box;
1502
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
1503
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
1504
+ -webkit-border-radius: 3px;
1505
+ -moz-border-radius: 3px;
1506
+ border-radius: 3px;
1507
+ }
1508
+
1509
+ .selectize-control.multi .selectize-input.has-items {
1510
+ padding: 5px 8px 2px;
1511
+ }
1512
+
1513
+ .selectize-input.full {
1514
+ background-color: #fff;
1515
+ }
1516
+
1517
+ .selectize-input.disabled,
1518
+ .selectize-input.disabled * {
1519
+ cursor: default !important;
1520
+ }
1521
+
1522
+ .selectize-input.focus {
1523
+ -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
1524
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
1525
+ }
1526
+
1527
+ .selectize-input.dropdown-active {
1528
+ -webkit-border-radius: 3px 3px 0 0;
1529
+ -moz-border-radius: 3px 3px 0 0;
1530
+ border-radius: 3px 3px 0 0;
1531
+ }
1532
+
1533
+ .selectize-input > * {
1534
+ vertical-align: baseline;
1535
+ display: -moz-inline-stack;
1536
+ display: inline-block;
1537
+ zoom: 1;
1538
+ *display: inline;
1539
+ }
1540
+
1541
+ .selectize-control.multi .selectize-input > div {
1542
+ cursor: pointer;
1543
+ margin: 0 3px 3px 0;
1544
+ padding: 2px 6px;
1545
+ background: #1da7ee;
1546
+ color: #fff;
1547
+ border: 1px solid #0073bb;
1548
+ }
1549
+
1550
+ .selectize-control.multi .selectize-input > div.active {
1551
+ background: #92c836;
1552
+ color: #fff;
1553
+ border: 1px solid #00578d;
1554
+ }
1555
+
1556
+ .selectize-control.multi .selectize-input.disabled > div,
1557
+ .selectize-control.multi .selectize-input.disabled > div.active {
1558
+ color: #ffffff;
1559
+ background: #d2d2d2;
1560
+ border: 1px solid #aaaaaa;
1561
+ }
1562
+
1563
+ .selectize-input > input {
1564
+ display: inline-block !important;
1565
+ padding: 0 !important;
1566
+ min-height: 0 !important;
1567
+ max-height: none !important;
1568
+ max-width: 100% !important;
1569
+ margin: 0 1px !important;
1570
+ text-indent: 0 !important;
1571
+ border: 0 none !important;
1572
+ background: none !important;
1573
+ line-height: inherit !important;
1574
+ -webkit-user-select: auto !important;
1575
+ -webkit-box-shadow: none !important;
1576
+ box-shadow: none !important;
1577
+ }
1578
+
1579
+ .selectize-input > input::-ms-clear {
1580
+ display: none;
1581
+ }
1582
+
1583
+ .selectize-input > input:focus {
1584
+ outline: none !important;
1585
+ }
1586
+
1587
+ .selectize-input::after {
1588
+ content: " ";
1589
+ display: block;
1590
+ clear: left;
1591
+ }
1592
+
1593
+ .selectize-input.dropdown-active::before {
1594
+ content: " ";
1595
+ display: block;
1596
+ position: absolute;
1597
+ background: #f0f0f0;
1598
+ height: 1px;
1599
+ bottom: 0;
1600
+ left: 0;
1601
+ right: 0;
1602
+ }
1603
+
1604
+ .selectize-dropdown {
1605
+ position: absolute;
1606
+ z-index: 10;
1607
+ border: 1px solid #d0d0d0;
1608
+ background: #fff;
1609
+ margin: -1px 0 0 0;
1610
+ border-top: 0 none;
1611
+ -webkit-box-sizing: border-box;
1612
+ -moz-box-sizing: border-box;
1613
+ box-sizing: border-box;
1614
+ -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
1615
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
1616
+ -webkit-border-radius: 0 0 3px 3px;
1617
+ -moz-border-radius: 0 0 3px 3px;
1618
+ border-radius: 0 0 3px 3px;
1619
+ }
1620
+
1621
+ .selectize-dropdown [data-selectable] {
1622
+ cursor: pointer;
1623
+ overflow: hidden;
1624
+ }
1625
+
1626
+ .selectize-dropdown [data-selectable] .highlight {
1627
+ background: rgba(125, 168, 208, 0.2);
1628
+ -webkit-border-radius: 1px;
1629
+ -moz-border-radius: 1px;
1630
+ border-radius: 1px;
1631
+ }
1632
+
1633
+ .selectize-dropdown .option,
1634
+ .selectize-dropdown .optgroup-header {
1635
+ padding: 5px 8px;
1636
+ }
1637
+
1638
+ .selectize-dropdown .option,
1639
+ .selectize-dropdown [data-disabled],
1640
+ .selectize-dropdown [data-disabled] [data-selectable].option {
1641
+ cursor: inherit;
1642
+ opacity: 0.5;
1643
+ }
1644
+
1645
+ .selectize-dropdown [data-selectable].option {
1646
+ opacity: 1;
1647
+ }
1648
+
1649
+ .selectize-dropdown .optgroup:first-child .optgroup-header {
1650
+ border-top: 0 none;
1651
+ }
1652
+
1653
+ .selectize-dropdown .optgroup-header {
1654
+ color: #303030;
1655
+ background: #fff;
1656
+ cursor: default;
1657
+ }
1658
+
1659
+ .selectize-dropdown .active {
1660
+ background-color: #f5fafd;
1661
+ color: #495c68;
1662
+ }
1663
+
1664
+ .selectize-dropdown .active.create {
1665
+ color: #495c68;
1666
+ }
1667
+
1668
+ .selectize-dropdown .create {
1669
+ color: rgba(48, 48, 48, 0.5);
1670
+ }
1671
+
1672
+ .selectize-dropdown-content {
1673
+ overflow-y: auto;
1674
+ overflow-x: hidden;
1675
+ max-height: 200px;
1676
+ -webkit-overflow-scrolling: touch;
1677
+ }
1678
+
1679
+ .selectize-control.single .selectize-input,
1680
+ .selectize-control.single .selectize-input input {
1681
+ cursor: pointer;
1682
+ }
1683
+
1684
+ .selectize-control.single .selectize-input.input-active,
1685
+ .selectize-control.single .selectize-input.input-active input {
1686
+ cursor: text;
1687
+ }
1688
+
1689
+ .selectize-control.single .selectize-input:after {
1690
+ content: " ";
1691
+ display: block;
1692
+ position: absolute;
1693
+ top: 50%;
1694
+ right: 15px;
1695
+ margin-top: -3px;
1696
+ width: 0;
1697
+ height: 0;
1698
+ border-style: solid;
1699
+ border-width: 5px 5px 0 5px;
1700
+ border-color: #808080 transparent transparent transparent;
1701
+ }
1702
+
1703
+ .selectize-control.single .selectize-input.dropdown-active:after {
1704
+ margin-top: -4px;
1705
+ border-width: 0 5px 5px 5px;
1706
+ border-color: transparent transparent #808080 transparent;
1707
+ }
1708
+
1709
+ .selectize-control.rtl.single .selectize-input:after {
1710
+ left: 15px;
1711
+ right: auto;
1712
+ }
1713
+
1714
+ .selectize-control.rtl .selectize-input > input {
1715
+ margin: 0 4px 0 -2px !important;
1716
+ }
1717
+
1718
+ .selectize-control .selectize-input.disabled {
1719
+ opacity: 0.5;
1720
+ background-color: #fafafa;
1721
+ }
1722
+
1723
+ .selectize-control.multi .selectize-input.has-items {
1724
+ padding-left: 5px;
1725
+ padding-right: 5px;
1726
+ }
1727
+
1728
+ .selectize-control.multi .selectize-input.disabled [data-value] {
1729
+ color: #999;
1730
+ text-shadow: none;
1731
+ background: none;
1732
+ -webkit-box-shadow: none;
1733
+ box-shadow: none;
1734
+ }
1735
+
1736
+ .selectize-control.multi .selectize-input.disabled [data-value],
1737
+ .selectize-control.multi .selectize-input.disabled [data-value] .remove {
1738
+ border-color: #e6e6e6;
1739
+ }
1740
+
1741
+ .selectize-control.multi .selectize-input.disabled [data-value] .remove {
1742
+ background: none;
1743
+ }
1744
+
1745
+ .selectize-control.multi .selectize-input [data-value] {
1746
+ text-shadow: 0 1px 0 rgba(0, 51, 83, 0.3);
1747
+ -webkit-border-radius: 3px;
1748
+ -moz-border-radius: 3px;
1749
+ border-radius: 3px;
1750
+ background-color: #1b9dec;
1751
+ background-image: -moz-linear-gradient(top, #1da7ee, #178ee9);
1752
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#1da7ee), to(#178ee9));
1753
+ background-image: -webkit-linear-gradient(top, #1da7ee, #178ee9);
1754
+ background-image: -o-linear-gradient(top, #1da7ee, #178ee9);
1755
+ background-image: linear-gradient(to bottom, #1da7ee, #178ee9);
1756
+ background-repeat: repeat-x;
1757
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ff1da7ee", endColorstr="#ff178ee9", GradientType=0);
1758
+ -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.03);
1759
+ box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.03);
1760
+ }
1761
+
1762
+ .selectize-control.multi .selectize-input [data-value].active {
1763
+ background-color: #0085d4;
1764
+ background-image: -moz-linear-gradient(top, #008fd8, #0075cf);
1765
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#008fd8), to(#0075cf));
1766
+ background-image: -webkit-linear-gradient(top, #008fd8, #0075cf);
1767
+ background-image: -o-linear-gradient(top, #008fd8, #0075cf);
1768
+ background-image: linear-gradient(to bottom, #008fd8, #0075cf);
1769
+ background-repeat: repeat-x;
1770
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ff008fd8", endColorstr="#ff0075cf", GradientType=0);
1771
+ }
1772
+
1773
+ .selectize-control.single .selectize-input {
1774
+ -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
1775
+ box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
1776
+ background-color: #f9f9f9;
1777
+ background-image: -moz-linear-gradient(top, #fefefe, #f2f2f2);
1778
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fefefe), to(#f2f2f2));
1779
+ background-image: -webkit-linear-gradient(top, #fefefe, #f2f2f2);
1780
+ background-image: -o-linear-gradient(top, #fefefe, #f2f2f2);
1781
+ background-image: linear-gradient(to bottom, #fefefe, #f2f2f2);
1782
+ background-repeat: repeat-x;
1783
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#fffefefe", endColorstr="#fff2f2f2", GradientType=0);
1784
+ }
1785
+
1786
+ .selectize-control.single .selectize-input,
1787
+ .selectize-dropdown.single {
1788
+ border-color: #b8b8b8;
1789
+ }
1790
+
1791
+ .selectize-dropdown .optgroup-header {
1792
+ padding-top: 7px;
1793
+ font-weight: bold;
1794
+ font-size: 0.85em;
1795
+ }
1796
+
1797
+ .selectize-dropdown .optgroup {
1798
+ border-top: 1px solid #f0f0f0;
1799
+ }
1800
+
1801
+ .selectize-dropdown .optgroup:first-child {
1802
+ border-top: 0 none;
1803
+ }
1804
+
1805
+ /* stylelint-disable scss/dollar-variable-empty-line-before */
1806
+ /* stylelint-enable scss/dollar-variable-empty-line-before */
1807
+ fieldset {
1808
+ background-color: transparent;
1809
+ border: 0;
1810
+ margin: 0;
1811
+ padding: 0;
1812
+ }
1813
+
1814
+ legend {
1815
+ font-weight: 700;
1816
+ margin: 0;
1817
+ padding: 0;
1818
+ }
1819
+
1820
+ label {
1821
+ display: block;
1822
+ font-weight: 700;
1823
+ margin: 0;
1824
+ }
1825
+
1826
+ input,
1827
+ select {
1828
+ display: block;
1829
+ font-family: -apple-system, blinkmacsystemfont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
1830
+ font-size: 1em;
1831
+ }
1832
+
1833
+ input,
1834
+ select,
1835
+ textarea {
1836
+ display: block;
1837
+ font-family: -apple-system, blinkmacsystemfont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
1838
+ font-size: 16px;
1839
+ }
1840
+
1841
+ textarea {
1842
+ resize: vertical;
1843
+ }
1844
+
1845
+ [type=color],
1846
+ [type=date],
1847
+ [type=datetime-local],
1848
+ [type=email],
1849
+ [type=month],
1850
+ [type=number],
1851
+ [type=password],
1852
+ [type=search],
1853
+ [type=tel],
1854
+ [type=text],
1855
+ [type=time],
1856
+ [type=url],
1857
+ [type=week],
1858
+ input:not([type]),
1859
+ textarea {
1860
+ appearance: none;
1861
+ background-color: #ffffff;
1862
+ border: 1px solid #dfe0e1;
1863
+ border-radius: 4px;
1864
+ padding: 0.5em;
1865
+ transition: border-color 250ms ease-in-out;
1866
+ width: 100%;
1867
+ }
1868
+ [type=color]:hover,
1869
+ [type=date]:hover,
1870
+ [type=datetime-local]:hover,
1871
+ [type=email]:hover,
1872
+ [type=month]:hover,
1873
+ [type=number]:hover,
1874
+ [type=password]:hover,
1875
+ [type=search]:hover,
1876
+ [type=tel]:hover,
1877
+ [type=text]:hover,
1878
+ [type=time]:hover,
1879
+ [type=url]:hover,
1880
+ [type=week]:hover,
1881
+ input:not([type]):hover,
1882
+ textarea:hover {
1883
+ border-color: #b2b3b4;
1884
+ }
1885
+ [type=color]:focus,
1886
+ [type=date]:focus,
1887
+ [type=datetime-local]:focus,
1888
+ [type=email]:focus,
1889
+ [type=month]:focus,
1890
+ [type=number]:focus,
1891
+ [type=password]:focus,
1892
+ [type=search]:focus,
1893
+ [type=tel]:focus,
1894
+ [type=text]:focus,
1895
+ [type=time]:focus,
1896
+ [type=url]:focus,
1897
+ [type=week]:focus,
1898
+ input:not([type]):focus,
1899
+ textarea:focus {
1900
+ border-color: #1976d2;
1901
+ outline: none;
1902
+ }
1903
+ [type=color]:disabled,
1904
+ [type=date]:disabled,
1905
+ [type=datetime-local]:disabled,
1906
+ [type=email]:disabled,
1907
+ [type=month]:disabled,
1908
+ [type=number]:disabled,
1909
+ [type=password]:disabled,
1910
+ [type=search]:disabled,
1911
+ [type=tel]:disabled,
1912
+ [type=text]:disabled,
1913
+ [type=time]:disabled,
1914
+ [type=url]:disabled,
1915
+ [type=week]:disabled,
1916
+ input:not([type]):disabled,
1917
+ textarea:disabled {
1918
+ background-color: #f2f2f2;
1919
+ cursor: not-allowed;
1920
+ }
1921
+ [type=color]:disabled:hover,
1922
+ [type=date]:disabled:hover,
1923
+ [type=datetime-local]:disabled:hover,
1924
+ [type=email]:disabled:hover,
1925
+ [type=month]:disabled:hover,
1926
+ [type=number]:disabled:hover,
1927
+ [type=password]:disabled:hover,
1928
+ [type=search]:disabled:hover,
1929
+ [type=tel]:disabled:hover,
1930
+ [type=text]:disabled:hover,
1931
+ [type=time]:disabled:hover,
1932
+ [type=url]:disabled:hover,
1933
+ [type=week]:disabled:hover,
1934
+ input:not([type]):disabled:hover,
1935
+ textarea:disabled:hover {
1936
+ border: 1px solid #dfe0e1;
1937
+ }
1938
+ [type=color]::placeholder,
1939
+ [type=date]::placeholder,
1940
+ [type=datetime-local]::placeholder,
1941
+ [type=email]::placeholder,
1942
+ [type=month]::placeholder,
1943
+ [type=number]::placeholder,
1944
+ [type=password]::placeholder,
1945
+ [type=search]::placeholder,
1946
+ [type=tel]::placeholder,
1947
+ [type=text]::placeholder,
1948
+ [type=time]::placeholder,
1949
+ [type=url]::placeholder,
1950
+ [type=week]::placeholder,
1951
+ input:not([type])::placeholder,
1952
+ textarea::placeholder {
1953
+ font-style: italic;
1954
+ }
1955
+
1956
+ [type=checkbox],
1957
+ [type=radio] {
1958
+ display: inline;
1959
+ margin-right: 0.375em;
1960
+ }
1961
+
1962
+ [type=file] {
1963
+ width: 100%;
1964
+ }
1965
+
1966
+ select {
1967
+ width: 100%;
1968
+ }
1969
+
1970
+ [type=checkbox]:focus,
1971
+ [type=radio]:focus,
1972
+ [type=file]:focus,
1973
+ select:focus {
1974
+ outline: 3px solid rgba(25, 118, 210, 0.6);
1975
+ outline-offset: 1px;
1976
+ }
1977
+
1978
+ html {
1979
+ background-color: #f6f7f7;
1980
+ box-sizing: border-box;
1981
+ }
1982
+
1983
+ *,
1984
+ *::before,
1985
+ *::after {
1986
+ box-sizing: inherit;
1987
+ }
1988
+
1989
+ figure {
1990
+ margin: 0;
1991
+ }
1992
+
1993
+ /* stylelint-disable selector-no-qualifying-type, selector-class-pattern */
1994
+ form.button_to {
1995
+ display: contents;
1996
+ }
1997
+
1998
+ img,
1999
+ picture {
2000
+ margin: 0;
2001
+ max-width: 100%;
2002
+ }
2003
+
2004
+ ul,
2005
+ ol {
2006
+ list-style-type: none;
2007
+ margin: 0;
2008
+ padding: 0;
2009
+ }
2010
+
2011
+ dl {
2012
+ margin-bottom: 0.75em;
2013
+ }
2014
+ dl dt {
2015
+ font-weight: 700;
2016
+ margin-top: 0.75em;
2017
+ }
2018
+ dl dd {
2019
+ margin: 0;
2020
+ }
2021
+
2022
+ table {
2023
+ border-collapse: collapse;
2024
+ font-size: 0.9em;
2025
+ text-align: left;
2026
+ width: 100%;
2027
+ }
2028
+ table a {
2029
+ color: inherit;
2030
+ text-decoration: none;
2031
+ }
2032
+
2033
+ thead {
2034
+ font-weight: 700;
2035
+ }
2036
+
2037
+ tr {
2038
+ border-bottom: 1px solid #dfe0e1;
2039
+ }
2040
+
2041
+ tbody tr:hover {
2042
+ background-color: #f6f7f7;
2043
+ }
2044
+ tbody tr [role=link] {
2045
+ cursor: pointer;
2046
+ }
2047
+ tbody tr:focus {
2048
+ outline: 3px solid rgba(25, 118, 210, 0.6);
2049
+ outline-offset: -3px;
2050
+ }
2051
+
2052
+ td,
2053
+ th {
2054
+ font-feature-settings: "kern", "liga", "clig", "calt", "lnum", "tnum";
2055
+ font-kerning: normal;
2056
+ font-variant-ligatures: common-ligatures, contextual;
2057
+ font-variant-numeric: lining-nums, tabular-nums;
2058
+ padding: 0.75rem;
2059
+ vertical-align: middle;
2060
+ }
2061
+
2062
+ td:first-child,
2063
+ th:first-child {
2064
+ padding-left: 2rem;
2065
+ }
2066
+
2067
+ td:last-child,
2068
+ th:last-child {
2069
+ padding-right: 2rem;
2070
+ }
2071
+
2072
+ td img {
2073
+ max-height: 2rem;
2074
+ }
2075
+
2076
+ body {
2077
+ color: #293f54;
2078
+ font-family: -apple-system, blinkmacsystemfont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
2079
+ font-size: 1em;
2080
+ line-height: 1.5;
2081
+ }
2082
+
2083
+ h1,
2084
+ h2,
2085
+ h3,
2086
+ h4,
2087
+ h5,
2088
+ h6 {
2089
+ font-family: -apple-system, blinkmacsystemfont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
2090
+ font-size: 1em;
2091
+ line-height: 1.2;
2092
+ margin: 0;
2093
+ }
2094
+
2095
+ p {
2096
+ margin: 0 0 0.75em;
2097
+ }
2098
+
2099
+ a,
2100
+ .link:is(button,
2101
+ [type=button],
2102
+ [type=reset],
2103
+ [type=submit]) {
2104
+ color: #1976d2;
2105
+ text-decoration-skip-ink: auto;
2106
+ transition: color 250ms ease-in-out;
2107
+ /* stylelint-disable selector-no-qualifying-type */
2108
+ }
2109
+ a.link--danger,
2110
+ .link:is(button,
2111
+ [type=button],
2112
+ [type=reset],
2113
+ [type=submit]).link--danger {
2114
+ color: #d32f2f;
2115
+ }
2116
+ a:hover,
2117
+ .link:is(button,
2118
+ [type=button],
2119
+ [type=reset],
2120
+ [type=submit]):hover {
2121
+ color: #13599e;
2122
+ }
2123
+ a:focus,
2124
+ .link:is(button,
2125
+ [type=button],
2126
+ [type=reset],
2127
+ [type=submit]):focus {
2128
+ outline: 3px solid rgba(25, 118, 210, 0.6);
2129
+ outline-offset: 1px;
2130
+ }
2131
+
2132
+ hr {
2133
+ border-bottom: 1px solid #dfe0e1;
2134
+ border-left: 0;
2135
+ border-right: 0;
2136
+ border-top: 0;
2137
+ margin: 1.5em 0;
2138
+ }
2139
+
2140
+ .app-container {
2141
+ align-items: stretch;
2142
+ display: flex;
2143
+ margin-left: auto;
2144
+ margin-right: auto;
2145
+ max-width: 100rem;
2146
+ min-height: 100vh;
2147
+ padding: 1.5em;
2148
+ }
2149
+
2150
+ .attribute-label {
2151
+ color: #7b808c;
2152
+ font-size: 0.8em;
2153
+ font-weight: 400;
2154
+ letter-spacing: 0.0357em;
2155
+ position: relative;
2156
+ text-transform: uppercase;
2157
+ clear: left;
2158
+ float: left;
2159
+ margin-bottom: 1.5em;
2160
+ margin-top: 0.25em;
2161
+ text-align: right;
2162
+ width: calc(20% - 1rem);
2163
+ }
2164
+
2165
+ .preserve-whitespace {
2166
+ white-space: pre-wrap;
2167
+ word-wrap: break-word;
2168
+ }
2169
+
2170
+ .attribute-data {
2171
+ float: left;
2172
+ margin-bottom: 1.5em;
2173
+ margin-left: 2rem;
2174
+ width: calc(80% - 1rem);
2175
+ word-break: break-word;
2176
+ }
2177
+
2178
+ .attribute--nested {
2179
+ border: 1px solid #dfe0e1;
2180
+ padding: 0.75em;
2181
+ }
2182
+
2183
+ button,
2184
+ [type=button],
2185
+ [type=reset],
2186
+ [type=submit],
2187
+ .button {
2188
+ appearance: none;
2189
+ background-color: #1976d2;
2190
+ border: 0;
2191
+ border-radius: 4px;
2192
+ color: #ffffff;
2193
+ cursor: pointer;
2194
+ display: inline-block;
2195
+ font-family: -apple-system, blinkmacsystemfont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
2196
+ font-size: 1em;
2197
+ -webkit-font-smoothing: antialiased;
2198
+ font-weight: 700;
2199
+ line-height: 1;
2200
+ padding: 0.75em 1.5em;
2201
+ text-decoration: none;
2202
+ transition: background-color 250ms ease-in-out;
2203
+ user-select: none;
2204
+ vertical-align: middle;
2205
+ white-space: nowrap;
2206
+ }
2207
+ button:disabled,
2208
+ [type=button]:disabled,
2209
+ [type=reset]:disabled,
2210
+ [type=submit]:disabled,
2211
+ .button:disabled {
2212
+ cursor: not-allowed;
2213
+ opacity: 0.5;
2214
+ }
2215
+ button:not(.link):hover,
2216
+ [type=button]:not(.link):hover,
2217
+ [type=reset]:not(.link):hover,
2218
+ [type=submit]:not(.link):hover,
2219
+ .button:not(.link):hover {
2220
+ background-color: #145ea8;
2221
+ color: #ffffff;
2222
+ }
2223
+ button:not(.link):focus,
2224
+ [type=button]:not(.link):focus,
2225
+ [type=reset]:not(.link):focus,
2226
+ [type=submit]:not(.link):focus,
2227
+ .button:not(.link):focus {
2228
+ outline: 3px solid rgba(25, 118, 210, 0.6);
2229
+ outline-offset: 1px;
2230
+ }
2231
+ button:not(.link):disabled:hover,
2232
+ [type=button]:not(.link):disabled:hover,
2233
+ [type=reset]:not(.link):disabled:hover,
2234
+ [type=submit]:not(.link):disabled:hover,
2235
+ .button:not(.link):disabled:hover {
2236
+ background-color: #1976d2;
2237
+ }
2238
+
2239
+ .button--alt {
2240
+ background-color: transparent;
2241
+ border: 1px solid #dfe0e1;
2242
+ border-color: #1976d2;
2243
+ color: #1976d2;
2244
+ }
2245
+
2246
+ .button--danger {
2247
+ background-color: #d32f2f;
2248
+ }
2249
+ .button--danger:hover {
2250
+ background-color: #a92626;
2251
+ color: #ffffff;
2252
+ }
2253
+
2254
+ .button--nav {
2255
+ margin-bottom: 1.5em;
2256
+ }
2257
+
2258
+ .cell-label__sort-indicator {
2259
+ float: right;
2260
+ margin-left: 5px;
2261
+ }
2262
+ .cell-label__sort-indicator svg {
2263
+ fill: #7b808c;
2264
+ height: 13px;
2265
+ transition: transform 250ms ease-in-out;
2266
+ width: 13px;
2267
+ }
2268
+
2269
+ .cell-label {
2270
+ padding-top: 0.15em;
2271
+ }
2272
+ .cell-label a {
2273
+ color: inherit;
2274
+ display: inline-block;
2275
+ transition: color 250ms ease-in-out;
2276
+ width: 100%;
2277
+ }
2278
+ .cell-label:hover a {
2279
+ color: #1976d2;
2280
+ }
2281
+ .cell-label:hover svg {
2282
+ fill: #1976d2;
2283
+ transform: rotate(180deg);
2284
+ }
2285
+
2286
+ .cell-label--asc,
2287
+ .cell-label--desc {
2288
+ font-weight: 700;
2289
+ }
2290
+
2291
+ .cell-label__sort-indicator--desc {
2292
+ transform: rotate(180deg);
2293
+ }
2294
+
2295
+ .cell-data--number,
2296
+ .cell-label--number {
2297
+ text-align: right;
2298
+ }
2299
+
2300
+ .field-unit {
2301
+ align-items: center;
2302
+ display: flex;
2303
+ flex-wrap: wrap;
2304
+ margin-bottom: 1.5em;
2305
+ position: relative;
2306
+ width: 100%;
2307
+ }
2308
+ .field-unit::after {
2309
+ clear: both;
2310
+ content: "";
2311
+ display: block;
2312
+ }
2313
+
2314
+ .field-unit__label {
2315
+ float: left;
2316
+ margin-left: 1rem;
2317
+ text-align: right;
2318
+ width: calc(15% - 1rem);
2319
+ }
2320
+
2321
+ .field-unit__field {
2322
+ flex-grow: 1;
2323
+ float: left;
2324
+ margin-left: 2rem;
2325
+ }
2326
+ .field-unit__field .optgroup-header {
2327
+ font-weight: 700;
2328
+ }
2329
+
2330
+ .field-unit__hint {
2331
+ font-size: 90%;
2332
+ margin-left: calc(15% + 2rem);
2333
+ width: 100%;
2334
+ }
2335
+
2336
+ .field-unit--nested {
2337
+ border: 1px solid #dfe0e1;
2338
+ margin-left: 7.5%;
2339
+ max-width: 60rem;
2340
+ padding: 0.75em;
2341
+ width: 100%;
2342
+ }
2343
+ .field-unit--nested .field-unit__field {
2344
+ flex-grow: 1;
2345
+ }
2346
+ .field-unit--nested .field-unit__label {
2347
+ width: 10rem;
2348
+ }
2349
+
2350
+ .field-unit--required label::after {
2351
+ color: #d32f2f;
2352
+ content: " *";
2353
+ }
2354
+
2355
+ .flash-alert {
2356
+ background-color: #fff6bf;
2357
+ color: #66624c;
2358
+ display: block;
2359
+ margin-bottom: 0.75em;
2360
+ padding: 0.75em;
2361
+ text-align: center;
2362
+ }
2363
+ .flash-alert a {
2364
+ color: #4d4a39;
2365
+ text-decoration: underline;
2366
+ }
2367
+ .flash-alert a:focus, .flash-alert a:hover {
2368
+ color: #1a1913;
2369
+ }
2370
+
2371
+ .flash-error {
2372
+ background-color: #fbe3e4;
2373
+ color: #645b5b;
2374
+ display: block;
2375
+ margin-bottom: 0.75em;
2376
+ padding: 0.75em;
2377
+ text-align: center;
2378
+ }
2379
+ .flash-error a {
2380
+ color: #4b4444;
2381
+ text-decoration: underline;
2382
+ }
2383
+ .flash-error a:focus, .flash-error a:hover {
2384
+ color: #191717;
2385
+ }
2386
+
2387
+ .flash-notice {
2388
+ background-color: #e5edf8;
2389
+ color: #5c5f63;
2390
+ display: block;
2391
+ margin-bottom: 0.75em;
2392
+ padding: 0.75em;
2393
+ text-align: center;
2394
+ }
2395
+ .flash-notice a {
2396
+ color: #45474a;
2397
+ text-decoration: underline;
2398
+ }
2399
+ .flash-notice a:focus, .flash-notice a:hover {
2400
+ color: #171819;
2401
+ }
2402
+
2403
+ .flash-success {
2404
+ background-color: #e6efc2;
2405
+ color: #5c604e;
2406
+ display: block;
2407
+ margin-bottom: 0.75em;
2408
+ padding: 0.75em;
2409
+ text-align: center;
2410
+ }
2411
+ .flash-success a {
2412
+ color: #45483a;
2413
+ text-decoration: underline;
2414
+ }
2415
+ .flash-success a:focus, .flash-success a:hover {
2416
+ color: #171813;
2417
+ }
2418
+
2419
+ .form-actions {
2420
+ margin-left: calc(15% + 2rem);
2421
+ }
2422
+
2423
+ .main-content {
2424
+ background-color: #ffffff;
2425
+ border-radius: 4px;
2426
+ box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.12), 0 2px 2px rgba(0, 0, 0, 0.2);
2427
+ flex: 1 1 100%;
2428
+ min-width: 800px;
2429
+ padding-bottom: 10vh;
2430
+ }
2431
+
2432
+ .main-content__header,
2433
+ .main-content__body {
2434
+ padding: 1rem 2rem;
2435
+ }
2436
+
2437
+ .main-content__body--flush {
2438
+ padding-left: 0;
2439
+ padding-right: 0;
2440
+ }
2441
+
2442
+ .main-content__header {
2443
+ align-items: center;
2444
+ border-bottom: 1px solid #dfe0e1;
2445
+ display: flex;
2446
+ }
2447
+
2448
+ .main-content__page-title {
2449
+ font-size: 1.6em;
2450
+ margin-right: auto;
2451
+ }
2452
+
2453
+ .navigation {
2454
+ flex: 1 0 10rem;
2455
+ padding: 1.5em;
2456
+ padding-left: 0;
2457
+ }
2458
+
2459
+ .navigation__link {
2460
+ background-color: transparent;
2461
+ color: #293f54;
2462
+ display: block;
2463
+ line-height: 1;
2464
+ margin-left: -0.6em;
2465
+ padding: 0.6em;
2466
+ transition: background-color 250ms ease-in-out, color 250ms ease-in-out;
2467
+ }
2468
+ .navigation__link:not(:last-of-type) {
2469
+ margin-bottom: 0.75em;
2470
+ }
2471
+ .navigation__link:hover {
2472
+ background-color: #eaebeb;
2473
+ border-radius: 4px;
2474
+ color: #293f54;
2475
+ }
2476
+
2477
+ .navigation__link--active {
2478
+ font-weight: 700;
2479
+ }
2480
+
2481
+ .pagination {
2482
+ margin-top: 1.5em;
2483
+ padding-left: 1.5em;
2484
+ padding-right: 1.5em;
2485
+ text-align: center;
2486
+ }
2487
+ .pagination .first,
2488
+ .pagination .prev,
2489
+ .pagination .page,
2490
+ .pagination .next,
2491
+ .pagination .last {
2492
+ margin: 0.75em;
2493
+ }
2494
+ .pagination .current {
2495
+ font-weight: 700;
2496
+ }
2497
+
2498
+ .search {
2499
+ margin-left: auto;
2500
+ margin-right: 2rem;
2501
+ max-width: 20rem;
2502
+ position: relative;
2503
+ width: 100%;
2504
+ }
2505
+
2506
+ .search__input {
2507
+ border-radius: 100rem;
2508
+ padding-left: 2.5rem;
2509
+ padding-right: 2.5rem;
2510
+ }
2511
+
2512
+ .search__eyeglass-icon {
2513
+ fill: #293f54;
2514
+ height: 1rem;
2515
+ left: 1rem;
2516
+ position: absolute;
2517
+ top: 50%;
2518
+ transform: translateY(-50%);
2519
+ width: 1rem;
2520
+ }
2521
+
2522
+ .search__clear-link {
2523
+ height: 1rem;
2524
+ position: absolute;
2525
+ right: 0.75rem;
2526
+ top: 50%;
2527
+ transform: translateY(-50%);
2528
+ width: 1rem;
2529
+ }
2530
+
2531
+ .search__clear-icon {
2532
+ fill: #adb5bd;
2533
+ height: 1rem;
2534
+ position: absolute;
2535
+ transition: fill 250ms ease-in-out;
2536
+ width: 1rem;
2537
+ }
2538
+ .search__clear-icon:hover {
2539
+ fill: #1976d2;
2540
+ }
2541
+
2542
+ /*# sourceMappingURL=application.css.map */