X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Fperformance.css;h=3583d718087f02c54953e675ba57df2454b975b5;hp=b53bda6e522f61873af6d5069bc9abf24f23f6e2;hb=d74db93877c7a404babddcf7b0523fa2b1f6f2bf;hpb=a5cb6e534c9872ab3dc646ab44fa35b61775537d diff --git a/LCARStrek/browser/devtools/performance.css b/LCARStrek/browser/devtools/performance.css index b53bda6e..3583d718 100644 --- a/LCARStrek/browser/devtools/performance.css +++ b/LCARStrek/browser/devtools/performance.css @@ -97,31 +97,91 @@ text-align: center; } +.console-profile-command { + font-family: monospace; + margin: 3px 2px; +} + +#performance-view .realtime-message { + opacity: 0.5; + display: block; +} + +#performance-view toolbarbutton.record-button { + padding: 5px; +} + +#performance-view toolbarbutton.record-button[checked], +#performance-view toolbarbutton.record-button[checked] { + color: var(--theme-selection-color); + background: var(--theme-selection-background); +} + +#performance-view .realtime-disabled-message, +#performance-view .realtime-disabled-on-e10s-message { + display: none; + /* This label does not want to wrap naturally (based on some combination of + it's parents and flex). Quick and dirty way to force it to wrap -> don't + let it get bigger than half the screen size */ + max-width: 60vw; +} + +#performance-view[e10s="disabled"] .realtime-disabled-on-e10s-message { + display: block; + opacity: 0.5; + +} +#performance-view[e10s="unsupported"] .realtime-disabled-message { + display: block; + opacity: 0.5; +} + +#details-pane-container .buffer-status-message, +#details-pane-container .buffer-status-message-full { + display: none; +} + +#details-pane-container[buffer-status="in-progress"] .buffer-status-message { + display: block; + opacity: 0.5; +} + +#details-pane-container[buffer-status="full"] .buffer-status-message { + display: block; + color: var(--theme-highlight-red); + font-weight: bold; + opacity: 1; +} + +#details-pane-container[buffer-status="full"] .buffer-status-message-full { + display: block; +} + /* Overview Panel */ -.record-button { +#main-record-button { list-style-image: url(profiler-stopwatch-tbutton.svg); } #empty-notice > .record-button, -.record-button:hover, -.record-button:hover:active { +#main-record-button:hover, +#main-record-button:hover:active { list-style-image: url(profiler-stopwatch.svg); } -.record-button[checked] { +#main-record-button[checked] { list-style-image: url(profiler-stopwatch-checked.svg); } -.record-button[locked] { +#main-record-button[locked] { pointer-events: none; } -.record-button .button-icon { +#main-record-button .button-icon { margin: 0; } -.record-button .button-text { +#main-record-button .button-text { display: none; } @@ -273,8 +333,11 @@ opacity: 0.6; } +.call-tree-name { + -moz-margin-end: 4px !important; +} + .call-tree-url { - -moz-margin-start: 4px !important; cursor: pointer; } @@ -301,14 +364,6 @@ color: var(--theme-content-color2); } -.call-tree-name[value=""], -.call-tree-url[value=""], -.call-tree-line[value=""], -.call-tree-column[value=""], -.call-tree-host[value=""] { - display: none; -} - .call-tree-zoom { -moz-appearance: none; background-color: transparent; @@ -329,7 +384,7 @@ background-image: url(magnifying-glass-light.png); } -@media (min-resolution: 2dppx) { +@media (min-resolution: 1.25dppx) { .theme-dark .call-tree-zoom { background-image: url(magnifying-glass@2x.png); } @@ -441,20 +496,12 @@ color: var(--theme-selection-color); } -.waterfall-marker-location { - color: #3333FF; -} - -.waterfall-marker-location:hover, -.waterfall-marker-location:focus { - text-decoration: underline; -} - #waterfall-details { -moz-padding-start: 8px; -moz-padding-end: 8px; padding-top: 2vh; overflow: auto; + min-width: 50px; } .marker-details-bullet { @@ -463,35 +510,34 @@ border-radius: 1px; } -#performance-filter-menupopup > menuitem.highlight-pink:before, -.marker-details-bullet.highlight-pink, -.waterfall-marker-bar.highlight-pink, -.waterfall-marker-bullet.highlight-pink { - background-color: var(--theme-highlight-pink); +menuitem.marker-color-graphs-purple:before, +.marker-color-graphs-purple { + background-color: var(--theme-graphs-purple); +} + +menuitem.marker-color-graphs-grey:before, +.marker-color-graphs-grey{ + background-color: var(--theme-graphs-grey); } -#performance-filter-menupopup > menuitem.highlight-bluegrey:before, -.marker-details-bullet.highlight-bluegrey, -.waterfall-marker-bar.highlight-bluegrey, -.waterfall-marker-bullet.highlight-bluegrey { - background-color: var(--theme-highlight-bluegrey); + +menuitem.marker-color-graphs-green:before, +.marker-color-graphs-green { + background-color: var(--theme-graphs-green); } -#performance-filter-menupopup > menuitem.highlight-green:before, -.marker-details-bullet.highlight-green, -.waterfall-marker-bar.highlight-green, -.waterfall-marker-bullet.highlight-green { - background-color: var(--theme-highlight-green); + +menuitem.marker-color-graphs-yellow:before, +.marker-color-graphs-yellow { + background-color: var(--theme-graphs-yellow); } -#performance-filter-menupopup > menuitem.highlight-lightorange:before, -.marker-details-bullet.highlight-lightorange, -.waterfall-marker-bar.highlight-lightorange, -.waterfall-marker-bullet.highlight-lightorange { - background-color: var(--theme-highlight-lightorange); + +menuitem.marker-color-graphs-red:before, +.marker-color-graphs-red { + background-color: var(--theme-graphs-red); } -#performance-filter-menupopup > menuitem.highlight-red:before, -.marker-details-bullet.highlight-red, -.waterfall-marker-bar.highlight-red, -.waterfall-marker-bullet.highlight-red { - background-color: var(--theme-highlight-red); + +menuitem.marker-color-graphs-blue:before, +.marker-color-graphs-blue { + background-color: var(--theme-graphs-blue); } #waterfall-details > * { @@ -687,7 +733,7 @@ call-tree-item:not([origin="content"]) .call-tree-line { background-image: url(magnifying-glass.png); } -@media (min-resolution: 2dppx) { +@media (min-resolution: 1.25dppx) { .call-tree-zoom { background-image: url(magnifying-glass@2x.png); } @@ -754,11 +800,6 @@ call-tree-item:not([origin="content"]) .call-tree-line { font-weight: 600; } -#jit-optimizations-view .opt-ion-type-site { - -moz-margin-start: 4px !important; - opacity: 0.6; -} - #jit-optimizations-view .opt-outcome::before { content: "→"; margin: 4px 0px; @@ -822,8 +863,40 @@ call-tree-item:not([origin="content"]) .call-tree-line { background-position: -16px -16px; } -@media (min-resolution: 2dppx) { +@media (min-resolution: 1.25dppx) { #jit-optimizations-view .opt-icon::before { background-image: url(chrome://browser/skin/devtools/webconsole@2x.png); } } + +/** + * Configurable Options + * + * Elements can be tagged with a class and visibility is controlled via a preference being + * applied or removed. + */ + +/** + * devtools.performance.ui.experimental + */ +menuitem.experimental-option::before { + content: ""; + background-image: url(chrome://browser/skin/devtools/webconsole.png); + background-repeat: no-repeat; + background-size: 48px 40px; + margin: 2px 5px 0 0; + width: 8px; + height: 8px; + max-height: 8px; + 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); + } +} +#performance-options-menupopup:not(.experimental-enabled) .experimental-option, +#performance-options-menupopup:not(.experimental-enabled) .experimental-option::before { + display: none; +}