vue_crud 0.1.9.5 → 0.1.9.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generators/vue_crud/example_generator.rb +12 -0
  3. data/lib/generators/vue_crud/install_generator.rb +1 -1
  4. data/lib/generators/vue_crud/pace_generator.rb +11 -0
  5. data/lib/generators/vue_crud/semantic_generator.rb +12 -0
  6. data/lib/generators/vue_crud/templates/assets/images/semantic-ui/flags.png +0 -0
  7. data/lib/generators/vue_crud/templates/assets/javascripts/pace.min.js +1 -0
  8. data/lib/generators/vue_crud/templates/assets/javascripts/semantic-ui/checkbox.js +831 -0
  9. data/lib/generators/vue_crud/templates/assets/javascripts/semantic-ui/dimmer.js +708 -0
  10. data/lib/generators/vue_crud/templates/assets/javascripts/semantic-ui/dropdown.js +3741 -0
  11. data/lib/generators/vue_crud/templates/assets/javascripts/semantic-ui/modal.js +913 -0
  12. data/lib/generators/vue_crud/templates/assets/javascripts/semantic-ui/site.js +487 -0
  13. data/lib/generators/vue_crud/templates/assets/javascripts/semantic-ui/transition.js +1089 -0
  14. data/lib/generators/vue_crud/templates/assets/javascripts/vue.js +7402 -0
  15. data/lib/generators/vue_crud/templates/assets/stylesheets/pace.min.css +1 -0
  16. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/.DS_Store +0 -0
  17. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/collections/.DS_Store +0 -0
  18. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/collections/_all.scss +7 -0
  19. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/collections/_breadcrumb.scss +124 -0
  20. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/collections/_form.scss +1706 -0
  21. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/collections/_grid.scss +84 -0
  22. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/collections/_grid_bk.scss +2032 -0
  23. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/collections/_menu.scss +2021 -0
  24. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/collections/_message.scss +482 -0
  25. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/collections/_mixins.scss +3 -0
  26. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/collections/_table.scss +1108 -0
  27. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/collections/mixins/.DS_Store +0 -0
  28. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/collections/mixins/_clearfix.scss +1 -0
  29. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/collections/mixins/_grid-framework.scss +1 -0
  30. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/collections/mixins/_grid.scss +1 -0
  31. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/elements/_all.scss +15 -0
  32. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/elements/_button.scss +3470 -0
  33. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/elements/_container.scss +148 -0
  34. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/elements/_divider.scss +262 -0
  35. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/elements/_flag.scss +1031 -0
  36. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/elements/_header.scss +721 -0
  37. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/elements/_icon.scss +3148 -0
  38. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/elements/_image.scss +306 -0
  39. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/elements/_input.scss +517 -0
  40. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/elements/_label.scss +1314 -0
  41. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/elements/_list.scss +951 -0
  42. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/elements/_loader.scss +349 -0
  43. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/elements/_rail.scss +152 -0
  44. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/elements/_reveal.scss +307 -0
  45. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/elements/_segment.scss +799 -0
  46. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/elements/_step.scss +646 -0
  47. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/globals/_all.scss +3 -0
  48. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/globals/_reset.scss +424 -0
  49. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/globals/_site.scss +163 -0
  50. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/globals/_variables.scss +32 -0
  51. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/modules/_accordion.scss +256 -0
  52. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/modules/_all.scss +17 -0
  53. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/modules/_checkbox.scss +627 -0
  54. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/modules/_dimmer.scss +199 -0
  55. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/modules/_dropdown.scss +1425 -0
  56. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/modules/_embed.scss +167 -0
  57. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/modules/_modal.scss +509 -0
  58. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/modules/_nag.scss +147 -0
  59. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/modules/_popup.scss +764 -0
  60. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/modules/_progress.scss +516 -0
  61. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/modules/_rating.scss +265 -0
  62. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/modules/_search.scss +409 -0
  63. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/modules/_shape.scss +157 -0
  64. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/modules/_sidebar.scss +644 -0
  65. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/modules/_sticky.scss +78 -0
  66. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/modules/_tab.scss +91 -0
  67. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/modules/_transition.scss +1981 -0
  68. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/modules/_video.scss +125 -0
  69. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/views/_ad.scss +276 -0
  70. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/views/_all.scss +6 -0
  71. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/views/_card.scss +685 -0
  72. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/views/_comment.scss +270 -0
  73. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/views/_feed.scss +300 -0
  74. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/views/_item.scss +481 -0
  75. data/lib/generators/vue_crud/templates/assets/stylesheets/semantic-ui/views/_statistic.scss +583 -0
  76. data/lib/generators/vue_crud/templates/example/user.rb +10 -0
  77. data/lib/generators/vue_crud/templates/example/users/index.html.erb +154 -0
  78. data/lib/generators/vue_crud/templates/example/users/index.json.jbuilder +15 -0
  79. data/lib/generators/vue_crud/templates/example/users/show.json.jbuilder +11 -0
  80. data/lib/generators/vue_crud/templates/example/users_controller.rb +85 -0
  81. data/lib/generators/vue_crud/vuejs_generator.rb +10 -0
  82. data/lib/vue_crud/version.rb +1 -1
  83. data/vendor/assets/javascripts/vue_crud.js +24 -3
  84. data/vendor/assets/stylesheets/vue_crud.css +0 -2
  85. metadata +80 -6
  86. data/vue_crud-0.1.5.gem +0 -0
  87. data/vue_crud-0.1.6.gem +0 -0
  88. data/vue_crud-0.1.7.gem +0 -0
  89. data/vue_crud-0.1.8.gem +0 -0
  90. data/vue_crud-0.1.9.gem +0 -0
