Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 1 | @charset "utf-8"; |
| 2 | @import "../../util"; |
| 3 | |
| 4 | // Metatable |
| 5 | div.metatable > dl { |
| 6 | margin-right: $right-view-distance; |
| 7 | margin-top: $border-size; |
| 8 | |
| 9 | > div { |
| 10 | border-color: $dark-orange; |
| 11 | |
| 12 | > * { |
| 13 | padding: .2em; |
| 14 | } |
| 15 | |
| 16 | > dt { |
| 17 | background: $darker-orange; |
| 18 | color: $nearly-white; |
| 19 | width: 12.5em; |
| 20 | } |
| 21 | |
| 22 | > dd { |
| 23 | background-color: $light-orange; |
| 24 | cursor: pointer; |
| 25 | |
| 26 | &.metakeyvalues { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 27 | |
| 28 | > div { |
Akron | c645aad | 2024-10-08 16:44:25 +0200 | [diff] [blame] | 29 | padding: 0; |
| 30 | text-indent: -5pt; |
| 31 | margin-left: 6pt; |
| 32 | padding-left: 4pt; |
| 33 | border-radius: $standard-border-radius; |
| 34 | margin-bottom: 2pt; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 35 | |
| 36 | &::before { |
| 37 | content: "\2022\00A0"; |
Akron | c645aad | 2024-10-08 16:44:25 +0200 | [diff] [blame] | 38 | color: $dark-orange; |
| 39 | width: 5pt; |
| 40 | display: inline-block; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 41 | } |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | // equal to td.chosen |
| 46 | &.chosen, |
| 47 | > div.chosen { |
| 48 | background-color: $light-green !important; |
| 49 | color: $nearly-white; |
| 50 | } |
| 51 | |
| 52 | &[data-type="type:store"], |
| 53 | &[data-type="type:attachement"] { |
| 54 | background-color: $middle-orange; |
| 55 | cursor: default; |
| 56 | |
| 57 | a { |
| 58 | color: inherit; |
| 59 | } |
| 60 | } |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | // This is a temporary feature to disable |
| 65 | // corpusByMatch assistant. See corpusByMatch.js |
| 66 | // for reasons. |
| 67 | &.cbm-disabled > div > dd { |
| 68 | cursor: default !important; |
| 69 | } |
Akron | c645aad | 2024-10-08 16:44:25 +0200 | [diff] [blame] | 70 | } |