From: Robert Kaiser Date: Sun, 12 Jun 2011 23:18:36 +0000 (+0200) Subject: make title bar and app button look good on Windows (7) X-Git-Tag: EarlyBlue-2.1~10 X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=5305ef8d694e860cb1639ad2bea0b89ff6beed48;p=themes.git make title bar and app button look good on Windows (7) --- diff --git a/LCARStrek/browser/browser.css b/LCARStrek/browser/browser.css index d358c052..a2d0bf83 100644 --- a/LCARStrek/browser/browser.css +++ b/LCARStrek/browser/browser.css @@ -136,12 +136,16 @@ menubar { background-clip: padding-box; border-radius: 0; border: none; - border-left: 3px solid #000000; border-right: 3px solid #000000; color: #000000; font-weight: bold; - padding: 0 1.5em .05em; - margin: 0 0 2px; + padding: 1px 1.5em; + margin: 0; +} + +#appmenu-button:-moz-locale-dir(rtl) { + border-left: 3px solid #000000; + border-right: none; } #main-window[privatebrowsingmode=temporary] #appmenu-button { @@ -168,6 +172,8 @@ menubar { height: auto; padding: 0; margin: 0; + border: none; + background-color: transparent; -moz-margin-start: .5em; } @@ -336,13 +342,28 @@ menubar { /* ::::: titlebar ::::: */ +#titlebar { + /* like menubar */ + background-color: #6000CF; + color: #FF9F00; +} +#titlebar:-moz-window-inactive { + background-color: #8050B0; + color: #FF9F00; +} + #main-window[sizemode="normal"] > #titlebar { + margin-top: -3px; + margin-bottom: 3px; } #main-window[sizemode="maximized"] > #titlebar { + margin-top: 4px; } #titlebar-buttonbox { + margin-top: 5px; + -moz-margin-end: 3px; } #main-window[sizemode="maximized"] #titlebar-buttonbox { @@ -359,15 +380,35 @@ menubar { /* titlebar command buttons */ #titlebar-min { + list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif"); +} + +#titlebar-min:hover { + list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif"); } #titlebar-max { + list-style-image: url("chrome://browser/skin/win-maximize.gif"); +} + +#titlebar-max:hover { + list-style-image: url("chrome://browser/skin/win-maximize-hover.gif"); } #main-window[sizemode="maximized"] #titlebar-max { + list-style-image: url("chrome://navigator/skin/icons/win-restore.gif"); +} + +#main-window[sizemode="maximized"] #titlebar-max:hover { + list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif"); } #titlebar-close { + list-style-image: url("chrome://navigator/skin/icons/win-close.gif"); +} + +#titlebar-close:hover { + list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif"); } /* ::::: bookmark buttons ::::: */ diff --git a/LCARStrek/browser/win-maximize-hover.gif b/LCARStrek/browser/win-maximize-hover.gif new file mode 100644 index 00000000..33f12f83 Binary files /dev/null and b/LCARStrek/browser/win-maximize-hover.gif differ diff --git a/LCARStrek/browser/win-maximize.gif b/LCARStrek/browser/win-maximize.gif new file mode 100644 index 00000000..073a7d46 Binary files /dev/null and b/LCARStrek/browser/win-maximize.gif differ