From 624ebb51af2c1be7397d1b2850a9441fafbe5cd8 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Mon, 22 Jul 2013 00:10:02 +0200 Subject: [PATCH] make devtools work with 25 trunk --- LCARStrek/browser/devtools/common.css | 12 ------------ LCARStrek/browser/devtools/netmonitor.css | 3 +++ .../browser/devtools/profiler-stopwatch.png | Bin 0 -> 290 bytes LCARStrek/browser/devtools/profiler.css | 18 +++++++++++++++++- .../browser/devtools/tool-debugger-paused.png | Bin 0 -> 187 bytes LCARStrek/browser/devtools/toolbox.css | 5 +++++ 6 files changed, 25 insertions(+), 13 deletions(-) create mode 100644 LCARStrek/browser/devtools/profiler-stopwatch.png create mode 100644 LCARStrek/browser/devtools/tool-debugger-paused.png diff --git a/LCARStrek/browser/devtools/common.css b/LCARStrek/browser/devtools/common.css index 7831a2b7..506d60d9 100644 --- a/LCARStrek/browser/devtools/common.css +++ b/LCARStrek/browser/devtools/common.css @@ -261,18 +261,6 @@ devtools-menulist:-moz-focusring, .devtools-sidebar-tabs > tabs > tab[selected=true]:hover:active { } -/* LCARStrek-specific adaptions */ - -#profiler-chrome { - /* HACK for profiler in the dev toolbox in FF 20+. */ - margin: -3px; -} - -#profiler-chrome > box > box > .devtools-toolbar { - border-bottom: none; -} - - /********************** shared/devtools/common.inc.css **********************/ /* Autocomplete Popup */ diff --git a/LCARStrek/browser/devtools/netmonitor.css b/LCARStrek/browser/devtools/netmonitor.css index 9a8bbf13..1b303c34 100644 --- a/LCARStrek/browser/devtools/netmonitor.css +++ b/LCARStrek/browser/devtools/netmonitor.css @@ -59,6 +59,9 @@ window { .requests-menu-header-button > .button-box, #requests-menu-status-button > .button-box { border-radius: 0; + -moz-padding-start: 0; + -moz-padding-end: 0; + border: 0; } .requests-menu-header-button:hover { diff --git a/LCARStrek/browser/devtools/profiler-stopwatch.png b/LCARStrek/browser/devtools/profiler-stopwatch.png new file mode 100644 index 0000000000000000000000000000000000000000..5ae3767c972e06e5958e69d25f0920755a5dcf30 GIT binary patch literal 290 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnH3?%tPCZz)@o&cW^S0MfWJOe{Z3y|@%HnIXp zF_r}R1v5B2yO9RsBze2LFm$lWdH^|`1s;*b3=G`DAk4@xYmNj^kiEpy*OmP)JD-rA zfaS~t6`)YRr;B5V#O2h!v%D<|0Vvf67#oYT#@;*KQ3haO?{lLg!t{bfp S`^ymMGzL#sKbLh*2~7Zp99#zg literal 0 HcmV?d00001 diff --git a/LCARStrek/browser/devtools/profiler.css b/LCARStrek/browser/devtools/profiler.css index 30bc66bc..bfdf77af 100644 --- a/LCARStrek/browser/devtools/profiler.css +++ b/LCARStrek/browser/devtools/profiler.css @@ -7,7 +7,6 @@ window { } .devtools-toolbar { - border-bottom: none; } .profile-name { @@ -27,3 +26,20 @@ window { -moz-padding-end: 8px; -moz-box-align: center; } + +#profiler-start { + list-style-image: url("chrome://browser/skin/devtools/profiler-stopwatch.png"); + -moz-image-region: rect(0px,16px,16px,0px); +} + +#profiler-start:hover { + -moz-image-region: rect(16px,16px,32px,0px); +} + +#profiler-start[checked] { + -moz-image-region: rect(0px,32px,16px,16px); +} + +#profiler-start[checked]:hover { + -moz-image-region: rect(16px,32px,32px,16px); +} diff --git a/LCARStrek/browser/devtools/tool-debugger-paused.png b/LCARStrek/browser/devtools/tool-debugger-paused.png new file mode 100644 index 0000000000000000000000000000000000000000..d37d72983f86c6777064edfda7dd8fa968222510 GIT binary patch literal 187 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!D3?x-;bCrM;TYyi9E06|)rRh7*11ZLmAirP+ zhi5m^K%69RcNc~ZR#^`qhqJ&VvY3H^TNs2H8D`Cq01C2~c>21s-(}|$Qc^tfNnZ#k zr04147{YNqIROal4jlO3==hJlxrwKliQkz?+L=jMVq@bD2gd~>0gM5X%*+f2EIEX$ TW^Gvy)XCuK>gTe~DWM4fM;9v7 literal 0 HcmV?d00001 diff --git a/LCARStrek/browser/devtools/toolbox.css b/LCARStrek/browser/devtools/toolbox.css index fcdd6bc9..5e71b477 100644 --- a/LCARStrek/browser/devtools/toolbox.css +++ b/LCARStrek/browser/devtools/toolbox.css @@ -193,6 +193,11 @@ window { -moz-margin-end: 3px; } +.devtools-tab:not(.highlighted) > .highlighted-icon, +.devtools-tab[selected=true] > .highlighted-icon, +.devtools-tab:not([selected=true]).highlighted > .default-icon { + visibility: collapse; +} #options-panel { /* background-image: url("chrome://browser/skin/newtab/noise.png"); */ -- 2.43.0