From 676f00918ee7482a23e0237d4ad6847be134b979 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sun, 8 Jul 2012 23:17:41 +0200 Subject: [PATCH] sync LCARStrek with parts of browser winstripe changes in Firefox 14 --- LCARStrek/browser/browser.css | 74 ++++++++++++++++--------------- LCARStrek/browser/webapps-16.png | Bin 193 -> 204 bytes LCARStrek/browser/webapps-64.png | Bin 381 -> 349 bytes 3 files changed, 38 insertions(+), 36 deletions(-) diff --git a/LCARStrek/browser/browser.css b/LCARStrek/browser/browser.css index da4eff2f..c905ee5f 100644 --- a/LCARStrek/browser/browser.css +++ b/LCARStrek/browser/browser.css @@ -117,9 +117,9 @@ menubar { visibility: visible; } -#navigator-toolbox[tabsontop="true"] > #nav-bar, -#navigator-toolbox[tabsontop="true"]:not([customizing]) > #nav-bar[collapsed="true"] + toolbar, -#navigator-toolbox[tabsontop="true"]:not([customizing]) > #nav-bar[collapsed="true"] + #customToolbars + #PersonalToolbar { +#nav-bar[tabsontop="true"], +#nav-bar[tabsontop="true"][collapsed="true"]:not([customizing]) + toolbar, +#nav-bar[tabsontop="true"][collapsed="true"]:not([customizing]) + #customToolbars + #PersonalToolbar { /* background-image: -moz-linear-gradient(@toolbarHighlight@, rgba(255,255,255,0)); */ } @@ -709,7 +709,9 @@ toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button { border-bottom-left-radius: 0; } -#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button { +window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > + :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > + #unified-back-forward-button > #back-button { border-radius: 10000px; width: 30px; height: 30px; @@ -721,20 +723,32 @@ toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button { -moz-image-region: rect(54px, 20px, 74px, 0); } -#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not([disabled="true"]):hover, -#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button[open="true"] { +window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > + :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > + #unified-back-forward-button > #back-button:not([disabled="true"]):hover, +window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > + :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > + #unified-back-forward-button > #back-button[open="true"] { -moz-image-region: rect(54px, 40px, 74px, 20px); } -#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button[disabled="true"] { +window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > + :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > + #unified-back-forward-button > #back-button[disabled="true"] { -moz-image-region: rect(54px, 60px, 74px, 40px); } -#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover { +window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > + :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > + #unified-back-forward-button > #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover { } -#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not([disabled="true"]):hover:active, -#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button[open="true"] { +window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > + :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > + #unified-back-forward-button > #back-button:not([disabled="true"]):hover:active, +window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > + :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > + #unified-back-forward-button > #back-button[open="true"] { } #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar[currentset*="unified-back-forward-button"], @@ -748,7 +762,9 @@ toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button { /* padding-top: 5px; */ } -#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button { +window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > + :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > + #unified-back-forward-button > #forward-button { /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */ mask: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-mask"); -moz-margin-start: -6px !important; @@ -758,17 +774,23 @@ toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button { margin-bottom: 2px; } -#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button:-moz-locale-dir(ltr) { +window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > + :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > + #unified-back-forward-button > #forward-button:-moz-locale-dir(ltr) { border-top-right-radius: 11px; border-bottom-right-radius: 11px; } -#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button:-moz-locale-dir(rtl) { +window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > + :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > + #unified-back-forward-button > #forward-button:-moz-locale-dir(rtl) { border-top-left-radius: 11px; border-bottom-left-radius: 11px; } -#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button:not([disabled="true"]):not(:active):hover { +window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > + :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > + #unified-back-forward-button > #forward-button:not([disabled="true"]):not(:active):hover { /*mask: url(keyhole-forward-mask.svg#mask-hover);*/ mask: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-mask-hover"); } @@ -1075,27 +1097,6 @@ window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icon -moz-image-region: rect(0, 306px, 18px, 288px); } -#nav-bar #zoom-out-button { - -moz-margin-end: 0; -} - -#nav-bar #zoom-in-button { - -moz-border-start: none; - -moz-margin-start: 0; -} - -#nav-bar #zoom-out-button:-moz-locale-dir(ltr), -#nav-bar #zoom-in-button:-moz-locale-dir(rtl) { - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} - -#nav-bar #zoom-out-button:-moz-locale-dir(rtl), -#nav-bar #zoom-in-button:-moz-locale-dir(ltr) { - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} - #zoom-out-button:not([disabled="true"]):hover { -moz-image-region: rect(18px, 288px, 36px, 270px); } @@ -2110,7 +2111,8 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] { .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-complete"] { +.popup-notification-icon[popupid="addon-install-complete"], +.popup-notification-icon[popupid="click-to-play-plugins"] { list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); width: 32px; height: 32px; diff --git a/LCARStrek/browser/webapps-16.png b/LCARStrek/browser/webapps-16.png index 8c55742a5f9dcacfdbcdedbbc27fe5765ccaadfc..8e5ec015cecde2ec7b34b0d6b45e591357a5a8f6 100644 GIT binary patch delta 134 zcmX@ec!qI;gf$Z5Jv!w^C zj3B$*<+a5QKw))H7sn8e>&XcW%wnu;JGt1nB?Y3LnhvgOb3E46c#=`&L^wmz0S1QH X7UrjpW>=>GwJ>0002j2boO(0004VQb$4nuFf3k0000CP)t-sWi4m_005kv z|NqYb;K>-Mkw7_r2M84o6W(l(zyJUMy-7qtR5;7s(lH9dFboAy2b0-T&SM|JLwreh z=n?Akbn;w8)reF?62xuSYRkiX1@WCbna~YHFo3APJz~=lh-3bKL-kK6ql#`%l^c0000< LMFvhpu0mjfnOcl? -- 2.43.0