X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Fdebugger.css;h=b44969bb8cd35280a543fe8f7cf91f76d107662d;hp=20079ae2f2689e17a890e7dd97033d9800fa6a4f;hb=6568957a6c8bab01b38e271cec8661f148805538;hpb=82b4252f7e41007fc93fa3b94fd7418a07c03fd1 diff --git a/LCARStrek/browser/devtools/debugger.css b/LCARStrek/browser/devtools/debugger.css index 20079ae2..b44969bb 100644 --- a/LCARStrek/browser/devtools/debugger.css +++ b/LCARStrek/browser/devtools/debugger.css @@ -16,22 +16,70 @@ window { min-width: 50px; } -#sources-pane + .devtools-side-splitter { +#sources-and-editor-splitter { -moz-border-start-color: transparent; } -/* Watch expressions, variables and other instruments pane */ +#sources-toolbar .devtools-toolbarbutton { + min-width: 32px; +} -#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. */ +#pretty-print { + font-weight: bold; +} + +#black-box { + list-style-image: url("debugger-blackbox.png"); + -moz-image-region: rect(0px, 16px, 16px, 0px); +} + +#black-box[checked], +#black-box:hover { + -moz-image-region: rect(0px, 32px, 16px, 16px); +} + +#sources .black-boxed { + color: #8050B0; +} + +#sources .black-boxed > .dbg-breakpoint { + display: none; +} + +#sources .black-boxed + .side-menu-widget-item-arrow:-moz-locale-dir(ltr) { + background-image: none; +/* box-shadow: inset -1px 0 0 #222426; */ +} + +#sources .black-boxed + .side-menu-widget-item-arrow:-moz-locale-dir(rtl) { + background-image: none; +/* box-shadow: inset 1px 0 0 #222426; */ +} + +/* Black box message and source progress meter */ + +#black-boxed-message, +#source-progress-container { + background-color: #A09090; + /* Prevent the container deck from aquiring the height from this message. */ + min-height: 1px; + color: #000000; } -#instruments-pane[animated] { - transition: margin 0.25s ease-in-out; +#source-progress { + min-height: 2em; + min-width: 40em; +} + +#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: 4px; } .dbg-breakpoint-line { @@ -89,6 +141,24 @@ window { .dbg-breakpoint-text { -moz-margin-start: 10px !important; font-style: italic; + font-size: 90%; +} + +.dbg-breakpoint-checkbox { + width: 16px; + height: 16px; + margin: 2px; +} + +/* Instruments pane (watch expressions, variables, event listeners...) */ + +#instruments-pane > tabs > tab { + min-height: 25px !important; + padding: 0 !important; +} + +#instruments-pane > tabpanels > tabpanel { + background: #000000; } /* Watch expressions view */ @@ -100,18 +170,38 @@ 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("commandline-icon.png"), 0, 32, 16, 16); } .dbg-expression-input { -moz-padding-start: 2px !important; - font-family: "Liberation Mono", Consolas, "Courier New", monospace; +} + +/* Event listeners view */ + +.dbg-event-listener { + padding: 4px 8px; +} + +.dbg-event-listener-type { + font-weight: 600; +} + +.dbg-event-listener-separator { + color: #A09090; +} + +.dbg-event-listener-targets { + color: #9C9CFF; +} + +.dbg-event-listener-location { + color: #E7ADE7; } /* Searchbox and the search operations help panel */ @@ -121,8 +211,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 +228,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 +321,6 @@ window { -moz-padding-end: 4px; padding-top: 2px; text-align: end; - font-family: "Liberation Mono", Consolas, "Courier New", monospace; color: #FF9F00; } @@ -236,7 +328,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 { @@ -261,7 +352,7 @@ window { transform: scale(1.75, 1.75); } -/* Toolbar Controls */ +/* Toolbar controls */ #toggle-panes { list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png"); @@ -277,6 +368,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); @@ -311,28 +410,51 @@ window { -moz-image-region: rect(0px, 32px, 16px, 16px); } -#debugger-controls > toolbarbutton { +#debugger-controls > toolbarbutton, +#sources-controls > toolbarbutton { } -#debugger-controls > toolbarbutton:last-of-type { +#debugger-controls > toolbarbutton:last-of-type, +#sources-controls > toolbarbutton:last-of-type { } -#debugger-controls { +#debugger-controls, +#sources-controls { } #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, #instruments-pane-toggle:hover:active { -moz-image-region: rect(0px,32px,16px,16px); } + +/* Horizontal vs. vertical layout */ + +#vertical-layout-panes-container { + min-height: 35vh; + max-height: 80vh; +} + +#body[layout=vertical] #instruments-pane { + margin: 0 !important; + /* To prevent all the margin hacks to hide the sidebar. */ +} + +#body[layout=vertical] .side-menu-widget-container { + box-shadow: none !important; +} + +#body[layout=vertical] .side-menu-widget-item-arrow { + background-image: none !important; +}