X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Fperformance.css;h=5eaf9ec341818b91731f32e2263e5eefdf7f29df;hp=77ab4d9b341b5ca00c2d288508e795b721c293ee;hb=e9fbfc3a7b3198b48b041b9d5ce52d444d3f3a40;hpb=936e60fe1e8ef7a38298736369448d66d0507842 diff --git a/LCARStrek/browser/devtools/performance.css b/LCARStrek/browser/devtools/performance.css index 77ab4d9b..5eaf9ec3 100644 --- a/LCARStrek/browser/devtools/performance.css +++ b/LCARStrek/browser/devtools/performance.css @@ -13,6 +13,16 @@ --row-hover-background-color: #544400; } +/** + * A generic class to hide elements, replacing the `element.hidden` attribute + * that we use to hide elements that can later be active + */ +.hidden { + display: none; + width: 0px; + height: 0px; +} + /* Toolbar */ #performance-toolbar-control-other { @@ -110,6 +120,10 @@ list-style-image: url(performance-icons.svg#details-flamegraph-active); } +#select-optimizations-view { + list-style-image: url(profiler-stopwatch.svg); +} + /* Recording buttons */ #main-record-button { @@ -265,11 +279,23 @@ width: 4.5vw; } -.call-tree-header[type="allocations"], -.call-tree-cell[type="allocations"], -.call-tree-header[type="self-allocations"], -.call-tree-cell[type="self-allocations"] { - width: 9vw; +.call-tree-header[type="count"], +.call-tree-cell[type="count"], +.call-tree-header[type="self-count"], +.call-tree-cell[type="self-count"], +.call-tree-header[type="size"], +.call-tree-cell[type="size"], +.call-tree-header[type="self-size"], +.call-tree-cell[type="self-size"], +.call-tree-header[type="count-percentage"], +.call-tree-cell[type="count-percentage"], +.call-tree-header[type="self-count-percentage"], +.call-tree-cell[type="self-count-percentage"], +.call-tree-header[type="size-percentage"], +.call-tree-cell[type="size-percentage"], +.call-tree-header[type="self-size-percentage"], +.call-tree-cell[type="self-size-percentage"] { + width: 6vw; } .call-tree-header[type="function"], @@ -541,23 +567,33 @@ font-weight: bold; } +.marker-details-customcontainer .custom-button { + padding: 2px 5px; + border-width: 1px; +} + /** * Marker colors */ -menuitem.marker-color-graphs-purple:before, -.marker-color-graphs-purple { - background-color: var(--theme-graphs-purple); +menuitem.marker-color-graphs-green:before, +.marker-color-graphs-green { + background-color: var(--theme-graphs-green); } -menuitem.marker-color-graphs-grey:before, -.marker-color-graphs-grey{ - background-color: var(--theme-graphs-grey); +menuitem.marker-color-graphs-blue:before, +.marker-color-graphs-blue { + background-color: var(--theme-graphs-blue); } -menuitem.marker-color-graphs-green:before, -.marker-color-graphs-green { - background-color: var(--theme-graphs-green); +menuitem.marker-color-graphs-bluegrey:before, +.marker-color-graphs-bluegrey { + background-color: var(--theme-graphs-bluegrey); +} + +menuitem.marker-color-graphs-purple:before, +.marker-color-graphs-purple { + background-color: var(--theme-graphs-purple); } menuitem.marker-color-graphs-yellow:before, @@ -570,9 +606,9 @@ menuitem.marker-color-graphs-red:before, background-color: var(--theme-graphs-red); } -menuitem.marker-color-graphs-blue:before, -.marker-color-graphs-blue { - background-color: var(--theme-graphs-blue); +menuitem.marker-color-graphs-grey:before, +.marker-color-graphs-grey{ + background-color: var(--theme-graphs-grey); } /* Profile call tree */ @@ -718,7 +754,7 @@ call-tree-item:not([origin="content"]) .call-tree-line { background-image: url(magnifying-glass.png); } -@media (min-resolution: 1.25dppx) { +@media (min-resolution: 1.1dppx) { .call-tree-zoom { background-image: url(magnifying-glass@2x.png); } @@ -832,26 +868,47 @@ call-tree-item:not([origin="content"]) .call-tree-line { cursor: pointer; } -#jit-optimizations-view .opt-icon::before { +.opt-icon::before { content: ""; - background-image: url(chrome://browser/skin/devtools/webconsole.png); + background-image: url(chrome://browser/skin/devtools/webconsole.svg); background-repeat: no-repeat; - background-size: 48px 40px; - margin: 5px 6px 0 0; - width: 8px; - height: 8px; - max-height: 8px; + background-size: 72px 60px; + /* show grey "i" bubble by default */ + background-position: -36px -36px; + width: 12px; + height: 12px; display: inline-block; + + max-height: 12px; +} + +#jit-optimizations-view .opt-icon::before { + margin: 5px 6px 0 0; +} +description.opt-icon { + margin: 0px 0px 0px 0px; +} +description.opt-icon::before { + margin: 1px 4px 0px 0px; } -#jit-optimizations-view .opt-icon[severity=warning]::before { - background-position: -16px -16px; +.opt-icon[severity=warning]::before { + background-position: -24px -24px; } -@media (min-resolution: 1.25dppx) { - #jit-optimizations-view .opt-icon::before { - background-image: url(chrome://browser/skin/devtools/webconsole@2x.png); - } +ul.frames-list { + list-style-type: none; + padding: 0px; + margin: 0px; +} + +ul.frames-list li { + cursor: pointer; +} + +ul.frames-list li.selected { + background-color: var(--theme-selection-background); + color: var(--theme-selection-color); } /** @@ -866,21 +923,18 @@ call-tree-item:not([origin="content"]) .call-tree-line { */ menuitem.experimental-option::before { content: ""; - background-image: url(chrome://browser/skin/devtools/webconsole.png); + background-image: url(chrome://browser/skin/devtools/webconsole.svg); background-repeat: no-repeat; - background-size: 48px 40px; - margin: 2px 5px 0 0; - width: 8px; - height: 8px; - max-height: 8px; + background-size: 72px 60px; + width: 12px; + height: 12px; display: inline-block; - background-position: -16px -16px; -} -@media (min-resolution: 1.25dppx) { - menuitem.experimental-option::before { - background-image: url(chrome://browser/skin/devtools/webconsole@2x.png); - } + + background-position: -24px -24px; + margin: 2px 5px 0 0; + max-height: 12px; } + #performance-options-menupopup:not(.experimental-enabled) .experimental-option, #performance-options-menupopup:not(.experimental-enabled) .experimental-option::before { display: none;