diff --git a/browser/base/content/browser.xul b/browser/base/content/browser.xul index 9d8f343875ae..1bf15afca24f 100644 --- a/browser/base/content/browser.xul +++ b/browser/base/content/browser.xul @@ -644,7 +644,11 @@ - + + + + + #endif diff --git a/browser/themes/winstripe/browser/browser.css b/browser/themes/winstripe/browser/browser.css index 58536dc98480..3e5f8772b508 100644 --- a/browser/themes/winstripe/browser/browser.css +++ b/browser/themes/winstripe/browser/browser.css @@ -184,22 +184,23 @@ menuitem.bookmark-item { .toolbarbutton-menubutton-dropmarker, .toolbarbutton-1 { -moz-appearance: none; - padding: 1px 4px; + padding: 1px 5px; background: rgba(85%,85%,85%,.1) - -moz-linear-gradient(top, rgba(255,255,255,.7), rgba(255,255,255,.39) 48%, - rgba(95%,95%,95%,.33) 52%, rgba(95%,95%,95%,.15)); + -moz-linear-gradient(top, rgba(255,255,255,.9), rgba(255,255,255,.45) 48%, + rgba(90%,90%,90%,.4) 52%, rgba(90%,90%,90%,.2)); -moz-background-clip: padding; -moz-border-radius: 5px; border: 1px solid; - border-color: rgba(0,0,0,.1) rgba(0,0,0,.15) rgba(0,0,0,.25); + border-color: rgba(0,0,0,.12) rgba(0,0,0,.19) rgba(0,0,0,.38); -moz-box-shadow: 0 0 0 1px rgba(255,255,255,.3) inset, - 0 1px 0 rgba(0,0,0,.08); + 0 0 0 2px rgba(255,255,255,.1) inset, + 0 1px 0 rgba(0,0,0,.1); color: black; text-shadow: 0 0 3px white; } +.toolbarbutton-menubutton-dropmarker, toolbar[iconsize="small"][mode="icons"] .toolbarbutton-menubutton-button, -toolbar[iconsize="small"][mode="icons"] .toolbarbutton-menubutton-dropmarker, toolbar[iconsize="small"][mode="icons"] .toolbarbutton-1 { padding-left: 3px; padding-right: 3px; @@ -210,10 +211,6 @@ toolbar[iconsize="small"][mode="icons"] .toolbarbutton-1 { list-style-image: url("chrome://browser/skin/Toolbar.png"); } -.toolbarbutton-1[disabled="true"] > .toolbarbutton-icon { - opacity: .5; -} - toolbarbutton[type="menu-button"] { -moz-appearance: none; padding: 0; @@ -252,23 +249,24 @@ toolbar[iconsize="small"][mode="icons"] toolbarbutton[type="menu-button"] { .toolbarbutton-menubutton-button[disabled="true"], .toolbarbutton-menubutton-dropmarker[disabled="true"], .toolbarbutton-1[disabled="true"] { - background-color: rgba(0,0,0,.15); - -moz-box-shadow: 0 1px 0 rgba(0,0,0,.08); + opacity: .8; +} + +.toolbarbutton-menubutton-button[disabled="true"] > .toolbarbutton-icon, +.toolbarbutton-1[disabled="true"] > .toolbarbutton-icon { + opacity: .6; } .toolbarbutton-menubutton-button:not([disabled="true"]):not(:active):hover, :not([open="true"]):not(:active):hover > .toolbarbutton-menubutton-dropmarker:not([disabled="true"]), .toolbarbutton-1:not([disabled="true"]):not([checked="true"]):not(:active):hover { - background-color: rgba(255,255,255,.6); - border-color: rgba(60%,60%,60%,.3) rgba(60%,60%,60%,.45) rgba(60%,60%,60%,.75); - -moz-box-shadow: 0 1px 0 rgba(0,0,0,.04), - 0 0 6px -1px white, - 0 0 6px -2px highlight, - 0 0 5px -2px highlight, - 0 4px 4px -3px white inset, - 0 -4px 4px -3px white inset, - 0 -3px 12px -5px highlight inset; - -moz-transition: background-color .6s; + background-color: hsla(190,60%,70%,.5); + border-color: hsla(190,50%,65%,.8) hsla(190,50%,50%,.8) hsla(190,50%,40%,.8); + -moz-box-shadow: 0 0 0 1px rgba(255,255,255,.3) inset, + 0 0 0 2px rgba(255,255,255,.1) inset, + 0 0 5px hsl(190,90%,80%), + 0 1px 0 rgba(0,0,0,.1); + -moz-transition: background-color .5s ease-in; } .toolbarbutton-menubutton-button:not([disabled="true"]):hover:active, @@ -358,8 +356,13 @@ toolbar:not([iconsize="small"])[mode="icons"] #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; - padding-left: 6px; - padding-right: 2px; + padding-left: 7px; + padding-right: 3px; +} + +toolbar:not([iconsize="small"])[mode="icons"] #forward-button:not([disabled="true"]):hover { + /*mask: url(keyhole-forward-mask.svg#mask-hover);*/ + mask: url(chrome://browser/content/browser.xul#winstripe-keyhole-forward-mask-hover); } #back-forward-dropmarker { diff --git a/browser/themes/winstripe/browser/keyhole-forward-mask.svg b/browser/themes/winstripe/browser/keyhole-forward-mask.svg index 1b3cf684df94..e6a9024d1043 100644 --- a/browser/themes/winstripe/browser/keyhole-forward-mask.svg +++ b/browser/themes/winstripe/browser/keyhole-forward-mask.svg @@ -2,6 +2,10 @@ - + + + + +