X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Fdebugger.css;h=b3dfbab5d553fc56cabcb6d9ca0c64d54b980096;hp=71c1d91020fd96592a464dc6537810f8c7181cb7;hb=46e71434a8715fd5d7590f7b799544961ea0394a;hpb=e447dcbac49793dff2682ed45e48583bb0e836af diff --git a/LCARStrek/browser/devtools/debugger.css b/LCARStrek/browser/devtools/debugger.css index 71c1d910..b3dfbab5 100644 --- a/LCARStrek/browser/devtools/debugger.css +++ b/LCARStrek/browser/devtools/debugger.css @@ -6,42 +6,59 @@ window { padding: 0; } +/* === BEGIN debugger.inc.css === */ + /* Sources and breakpoints pane */ -#sources-pane { - min-width: 50px; +#sources-pane[selectedIndex="0"] + #sources-and-editor-splitter { + border-color: transparent; } #sources-pane > tabs { - -moz-border-end: 1px solid #9C9CFF; /* Match the sources list's dark margin. */ + -moz-border-end: 1px solid #9C9CFF; /* Match the splitter color. */ } -#sources-and-editor-splitter { - -moz-border-start-color: transparent; +#sources-toolbar > .devtools-toolbarbutton, +#sources-controls > .devtools-toolbarbutton { + min-width: 32px; } -#sources-toolbar > #sources-controls > .devtools-toolbarbutton { - min-width: 32px; +#black-box { + list-style-image: url("debugger-blackbox.png"); } #pretty-print { font-weight: bold; } -#black-box { - list-style-image: url("debugger-blackbox.png"); +#toggle-breakpoints { + list-style-image: url("debugger-toggleBreakpoints.png"); +} + +#sources-toolbar .devtools-toolbarbutton:not([label]) { -moz-image-region: rect(0px, 16px, 16px, 0px); } -#black-box[checked], -#black-box:hover { +#sources-toolbar .devtools-toolbarbutton:not([label]):hover { + -moz-image-region: rect(16px, 16px, 32px, 0px); +} + +#sources-toolbar .devtools-toolbarbutton:not([label])[checked] { -moz-image-region: rect(0px, 32px, 16px, 16px); } +#sources-toolbar .devtools-toolbarbutton:not([label])[checked]:hover { + -moz-image-region: rect(16px, 32px, 32px, 16px); +} + #sources .black-boxed { color: #8050B0; } +#sources .selected > .black-boxed { + color: #000000; +} + #sources .black-boxed > .dbg-breakpoint { display: none; } @@ -61,7 +78,8 @@ window { #black-boxed-message, #source-progress-container { background-color: #A09090; - /* Prevent the container deck from aquiring the height from this message. */ + /* Prevent the container deck from aquiring the size from this message. */ + min-width: 1px; min-height: 1px; color: #000000; } @@ -82,31 +100,60 @@ window { padding: .25em; } -/* ListWidget items */ +/* Tracer */ -.list-widget-item { - padding: 2px; +#trace { + list-style-image: url("tracer-icon.png"); + -moz-image-region: rect(0px,16px,16px,0px); } -/* .theme-light / .theme-dark */ -.list-widget-item:not(.selected):not(.empty):hover { -/* background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.85)), Highlight;*/ +#trace:hover, +#trace[checked] { + -moz-image-region: rect(0px,32px,16px,16px); } -/* .theme-light / .theme-dark */ -.list-widget-item.selected.light { -/* background: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.8)), Highlight; - color: #000;*/ +#clear-tracer { + /* Make this button as narrow as the text inside it. */ + min-width: 1px; } -.list-widget-item.selected { - background: #008484; - color: #FFCF00; +.trace-name { + -moz-padding-start: 4px !important; } -.list-widget-item.empty { - color: #8050B0; - /* padding: 4px; */ +/* Tracer dark+light theme */ + +.trace-item { + color: #FF9F00; /* Light foreground text */ +} + +.trace-item.selected-matching { + background-color: #004242; /* Select highlight blue at 40% alpha */ +} + +.selected > .trace-item { + background-color: #004242; /* Select highlight blue at 75% alpha */ +} + +.trace-call { + color: #9C9CFF; /* highlight blue */ +} + +.trace-return, +.trace-yield { + color: #008484; /* highlight green */ +} + +.trace-throw { + color: #FF0000; /* highlight red */ +} + +.trace-param { + color: #E7ADE7; /* Content text light */ +} + +.trace-syntax { + color: #A09090; /* highlight grey */ } /* Breadcrumbs stack frames view */ @@ -127,7 +174,7 @@ window { .dbg-classic-stackframe { display: block; - padding: 4px; + padding: 0 4px; } .dbg-classic-stackframe-title { @@ -213,13 +260,8 @@ window { /* Instruments pane (watch expressions, variables, event listeners...) */ -#instruments-pane > tabs > tab { -/* min-height: 25px !important; - padding: 0 !important;*/ -} - #instruments-pane .side-menu-widget-container, -#instruments-pane .side-menu-widget-empty-notice-container { +#instruments-pane .side-menu-widget-empty-text { /* box-shadow: none !important; */ } @@ -237,18 +279,29 @@ window { .dbg-expression-arrow { width: 16px; height: auto; + margin: 2px; background: -moz-image-rect(url("commandline-icon.png"), 0, 32, 16, 16); } .dbg-expression-input { - -moz-padding-start: 2px !important; color: inherit; } +.dbg-expression-button { + border: none; + background: none; + cursor: pointer; + text-decoration: underline; +} + +.dbg-expression-button { + color: #9C9CFF; /* Blue highlight color */ +} + /* Event listeners view */ .dbg-event-listener { - padding: 4px 8px; + padding: 0 8px; } .dbg-event-listener-type { @@ -331,19 +384,19 @@ window { /* text-shadow: 0 1px #fff;*/ } -.results-panel-item-pre { +.results-panel-item-label-before { -moz-margin-end: 5px !important; color: #A09090; cursor: inherit; } -.results-panel-item-name { +.results-panel-item-label { color: #9C9CFF; font-weight: 600; cursor: inherit; } -.results-panel-item-details { +.results-panel-item-label-below { color: #FF9F00; cursor: inherit; } @@ -352,10 +405,6 @@ window { #globalsearch { min-height: 10px; -} - -#globalsearch > vbox:not(:empty) { - min-height: 10px; max-height: 125px; } @@ -368,6 +417,10 @@ window { background: none !important; } +.dbg-source-results:not(.selected):hover { + background-color: #000000; /* Sidebar background */ +} + .dbg-results-header { -moz-padding-start: 6px; } @@ -440,14 +493,6 @@ 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-pause.png"); -moz-image-region: rect(0px, 16px, 16px, 0px); @@ -500,18 +545,6 @@ window { -moz-image-region: rect(0px, 32px, 16px, 16px); } -#debugger-controls > toolbarbutton, -#sources-controls > toolbarbutton { -} - -#debugger-controls > toolbarbutton:last-of-type, -#sources-controls > toolbarbutton:last-of-type { -} - -#debugger-controls, -#sources-controls { -} - #instruments-pane-toggle { /* background: none; box-shadow: none; @@ -546,10 +579,12 @@ window { } #body[layout=vertical] .side-menu-widget-container, -#body[layout=vertical] .side-menu-widget-empty-notice-container { +#body[layout=vertical] .side-menu-widget-empty-text { box-shadow: none !important; } #body[layout=vertical] .side-menu-widget-item-arrow { background-image: none !important; } + +/* === END debugger.inc.css === */