blob: 234e81b4848f0906f5216aaf25d1757ecc420c38 [file] [log] [blame]
Akron2f979122018-07-25 17:00:23 +02001@charset "utf-8";
2@import "../util";
3
hebasta94f8ba62018-12-11 15:29:10 +01004
5/*
6Corpus statistic
7Graying corpus statistic
8*/
Akron2f979122018-07-25 17:00:23 +02009div.stattable {
hebasta94f8ba62018-12-11 15:29:10 +010010 display: flex;
11 flex-direction: row;
Akronfc8dbae2019-02-15 13:16:20 +010012 margin-right: $right-view-distance;
hebasta94f8ba62018-12-11 15:29:10 +010013}
14div.stattable {
Akronfc8dbae2019-02-15 13:16:20 +010015 > dl {
16 margin-bottom:4px;
17 > div {
18 border-color: $dark-green;
19 > dt {
20 background-color: $middle-green;
21 width: 15em;
22 margin: 0;
23 &:after {
24 content: ":";
hebasta94f8ba62018-12-11 15:29:10 +010025 }
Akronfc8dbae2019-02-15 13:16:20 +010026 }
27 > dd {
28 background-color: $lightest-green;
29 color: $dark-grey;
30 }
31 }
32 }
33 &.stdisabled {
34 dt, dd {
35 @include vcinfo-inactive;
36 }
37 }
Akron2f979122018-07-25 17:00:23 +020038}
Akron2f979122018-07-25 17:00:23 +020039
hebasta94f8ba62018-12-11 15:29:10 +010040
41/* Corpus statistic reload button */
Akronfc8dbae2019-02-15 13:16:20 +010042div.reloadStatB > span.refresh {
43 margin-left: 2pt;
44}
hebasta94f8ba62018-12-11 15:29:10 +010045
Akronfc8dbae2019-02-15 13:16:20 +010046span.refresh::after{
47 vertical-align: sub;
48 content : $fa-redo;
49}
50
51// Default value 20% doesn't work with < 5 items,
52// which is the default case with corpus statistics
53@media (min-width:1680px) {
54 div.stattable dl.flex > div {
55 width: inherit;
56 }
57}