blob: 0776b1367538e19bff8011df1a37172025a8a26c [file] [log] [blame]
Akron2f979122018-07-25 17:00:23 +02001@charset "utf-8";
Akron7636edf2025-11-04 12:44:53 +01002@use "../util";
3@use "../base/colors";
4@use "../base/icons";
5@use "../base/lengths";
Akron2f979122018-07-25 17:00:23 +02006
hebasta94f8ba62018-12-11 15:29:10 +01007
Akron7e5afce2020-08-25 15:50:19 +02008/**
9 * Corpus statistic
10 * Graying corpus statistic
11 */
Akron2f979122018-07-25 17:00:23 +020012div.stattable {
Akron7e5afce2020-08-25 15:50:19 +020013 display: flex;
14 flex-direction: row;
Akron7636edf2025-11-04 12:44:53 +010015 margin-right: lengths.$right-view-distance;
hebasta94f8ba62018-12-11 15:29:10 +010016}
Akron7e5afce2020-08-25 15:50:19 +020017
hebasta94f8ba62018-12-11 15:29:10 +010018div.stattable {
Akronfc8dbae2019-02-15 13:16:20 +010019 > dl {
20 margin-bottom:4px;
Akron7e5afce2020-08-25 15:50:19 +020021
Akronfc8dbae2019-02-15 13:16:20 +010022 > div {
Akron7636edf2025-11-04 12:44:53 +010023 border-color: colors.$dark-green;
Akron7e5afce2020-08-25 15:50:19 +020024
Akronfc8dbae2019-02-15 13:16:20 +010025 > dt {
Akron7636edf2025-11-04 12:44:53 +010026 background-color: colors.$middle-green;
Akron7e5afce2020-08-25 15:50:19 +020027 width: 15em;
28 margin: 0;
29
30 &::after {
Akronfc8dbae2019-02-15 13:16:20 +010031 content: ":";
hebasta94f8ba62018-12-11 15:29:10 +010032 }
Akronfc8dbae2019-02-15 13:16:20 +010033 }
34 > dd {
Akron7636edf2025-11-04 12:44:53 +010035 background-color: colors.$lightest-green;
36 color: colors.$dark-grey;
Akronfc8dbae2019-02-15 13:16:20 +010037 }
38 }
39 }
Akron7e5afce2020-08-25 15:50:19 +020040
Akronfc8dbae2019-02-15 13:16:20 +010041 &.stdisabled {
Akron7e5afce2020-08-25 15:50:19 +020042 dt,
43 dd {
Akron7636edf2025-11-04 12:44:53 +010044 background-color: colors.$grey-green;
45 color: colors.$dark-green;
Akron7e5afce2020-08-25 15:50:19 +020046 text-shadow: none;
Akronfc8dbae2019-02-15 13:16:20 +010047 }
48 }
Akron2f979122018-07-25 17:00:23 +020049}
Akron2f979122018-07-25 17:00:23 +020050
hebasta94f8ba62018-12-11 15:29:10 +010051
52/* Corpus statistic reload button */
Akronfc8dbae2019-02-15 13:16:20 +010053div.reloadStatB > span.refresh {
54 margin-left: 2pt;
55}
hebasta94f8ba62018-12-11 15:29:10 +010056
Akronfc8dbae2019-02-15 13:16:20 +010057span.refresh::after{
58 vertical-align: sub;
Akron7636edf2025-11-04 12:44:53 +010059 content : icons.$fa-redo;
Akronfc8dbae2019-02-15 13:16:20 +010060}
61
62// Default value 20% doesn't work with < 5 items,
63// which is the default case with corpus statistics
64@media (min-width:1680px) {
65 div.stattable dl.flex > div {
66 width: inherit;
67 }
68}