_looking-glass.scss
ASCII text
1/* Looking Glass */ 2 3@use "../../../../theme"; 4@use "../../../../theme-color"; 5@use "../../../../shadow"; 6@use "../../gnome-shell"; 7@use "../../typography"; 8@use "../base/button"; 9@use "../base/entry"; 10 11// Dialog 12#LookingGlassDialog { 13spacing: 0; 14padding: 0; 15border: 0; 16border-radius: theme.$corner-radius; 17box-shadow: shadow.$z8; 18background-color: theme-color.$surface-z8; 19color: theme-color.$on-surface; 20 21& > #Toolbar { 22padding: 0 8px; 23border: 0; 24border-radius: 0; 25box-shadow: inset 0 -1px theme-color.divider(theme-color.$on-surface); 26background-color: rgba(theme-color.$surface-z8, .01); 27} 28 29.labels { 30spacing: 0; 31} 32 33.notebook-tab { 34-natural-hpadding: 12px; 35-minimum-hpadding: 6px; 36transition-duration: theme.$state-duration; 37min-height: theme.$medium-size; 38padding-left: 16px * 2; 39padding-right: 16px * 2; 40border: 0; 41color: theme-color.hint(theme-color.$on-surface); 42font-weight: bold; 43 44&:hover { 45background-color: theme-color.hover-overlay(theme-color.$on-surface); 46color: theme-color.hint(theme-color.$on-surface); 47text-shadow: none; 48} 49 50&:active { 51transition-duration: theme.$ripple-duration; 52background-color: theme-color.pressed-overlay(theme-color.$on-surface); 53} 54 55&:selected { 56border: 0; 57box-shadow: inset 0 -2px theme-color.$primary; 58background-color: rgba(theme-color.$surface-z8, .01); 59color: theme-color.$on-surface; 60text-shadow: none; 61} 62} 63 64StBoxLayout#EvalBox { 65padding: 8px; 66spacing: 4px; 67} 68 69StBoxLayout#ResultsArea { 70spacing: 4px; 71} 72} 73 74.lg-dialog { 75StEntry { 76@extend %entry; 77} 78 79.shell-link { 80&, 81&:hover, 82&:active { 83color: theme-color.$primary; 84} 85} 86 87@if gnome-shell.$version >= 3.38 { 88.actor-link { 89&, 90&:hover, 91&:active { 92color: inherit; 93} 94} 95} 96} 97 98.lg-completions-text { 99font-size: 1em; 100font-style: italic; 101} 102 103.lg-obj-inspector-title { 104spacing: 4px; 105} 106 107.lg-obj-inspector-button { 108@extend %button; 109 110&, 111&:hover { 112border: 0; 113} 114} 115 116// Windows 117#Windows { 118padding: 8px; 119} 120 121// Extensions 122#lookingGlassExtensions { 123padding: 8px; 124} 125 126.lg-extensions-list { 127padding: 0; 128spacing: 6px; 129} 130 131.lg-extension { 132padding: 4px; 133border: 0; 134border-radius: 0; 135background-color: transparent; 136} 137 138.lg-extension-name { 139@include typography.headline6; 140} 141 142.lg-extension-meta { 143spacing: 6px; 144} 145 146// Inspector 147#LookingGlassPropertyInspector { 148padding: 6px; 149border: 0; 150border-radius: theme.$corner-radius; 151box-shadow: shadow.$z8; 152background-color: theme-color.$surface-z8; 153color: theme-color.$on-surface; 154} 155