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 | |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 5 | /** |
6 | * Corpus statistic | ||||
7 | * Graying corpus statistic | ||||
8 | */ | ||||
Akron | 2f97912 | 2018-07-25 17:00:23 +0200 | [diff] [blame] | 9 | div.stattable { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 10 | display: flex; |
11 | flex-direction: row; | ||||
12 | margin-right: $right-view-distance; | ||||
hebasta | 94f8ba6 | 2018-12-11 15:29:10 +0100 | [diff] [blame] | 13 | } |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 14 | |
hebasta | 94f8ba6 | 2018-12-11 15:29:10 +0100 | [diff] [blame] | 15 | div.stattable { |
Akron | fc8dbae | 2019-02-15 13:16:20 +0100 | [diff] [blame] | 16 | > dl { |
17 | margin-bottom:4px; | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 18 | |
Akron | fc8dbae | 2019-02-15 13:16:20 +0100 | [diff] [blame] | 19 | > div { |
20 | border-color: $dark-green; | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 21 | |
Akron | fc8dbae | 2019-02-15 13:16:20 +0100 | [diff] [blame] | 22 | > dt { |
23 | background-color: $middle-green; | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 24 | width: 15em; |
25 | margin: 0; | ||||
26 | |||||
27 | &::after { | ||||
Akron | fc8dbae | 2019-02-15 13:16:20 +0100 | [diff] [blame] | 28 | content: ":"; |
hebasta | 94f8ba6 | 2018-12-11 15:29:10 +0100 | [diff] [blame] | 29 | } |
Akron | fc8dbae | 2019-02-15 13:16:20 +0100 | [diff] [blame] | 30 | } |
31 | > dd { | ||||
32 | background-color: $lightest-green; | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 33 | color: $dark-grey; |
Akron | fc8dbae | 2019-02-15 13:16:20 +0100 | [diff] [blame] | 34 | } |
35 | } | ||||
36 | } | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 37 | |
Akron | fc8dbae | 2019-02-15 13:16:20 +0100 | [diff] [blame] | 38 | &.stdisabled { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 39 | dt, |
40 | dd { | ||||
41 | background-color: $grey-green; | ||||
42 | color: $dark-green; | ||||
43 | text-shadow: none; | ||||
Akron | fc8dbae | 2019-02-15 13:16:20 +0100 | [diff] [blame] | 44 | } |
45 | } | ||||
Akron | 2f97912 | 2018-07-25 17:00:23 +0200 | [diff] [blame] | 46 | } |
Akron | 2f97912 | 2018-07-25 17:00:23 +0200 | [diff] [blame] | 47 | |
hebasta | 94f8ba6 | 2018-12-11 15:29:10 +0100 | [diff] [blame] | 48 | |
49 | /* Corpus statistic reload button */ | ||||
Akron | fc8dbae | 2019-02-15 13:16:20 +0100 | [diff] [blame] | 50 | div.reloadStatB > span.refresh { |
51 | margin-left: 2pt; | ||||
52 | } | ||||
hebasta | 94f8ba6 | 2018-12-11 15:29:10 +0100 | [diff] [blame] | 53 | |
Akron | fc8dbae | 2019-02-15 13:16:20 +0100 | [diff] [blame] | 54 | span.refresh::after{ |
55 | vertical-align: sub; | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 56 | content : $fa-redo; |
Akron | fc8dbae | 2019-02-15 13:16:20 +0100 | [diff] [blame] | 57 | } |
58 | |||||
59 | // Default value 20% doesn't work with < 5 items, | ||||
60 | // which is the default case with corpus statistics | ||||
61 | @media (min-width:1680px) { | ||||
62 | div.stattable dl.flex > div { | ||||
63 | width: inherit; | ||||
64 | } | ||||
65 | } |