blob: 55f0ea0b48c6f9673eb239d6375edeceb8e8550e [file] [log] [blame]
Akron7e5afce2020-08-25 15:50:19 +02001@charset "utf-8";
Akron7636edf2025-11-04 12:44:53 +01002@use "../../util";
3@use "../../base/colors";
4@use "../../base/lengths";
Akron7e5afce2020-08-25 15:50:19 +02005
6// Metatable
7div.metatable > dl {
Akron7636edf2025-11-04 12:44:53 +01008 margin-right: lengths.$right-view-distance;
9 margin-top: lengths.$border-size;
Akron7e5afce2020-08-25 15:50:19 +020010
11 > div {
Akron7636edf2025-11-04 12:44:53 +010012 border-color: colors.$dark-orange;
Akron7e5afce2020-08-25 15:50:19 +020013
14 > * {
15 padding: .2em;
16 }
17
18 > dt {
Akron7636edf2025-11-04 12:44:53 +010019 background: colors.$darker-orange;
20 color: colors.$nearly-white;
Akron7e5afce2020-08-25 15:50:19 +020021 width: 12.5em;
22 }
23
24 > dd {
Akron7636edf2025-11-04 12:44:53 +010025 background-color: colors.$light-orange;
Akron7e5afce2020-08-25 15:50:19 +020026 cursor: pointer;
27
28 &.metakeyvalues {
Akron7e5afce2020-08-25 15:50:19 +020029
30 > div {
Akronc645aad2024-10-08 16:44:25 +020031 padding: 0;
32 text-indent: -5pt;
33 margin-left: 6pt;
34 padding-left: 4pt;
Akron7636edf2025-11-04 12:44:53 +010035 border-radius: lengths.$standard-border-radius;
Akronc645aad2024-10-08 16:44:25 +020036 margin-bottom: 2pt;
Akron7e5afce2020-08-25 15:50:19 +020037
38 &::before {
39 content: "\2022\00A0";
Akron7636edf2025-11-04 12:44:53 +010040 color: colors.$dark-orange;
Akronc645aad2024-10-08 16:44:25 +020041 width: 5pt;
42 display: inline-block;
Akron7e5afce2020-08-25 15:50:19 +020043 }
44 }
45 }
46
47 // equal to td.chosen
48 &.chosen,
49 > div.chosen {
Akron7636edf2025-11-04 12:44:53 +010050 background-color: colors.$light-green !important;
51 color: colors.$nearly-white;
Akron7e5afce2020-08-25 15:50:19 +020052 }
53
54 &[data-type="type:store"],
55 &[data-type="type:attachement"] {
Akron7636edf2025-11-04 12:44:53 +010056 background-color: colors.$middle-orange;
Akron7e5afce2020-08-25 15:50:19 +020057 cursor: default;
58
59 a {
60 color: inherit;
61 }
62 }
63 }
64 }
65
66 // This is a temporary feature to disable
67 // corpusByMatch assistant. See corpusByMatch.js
68 // for reasons.
69 &.cbm-disabled > div > dd {
70 cursor: default !important;
71 }
Akronc645aad2024-10-08 16:44:25 +020072}