Bug 570279 - Tab+NavBar Connecting Curve Adjustments. r=dolske ui-r=shorlander a=beltzner
authorFrank Yan <fyan@mozilla.com>
Wed, 02 Mar 2011 21:40:41 -0800
changeset 63301 e633e7a4af4b7ce6a45921b051eb24f4f652a81c
parent 63300 8be874c41712dd04f1e19d89aa9e19c0cf02c2ee
child 63302 e79b2b60d39488dfc295fc56345d35c0e7b328d3
push idunknown
push userunknown
push dateunknown
reviewersdolske, shorlander, beltzner
bugs570279
milestone2.0b13pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 570279 - Tab+NavBar Connecting Curve Adjustments. r=dolske ui-r=shorlander a=beltzner
browser/themes/winstripe/browser/browser-aero.css
browser/themes/winstripe/browser/browser.css
browser/themes/winstripe/browser/tabbrowser/tab.png
--- a/browser/themes/winstripe/browser/browser-aero.css
+++ b/browser/themes/winstripe/browser/browser-aero.css
@@ -181,21 +181,26 @@
   #navigator-toolbox[tabsontop=false] > #PersonalToolbar {
     margin-top: 2px;
     border-top: 1px solid @toolbarShadowColor@;
   }
   #navigator-toolbox[tabsontop=false] > #PersonalToolbar:not(:-moz-lwtheme) {
     background-image: -moz-linear-gradient(@toolbarHighlight@, rgba(255,255,255,0));
   }
 
-  #main-window[sizemode="normal"] #TabsToolbar[tabsontop="true"]:not([inFullscreen="true"]):not(:-moz-lwtheme) {
+  #main-window[sizemode=normal] #TabsToolbar[tabsontop=true]:not([inFullscreen]) {
     padding-left: 4px;
     padding-right: 4px;
   }
 
+  #main-window[sizemode=normal] #TabsToolbar[tabsontop=false]:not([inFullscreen]) {
+    padding-left: 2px;
+    padding-right: 2px;
+  }
+
   /* Make the window draggable by glassed toolbars (bug 555081) */
   #toolbar-menubar:not([autohide="true"]),
   #TabsToolbar[tabsontop="true"],
   #navigator-toolbox[tabsontop="false"] > #nav-bar,
   #nav-bar + #customToolbars + #PersonalToolbar[collapsed="true"] + #TabsToolbar[tabsontop="false"]:last-child,
   #navigator-toolbox > toolbar:not(#toolbar-menubar):-moz-lwtheme {
     -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar-drag");
   }
--- a/browser/themes/winstripe/browser/browser.css
+++ b/browser/themes/winstripe/browser/browser.css
@@ -1528,29 +1528,38 @@ richlistitem[type~="action"][actiontype=
 }
 
 #TabsToolbar:not(:-moz-lwtheme),
 #TabsToolbar[tabsontop=false] {
   background-image:
     -moz-linear-gradient(bottom, @toolbarShadowColor@ 1px, rgba(0,0,0,.05) 1px, transparent 50%);
 }
 
+%ifndef WINSTRIPE_AERO
+@media all and (-moz-windows-default-theme) {
+  #main-window[sizemode=normal] #TabsToolbar:not([inFullscreen]) {
+    padding-left: 2px;
+    padding-right: 2px;
+  }
+}
+%endif
+
 .tabbrowser-tab,
 .tabs-newtab-button {
   -moz-appearance: none;
   background: @toolbarShadowOnTab@, @bgTabTexture@,
               -moz-linear-gradient(-moz-dialog, -moz-dialog);
   background-origin: border-box;
   background-position: 1px 2px;
-  background-size: 100% -moz-calc(100% - 2px);
+  background-size: -moz-calc(100% - 2px) -moz-calc(100% - 2px);
   background-repeat: no-repeat;
   margin: 0;
   padding: 0;
-  -moz-border-image: url(tabbrowser/tab.png) 4 5 3 6 / 4px 5px 3px 6px repeat stretch;
-  border-radius: 10px 8px 0 0;
+  -moz-border-image: url(tabbrowser/tab.png) 6 3 4 / 6px 3px 4px repeat stretch;
+  border-radius: 7px 7px 0 0;
 }
 
 .tabbrowser-tab:hover,
 .tabs-newtab-button:hover {
   background-image: @toolbarShadowOnTab@, @bgTabTextureHover@,
                     -moz-linear-gradient(-moz-dialog, -moz-dialog);
 }
 
@@ -1618,16 +1627,17 @@ richlistitem[type~="action"][actiontype=
 }
 
 .tab-throbber,
 .tab-icon-image {
   width: 16px;
   height: 16px;
   list-style-image: url("chrome://global/skin/icons/folder-item.png");
   -moz-image-region: rect(0px, 16px, 16px, 0px);
+  -moz-margin-start: 2px;
   -moz-margin-end: 3px;
 }
 
 .tab-throbber {
   list-style-image: url("chrome://browser/skin/tabbrowser/connecting.png");
 }
 
 .tab-throbber[progress] {
@@ -1635,18 +1645,18 @@ richlistitem[type~="action"][actiontype=
 }
 
 #tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab[pinned] {
   min-height: 16px; /* corresponds to the max. height of non-textual tab contents, i.e. the favicon */
 }
 
 .tab-throbber[pinned],
 .tab-icon-image[pinned] {
-  -moz-margin-start: 2px;
-  -moz-margin-end: 2px;
+  -moz-margin-start: 5px;
+  -moz-margin-end: 5px;
 }
 
 /* tabbrowser-tab focus ring */
 .tabbrowser-tab:focus > .tab-stack {
   outline: 1px dotted;
 }
 
 /* Tab DnD indicator */
@@ -1751,17 +1761,17 @@ richlistitem[type~="action"][actiontype=
 .tabs-newtab-button,
 #TabsToolbar > #new-tab-button,
 #TabsToolbar > toolbarpaletteitem > #new-tab-button {
   list-style-image: url(chrome://browser/skin/tabbrowser/newtab.png);
   -moz-image-region: rect(0, 16px, 18px, 0);
 }
 
 .tabs-newtab-button {
-  width: 31px;
+  width: 30px;
 }
 
 .tabs-newtab-button:hover:active,
 #TabsToolbar > #new-tab-button:hover:active {
   -moz-image-region: rect(0, 32px, 18px, 16px);
 }
 
 #alltabs-button {
index deeeb0add3074b1bf453f08dc96cbf84c43bb74f..fb0fc676f11c54d4b5af1e284e72a8e8b5b3f684
GIT binary patch
literal 238
zc%17D@N?(olHy`uVBq!ia0vp^Ahrw#8<33Ht7i?QBuiW)N`mv#O3D+9QW+dm@{>{(
zJaZG%Q-e|yQz{EjrrH1%P4IMa45_%4BqBIHDJda=Au&zEjjev+4|(nh39Lz?3SkUM
zb|$U!8-6ef+-ID*Bs)2G>Hgf$Zs)G+&$DwsreHWh#)Fsn!mA0(&(Ev;`~QEuM90jA
z8H`<yIf)>d6E0<%o}LpvzIVuT+$46Sj(uu!dK1?_#z+5oW<0PD;d>M9#&)QoFy!Hi
hLxHU(K^y`J3|Ft%GfduRr3G{wgQu&X%Q~loCIBBuRU!ZY