X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fdevtools%2Fperformance.css;h=c60aa5200a5ca65403d6e735e3da5e8b8218d1df;hp=8ac95bc61b860c73938f5d033b3b22b0c4fea4c5;hb=b1d1a8bbaca0a31b2c2581911368b6892d447718;hpb=d0a8de80597f65fb17a8508078deae45f0ae80d4 diff --git a/LCARStrek/devtools/performance.css b/LCARStrek/devtools/performance.css index 8ac95bc6..c60aa520 100644 --- a/LCARStrek/devtools/performance.css +++ b/LCARStrek/devtools/performance.css @@ -11,7 +11,14 @@ --focus-cell-border-color: #9C9CFF; --row-alt-background-color: #403400; --row-hover-background-color: #544400; - --filter-image: url(chrome://devtools/skin/images/timeline-filter.svg); +} + +/* + * DE-XUL: Set a sidebar width because inline XUL components will cause the flex + * to overflow if dynamically sized. + */ +.performance-tool { + --sidebar-width: 185px; } /** @@ -27,19 +34,19 @@ /* Toolbar */ #performance-toolbar-control-other { - -moz-padding-end: 5px; + padding-inline-end: 5px; } #performance-toolbar-controls-detail-views .toolbarbutton-text { - -moz-padding-start: 4px; - -moz-padding-end: 8px; + padding-inline-start: 4px; + padding-inline-end: 8px; } #filter-button { - list-style-image: var(--filter-image); + list-style-image: url(images/filter.svg); } -#performance-filter-menupopup > menuitem:before { +#performance-filter-menupopup > menuitem .menu-iconic-left::after { content: ""; display: block; width: 8px; @@ -70,8 +77,36 @@ /* Recording buttons */ -#main-record-button { - list-style-image: url(images/profiler-stopwatch.svg); +#recordings-controls { +/* background-color: #9C9CFF;*/ + display: flex; +} + +#recording-controls-mount, +#recording-controls-mount > div, +#recording-controls-mount > div > .devtools-toolbar { + display: flex; + flex: 1 1 auto; +} + +#clear-button::before { + background-image: var(--clear-icon-url); +} + +#main-record-button::before { + background-image: url(images/profiler-stopwatch-tbutton.svg); +} + +#import-button::before { + background-image: url(images/import.svg); +} + +#main-record-button .button-icon, #import-button .button-icon { + margin: 0; +} + +#main-record-button .button-text, #import-button .button-text { + display: none; } #main-record-button .button-icon { @@ -86,21 +121,32 @@ padding: 5px !important; } -.notice-container .record-button[checked], -.notice-container .record-button[checked] { +.notice-container .record-button.checked, +.notice-container .record-button.checked { color: var(--theme-selection-color) !important; background: var(--theme-selection-background) !important; } -.record-button[locked] { - pointer-events: none; - opacity: 0.5; -} - /* Sidebar & recording items */ #recordings-pane { border-inline-end: 1px solid var(--theme-splitter-color); + width: var(--sidebar-width); +} + +#recording-controls-mount { + width: var(--sidebar-width); +} + +#recording-controls-mount > div { + width: var(--sidebar-width); +} + +/* + * DE-XUL: The height of the toolbar is not correct without tweaking the line-height. + */ +#recordings-pane .devtools-toolbar { + line-height: 0; } #recordings-list { @@ -255,13 +301,13 @@ text-overflow: ellipsis; padding: 1px 4px; color: var(--theme-body-color); - -moz-border-end-color: var(--cell-border-color); + border-inline-end-color: var(--cell-border-color); } .call-tree-header:not(:last-child), .call-tree-cell:not(:last-child) { - -moz-border-end-width: 1px; - -moz-border-end-style: solid; + border-inline-end-width: 1px; + border-inline-end-style: solid; } .call-tree-header:not(:last-child) { @@ -309,7 +355,7 @@ } .call-tree-item:focus .call-tree-cell { - -moz-border-end-color: var(--focus-cell-border-color); + border-inline-end-color: var(--focus-cell-border-color); } .call-tree-item:not([origin="content"]) .call-tree-name, @@ -321,7 +367,7 @@ } .call-tree-name { - -moz-margin-end: 4px !important; + margin-inline-end: 4px !important; } .call-tree-url { @@ -346,7 +392,7 @@ } .call-tree-host { - -moz-margin-start: 8px !important; + margin-inline-start: 8px !important; font-size: 90%; color: var(--theme-content-color2); } @@ -377,7 +423,7 @@ } .waterfall-header-tick:not(:first-child) { - -moz-margin-start: -100px !important; /* Don't affect layout. */ + margin-inline-start: -100px !important; /* Don't affect layout. */ } .waterfall-background-ticks { @@ -448,7 +494,7 @@ */ .waterfall-sidebar { - -moz-border-end: 1px solid var(--cell-border-color); + border-inline-end: 1px solid var(--cell-border-color); } .waterfall-tree-item > .waterfall-sidebar:hover, @@ -460,8 +506,8 @@ .waterfall-marker-bullet { width: 8px; height: 8px; - -moz-margin-start: 8px; - -moz-margin-end: 6px; + margin-inline-start: 8px; + margin-inline-end: 6px; border-radius: 1px; } @@ -487,7 +533,7 @@ .waterfall-marker > .theme-twisty { /* Don't affect layout. */ width: 14px; - -moz-margin-end: -14px; + margin-inline-end: -14px; } /** @@ -506,8 +552,8 @@ */ #waterfall-details { - -moz-padding-start: 8px; - -moz-padding-end: 8px; + padding-inline-start: 8px; + padding-inline-end: 8px; padding-top: 2vh; overflow: auto; min-width: 50px; @@ -524,7 +570,7 @@ } .marker-details-name-label { - -moz-padding-end: 4px; + padding-inline-end: 4px; } .marker-details-type { @@ -545,52 +591,52 @@ * Marker colors */ -menuitem.marker-color-graphs-full-red:before, +menuitem.marker-color-graphs-full-red .menu-iconic-left::after, .marker-color-graphs-full-red { background-color: var(--theme-graphs-full-red); border-color: var(--theme-graphs-full-red); } -menuitem.marker-color-graphs-full-blue:before, +menuitem.marker-color-graphs-full-blue .menu-iconic-left::after, .marker-color-graphs-full-blue { background-color: var(--theme-graphs-full-blue); border-color: var(--theme-graphs-full-blue); } -menuitem.marker-color-graphs-green:before, +menuitem.marker-color-graphs-green .menu-iconic-left::after, .marker-color-graphs-green { background-color: var(--theme-graphs-green); border-color: var(--theme-graphs-green); } -menuitem.marker-color-graphs-blue:before, +menuitem.marker-color-graphs-blue .menu-iconic-left::after, .marker-color-graphs-blue { background-color: var(--theme-graphs-blue); border-color: var(--theme-graphs-blue); } -menuitem.marker-color-graphs-bluegrey:before, +menuitem.marker-color-graphs-bluegrey .menu-iconic-left::after, .marker-color-graphs-bluegrey { background-color: var(--theme-graphs-bluegrey); border-color: var(--theme-graphs-bluegrey); } -menuitem.marker-color-graphs-purple:before, +menuitem.marker-color-graphs-purple .menu-iconic-left::after, .marker-color-graphs-purple { background-color: var(--theme-graphs-purple); border-color: var(--theme-graphs-purple); } -menuitem.marker-color-graphs-yellow:before, +menuitem.marker-color-graphs-yellow .menu-iconic-left::after, .marker-color-graphs-yellow { background-color: var(--theme-graphs-yellow); border-color: var(--theme-graphs-yellow); } -menuitem.marker-color-graphs-orange:before, +menuitem.marker-color-graphs-orange .menu-iconic-left::after, .marker-color-graphs-orange { background-color: var(--theme-graphs-orange); border-color: var(--theme-graphs-orange); } -menuitem.marker-color-graphs-red:before, +menuitem.marker-color-graphs-red .menu-iconic-left::after, .marker-color-graphs-red { background-color: var(--theme-graphs-red); border-color: var(--theme-graphs-red); } -menuitem.marker-color-graphs-grey:before, +menuitem.marker-color-graphs-grey .menu-iconic-left::after, .marker-color-graphs-grey{ background-color: var(--theme-graphs-grey); border-color: var(--theme-graphs-grey);