@@ -0,0 +1,3 @@
1
+ @import "mixins/clearfix";
2
+ @import "mixins/grid-framework";
3
+ @import "mixins/grid";
@@ -0,0 +1,1108 @@
1
+ /*!
2
+ * # Semantic UI 2.2.4 - Table
3
+ * http://github.com/semantic-org/semantic-ui/
4
+ *
5
+ *
6
+ * Released under the MIT license
7
+ * http://opensource.org/licenses/MIT
8
+ *
9
+ */
10
+
11
+
12
+ /*******************************
13
+ Table
14
+ *******************************/
15
+
16
+
17
+ /* Prototype */
18
+ .ui.table {
19
+ width: 100%;
20
+ background: #FFFFFF;
21
+ margin: 1em 0em;
22
+ border: 1px solid rgba(34, 36, 38, 0.15);
23
+ box-shadow: none;
24
+ border-radius: 0.28571429rem;
25
+ text-align: left;
26
+ color: rgba(0, 0, 0, 0.87);
27
+ border-collapse: separate;
28
+ border-spacing: 0px;
29
+ }
30
+ .ui.table:first-child {
31
+ margin-top: 0em;
32
+ }
33
+ .ui.table:last-child {
34
+ margin-bottom: 0em;
35
+ }
36
+
37
+
38
+ /*******************************
39
+ Parts
40
+ *******************************/
41
+
42
+
43
+ /* Table Content */
44
+ .ui.table th,
45
+ .ui.table td {
46
+ -webkit-transition: background 0.1s ease, color 0.1s ease;
47
+ transition: background 0.1s ease, color 0.1s ease;
48
+ }
49
+
50
+ /* Headers */
51
+ .ui.table thead {
52
+ box-shadow: none;
53
+ }
54
+ .ui.table thead th {
55
+ cursor: auto;
56
+ background: #F9FAFB;
57
+ text-align: inherit;
58
+ color: rgba(0, 0, 0, 0.87);
59
+ padding: 0.92857143em 0.78571429em;
60
+ vertical-align: inherit;
61
+ font-style: none;
62
+ font-weight: bold;
63
+ text-transform: none;
64
+ border-bottom: 1px solid rgba(34, 36, 38, 0.1);
65
+ border-left: none;
66
+ }
67
+ .ui.table thead tr > th:first-child {
68
+ border-left: none;
69
+ }
70
+ .ui.table thead tr:first-child > th:first-child {
71
+ border-radius: 0.28571429rem 0em 0em 0em;
72
+ }
73
+ .ui.table thead tr:first-child > th:last-child {
74
+ border-radius: 0em 0.28571429rem 0em 0em;
75
+ }
76
+ .ui.table thead tr:first-child > th:only-child {
77
+ border-radius: 0.28571429rem 0.28571429rem 0em 0em;
78
+ }
79
+
80
+ /* Footer */
81
+ .ui.table tfoot {
82
+ box-shadow: none;
83
+ }
84
+ .ui.table tfoot th {
85
+ cursor: auto;
86
+ border-top: 1px solid rgba(34, 36, 38, 0.15);
87
+ background: #F9FAFB;
88
+ text-align: inherit;
89
+ color: rgba(0, 0, 0, 0.87);
90
+ padding: 0.78571429em 0.78571429em;
91
+ vertical-align: middle;
92
+ font-style: normal;
93
+ font-weight: normal;
94
+ text-transform: none;
95
+ }
96
+ .ui.table tfoot tr > th:first-child {
97
+ border-left: none;
98
+ }
99
+ .ui.table tfoot tr:first-child > th:first-child {
100
+ border-radius: 0em 0em 0em 0.28571429rem;
101
+ }
102
+ .ui.table tfoot tr:first-child > th:last-child {
103
+ border-radius: 0em 0em 0.28571429rem 0em;
104
+ }
105
+ .ui.table tfoot tr:first-child > th:only-child {
106
+ border-radius: 0em 0em 0.28571429rem 0.28571429rem;
107
+ }
108
+
109
+ /* Table Row */
110
+ .ui.table tr td {
111
+ border-top: 1px solid rgba(34, 36, 38, 0.1);
112
+ }
113
+ .ui.table tr:first-child td {
114
+ border-top: none;
115
+ }
116
+
117
+ /* Table Cells */
118
+ .ui.table td {
119
+ padding: 0.78571429em 0.78571429em;
120
+ text-align: inherit;
121
+ }
122
+
123
+ /* Icons */
124
+ .ui.table > .icon {
125
+ vertical-align: baseline;
126
+ }
127
+ .ui.table > .icon:only-child {
128
+ margin: 0em;
129
+ }
130
+
131
+ /* Table Segment */
132
+ .ui.table.segment {
133
+ padding: 0em;
134
+ }
135
+ .ui.table.segment:after {
136
+ display: none;
137
+ }
138
+ .ui.table.segment.stacked:after {
139
+ display: block;
140
+ }
141
+
142
+ /* Responsive */
143
+ @media only screen and (max-width: 767px) {
144
+ .ui.table:not(.unstackable) {
145
+ width: 100%;
146
+ }
147
+ .ui.table:not(.unstackable) tbody,
148
+ .ui.table:not(.unstackable) tr,
149
+ .ui.table:not(.unstackable) tr > th,
150
+ .ui.table:not(.unstackable) tr > td {
151
+ width: auto !important;
152
+ display: block !important;
153
+ }
154
+ .ui.table:not(.unstackable) {
155
+ padding: 0em;
156
+ }
157
+ .ui.table:not(.unstackable) thead {
158
+ display: block;
159
+ }
160
+ .ui.table:not(.unstackable) tfoot {
161
+ display: block;
162
+ }
163
+ .ui.table:not(.unstackable) tr {
164
+ padding-top: 1em;
165
+ padding-bottom: 1em;
166
+ box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1) inset !important;
167
+ }
168
+ .ui.table:not(.unstackable) tr > th,
169
+ .ui.table:not(.unstackable) tr > td {
170
+ background: none;
171
+ border: none !important;
172
+ padding: 0.25em 0.75em !important;
173
+ box-shadow: none !important;
174
+ }
175
+ .ui.table:not(.unstackable) th:first-child,
176
+ .ui.table:not(.unstackable) td:first-child {
177
+ font-weight: bold;
178
+ }
179
+
180
+ /* Definition Table */
181
+ .ui.definition.table:not(.unstackable) thead th:first-child {
182
+ box-shadow: none !important;
183
+ }
184
+ }
185
+
186
+
187
+ /*******************************
188
+ Coupling
189
+ *******************************/
190
+
191
+
192
+ /* UI Image */
193
+ .ui.table th .image,
194
+ .ui.table th .image img,
195
+ .ui.table td .image,
196
+ .ui.table td .image img {
197
+ max-width: none;
198
+ }
199
+
200
+
201
+ /*******************************
202
+ Types
203
+ *******************************/
204
+
205
+
206
+ /*--------------
207
+ Complex
208
+ ---------------*/
209
+
210
+ .ui.structured.table {
211
+ border-collapse: collapse;
212
+ }
213
+ .ui.structured.table thead th {
214
+ border-left: none;
215
+ border-right: none;
216
+ }
217
+ .ui.structured.sortable.table thead th {
218
+ border-left: 1px solid rgba(34, 36, 38, 0.15);
219
+ border-right: 1px solid rgba(34, 36, 38, 0.15);
220
+ }
221
+ .ui.structured.basic.table th {
222
+ border-left: none;
223
+ border-right: none;
224
+ }
225
+ .ui.structured.celled.table tr th,
226
+ .ui.structured.celled.table tr td {
227
+ border-left: 1px solid rgba(34, 36, 38, 0.1);
228
+ border-right: 1px solid rgba(34, 36, 38, 0.1);
229
+ }
230
+
231
+ /*--------------
232
+ Definition
233
+ ---------------*/
234
+
235
+ .ui.definition.table thead:not(.full-width) th:first-child {
236
+ pointer-events: none;
237
+ background: transparent;
238
+ font-weight: normal;
239
+ color: rgba(0, 0, 0, 0.4);
240
+ box-shadow: -1px -1px 0px 1px #FFFFFF;
241
+ }
242
+ .ui.definition.table tfoot:not(.full-width) th:first-child {
243
+ pointer-events: none;
244
+ background: transparent;
245
+ font-weight: rgba(0, 0, 0, 0.4);
246
+ color: normal;
247
+ box-shadow: 1px 1px 0px 1px #FFFFFF;
248
+ }
249
+
250
+ /* Remove Border */
251
+ .ui.celled.definition.table thead:not(.full-width) th:first-child {
252
+ box-shadow: 0px -1px 0px 1px #FFFFFF;
253
+ }
254
+ .ui.celled.definition.table tfoot:not(.full-width) th:first-child {
255
+ box-shadow: 0px 1px 0px 1px #FFFFFF;
256
+ }
257
+
258
+ /* Highlight Defining Column */
259
+ .ui.definition.table tr td:first-child:not(.ignored),
260
+ .ui.definition.table tr td.definition {
261
+ background: rgba(0, 0, 0, 0.03);
262
+ font-weight: bold;
263
+ color: rgba(0, 0, 0, 0.95);
264
+ text-transform: '';
265
+ box-shadow: '';
266
+ text-align: '';
267
+ font-size: 1em;
268
+ padding-left: '';
269
+ padding-right: '';
270
+ }
271
+
272
+ /* Fix 2nd Column */
273
+ .ui.definition.table thead:not(.full-width) th:nth-child(2) {
274
+ border-left: 1px solid rgba(34, 36, 38, 0.15);
275
+ }
276
+ .ui.definition.table tfoot:not(.full-width) th:nth-child(2) {
277
+ border-left: 1px solid rgba(34, 36, 38, 0.15);
278
+ }
279
+ .ui.definition.table td:nth-child(2) {
280
+ border-left: 1px solid rgba(34, 36, 38, 0.15);
281
+ }
282
+
283
+
284
+ /*******************************
285
+ States
286
+ *******************************/
287
+
288
+
289
+ /*--------------
290
+ Positive
291
+ ---------------*/
292
+
293
+ .ui.table tr.positive,
294
+ .ui.table td.positive {
295
+ box-shadow: 0px 0px 0px #A3C293 inset;
296
+ }
297
+ .ui.table tr.positive,
298
+ .ui.table td.positive {
299
+ background: #FCFFF5 !important;
300
+ color: #2C662D !important;
301
+ }
302
+
303
+ /*--------------
304
+ Negative
305
+ ---------------*/
306
+
307
+ .ui.table tr.negative,
308
+ .ui.table td.negative {
309
+ box-shadow: 0px 0px 0px #E0B4B4 inset;
310
+ }
311
+ .ui.table tr.negative,
312
+ .ui.table td.negative {
313
+ background: #FFF6F6 !important;
314
+ color: #9F3A38 !important;
315
+ }
316
+
317
+ /*--------------
318
+ Error
319
+ ---------------*/
320
+
321
+ .ui.table tr.error,
322
+ .ui.table td.error {
323
+ box-shadow: 0px 0px 0px #E0B4B4 inset;
324
+ }
325
+ .ui.table tr.error,
326
+ .ui.table td.error {
327
+ background: #FFF6F6 !important;
328
+ color: #9F3A38 !important;
329
+ }
330
+
331
+ /*--------------
332
+ Warning
333
+ ---------------*/
334
+
335
+ .ui.table tr.warning,
336
+ .ui.table td.warning {
337
+ box-shadow: 0px 0px 0px #C9BA9B inset;
338
+ }
339
+ .ui.table tr.warning,
340
+ .ui.table td.warning {
341
+ background: #FFFAF3 !important;
342
+ color: #573A08 !important;
343
+ }
344
+
345
+ /*--------------
346
+ Active
347
+ ---------------*/
348
+
349
+ .ui.table tr.active,
350
+ .ui.table td.active {
351
+ box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.87) inset;
352
+ }
353
+ .ui.table tr.active,
354
+ .ui.table td.active {
355
+ background: #E0E0E0 !important;
356
+ color: rgba(0, 0, 0, 0.87) !important;
357
+ }
358
+
359
+ /*--------------
360
+ Disabled
361
+ ---------------*/
362
+
363
+ .ui.table tr.disabled td,
364
+ .ui.table tr td.disabled,
365
+ .ui.table tr.disabled:hover,
366
+ .ui.table tr:hover td.disabled {
367
+ pointer-events: none;
368
+ color: rgba(40, 40, 40, 0.3);
369
+ }
370
+
371
+
372
+ /*******************************
373
+ Variations
374
+ *******************************/
375
+
376
+
377
+ /*--------------
378
+ Stackable
379
+ ---------------*/
380
+
381
+ @media only screen and (max-width: 991px) {
382
+ .ui[class*="tablet stackable"].table,
383
+ .ui[class*="tablet stackable"].table tbody,
384
+ .ui[class*="tablet stackable"].table tr,
385
+ .ui[class*="tablet stackable"].table tr > th,
386
+ .ui[class*="tablet stackable"].table tr > td {
387
+ width: 100% !important;
388
+ display: block !important;
389
+ }
390
+ .ui[class*="tablet stackable"].table {
391
+ padding: 0em;
392
+ }
393
+ .ui[class*="tablet stackable"].table thead {
394
+ display: block;
395
+ }
396
+ .ui[class*="tablet stackable"].table tfoot {
397
+ display: block;
398
+ }
399
+ .ui[class*="tablet stackable"].table tr {
400
+ padding-top: 1em;
401
+ padding-bottom: 1em;
402
+ box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1) inset !important;
403
+ }
404
+ .ui[class*="tablet stackable"].table tr > th,
405
+ .ui[class*="tablet stackable"].table tr > td {
406
+ background: none;
407
+ border: none !important;
408
+ padding: 0.25em 0.75em;
409
+ box-shadow: none !important;
410
+ }
411
+
412
+ /* Definition Table */
413
+ .ui.definition[class*="tablet stackable"].table thead th:first-child {
414
+ box-shadow: none !important;
415
+ }
416
+ }
417
+
418
+ /*--------------
419
+ Text Alignment
420
+ ---------------*/
421
+
422
+ .ui.table[class*="left aligned"],
423
+ .ui.table [class*="left aligned"] {
424
+ text-align: left;
425
+ }
426
+ .ui.table[class*="center aligned"],
427
+ .ui.table [class*="center aligned"] {
428
+ text-align: center;
429
+ }
430
+ .ui.table[class*="right aligned"],
431
+ .ui.table [class*="right aligned"] {
432
+ text-align: right;
433
+ }
434
+
435
+ /*------------------
436
+ Vertical Alignment
437
+ ------------------*/
438
+
439
+ .ui.table[class*="top aligned"],
440
+ .ui.table [class*="top aligned"] {
441
+ vertical-align: top;
442
+ }
443
+ .ui.table[class*="middle aligned"],
444
+ .ui.table [class*="middle aligned"] {
445
+ vertical-align: middle;
446
+ }
447
+ .ui.table[class*="bottom aligned"],
448
+ .ui.table [class*="bottom aligned"] {
449
+ vertical-align: bottom;
450
+ }
451
+
452
+ /*--------------
453
+ Collapsing
454
+ ---------------*/
455
+
456
+ .ui.table th.collapsing,
457
+ .ui.table td.collapsing {
458
+ width: 1px;
459
+ white-space: nowrap;
460
+ }
461
+
462
+ /*--------------
463
+ Fixed
464
+ ---------------*/
465
+
466
+ .ui.fixed.table {
467
+ table-layout: fixed;
468
+ }
469
+ .ui.fixed.table th,
470
+ .ui.fixed.table td {
471
+ overflow: hidden;
472
+ text-overflow: ellipsis;
473
+ }
474
+
475
+ /*--------------
476
+ Selectable
477
+ ---------------*/
478
+
479
+ .ui.selectable.table tbody tr:hover,
480
+ .ui.table tbody tr td.selectable:hover {
481
+ background: rgba(0, 0, 0, 0.05) !important;
482
+ color: rgba(0, 0, 0, 0.95) !important;
483
+ }
484
+ .ui.selectable.inverted.table tbody tr:hover,
485
+ .ui.inverted.table tbody tr td.selectable:hover {
486
+ background: rgba(255, 255, 255, 0.08) !important;
487
+ color: #ffffff !important;
488
+ }
489
+
490
+ /* Selectable Cell Link */
491
+ .ui.table tbody tr td.selectable {
492
+ padding: 0em;
493
+ }
494
+ .ui.table tbody tr td.selectable > a:not(.ui) {
495
+ display: block;
496
+ color: inherit;
497
+ padding: 0.78571429em 0.78571429em;
498
+ }
499
+
500
+ /* Other States */
501
+ .ui.selectable.table tr.error:hover,
502
+ .ui.table tr td.selectable.error:hover,
503
+ .ui.selectable.table tr:hover td.error {
504
+ background: #ffe7e7 !important;
505
+ color: #943634 !important;
506
+ }
507
+ .ui.selectable.table tr.warning:hover,
508
+ .ui.table tr td.selectable.warning:hover,
509
+ .ui.selectable.table tr:hover td.warning {
510
+ background: #fff4e4 !important;
511
+ color: #493107 !important;
512
+ }
513
+ .ui.selectable.table tr.active:hover,
514
+ .ui.table tr td.selectable.active:hover,
515
+ .ui.selectable.table tr:hover td.active {
516
+ background: #E0E0E0 !important;
517
+ color: rgba(0, 0, 0, 0.87) !important;
518
+ }
519
+ .ui.selectable.table tr.positive:hover,
520
+ .ui.table tr td.selectable.positive:hover,
521
+ .ui.selectable.table tr:hover td.positive {
522
+ background: #f7ffe6 !important;
523
+ color: #275b28 !important;
524
+ }
525
+ .ui.selectable.table tr.negative:hover,
526
+ .ui.table tr td.selectable.negative:hover,
527
+ .ui.selectable.table tr:hover td.negative {
528
+ background: #ffe7e7 !important;
529
+ color: #943634 !important;
530
+ }
531
+
532
+ /*-------------------
533
+ Attached
534
+ --------------------*/
535
+
536
+
537
+ /* Middle */
538
+ .ui.attached.table {
539
+ top: 0px;
540
+ bottom: 0px;
541
+ border-radius: 0px;
542
+ margin: 0em -1px;
543
+ width: calc(100% + 2px );
544
+ max-width: calc(100% + 2px );
545
+ box-shadow: none;
546
+ border: 1px solid #D4D4D5;
547
+ }
548
+ .ui.attached + .ui.attached.table:not(.top) {
549
+ border-top: none;
550
+ }
551
+
552
+ /* Top */
553
+ .ui[class*="top attached"].table {
554
+ bottom: 0px;
555
+ margin-bottom: 0em;
556
+ top: 0px;
557
+ margin-top: 1em;
558
+ border-radius: 0.28571429rem 0.28571429rem 0em 0em;
559
+ }
560
+ .ui.table[class*="top attached"]:first-child {
561
+ margin-top: 0em;
562
+ }
563
+
564
+ /* Bottom */
565
+ .ui[class*="bottom attached"].table {
566
+ bottom: 0px;
567
+ margin-top: 0em;
568
+ top: 0px;
569
+ margin-bottom: 1em;
570
+ box-shadow: none, none;
571
+ border-radius: 0em 0em 0.28571429rem 0.28571429rem;
572
+ }
573
+ .ui[class*="bottom attached"].table:last-child {
574
+ margin-bottom: 0em;
575
+ }
576
+
577
+ /*--------------
578
+ Striped
579
+ ---------------*/
580
+
581
+
582
+ /* Table Striping */
583
+ .ui.striped.table > tr:nth-child(2n),
584
+ .ui.striped.table tbody tr:nth-child(2n) {
585
+ background-color: rgba(0, 0, 50, 0.02);
586
+ }
587
+
588
+ /* Stripes */
589
+ .ui.inverted.striped.table > tr:nth-child(2n),
590
+ .ui.inverted.striped.table tbody tr:nth-child(2n) {
591
+ background-color: rgba(255, 255, 255, 0.05);
592
+ }
593
+
594
+ /* Allow striped active hover */
595
+ .ui.striped.selectable.selectable.selectable.table tbody tr.active:hover {
596
+ background: #EFEFEF !important;
597
+ color: rgba(0, 0, 0, 0.95) !important;
598
+ }
599
+
600
+ /*--------------
601
+ Single Line
602
+ ---------------*/
603
+
604
+ .ui.table[class*="single line"],
605
+ .ui.table [class*="single line"] {
606
+ white-space: nowrap;
607
+ }
608
+ .ui.table[class*="single line"],
609
+ .ui.table [class*="single line"] {
610
+ white-space: nowrap;
611
+ }
612
+
613
+ /*-------------------
614
+ Colors
615
+ --------------------*/
616
+
617
+
618
+ /* Red */
619
+ .ui.red.table {
620
+ border-top: 0.2em solid #DB2828;
621
+ }
622
+ .ui.inverted.red.table {
623
+ background-color: #DB2828 !important;
624
+ color: #FFFFFF !important;
625
+ }
626
+
627
+ /* Orange */
628
+ .ui.orange.table {
629
+ border-top: 0.2em solid #F2711C;
630
+ }
631
+ .ui.inverted.orange.table {
632
+ background-color: #F2711C !important;
633
+ color: #FFFFFF !important;
634
+ }
635
+
636
+ /* Yellow */
637
+ .ui.yellow.table {
638
+ border-top: 0.2em solid #FBBD08;
639
+ }
640
+ .ui.inverted.yellow.table {
641
+ background-color: #FBBD08 !important;
642
+ color: #FFFFFF !important;
643
+ }
644
+
645
+ /* Olive */
646
+ .ui.olive.table {
647
+ border-top: 0.2em solid #B5CC18;
648
+ }
649
+ .ui.inverted.olive.table {
650
+ background-color: #B5CC18 !important;
651
+ color: #FFFFFF !important;
652
+ }
653
+
654
+ /* Green */
655
+ .ui.green.table {
656
+ border-top: 0.2em solid #21BA45;
657
+ }
658
+ .ui.inverted.green.table {
659
+ background-color: #21BA45 !important;
660
+ color: #FFFFFF !important;
661
+ }
662
+
663
+ /* Teal */
664
+ .ui.teal.table {
665
+ border-top: 0.2em solid #00B5AD;
666
+ }
667
+ .ui.inverted.teal.table {
668
+ background-color: #00B5AD !important;
669
+ color: #FFFFFF !important;
670
+ }
671
+
672
+ /* Blue */
673
+ .ui.blue.table {
674
+ border-top: 0.2em solid #2185D0;
675
+ }
676
+ .ui.inverted.blue.table {
677
+ background-color: #2185D0 !important;
678
+ color: #FFFFFF !important;
679
+ }
680
+
681
+ /* Violet */
682
+ .ui.violet.table {
683
+ border-top: 0.2em solid #6435C9;
684
+ }
685
+ .ui.inverted.violet.table {
686
+ background-color: #6435C9 !important;
687
+ color: #FFFFFF !important;
688
+ }
689
+
690
+ /* Purple */
691
+ .ui.purple.table {
692
+ border-top: 0.2em solid #A333C8;
693
+ }
694
+ .ui.inverted.purple.table {
695
+ background-color: #A333C8 !important;
696
+ color: #FFFFFF !important;
697
+ }
698
+
699
+ /* Pink */
700
+ .ui.pink.table {
701
+ border-top: 0.2em solid #E03997;
702
+ }
703
+ .ui.inverted.pink.table {
704
+ background-color: #E03997 !important;
705
+ color: #FFFFFF !important;
706
+ }
707
+
708
+ /* Brown */
709
+ .ui.brown.table {
710
+ border-top: 0.2em solid #A5673F;
711
+ }
712
+ .ui.inverted.brown.table {
713
+ background-color: #A5673F !important;
714
+ color: #FFFFFF !important;
715
+ }
716
+
717
+ /* Grey */
718
+ .ui.grey.table {
719
+ border-top: 0.2em solid #767676;
720
+ }
721
+ .ui.inverted.grey.table {
722
+ background-color: #767676 !important;
723
+ color: #FFFFFF !important;
724
+ }
725
+
726
+ /* Black */
727
+ .ui.black.table {
728
+ border-top: 0.2em solid #1B1C1D;
729
+ }
730
+ .ui.inverted.black.table {
731
+ background-color: #1B1C1D !important;
732
+ color: #FFFFFF !important;
733
+ }
734
+
735
+ /*--------------
736
+ Column Count
737
+ ---------------*/
738
+
739
+
740
+ /* Grid Based */
741
+ .ui.one.column.table td {
742
+ width: 100%;
743
+ }
744
+ .ui.two.column.table td {
745
+ width: 50%;
746
+ }
747
+ .ui.three.column.table td {
748
+ width: 33.33333333%;
749
+ }
750
+ .ui.four.column.table td {
751
+ width: 25%;
752
+ }
753
+ .ui.five.column.table td {
754
+ width: 20%;
755
+ }
756
+ .ui.six.column.table td {
757
+ width: 16.66666667%;
758
+ }
759
+ .ui.seven.column.table td {
760
+ width: 14.28571429%;
761
+ }
762
+ .ui.eight.column.table td {
763
+ width: 12.5%;
764
+ }
765
+ .ui.nine.column.table td {
766
+ width: 11.11111111%;
767
+ }
768
+ .ui.ten.column.table td {
769
+ width: 10%;
770
+ }
771
+ .ui.eleven.column.table td {
772
+ width: 9.09090909%;
773
+ }
774
+ .ui.twelve.column.table td {
775
+ width: 8.33333333%;
776
+ }
777
+ .ui.thirteen.column.table td {
778
+ width: 7.69230769%;
779
+ }
780
+ .ui.fourteen.column.table td {
781
+ width: 7.14285714%;
782
+ }
783
+ .ui.fifteen.column.table td {
784
+ width: 6.66666667%;
785
+ }
786
+ .ui.sixteen.column.table td {
787
+ width: 6.25%;
788
+ }
789
+
790
+ /* Column Width */
791
+ .ui.table th.one.wide,
792
+ .ui.table td.one.wide {
793
+ width: 6.25%;
794
+ }
795
+ .ui.table th.two.wide,
796
+ .ui.table td.two.wide {
797
+ width: 12.5%;
798
+ }
799
+ .ui.table th.three.wide,
800
+ .ui.table td.three.wide {
801
+ width: 18.75%;
802
+ }
803
+ .ui.table th.four.wide,
804
+ .ui.table td.four.wide {
805
+ width: 25%;
806
+ }
807
+ .ui.table th.five.wide,
808
+ .ui.table td.five.wide {
809
+ width: 31.25%;
810
+ }
811
+ .ui.table th.six.wide,
812
+ .ui.table td.six.wide {
813
+ width: 37.5%;
814
+ }
815
+ .ui.table th.seven.wide,
816
+ .ui.table td.seven.wide {
817
+ width: 43.75%;
818
+ }
819
+ .ui.table th.eight.wide,
820
+ .ui.table td.eight.wide {
821
+ width: 50%;
822
+ }
823
+ .ui.table th.nine.wide,
824
+ .ui.table td.nine.wide {
825
+ width: 56.25%;
826
+ }
827
+ .ui.table th.ten.wide,
828
+ .ui.table td.ten.wide {
829
+ width: 62.5%;
830
+ }
831
+ .ui.table th.eleven.wide,
832
+ .ui.table td.eleven.wide {
833
+ width: 68.75%;
834
+ }
835
+ .ui.table th.twelve.wide,
836
+ .ui.table td.twelve.wide {
837
+ width: 75%;
838
+ }
839
+ .ui.table th.thirteen.wide,
840
+ .ui.table td.thirteen.wide {
841
+ width: 81.25%;
842
+ }
843
+ .ui.table th.fourteen.wide,
844
+ .ui.table td.fourteen.wide {
845
+ width: 87.5%;
846
+ }
847
+ .ui.table th.fifteen.wide,
848
+ .ui.table td.fifteen.wide {
849
+ width: 93.75%;
850
+ }
851
+ .ui.table th.sixteen.wide,
852
+ .ui.table td.sixteen.wide {
853
+ width: 100%;
854
+ }
855
+
856
+ /*--------------
857
+ Sortable
858
+ ---------------*/
859
+
860
+ .ui.sortable.table thead th {
861
+ cursor: pointer;
862
+ white-space: nowrap;
863
+ border-left: 1px solid rgba(34, 36, 38, 0.15);
864
+ color: rgba(0, 0, 0, 0.87);
865
+ }
866
+ .ui.sortable.table thead th:first-child {
867
+ border-left: none;
868
+ }
869
+ .ui.sortable.table thead th.sorted,
870
+ .ui.sortable.table thead th.sorted:hover {
871
+ -webkit-user-select: none;
872
+ -moz-user-select: none;
873
+ -ms-user-select: none;
874
+ user-select: none;
875
+ }
876
+ .ui.sortable.table thead th:after {
877
+ display: none;
878
+ font-style: normal;
879
+ font-weight: normal;
880
+ text-decoration: inherit;
881
+ content: '';
882
+ height: 1em;
883
+ width: auto;
884
+ opacity: 0.8;
885
+ margin: 0em 0em 0em 0.5em;
886
+ font-family: 'Icons';
887
+ }
888
+ .ui.sortable.table thead th.ascending:after {
889
+ content: '\f0d8';
890
+ }
891
+ .ui.sortable.table thead th.descending:after {
892
+ content: '\f0d7';
893
+ }
894
+
895
+ /* Hover */
896
+ .ui.sortable.table th.disabled:hover {
897
+ cursor: auto;
898
+ color: rgba(40, 40, 40, 0.3);
899
+ }
900
+ .ui.sortable.table thead th:hover {
901
+ background: rgba(0, 0, 0, 0.05);
902
+ color: rgba(0, 0, 0, 0.8);
903
+ }
904
+
905
+ /* Sorted */
906
+ .ui.sortable.table thead th.sorted {
907
+ background: rgba(0, 0, 0, 0.05);
908
+ color: rgba(0, 0, 0, 0.95);
909
+ }
910
+ .ui.sortable.table thead th.sorted:after {
911
+ display: inline-block;
912
+ }
913
+
914
+ /* Sorted Hover */
915
+ .ui.sortable.table thead th.sorted:hover {
916
+ background: rgba(0, 0, 0, 0.05);
917
+ color: rgba(0, 0, 0, 0.95);
918
+ }
919
+
920
+ /* Inverted */
921
+ .ui.inverted.sortable.table thead th.sorted {
922
+ background: rgba(255, 255, 255, 0.15) -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
923
+ background: rgba(255, 255, 255, 0.15) linear-gradient(transparent, rgba(0, 0, 0, 0.05));
924
+ color: #ffffff;
925
+ }
926
+ .ui.inverted.sortable.table thead th:hover {
927
+ background: rgba(255, 255, 255, 0.08) -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
928
+ background: rgba(255, 255, 255, 0.08) linear-gradient(transparent, rgba(0, 0, 0, 0.05));
929
+ color: #ffffff;
930
+ }
931
+ .ui.inverted.sortable.table thead th {
932
+ border-left-color: transparent;
933
+ border-right-color: transparent;
934
+ }
935
+
936
+ /*--------------
937
+ Inverted
938
+ ---------------*/
939
+
940
+
941
+ /* Text Color */
942
+ .ui.inverted.table {
943
+ background: #333333;
944
+ color: rgba(255, 255, 255, 0.9);
945
+ border: none;
946
+ }
947
+ .ui.inverted.table th {
948
+ background-color: rgba(0, 0, 0, 0.15);
949
+ border-color: rgba(255, 255, 255, 0.1) !important;
950
+ color: rgba(255, 255, 255, 0.9);
951
+ }
952
+ .ui.inverted.table tr td {
953
+ border-color: rgba(255, 255, 255, 0.1) !important;
954
+ }
955
+ .ui.inverted.table tr.disabled td,
956
+ .ui.inverted.table tr td.disabled,
957
+ .ui.inverted.table tr.disabled:hover td,
958
+ .ui.inverted.table tr:hover td.disabled {
959
+ pointer-events: none;
960
+ color: rgba(225, 225, 225, 0.3);
961
+ }
962
+
963
+ /* Definition */
964
+ .ui.inverted.definition.table tfoot:not(.full-width) th:first-child,
965
+ .ui.inverted.definition.table thead:not(.full-width) th:first-child {
966
+ background: #FFFFFF;
967
+ }
968
+ .ui.inverted.definition.table tr td:first-child {
969
+ background: rgba(255, 255, 255, 0.02);
970
+ color: #ffffff;
971
+ }
972
+
973
+ /*--------------
974
+ Collapsing
975
+ ---------------*/
976
+
977
+ .ui.collapsing.table {
978
+ width: auto;
979
+ }
980
+
981
+ /*--------------
982
+ Basic
983
+ ---------------*/
984
+
985
+ .ui.basic.table {
986
+ background: transparent;
987
+ border: 1px solid rgba(34, 36, 38, 0.15);
988
+ box-shadow: none;
989
+ }
990
+ .ui.basic.table thead,
991
+ .ui.basic.table tfoot {
992
+ box-shadow: none;
993
+ }
994
+ .ui.basic.table th {
995
+ background: transparent;
996
+ border-left: none;
997
+ }
998
+ .ui.basic.table tbody tr {
999
+ border-bottom: 1px solid rgba(0, 0, 0, 0.1);
1000
+ }
1001
+ .ui.basic.table td {
1002
+ background: transparent;
1003
+ }
1004
+ .ui.basic.striped.table tbody tr:nth-child(2n) {
1005
+ background-color: rgba(0, 0, 0, 0.05) !important;
1006
+ }
1007
+
1008
+ /* Very Basic */
1009
+ .ui[class*="very basic"].table {
1010
+ border: none;
1011
+ }
1012
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) th,
1013
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) td {
1014
+ padding: '';
1015
+ }
1016
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) th:first-child,
1017
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) td:first-child {
1018
+ padding-left: 0em;
1019
+ }
1020
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) th:last-child,
1021
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) td:last-child {
1022
+ padding-right: 0em;
1023
+ }
1024
+ .ui[class*="very basic"].table:not(.sortable):not(.striped) thead tr:first-child th {
1025
+ padding-top: 0em;
1026
+ }
1027
+
1028
+ /*--------------
1029
+ Celled
1030
+ ---------------*/
1031
+
1032
+ .ui.celled.table tr th,
1033
+ .ui.celled.table tr td {
1034
+ border-left: 1px solid rgba(34, 36, 38, 0.1);
1035
+ }
1036
+ .ui.celled.table tr th:first-child,
1037
+ .ui.celled.table tr td:first-child {
1038
+ border-left: none;
1039
+ }
1040
+
1041
+ /*--------------
1042
+ Padded
1043
+ ---------------*/
1044
+
1045
+ .ui.padded.table th {
1046
+ padding-left: 1em;
1047
+ padding-right: 1em;
1048
+ }
1049
+ .ui.padded.table th,
1050
+ .ui.padded.table td {
1051
+ padding: 1em 1em;
1052
+ }
1053
+
1054
+ /* Very */
1055
+ .ui[class*="very padded"].table th {
1056
+ padding-left: 1.5em;
1057
+ padding-right: 1.5em;
1058
+ }
1059
+ .ui[class*="very padded"].table td {
1060
+ padding: 1.5em 1.5em;
1061
+ }
1062
+
1063
+ /*--------------
1064
+ Compact
1065
+ ---------------*/
1066
+
1067
+ .ui.compact.table th {
1068
+ padding-left: 0.7em;
1069
+ padding-right: 0.7em;
1070
+ }
1071
+ .ui.compact.table td {
1072
+ padding: 0.5em 0.7em;
1073
+ }
1074
+
1075
+ /* Very */
1076
+ .ui[class*="very compact"].table th {
1077
+ padding-left: 0.6em;
1078
+ padding-right: 0.6em;
1079
+ }
1080
+ .ui[class*="very compact"].table td {
1081
+ padding: 0.4em 0.6em;
1082
+ }
1083
+
1084
+ /*--------------
1085
+ Sizes
1086
+ ---------------*/
1087
+
1088
+
1089
+ /* Small */
1090
+ .ui.small.table {
1091
+ font-size: 0.9em;
1092
+ }
1093
+
1094
+ /* Standard */
1095
+ .ui.table {
1096
+ font-size: 1em;
1097
+ }
1098
+
1099
+ /* Large */
1100
+ .ui.large.table {
1101
+ font-size: 1.1em;
1102
+ }
1103
+
1104
+
1105
+ /*******************************
1106
+ Site Overrides
1107
+ *******************************/
1108
+