locust 2.26.1.dev72__py3-none-any.whl → 2.27.1.dev7__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. locust/_version.py +2 -2
  2. locust/argument_parser.py +1 -1
  3. locust/env.py +0 -2
  4. locust/html.py +37 -83
  5. locust/main.py +10 -14
  6. locust/stats.py +3 -10
  7. locust/test/test_fasthttp.py +6 -4
  8. locust/test/test_main.py +6 -15
  9. locust/test/test_web.py +53 -199
  10. locust/web.py +18 -56
  11. {locust-2.26.1.dev72.dist-info → locust-2.27.1.dev7.dist-info}/METADATA +1 -1
  12. {locust-2.26.1.dev72.dist-info → locust-2.27.1.dev7.dist-info}/RECORD +16 -41
  13. locust/static/chart.js +0 -133
  14. locust/static/css/application.css +0 -491
  15. locust/static/css/application.css.map +0 -1
  16. locust/static/css/tables.css +0 -74
  17. locust/static/css/tables.css.map +0 -1
  18. locust/static/echarts.common.min.js +0 -22
  19. locust/static/img/favicon.ico +0 -0
  20. locust/static/img/logo.png +0 -0
  21. locust/static/img/ui-screenshot-charts.png +0 -0
  22. locust/static/img/ui-screenshot-start-test.png +0 -0
  23. locust/static/img/ui-screenshot-stats.png +0 -0
  24. locust/static/img/ui-screenshot-workers.png +0 -0
  25. locust/static/jquery-1.11.3.min.js +0 -5
  26. locust/static/jquery.jqote2.min.js +0 -14
  27. locust/static/jquery.tools.min.js +0 -17
  28. locust/static/locust.js +0 -324
  29. locust/static/sass/_base.sass +0 -27
  30. locust/static/sass/_mixins.sass +0 -3
  31. locust/static/sass/application.sass +0 -320
  32. locust/static/sass/tables.sass +0 -61
  33. locust/static/tasks.js +0 -48
  34. locust/static/vintage.js +0 -35
  35. locust/templates/index.html +0 -370
  36. locust/templates/report.html +0 -265
  37. locust/templates/stats_data.html +0 -10
  38. {locust-2.26.1.dev72.dist-info → locust-2.27.1.dev7.dist-info}/LICENSE +0 -0
  39. {locust-2.26.1.dev72.dist-info → locust-2.27.1.dev7.dist-info}/WHEEL +0 -0
  40. {locust-2.26.1.dev72.dist-info → locust-2.27.1.dev7.dist-info}/entry_points.txt +0 -0
  41. {locust-2.26.1.dev72.dist-info → locust-2.27.1.dev7.dist-info}/top_level.txt +0 -0
