From: Robert Kaiser Date: Fri, 2 Dec 2011 23:21:14 +0000 (+0100) Subject: adapt to Firefox 9 changes in stop/go/reload buttons X-Git-Tag: LCARStrek-2.6~4 X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=ffce24020ca33d973458a650856e06f3d9923de1;p=themes.git adapt to Firefox 9 changes in stop/go/reload buttons --- diff --git a/LCARStrek/browser/browser.css b/LCARStrek/browser/browser.css index d545a150..f37c8e3f 100644 --- a/LCARStrek/browser/browser.css +++ b/LCARStrek/browser/browser.css @@ -1135,12 +1135,6 @@ toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button { /* ::::: Location Bar ::::: */ -#urlbar { - width: 7em; - min-width: 7em; - color: #FFBFFF; -} - #urlbar, .searchbar-textbox { border-radius: 5px; @@ -1148,6 +1142,12 @@ toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button { -moz-margin-start: 3px; } +#urlbar { + width: 7em; + min-width: 7em; + -moz-padding-end: 2px; +} + #urlbar:-moz-lwtheme, .searchbar-textbox:-moz-lwtheme { /* background-color: rgba(255,255,255,.8); @@ -1175,12 +1175,16 @@ html|*.urlbar-input:-moz-lwtheme:-moz-placeholder, } #urlbar-icons { - height: 18px; -moz-box-align: center; } .urlbar-icon { - padding: 0 2px !important; + padding: 3px 3px; +} + +.searchbar-engine-button, +.search-go-container { + padding: 2px 2px; } .urlbar-icon:-moz-system-metric(touch-enabled) { @@ -1188,6 +1192,13 @@ html|*.urlbar-input:-moz-lwtheme:-moz-placeholder, padding: 0 3px !important; } +.urlbar-icon:hover { +} + +.urlbar-icon[open="true"], +.urlbar-icon:hover:active { +} + #urlbar-search-splitter { min-width: 6px; -moz-margin-start: -3px; @@ -1263,6 +1274,13 @@ html|*.urlbar-input:-moz-lwtheme:-moz-placeholder, border-radius: 0px; } +.urlbar-history-dropmarker:hover { +} + +.urlbar-history-dropmarker:hover:active, +.urlbar-history-dropmarker[open="true"] { +} + /* page proxy icon */ #page-proxy-favicon, @@ -1356,33 +1374,23 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action- border-top: 1px solid #9C9CFF; } -/* go button */ - -#go-button { - list-style-image: url("chrome://browser/skin/Go-arrow.png"); - -moz-image-region: rect(0px, 16px, 16px, 0px); -} - -#go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { - -moz-transform: scaleX(-1); -} - -#go-button:hover { - -moz-image-region: rect(16px, 16px, 32px, 0px); -} - /* combined go/reload/stop button in location bar */ +#go-button, #urlbar > toolbarbutton { list-style-image: url("chrome://browser/skin/reload-stop-go.png"); /* margin: -2px; */ -moz-margin-start: 0; - padding: 0 3px; + padding: 0 2px; background-origin: border-box; border: none; -moz-border-start: 1px solid #9C9CFF; } +#go-button { + padding: 0 3px; +} + #urlbar:-moz-locale-dir(ltr) > toolbarbutton { border-top-left-radius: 0px; border-bottom-left-radius: 0px; @@ -1403,31 +1411,37 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action- } #urlbar-go-button { - -moz-image-region: rect(0px, 56px, 14px, 42px); + -moz-image-region: rect(0, 42px, 14px, 28px); } -#urlbar-go-button:hover { - -moz-image-region: rect(14px, 56px, 28px, 42px); +#go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon, +#urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { + -moz-transform: scaleX(-1); +} + +#urlbar-go-button:hover, +#go-button:hover { + -moz-image-region: rect(14px, 42px, 28px, 28px); } #urlbar-reload-button { - -moz-image-region: rect(0px, 28px, 14px, 14px); + -moz-image-region: rect(0px, 14px, 14px, 0px); } #urlbar-reload-button[disabled] { - -moz-image-region: rect(0px, 14px, 14px, 0px); + -moz-image-region: rect(28px, 14px, 42px, 0px); } #urlbar-reload-button:not([disabled]):hover { - -moz-image-region: rect(14px, 28px, 28px, 14px); + -moz-image-region: rect(14px, 14px, 28px, 0px); } #urlbar-stop-button { - -moz-image-region: rect(0px, 42px, 14px, 28px); + -moz-image-region: rect(0px, 28px, 14px, 14px); } #urlbar-stop-button:hover { - -moz-image-region: rect(14px, 42px, 28px, 28px); + -moz-image-region: rect(14px, 28px, 28px, 14px); } /* popup blocker button */ diff --git a/LCARStrek/browser/reload-stop-go.png b/LCARStrek/browser/reload-stop-go.png index 800240b2..51eac3fb 100644 Binary files a/LCARStrek/browser/reload-stop-go.png and b/LCARStrek/browser/reload-stop-go.png differ