|
| 1 | +/* |
| 2 | + Terms use normal weight and upper case by default. |
| 3 | + For settings, the term should be bold and use the original case. |
| 4 | +*/ |
| 5 | +dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not( |
| 6 | + .simple |
| 7 | + ).lldbsetting |
| 8 | + .field-list |
| 9 | + > dt { |
| 10 | + text-transform: none; |
| 11 | + font-weight: bold; |
| 12 | +} |
| 13 | + |
| 14 | +.lldb-setting-type { |
| 15 | + --setting-color: var(--light-color); |
| 16 | + --background-opacity: 0.1; |
| 17 | +} |
| 18 | + |
| 19 | +.lldb-setting-type { |
| 20 | + float: right; |
| 21 | + text-align: right; |
| 22 | + text-indent: 0; |
| 23 | + line-height: 1.4; |
| 24 | + background-color: rgba(var(--setting-color), var(--background-opacity)); |
| 25 | + padding: 0px 8px; |
| 26 | + border-radius: 99999px; |
| 27 | + border: rgba(var(--setting-color), 1) 1px solid; |
| 28 | + font-size: 0.9em; |
| 29 | + color: rgba(var(--setting-color), 1); |
| 30 | +} |
| 31 | + |
| 32 | +body[data-theme="dark"] .lldb-setting-type { |
| 33 | + --setting-color: var(--dark-color); |
| 34 | + --background-opacity: 0.2; |
| 35 | +} |
| 36 | +@media (prefers-color-scheme: dark) { |
| 37 | + body[data-theme="auto"] .lldb-setting-type { |
| 38 | + --setting-color: var(--dark-color); |
| 39 | + --background-opacity: 0.2; |
| 40 | + } |
| 41 | +} |
| 42 | + |
| 43 | +/* anything string-like (default) */ |
| 44 | +.lldb-setting-type-string, |
| 45 | +.lldb-setting-type /* fallback */ { |
| 46 | + --dark-color: 255, 177, 38; |
| 47 | + --light-color: 125, 98, 1; |
| 48 | +} |
| 49 | + |
| 50 | +/* array-like */ |
| 51 | +.lldb-setting-type-arguments, |
| 52 | +.lldb-setting-type-array, |
| 53 | +.lldb-setting-type-file-list { |
| 54 | + --dark-color: 211, 131, 255; |
| 55 | + --light-color: 64, 33, 242; |
| 56 | +} |
| 57 | + |
| 58 | +/* map-like */ |
| 59 | +.lldb-setting-type-dictionary, |
| 60 | +.lldb-setting-type-path-map { |
| 61 | + --dark-color: 243, 0, 255; |
| 62 | + --light-color: 157, 0, 183; |
| 63 | +} |
| 64 | + |
| 65 | +/* boolean */ |
| 66 | +.lldb-setting-type-boolean { |
| 67 | + --dark-color: 29, 180, 8; |
| 68 | + --light-color: 0, 123, 33; |
| 69 | +} |
| 70 | + |
| 71 | +/* numbers */ |
| 72 | +.lldb-setting-type-int, |
| 73 | +.lldb-setting-type-unsigned { |
| 74 | + --dark-color: 80, 164, 198; |
| 75 | + --light-color: 1, 108, 140; |
| 76 | +} |
| 77 | + |
| 78 | +/* enum */ |
| 79 | +.lldb-setting-type-enum { |
| 80 | + --dark-color: 255, 87, 73; |
| 81 | + --light-color: 191, 3, 10; |
| 82 | +} |
0 commit comments