locust/static/chart.js DELETED
@@ -1,133 +0,0 @@
1
- (function() {
2
- class LocustLineChart {
3
- /**
4
- * lines should be an array of line names
5
- */
6
- constructor(container, title, lines, unit, colors) {
7
- this.container = $(container);
8
- this.title = title;
9
- this.lines = lines;
10
-
11
- this.element = $('<div class="chart"></div>').css("width", "100%").appendTo(container);
12
- this.data = [];
13
- this.dates = [];
14
-
15
- var seriesData = [];
16
- for (var i=0; i<lines.length; i++) {
17
- seriesData.push({
18
- name: lines[i],
19
- type: 'line',
20
- showSymbol: true,
21
- hoverAnimation: false,
22
- data: [],
23
- });
24
- this.data.push([]);
25
- }
26
-
27
- this.chart = echarts.init(this.element[0], 'vintage');
28
- this.chart.setOption({
29
- legend: {
30
- icon: 'circle',
31
- inactiveColor: '#b3c3bc',
32
- textStyle: {
33
- color: '#b3c3bc',
34
- }
35
- },
36
- title: {
37
- text: this.title,
38
- x: 10,
39
- y: 10,
40
- },
41
- tooltip: {
42
- trigger: 'axis',
43
- formatter: function (params) {
44
- if (!!params && params.length > 0 && params.some(param => !!param.value)) {
45
- var str = params[0].name;
46
- for (var i=0; i<params.length; i++) {
47
- var param = params[i];
48
- str += '<br><span style="color:' + param.color + ';">' + param.seriesName + ': ' + param.data.value + '</span>';
49
- }
50
- if(param.data.users != undefined){
51
- str += '<br><span style="color:#a3b3ac;">Users: ' + param.data.users + '</span>';
52
- }
53
- return str;
54
- } else {
55
- return "No data";
56
- }
57
- },
58
- axisPointer: {
59
- animation: true
60
- },
61
- textStyle: {
62
- color: '#b3c3bc',
63
- fontSize: 13,
64
- },
65
- backgroundColor: 'rgba(21,35,28, 0.93)',
66
- borderWidth: 0,
67
- extraCssText: "z-index:1;",
68
- },
69
- xAxis: {
70
- type: 'category',
71
- splitLine: {
72
- show: false
73
- },
74
- axisLine: {
75
- lineStyle: {
76
- color: '#5b6f66',
77
- },
78
- },
79
- data: this.dates,
80
- },
81
- yAxis: {
82
- type: 'value',
83
- boundaryGap: [0, '5%'],
84
- splitLine: {
85
- show: false
86
- },
87
- axisLine: {
88
- lineStyle: {
89
- color: '#5b6f66',
90
- },
91
- },
92
- },
93
- series: seriesData,
94
- grid: {x:60, y:70, x2:40, y2:40},
95
- color: colors,
96
- toolbox: {
97
- feature: {
98
- saveAsImage: {
99
- name: this.title.replace(/\s+/g, '_').toLowerCase() + '_' + Date.parse(new Date()) / 1000,
100
- title: "Download as PNG",
101
- emphasis: {
102
- iconStyle: {
103
- textPosition: "left"
104
- }
105
- }
106
- }
107
- }
108
- }
109
- })
110
- }
111
-
112
- addValue(values, user_count=0) {
113
- this.dates.push(new Date().toLocaleTimeString());
114
- var seriesData = [];
115
- for (var i=0; i<values.length; i++) {
116
- var value = Math.round(values[i] * 100) / 100;
117
- this.data[i].push({"value": value, "users": user_count});
118
- seriesData.push({data: this.data[i]});
119
- }
120
- this.chart.setOption({
121
- xAxis: {
122
- data: this.dates,
123
- },
124
- series: seriesData
125
- });
126
- }
127
-
128
- resize() {
129
- this.chart.resize();
130
- }
131
- }
132
- window.LocustLineChart = LocustLineChart;
133
- })();
@@ -1,491 +0,0 @@
1
- html {
2
- height: 100%;
3
- }
4
-
5
- body {
6
- background: #173529;
7
- padding: 0;
8
- margin: 0;
9
- font-family: Arial, Helvetica, sans-serif;
10
- font-size: 14px;
11
- color: #fff;
12
- padding-bottom: 40px;
13
- padding-top: 93px;
14
- position: relative;
15
- box-sizing: border-box;
16
- min-height: 100%;
17
- -webkit-font-smoothing: antialiased;
18
- }
19
-
20
- ul {
21
- margin: 0;
22
- padding: 0;
23
- list-style: none;
24
- }
25
-
26
- a {
27
- color: #2be6a4;
28
- text-decoration: none;
29
- }
30
- a:hover {
31
- color: #4ff9bd;
32
- }
33
-
34
- table.stats {
35
- width: 100%;
36
- border-radius: 3px;
37
- border: 2px solid #11251c;
38
- border-spacing: 0;
39
- margin-bottom: 30px;
40
- }
41
- table.stats thead {
42
- padding: 0;
43
- margin: 0;
44
- color: #a9c5ba;
45
- }
46
- table.stats thead tr {
47
- background: #11251c;
48
- }
49
- table.stats thead tr:nth-child(even) {
50
- background: #11251c;
51
- }
52
- table.stats thead tr:hover {
53
- background: #11251c;
54
- }
55
- table.stats thead th {
56
- font-weight: bold;
57
- cursor: default;
58
- }
59
- table.stats thead th.nowrap {
60
- white-space: nowrap;
61
- }
62
- table.stats thead th[data-sortkey] {
63
- cursor: pointer;
64
- }
65
- table.stats tr:hover {
66
- background: #1d4434;
67
- }
68
- table.stats tr td, table.stats tr th {
69
- padding: 10px;
70
- margin: 0;
71
- text-align: left;
72
- }
73
- table.stats tr td:first-child, table.stats tr th:first-child {
74
- padding-left: 16px;
75
- }
76
- table.stats tr td:last-child, table.stats tr th:last-child {
77
- padding-right: 16px;
78
- }
79
- table.stats tr td.numeric, table.stats tr th.numeric {
80
- text-align: right;
81
- }
82
- table.stats tr td {
83
- max-width: 450px;
84
- overflow: hidden;
85
- word-wrap: break-word;
86
- white-space: no-wrap;
87
- text-overflow: ellipsis;
88
- }
89
- @media (max-width: 1100px) {
90
- table.stats tr td {
91
- max-width: 350px;
92
- }
93
- }
94
- table.stats tr:nth-child(even) {
95
- background: #153126;
96
- }
97
- table.stats tr:nth-child(even):hover {
98
- background: #1d4434;
99
- }
100
- table.stats tr.total {
101
- background: #11251c;
102
- }
103
- table.stats tr.total td {
104
- font-weight: bold;
105
- }
106
-
107
- .top {
108
- background: linear-gradient(to bottom, #ffffff 0%, #e7e7e7 100%);
109
- width: 100%;
110
- height: 93px;
111
- color: #000;
112
- position: fixed;
113
- top: 0px;
114
- left: 0px;
115
- z-index: 2;
116
- }
117
- .top a {
118
- color: #308dbf;
119
- }
120
- .top .top-content {
121
- padding-top: 20px;
122
- }
123
- .top .top-content .logo {
124
- float: left;
125
- width: 200px;
126
- height: 48px;
127
- margin-top: 2px;
128
- }
129
- .top .top-content .boxes {
130
- float: right;
131
- }
132
- .top .top-content .boxes .box_running {
133
- display: none;
134
- }
135
- body.spawning .top .top-content .boxes .box_running, body.running .top .top-content .boxes .box_running {
136
- display: block;
137
- }
138
- body.stopped .top .top-content .boxes .box_running, body.stopping .top .top-content .boxes .box_running {
139
- display: block;
140
- }
141
- body.stopped .top .top-content .boxes .box_stop, body.stopping .top .top-content .boxes .box_stop {
142
- display: none;
143
- }
144
- .top .top-content .boxes .top_box {
145
- float: left;
146
- border-left: 1px solid #d9d9d9;
147
- padding-left: 20px;
148
- padding-right: 20px;
149
- height: 53px;
150
- }
151
- .top .top-content .boxes .top_box:first-child {
152
- border: none;
153
- }
154
- .top .top-content .boxes .top_box .label {
155
- color: #7a7a7a;
156
- font-size: 11px;
157
- font-weight: bold;
158
- }
159
- .top .top-content .boxes .top_box .value {
160
- color: #000;
161
- font-size: 16px;
162
- font-weight: bold;
163
- max-width: 165px;
164
- word-wrap: break-word;
165
- }
166
- .top .top-content .boxes .top_box.box_url .value {
167
- font-size: 14px;
168
- font-weight: normal;
169
- }
170
- .top .top-content .boxes .top_box.box_rps .value, .top .top-content .boxes .top_box.box_workers .value {
171
- font-size: 32px;
172
- }
173
- .top .top-content .boxes .top_box.box_fail .value {
174
- font-size: 22px;
175
- }
176
- .top .top-content .boxes .top_box.box_status .value {
177
- text-transform: uppercase;
178
- }
179
- .top .top-content .boxes .top_box.box_status .new-test {
180
- display: none;
181
- }
182
- body.stopped .top .top-content .boxes .top_box.box_status .new-test, body.stopping .top .top-content .boxes .top_box.box_status .new-test {
183
- display: block;
184
- }
185
- .top .top-content .boxes .top_box.box_status .edit-test {
186
- display: none;
187
- }
188
- body.running .top .top-content .boxes .top_box.box_status .edit-test, body.spawning .top .top-content .boxes .top_box.box_status .edit-test {
189
- display: inline;
190
- }
191
- .top .top-content .boxes .top_box .stop-button {
192
- display: block;
193
- float: left;
194
- background: #d81212;
195
- border-radius: 5px;
196
- color: #fff;
197
- padding: 9px 18px;
198
- text-align: center;
199
- font-size: 11px;
200
- font-weight: bold;
201
- margin-right: 12px;
202
- }
203
- .top .top-content .boxes .top_box .stop-button:hover {
204
- background: #c80202;
205
- }
206
- .top .top-content .boxes .top_box .stop-button i {
207
- display: block;
208
- background: #fff;
209
- width: 17px;
210
- height: 17px;
211
- margin-left: auto;
212
- margin-right: auto;
213
- margin-bottom: 7px;
214
- box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
215
- }
216
- .top .top-content .boxes .top_box .reset-button {
217
- display: block;
218
- float: left;
219
- background: #5a4b4b;
220
- border-radius: 5px;
221
- color: #fff;
222
- padding: 11px 16px;
223
- line-height: 1.5em;
224
- text-align: center;
225
- font-size: 11px;
226
- font-weight: bold;
227
- }
228
- .top .top-content .boxes .top_box .reset-button:hover {
229
- background: #4e4141;
230
- }
231
-
232
- .container {
233
- max-width: 1800px;
234
- min-width: 1000px;
235
- margin-left: auto;
236
- margin-right: auto;
237
- box-sizing: border-box;
238
- padding-left: 10px;
239
- padding-right: 10px;
240
- }
241
-
242
- .dialogs {
243
- position: relative;
244
- }
245
- .dialogs .dialog {
246
- width: 398px;
247
- position: absolute;
248
- left: 50%;
249
- top: 60px;
250
- margin-left: -169px;
251
- z-index: 1;
252
- }
253
- .dialogs .dialog .padder {
254
- padding: 30px;
255
- padding-top: 0px;
256
- }
257
- .dialogs .dialog h2 {
258
- color: #addf82;
259
- font-size: 26px;
260
- font-weight: bold;
261
- }
262
- .dialogs .dialog label {
263
- display: block;
264
- margin-bottom: 10px;
265
- margin-top: 20px;
266
- font-size: 16px;
267
- }
268
- .dialogs .dialog input.val {
269
- border: none;
270
- background: #fff;
271
- height: 52px;
272
- width: 328px;
273
- font-size: 24px;
274
- padding-left: 10px;
275
- }
276
- .dialogs .dialog input.val_disabled {
277
- border: none;
278
- background: #cccccc;
279
- height: 52px;
280
- width: 328px;
281
- font-size: 24px;
282
- padding-left: 10px;
283
- }
284
- .dialogs .dialog select.val {
285
- border: none;
286
- background: #fff;
287
- height: 52px;
288
- width: 340px;
289
- font-size: 24px;
290
- padding-left: 10px;
291
- }
292
- .dialogs .dialog button {
293
- margin-top: 20px;
294
- float: right;
295
- font-size: 16px;
296
- font-weight: bold;
297
- background: #8adaba;
298
- padding: 14px 30px;
299
- border-style: none;
300
- border-radius: 5px;
301
- cursor: pointer;
302
- }
303
- .dialogs .dialog button:hover {
304
- background: #74b99d;
305
- }
306
- body.ready .dialogs .start {
307
- display: block;
308
- }
309
- body.ready .dialogs .start .close_link {
310
- display: none;
311
- }
312
- body.stopped .dialogs .start, body.stopping .dialogs .start {
313
- display: none;
314
- border-radius: 5px;
315
- -moz-border-radius: 5px;
316
- -webkit-border-radisu: 5px;
317
- border: 3px solid #eee;
318
- background: #132b21;
319
- box-shadow: 0 0 60px rgba(0, 0, 0, 0.3);
320
- }
321
- body.running .dialogs .start, body.spawning .dialogs .start {
322
- display: none;
323
- }
324
- body.ready .dialogs .edit {
325
- display: none;
326
- }
327
- body.stopped .dialogs .edit, body.stopping .dialogs .edit {
328
- display: none;
329
- }
330
- body.running .dialogs .edit, body.spawning .dialogs .edit {
331
- display: none;
332
- border-radius: 5px;
333
- -moz-border-radius: 5px;
334
- -webkit-border-radisu: 5px;
335
- border: 3px solid #eee;
336
- background: #132b21;
337
- box-shadow: 0 0 60px rgba(0, 0, 0, 0.3);
338
- }
339
-
340
- .main {
341
- position: relative;
342
- display: block;
343
- }
344
- body.ready .main {
345
- display: none;
346
- }
347
- .main nav.menu {
348
- background: #132b21;
349
- }
350
- .main nav.menu ul.tabs {
351
- overflow: hidden;
352
- }
353
- .main nav.menu ul.tabs > li {
354
- display: block;
355
- float: left;
356
- font-size: 16px;
357
- }
358
- .main nav.menu ul.tabs > li a {
359
- padding: 14px 10px;
360
- display: inline-block;
361
- color: #b3c3bc;
362
- position: relative;
363
- font-weight: 600;
364
- font-size: 14px;
365
- }
366
- .main nav.menu ul.tabs > li a:hover {
367
- background: #10211a;
368
- }
369
- .main nav.menu ul.tabs > li a.current {
370
- color: #fff;
371
- }
372
- .main nav.menu ul.tabs > li a.current:after {
373
- content: "";
374
- display: block;
375
- position: absolute;
376
- left: 0;
377
- bottom: 0;
378
- right: 0;
379
- height: 3px;
380
- background: #fff;
381
- }
382
- .main .panes {
383
- margin-top: 30px;
384
- }
385
- .main .panes > div {
386
- overflow: hidden;
387
- }
388
- .main #errors td, .main #errors th {
389
- text-align: left;
390
- }
391
- .main #errors td th.error_count, .main #errors th th.error_count {
392
- width: 70px;
393
- }
394
- .main #exceptions th.exception_occurrences {
395
- width: 110px;
396
- text-align: center;
397
- }
398
- .main #exceptions th.exception_traceback {
399
- text-align: left;
400
- }
401
- .main #exceptions td.occurrences {
402
- text-align: center;
403
- }
404
- .main #exceptions td.traceback {
405
- font-size: 12px;
406
- line-height: 18px;
407
- font-family: monospace;
408
- white-space: pre;
409
- }
410
- .main #charts {
411
- width: 100%;
412
- }
413
- .main #charts .chart {
414
- height: 350px;
415
- margin-bottom: 30px;
416
- box-sizing: border-box;
417
- border: 1px solid #11271e;
418
- border-radius: 3px;
419
- }
420
- .main #charts .note {
421
- color: #b3c3bc;
422
- margin-bottom: 30px;
423
- border-radius: 3px;
424
- background: #132b21;
425
- padding: 10px;
426
- display: inline-block;
427
- }
428
-
429
- .about {
430
- width: 398px;
431
- position: absolute;
432
- left: 50%;
433
- top: 5px;
434
- margin-left: -169px;
435
- border-radius: 5px;
436
- -moz-border-radius: 5px;
437
- -webkit-border-radius: 5px;
438
- border: 3px solid #eee;
439
- background: #132b21;
440
- box-shadow: 0 0 60px rgba(0, 0, 0, 0.3);
441
- z-index: 4;
442
- }
443
- .about a.close_link {
444
- position: absolute;
445
- right: 10px;
446
- top: 10px;
447
- }
448
- .about .padder {
449
- padding: 30px;
450
- padding-top: 0px;
451
- }
452
-
453
- .tasks ul {
454
- padding-left: 10px;
455
- }
456
-
457
- .footer {
458
- position: fixed;
459
- left: 0;
460
- bottom: 0;
461
- padding: 12px 0;
462
- background: #132b21;
463
- width: 100%;
464
- text-align: right;
465
- box-sizing: border-box;
466
- height: 40px;
467
- z-index: 3;
468
- }
469
- .footer a {
470
- margin-right: 10px;
471
- color: #48a584;
472
- }
473
- .userClass {
474
- border: none;
475
- background: #fff;
476
- height: 100px;
477
- width: 340px;
478
- font-size: 18px;
479
- padding-left: 10px;
480
- }
481
-
482
- .shapeClass {
483
- border: none;
484
- background: #fff;
485
- /* height: 100px; */
486
- width: 340px;
487
- font-size: 18px;
488
- padding-left: 10px;
489
- }
490
-
491
- /*# sourceMappingURL=application.css.map */
@@ -1 +0,0 @@
1
- {"version":3,"sourceRoot":"","sources":["../sass/_base.sass","../sass/tables.sass","../sass/_mixins.sass","../sass/application.sass"],"names":[],"mappings":"AAAA;EACI;;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEJ;EACI;EACA;EACA;;;AAEJ;EACI;EACA;;AACA;EACI;;;ACxBR;EACI;EACA;EACA;EACA;EACA;;AAEA;EAEI;EACA;EACA;;AAEA;EACI;;AACA;EACI;;AACJ;EACI;;AACR;EACI;EACA;;AACA;EACI;;AACJ;EACI;;AAER;EACI;;AAEJ;EACI;EACA;EACA;;AAEA;EACI;;AACJ;EACI;;AAEJ;EACI;;AACR;EACI;EACA;EACA;EACA;EACA;;AChDV;ED2CM;IAOQ;;;AAER;EACI;;AACA;EACI;;AACR;EACI;;AACA;EACI;;;AExDhB;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACI;;AACJ;EACI;;AAEA;EACI;EACA;EACA;EACA;;AAEJ;EACI;;AACA;EACI;;AACA;EACI;;AACJ;EACI;;AAEJ;EACI;;AACR;EACI;EACA;EACA;EACA;EACA;;AACA;EACI;;AACJ;EACI;EACA;EACA;;AACJ;EACI;EACA;EACA;EACA;EACA;;AACJ;EACI;EACA;;AACJ;EACI;;AACJ;EACI;;AAEA;EACI;;AACJ;EACI;;AACA;EACI;;AACR;EACI;;AACA;EACI;;AACZ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACI;;AACJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACI;;;AAExB;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEJ;EACI;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;;AAEJ;EACI;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;;AAGA;EACI;EACA;EACA;EACA;EACA;EACA;;AACJ;EACI;EACA;EACA;EACA;EACA;EACA;;AAER;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACI;;AAGR;EACI;;AACA;EACI;;AACR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;AACJ;EACI;;AAEJ;EACI;;AACJ;EACI;;AACJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEZ;EACI;EACA;;AACA;EACI;;AACJ;EACI;;AAEA;EACI;;AAEA;EACI;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;;AACA;EACI;;AACJ;EACI;;AACA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAExB;EACI;;AACA;EACI;;AAER;EACI;;AACA;EACI;;AAGJ;EACI;EACA;;AACJ;EACI;;AACJ;EACI;;AACJ;EACI;EACA;EACA;EACA;;AAER;EACI;;AACA;EACI;EACA;EACA;EACA;EACA;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;;;AAEZ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;;AACJ;EACI;EACA;;;AAGJ;EACI;;;AAER;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA","file":"application.css"}
@@ -1,74 +0,0 @@
1
- table.stats {
2
- width: 100%;
3
- border-radius: 3px;
4
- border: 2px solid #11251c;
5
- border-spacing: 0;
6
- margin-bottom: 30px;
7
- }
8
- table.stats thead {
9
- padding: 0;
10
- margin: 0;
11
- color: #a9c5ba;
12
- }
13
- table.stats thead tr {
14
- background: #11251c;
15
- }
16
- table.stats thead tr:nth-child(even) {
17
- background: #11251c;
18
- }
19
- table.stats thead tr:hover {
20
- background: #11251c;
21
- }
22
- table.stats thead th {
23
- font-weight: bold;
24
- cursor: default;
25
- }
26
- table.stats thead th.nowrap {
27
- white-space: nowrap;
28
- }
29
- table.stats thead th[data-sortkey] {
30
- cursor: pointer;
31
- }
32
- table.stats tr:hover {
33
- background: #1d4434;
34
- }
35
- table.stats tr td, table.stats tr th {
36
- padding: 10px;
37
- margin: 0;
38
- text-align: left;
39
- }
40
- table.stats tr td:first-child, table.stats tr th:first-child {
41
- padding-left: 16px;
42
- }
43
- table.stats tr td:last-child, table.stats tr th:last-child {
44
- padding-right: 16px;
45
- }
46
- table.stats tr td.numeric, table.stats tr th.numeric {
47
- text-align: right;
48
- }
49
- table.stats tr td {
50
- max-width: 450px;
51
- overflow: hidden;
52
- word-wrap: break-word;
53
- white-space: no-wrap;
54
- text-overflow: ellipsis;
55
- }
56
- @media (max-width: 1100px) {
57
- table.stats tr td {
58
- max-width: 350px;
59
- }
60
- }
61
- table.stats tr:nth-child(even) {
62
- background: #153126;
63
- }
64
- table.stats tr:nth-child(even):hover {
65
- background: #1d4434;
66
- }
67
- table.stats tr.total {
68
- background: #11251c;
69
- }
70
- table.stats tr.total td {
71
- font-weight: bold;
72
- }
73
-
74
- /*# sourceMappingURL=tables.css.map */
@@ -1 +0,0 @@
1
- {"version":3,"sourceRoot":"","sources":["../sass/tables.sass","../sass/_mixins.sass"],"names":[],"mappings":"AAEA;EACI;EACA;EACA;EACA;EACA;;AAEA;EAEI;EACA;EACA;;AAEA;EACI;;AACA;EACI;;AACJ;EACI;;AACR;EACI;EACA;;AACA;EACI;;AACJ;EACI;;AAER;EACI;;AAEJ;EACI;EACA;EACA;;AAEA;EACI;;AACJ;EACI;;AAEJ;EACI;;AACR;EACI;EACA;EACA;EACA;EACA;;AChDV;ED2CM;IAOQ;;;AAER;EACI;;AACA;EACI;;AACR;EACI;;AACA;EACI","file":"tables.css"}