Akron | 2f97912 | 2018-07-25 17:00:23 +0200 | [diff] [blame] | 1 | @charset "utf-8"; |
2 | @import "../util"; | ||||
3 | |||||
hebasta | 94f8ba6 | 2018-12-11 15:29:10 +0100 | [diff] [blame] | 4 | |
5 | /* | ||||
6 | Corpus statistic | ||||
7 | Graying corpus statistic | ||||
8 | */ | ||||
Akron | 2f97912 | 2018-07-25 17:00:23 +0200 | [diff] [blame] | 9 | div.stattable { |
hebasta | 94f8ba6 | 2018-12-11 15:29:10 +0100 | [diff] [blame] | 10 | display: flex; |
11 | flex-direction: row; | ||||
Akron | fc8dbae | 2019-02-15 13:16:20 +0100 | [diff] [blame] | 12 | margin-right: $right-view-distance; |
hebasta | 94f8ba6 | 2018-12-11 15:29:10 +0100 | [diff] [blame] | 13 | } |
14 | div.stattable { | ||||
Akron | fc8dbae | 2019-02-15 13:16:20 +0100 | [diff] [blame] | 15 | > 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: ":"; | ||||
hebasta | 94f8ba6 | 2018-12-11 15:29:10 +0100 | [diff] [blame] | 25 | } |
Akron | fc8dbae | 2019-02-15 13:16:20 +0100 | [diff] [blame] | 26 | } |
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 | } | ||||
Akron | 2f97912 | 2018-07-25 17:00:23 +0200 | [diff] [blame] | 38 | } |
Akron | 2f97912 | 2018-07-25 17:00:23 +0200 | [diff] [blame] | 39 | |
hebasta | 94f8ba6 | 2018-12-11 15:29:10 +0100 | [diff] [blame] | 40 | |
41 | /* Corpus statistic reload button */ | ||||
Akron | fc8dbae | 2019-02-15 13:16:20 +0100 | [diff] [blame] | 42 | div.reloadStatB > span.refresh { |
43 | margin-left: 2pt; | ||||
44 | } | ||||
hebasta | 94f8ba6 | 2018-12-11 15:29:10 +0100 | [diff] [blame] | 45 | |
Akron | fc8dbae | 2019-02-15 13:16:20 +0100 | [diff] [blame] | 46 | span.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 | } |