X-Git-Url: https://git-public.kairo.at/?a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Fdebugger.css;h=0802089e0b6bb27af266023dc0455a16dbd86e1a;hb=f76c6aee64655acdb0b77f9d0995a4111c237ef7;hp=20079ae2f2689e17a890e7dd97033d9800fa6a4f;hpb=82b4252f7e41007fc93fa3b94fd7418a07c03fd1;p=themes.git diff --git a/LCARStrek/browser/devtools/debugger.css b/LCARStrek/browser/devtools/debugger.css index 20079ae2..0802089e 100644 --- a/LCARStrek/browser/devtools/debugger.css +++ b/LCARStrek/browser/devtools/debugger.css @@ -20,18 +20,66 @@ window { -moz-border-start-color: transparent; } -/* Watch expressions, variables and other instruments pane */ +.side-menu-widget-item-checkbox { + -moz-margin-end: -6px; + padding: 0; + opacity: 0; + transition: opacity .15s ease 0s; +} -#instruments-pane { - min-width: 50px; - -moz-margin-start: 0px !important; - /* Unfortunately, transitions don't work properly with locale-aware properties, - so both the left and right margins are set via js, while the start margin - is always overridden here. */ +/* Only show the checkbox when the source is hovered over, is selected, or if it + * is not checked. */ +.side-menu-widget-item:hover > .side-menu-widget-item-checkbox, +.side-menu-widget-item.selected > .side-menu-widget-item-checkbox, +.side-menu-widget-item-checkbox:not([checked]) { + opacity: 1; + transition: opacity .15s ease-out 0s; +} + +.side-menu-widget-item-checkbox > .checkbox-check { + -moz-appearance: none; + background: none; + background-image: url("itemToggle.png"); + background-repeat: no-repeat; + background-clip: content-box; + background-position: -16px 0; + background-size: 32px 16px; + width: 16px; + height: 16px; + border: 0; } -#instruments-pane[animated] { - transition: margin 0.25s ease-in-out; +.side-menu-widget-item-checkbox[checked] > .checkbox-check { + background-position: 0 0; +} + +.side-menu-widget-item-checkbox:not([checked]) ~ .side-menu-widget-item-contents { + color: #8050B0; +} + +.side-menu-widget-item-checkbox:not([checked]) ~ .side-menu-widget-item-contents > .dbg-breakpoint { + display: none; +} + +/* Black box message */ + +#black-boxed-message { + /* Prevent the container deck from aquiring the height from this message. */ + min-height: 1px; + background-color: #A09090; + padding: 25vh 0; + color: #000000; +} + +#black-boxed-message-label, +#black-boxed-message-button { + text-align: center; + font-size: 120%; +} + +#black-boxed-message-button { + margin-top: 1em; + padding: .25em; } /* ListWidget items */ @@ -61,6 +109,10 @@ window { /* Stack frames view */ +#stackframes { + min-height: 25px; +} + .dbg-stackframe-details { -moz-padding-start: 4px; } @@ -79,7 +131,7 @@ window { /* Sources and breakpoints view */ .dbg-breakpoint { - font-family: "Liberation Mono", Consolas, "Courier New", monospace; + -moz-margin-start: -14px; } .dbg-breakpoint-line { @@ -89,6 +141,13 @@ window { .dbg-breakpoint-text { -moz-margin-start: 10px !important; font-style: italic; + font-size: 90%; +} + +.dbg-breakpoint-checkbox { + width: 16px; + height: 16px; + margin: 2px; } /* Watch expressions view */ @@ -100,18 +159,16 @@ window { .dbg-expression { height: 20px; - -moz-padding-start: 8px; } .dbg-expression-arrow { - width: 10px; + width: 16px; height: auto; - background: url("chrome://browser/skin/devtools/commandline.png") 0px 4px no-repeat; + background: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 32, 16, 16); } .dbg-expression-input { -moz-padding-start: 2px !important; - font-family: "Liberation Mono", Consolas, "Courier New", monospace; } /* Searchbox and the search operations help panel */ @@ -121,8 +178,12 @@ window { -moz-margin-start: 1px; } -#searchbox-panel-description { - margin-top: 0; +#filter-label { + -moz-margin-start: 2px; +} + +#searchbox-panel-operators { + margin-top: 5px; margin-bottom: 8px; -moz-margin-start: 2px; } @@ -134,7 +195,6 @@ window { -moz-margin-start: 2px; -moz-margin-end: 6px; text-align: center; - font-family: "Liberation Mono", Consolas, "Courier New", monospace; } .searchbox-panel-operator-label { @@ -228,7 +288,6 @@ window { -moz-padding-end: 4px; padding-top: 2px; text-align: end; - font-family: "Liberation Mono", Consolas, "Courier New", monospace; color: #FF9F00; } @@ -236,7 +295,6 @@ window { -moz-padding-start: 4px; padding-top: 1px; padding-bottom: 1px; - font-family: "Liberation Mono", Consolas, "Courier New", monospace; } .dbg-results-line-contents-string { @@ -277,6 +335,14 @@ window { -moz-image-region: rect(0px, 32px, 16px, 16px); } +#resumption-panel-desc { + width: 200px; +} + +#resumption-order-panel { + -moz-margin-start: -8px; +} + #resume { list-style-image: url("chrome://browser/skin/devtools/debugger-play.png"); -moz-image-region: rect(0px, 16px, 16px, 0px); @@ -321,15 +387,15 @@ window { } #instruments-pane-toggle { - background: none; +/* background: none; box-shadow: none; - border: none; - list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png"); + border: none; */ + list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png"); -moz-image-region: rect(0px,16px,16px,0px); } -#instruments-pane-toggle:not([toggled]) { - list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png"); +#instruments-pane-toggle[pane-collapsed] { + list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png"); } #instruments-pane-toggle:hover,