From ae90b72699c950271ad0c094c320970e701135fc Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sun, 17 May 2015 21:05:45 +0200 Subject: [PATCH] first part of syncing LCARStrek with Firefox 39 windows theme changes --- LCARStrek/browser/browser.css | 7 +++- .../browser/customizableui/panelUIOverlay.css | 12 ++++--- LCARStrek/browser/devtools/canvasdebugger.css | 6 ++-- LCARStrek/browser/devtools/performance.css | 33 +++++++++++++++++-- LCARStrek/browser/devtools/profiler.css | 2 -- LCARStrek/browser/devtools/widgets.css | 4 +++ 6 files changed, 49 insertions(+), 15 deletions(-) diff --git a/LCARStrek/browser/browser.css b/LCARStrek/browser/browser.css index 7039ca81..1e3c1b76 100644 --- a/LCARStrek/browser/browser.css +++ b/LCARStrek/browser/browser.css @@ -4954,13 +4954,17 @@ notification.pluginVulnerable .messageImage { #customization-titlebar-visibility-button { list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle.png"); -moz-image-region: rect(0, 16px, 16px, 0); - padding: 0px 5px; } #customization-titlebar-visibility-button:hover { -moz-image-region: rect(16px, 16px, 32px, 0); } +#customization-lwtheme-button, +#customization-titlebar-visibility-button { + padding: 0px 5px; +} + #customization-titlebar-visibility-button > .button-box { padding-top: 0; padding-bottom: 1px; @@ -4971,6 +4975,7 @@ notification.pluginVulnerable .messageImage { padding-bottom: 0; } +#customization-lwtheme-button > .box-inherit > .box-inherit > .button-text, #customization-titlebar-visibility-button > .button-box > .button-text { /* Sadly, button.css thinks its margins are perfect for everyone. */ -moz-margin-start: 5px !important; diff --git a/LCARStrek/browser/customizableui/panelUIOverlay.css b/LCARStrek/browser/customizableui/panelUIOverlay.css index fdf63e9a..f29780c5 100644 --- a/LCARStrek/browser/customizableui/panelUIOverlay.css +++ b/LCARStrek/browser/customizableui/panelUIOverlay.css @@ -1400,12 +1400,14 @@ toolbarbutton.social-provider-menuitem > .toolbarbutton-icon { } menu.subviewbutton > .menu-right { - list-style-image: url("chrome://global/skin/menu/menu-arrow.gif"); + list-style-image: url("chrome://global/skin/menu/menu-arrow.svg#arrow); + /* Reset the rect we inherit from the button: */ + -moz-image-region: auto; } -menu.subviewbutton:hover > .menu-right, -menu.subviewbutton[_moz-menuactive="true"] > .menu-right { - list-style-image: url("chrome://global/skin/menu/menu-arrow-hover.gif"); +menu.subviewbutton:not([disabled="true"]):hover > .menu-right, +menu.subviewbutton:not([disabled="true"])[_moz-menuactive="true"] > .menu-right { + list-style-image: url("chrome://global/skin/menu/menu-arrow.svg#arrow-hover"); } menu[disabled="true"].subviewbutton > .menu-right { - list-style-image: url("chrome://global/skin/menu/menu-arrow-disabled.gif"); + list-style-image: url("chrome://global/skin/menu/menu-arrow.svg#arrow-disabled"); } diff --git a/LCARStrek/browser/devtools/canvasdebugger.css b/LCARStrek/browser/devtools/canvasdebugger.css index b852703a..b899dccc 100644 --- a/LCARStrek/browser/devtools/canvasdebugger.css +++ b/LCARStrek/browser/devtools/canvasdebugger.css @@ -6,7 +6,6 @@ .notice-container { margin-top: -50vh; - font-size: 120%; background-color: var(--theme-toolbar-background); color: var(--theme-body-color); } @@ -22,9 +21,8 @@ display: none; } -#import-notice { - font-size: 250%; - color: #FFCF00; +#waiting-notice { + font-size: 110%; } /* Snapshots pane */ diff --git a/LCARStrek/browser/devtools/performance.css b/LCARStrek/browser/devtools/performance.css index 3e28dafb..4a100824 100644 --- a/LCARStrek/browser/devtools/performance.css +++ b/LCARStrek/browser/devtools/performance.css @@ -19,6 +19,10 @@ -moz-border-end-color: var(--theme-splitter-color); } +#performance-toolbar-control-other { + -moz-padding-end: 5px; +} + #performance-toolbar-controls-detail-views > toolbarbutton { min-width: 0; } @@ -52,6 +56,31 @@ border-radius: 1px; } +#filter-button { + list-style-image: url(timeline-filter.svg#filter); + min-width: 24px; +} + +#filter-button[disabled] { + list-style-image: url(timeline-filter.svg#filter-disabled); +} + +#filter-button[open] { + list-style-image: url(timeline-filter.svg#filter-open); +} + +#performance-filter-menupopup > menuitem:before { + content: ""; + display: block; + width: 8px; + height: 8px; + margin: 0 8px; + border: 1px solid; + border-radius: 1px; + background-color: var(--bullet-bg); + border-color: var(--bullet-border); +} + /* Recording Notice */ #performance-view .notice-container { @@ -143,8 +172,6 @@ overflow: auto; } -.call-tree-cells-container[allocations-hidden] .call-tree-cell[type="allocations"], -.call-tree-cells-container[allocations-hidden] .call-tree-cell[type="self-allocations"], .call-tree-cells-container[categories-hidden] .call-tree-category { display: none; } @@ -178,7 +205,7 @@ .call-tree-cell[type="allocations"], .call-tree-header[type="self-allocations"], .call-tree-cell[type="self-allocations"] { - width: 7vw; + width: 9vw; } .call-tree-header[type="function"], diff --git a/LCARStrek/browser/devtools/profiler.css b/LCARStrek/browser/devtools/profiler.css index 1144440e..8438726e 100644 --- a/LCARStrek/browser/devtools/profiler.css +++ b/LCARStrek/browser/devtools/profiler.css @@ -193,8 +193,6 @@ window { overflow: auto; } -.call-tree-cells-container[allocations-hidden] .call-tree-cell[type="allocations"], -.call-tree-cells-container[allocations-hidden] .call-tree-cell[type="self-allocations"], .call-tree-cells-container[categories-hidden] .call-tree-category { display: none; } diff --git a/LCARStrek/browser/devtools/widgets.css b/LCARStrek/browser/devtools/widgets.css index 62f3b365..75db1d04 100644 --- a/LCARStrek/browser/devtools/widgets.css +++ b/LCARStrek/browser/devtools/widgets.css @@ -807,6 +807,10 @@ cursor: col-resize; } +.graph-widget-canvas[input=adjusting-view-area] { + cursor: grabbing; +} + .graph-widget-canvas[input=hovering-selection-contents] { cursor: grab; } -- 2.43.0