From 05148fedf8e9b1fa26d0ce0b22403289571a207b Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Fri, 29 May 2015 18:34:19 +0200 Subject: [PATCH] second part of syncing LCARStrek with Firefox 39 windows theme changes --- LCARStrek/browser/browser.css | 60 ++++++------------- LCARStrek/browser/devtools/debugger.css | 12 ++++ LCARStrek/browser/devtools/ruleview.css | 16 +++++ LCARStrek/browser/newtab/newTab.css | 1 + .../in-content/default-profile-image.svg | 9 +++ .../preferences/in-content/preferences.css | 5 ++ 6 files changed, 61 insertions(+), 42 deletions(-) create mode 100644 LCARStrek/browser/preferences/in-content/default-profile-image.svg diff --git a/LCARStrek/browser/browser.css b/LCARStrek/browser/browser.css index 1e3c1b76..e964117c 100644 --- a/LCARStrek/browser/browser.css +++ b/LCARStrek/browser/browser.css @@ -656,6 +656,7 @@ menuitem.bookmark-item { -moz-image-region: rect(0, 288px, 18px, 270px); } +#feed-button[cui-areatype="menu-panel"][panel-multiview-anchor=true], #feed-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) { -moz-image-region: rect(18px, 288px, 36px, 270px); } @@ -2712,7 +2713,7 @@ toolbarbutton[type="socialmark"] > .toolbarbutton-icon { } /* The selected tab should appear above adjacent tabs, .tabs-newtab-button and the highlight of #nav-bar */ -.tabbrowser-tab[selected=true] { +.tabbrowser-tab[visuallyselected=true] { /* position: relative; z-index: 2;*/ } @@ -2812,15 +2813,15 @@ toolbarbutton[type="socialmark"] > .toolbarbutton-icon { .tabbrowser-arrowscrollbox > .arrowscrollbox-overflow-end-indicator { } -.tab-background-start[selected=true]::after, -.tab-background-start[selected=true]::before, +.tab-background-start[visuallyselected=true]::after, +.tab-background-start[visuallyselected=true]::before, .tab-background-start, .tab-background-end, -.tab-background-end[selected=true]::after, -.tab-background-end[selected=true]::before { +.tab-background-end[visuallyselected=true]::after, +.tab-background-end[visuallyselected=true]::before { } -.tabbrowser-tab:not([selected=true]), +.tabbrowser-tab:not([visuallyselected=true]), .tabbrowser-tab:-moz-lwtheme { } @@ -2831,7 +2832,7 @@ toolbarbutton[type="socialmark"] > .toolbarbutton-icon { /* Selected tab */ -.tabbrowser-tab[selected="true"] { +.tabbrowser-tab[visuallyselected="true"] { } /* End selected tab */ @@ -2874,7 +2875,7 @@ toolbarbutton[type="socialmark"] > .toolbarbutton-icon { * of the window (e.g. no menubar, tabs in titlebar, etc.) to make it easier to drag the window by * the titlebar. We don't need this in fullscreen since window dragging is not an issue there. */ -#main-window[tabsintitlebar][sizemode=normal] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar .tab-background-middle:not([selected=true]) { +#main-window[tabsintitlebar][sizemode=normal] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar .tab-background-middle:not([visuallyselected=true]) { /* clip-path: url(chrome://browser/content/browser.xul#tab-hover-clip-path);*/ } @@ -3188,9 +3189,9 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] { .popup-notification-icon[popupid="xpinstall-disabled"], .popup-notification-icon[popupid="addon-progress"], -.popup-notification-icon[popupid="addon-install-cancelled"], .popup-notification-icon[popupid="addon-install-blocked"], .popup-notification-icon[popupid="addon-install-failed"], +.popup-notification-icon[popupid="addon-install-confirmation"], .popup-notification-icon[popupid="addon-install-complete"] { list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); width: 32px; @@ -3205,45 +3206,13 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] { list-style-image: url("chrome://browser/skin/notification-64.png"); } -.addon-progress-description { - width: 350px; - max-width: 350px; -} - -.popup-progress-label, -.popup-progress-meter { - -moz-margin-start: 0; - -moz-margin-end: 0; -} - -.popup-progress-cancel { - -moz-appearance: none; - background: transparent; - border: none; - padding: 0; - margin: 0; - min-height: 0; - min-width: 0; - list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png"); - -moz-image-region: rect(0px, 32px, 16px, 16px); -} - -.popup-progress-cancel:hover { - -moz-image-region: rect(16px, 32px, 32px, 16px); -} - -.popup-progress-cancel:active { - -moz-image-region: rect(32px, 32px, 48px, 16px); -} - .popup-notification-icon[popupid="indexedDB-permissions-prompt"], .popup-notification-icon[popupid*="offline-app-requested"], .popup-notification-icon[popupid="offline-app-usage"] { list-style-image: url("chrome://global/skin/icons/alert-question.gif"); } -.popup-notification-icon[popupid="password-save"], -.popup-notification-icon[popupid="password-change"] { +.popup-notification-icon[popupid="password"] { list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png"); } @@ -4981,6 +4950,13 @@ notification.pluginVulnerable .messageImage { -moz-margin-start: 5px !important; } +#customization-lwtheme-button > .box-inherit > .box-inherit > .button-icon { + width: 20px; + height: 20px; + border-radius: 2px; + background-size: contain; +} + #customization-titlebar-visibility-button > .button-box > .button-icon { vertical-align: middle; } diff --git a/LCARStrek/browser/devtools/debugger.css b/LCARStrek/browser/devtools/debugger.css index 89c6e02c..217e916b 100644 --- a/LCARStrek/browser/devtools/debugger.css +++ b/LCARStrek/browser/devtools/debugger.css @@ -18,6 +18,18 @@ window { -moz-border-end-color: var(--theme-splitter-color); } +.dbg-breakpoint-condition-thrown-message { + display: none; + color: var(--theme-highlight-red); +} + +.dbg-breakpoint.dbg-breakpoint-condition-thrown .dbg-breakpoint-condition-thrown-message { + display: block; + -moz-padding-start: 0; +} + +/* Sources toolbar */ + #sources-toolbar > .devtools-toolbarbutton, #sources-controls > .devtools-toolbarbutton { min-width: 32px; diff --git a/LCARStrek/browser/devtools/ruleview.css b/LCARStrek/browser/devtools/ruleview.css index ff7b22a3..813ce7f8 100644 --- a/LCARStrek/browser/devtools/ruleview.css +++ b/LCARStrek/browser/devtools/ruleview.css @@ -219,3 +219,19 @@ .ruleview-selector-separator, .ruleview-selector-unmatched { color: #8050B0; } + +.ruleview-selectorhighlighter { + background: url("chrome://browser/skin/devtools/vview-open-inspector.png") no-repeat 0 0; + padding-left: 16px; + margin-left: 5px; + cursor: pointer; +} + +.ruleview-selectorhighlighter:hover { + background-position: -32px 0; +} + +.ruleview-selectorhighlighter:active, +.ruleview-selectorhighlighter.highlighted { + background-position: -16px 0; +} diff --git a/LCARStrek/browser/newtab/newTab.css b/LCARStrek/browser/newtab/newTab.css index e39aa427..837fe327 100644 --- a/LCARStrek/browser/newtab/newTab.css +++ b/LCARStrek/browser/newtab/newTab.css @@ -169,6 +169,7 @@ background-color: #FF9F00; border: 0; } + .newtab-site:hover .newtab-title { background-color: #FFCF00; } diff --git a/LCARStrek/browser/preferences/in-content/default-profile-image.svg b/LCARStrek/browser/preferences/in-content/default-profile-image.svg new file mode 100644 index 00000000..79032c0b --- /dev/null +++ b/LCARStrek/browser/preferences/in-content/default-profile-image.svg @@ -0,0 +1,9 @@ + + + + + + + diff --git a/LCARStrek/browser/preferences/in-content/preferences.css b/LCARStrek/browser/preferences/in-content/preferences.css index 373ea31d..9e996f04 100644 --- a/LCARStrek/browser/preferences/in-content/preferences.css +++ b/LCARStrek/browser/preferences/in-content/preferences.css @@ -255,6 +255,11 @@ treecol { margin-right: 4px !important; } +#defaultFontSizeLabel { + /* !important needed to override common !important rule */ + -moz-margin-start: 4px !important; +} + /* Applications Pane Styles */ #applicationsContent { -- 2.43.0