blob: e1cecc964893f255d421158dc3b73c772406af98 [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
Akrone3b566d2026-03-05 17:40:10 +010028
29 &.notinindex {
30 background-color: colors.$ids-grey-2 !important;
31 cursor: default;
32 }
33
Akron7e5afce2020-08-25 15:50:19 +020034 &.metakeyvalues {
Akron7e5afce2020-08-25 15:50:19 +020035
36 > div {
Akronc645aad2024-10-08 16:44:25 +020037 padding: 0;
38 text-indent: -5pt;
39 margin-left: 6pt;
40 padding-left: 4pt;
Akron7636edf2025-11-04 12:44:53 +010041 border-radius: lengths.$standard-border-radius;
Akronc645aad2024-10-08 16:44:25 +020042 margin-bottom: 2pt;
Akron7e5afce2020-08-25 15:50:19 +020043
44 &::before {
45 content: "\2022\00A0";
Akron7636edf2025-11-04 12:44:53 +010046 color: colors.$dark-orange;
Akronc645aad2024-10-08 16:44:25 +020047 width: 5pt;
48 display: inline-block;
Akron7e5afce2020-08-25 15:50:19 +020049 }
50 }
51 }
52
53 // equal to td.chosen
54 &.chosen,
55 > div.chosen {
Akron7636edf2025-11-04 12:44:53 +010056 background-color: colors.$light-green !important;
57 color: colors.$nearly-white;
Akron7e5afce2020-08-25 15:50:19 +020058 }
59
60 &[data-type="type:store"],
Akrone3b566d2026-03-05 17:40:10 +010061 &[data-type="type:attachement"],
62 &.notinindex {
Akron7636edf2025-11-04 12:44:53 +010063 background-color: colors.$middle-orange;
Akron7e5afce2020-08-25 15:50:19 +020064 cursor: default;
65
66 a {
67 color: inherit;
68 }
69 }
70 }
71 }
72
73 // This is a temporary feature to disable
74 // corpusByMatch assistant. See corpusByMatch.js
75 // for reasons.
76 &.cbm-disabled > div > dd {
77 cursor: default !important;
78 }
Akronc645aad2024-10-08 16:44:25 +020079}