# HG changeset patch # Parent cdaab4be4682394a25af0c95ae667f8cbce9607d # User Lucas Rocha Bug 680077 - Update tabs pane for Honeycomb theme (r=mbrubeck) diff --git a/mobile/chrome/content/browser-ui.js b/mobile/chrome/content/browser-ui.js --- a/mobile/chrome/content/browser-ui.js +++ b/mobile/chrome/content/browser-ui.js @@ -550,16 +550,31 @@ var BrowserUI = { updateTabletLayout: function updateTabletLayout() { if (Util.isTablet({ forceUpdate: true })) { this.unlockToolbar(); Elements.urlbarState.setAttribute("tablet", "true"); } else { Elements.urlbarState.removeAttribute("tablet"); } + + // Tablet mode changes the size of the thumbnails + // in the tabs container. Hence we have to force a + // thumbnail update on all tabs. + setTimeout(function(self) { + self._updateAllTabThumbnails(); + }, 0, this); + }, + + _updateAllTabThumbnails: function() { + let tabs = Browser.tabs; + + tabs.forEach(function(tab) { + tab.updateThumbnail({ force: true }); + }); }, update: function(aState) { let browser = Browser.selectedBrowser; switch (aState) { case TOOLBARSTATE_LOADED: this._updateToolbar(); diff --git a/mobile/chrome/content/browser.xul b/mobile/chrome/content/browser.xul --- a/mobile/chrome/content/browser.xul +++ b/mobile/chrome/content/browser.xul @@ -195,24 +195,24 @@ - - + - + diff --git a/mobile/chrome/content/tabs.xml b/mobile/chrome/content/tabs.xml --- a/mobile/chrome/content/tabs.xml +++ b/mobile/chrome/content/tabs.xml @@ -2,47 +2,71 @@ - + - - - + onclick="document.getBindingParent(this)._onClick()" observes="bcast_urlbarState"/> + + + false document.getAnonymousElementByAttribute(this, "anonid", "thumbnail"); document.getAnonymousElementByAttribute(this, "anonid", "reload"); document.getAnonymousElementByAttribute(this, "anonid", "close-container"); this.parentNode.parentNode; + + + + + + + @@ -78,18 +102,22 @@ 0) width = Math.min(width, browser.contentDocumentWidth); if (browser.contentDocumentHeight > 0) height = Math.min(height, browser.contentDocumentHeight); diff --git a/mobile/themes/core/browser.css b/mobile/themes/core/browser.css --- a/mobile/themes/core/browser.css +++ b/mobile/themes/core/browser.css @@ -981,16 +981,17 @@ documenttab[selected="true"] { documenttab:hover:active > stack > .documenttab-thumbnail, documenttab[selected="true"] > stack > .documenttab-thumbnail { opacity: 1.0; } .documenttab-close-container { position: relative; left: -16px; + -moz-margin-start: -16px; -moz-margin-end: 49px; } .documenttab-close { width: 40px; height: 40px; list-style-image: url("chrome://browser/skin/images/close-inactive-tab-hdpi.png"); } diff --git a/mobile/themes/core/gingerbread/browser.css b/mobile/themes/core/gingerbread/browser.css --- a/mobile/themes/core/gingerbread/browser.css +++ b/mobile/themes/core/gingerbread/browser.css @@ -930,16 +930,17 @@ documenttab[selected="true"] { documenttab:hover:active > stack > .documenttab-thumbnail, documenttab[selected="true"] > stack > .documenttab-thumbnail { opacity: 1.0; } .documenttab-close-container { position: relative; left: -16px; + -moz-margin-start: -16px; -moz-margin-end: 49px; } .documenttab-close { width: 40px; height: 40px; list-style-image: url("chrome://browser/skin/images/close-inactive-tab-hdpi.png"); } diff --git a/mobile/themes/core/gingerbread/images/close-active-tablet-hdpi.png b/mobile/themes/core/gingerbread/images/close-active-tablet-hdpi.png new file mode 100644 index 0000000000000000000000000000000000000000..1e616b6698a5fc77fbf709cf62af43e7aeb949df GIT binary patch literal 626 zc$@)p0*(ENP)|Su(NjQU+`YtyJ_KZ5D^sw#lq6C_u&0tjNF!k z?C|@+2Y%bWd*8kHd%tb&e!uS;#TavqXmDe0%#FD*H~#;|f(^|$FiGtR8fP#*a3oOv8^)3wR(-m<25{Jx7%CE zWU@jf4G?m%Sln+k8U@s(QmIoab;n7@BFm^$Djoiic{H2Np0P|ZYt+&`9<$hP8~Ot<`D=Ec0P9wY$b_^k@rd znM~$dQIuPD!Rz%t=kxgs+B)x+nf~(4B~c^!pt+7zRgH+E_>O3rCZ*HqlUA#>NZU=e z712gnWMCQC#HPa1VyUs@NH`pR!gG;GL~S;kyQGz^;#!%`0AUP>f%T@i-oT3fn!#Lh zVmt?I#A30VA50Zi4Wl_$2M9PZ#+x@W7-BFL^h?3a@!{}oM;$)&KE|e+H+&?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Y$b_^k@rd znM~$dQIuPD!Rz%t=kxgs+B)x+nf~(4B~c^!pt+7zRgH+E_>O3rCZ*HqlUA#>NZU=e z712gnWMCQC#HPa1VyUs@NH`pR!gG;GL~S;kyQGz^;#!%`0AUP>f%T@i-oT3fn!#Lh zVmt?I#A30VA50Zi4Wl_$2M9PZ#+x@W7-BFL^h?3a@!{}oM;$)&KE|e+H+&?XXs`Bk zI++^F_>p)R6xhxSL^6C9pDlEPPS`$nJlm9@}MW}<5xcCSB2kPYFYA1(^sI&#a(pn`F-@`X}grvDP zU>)w@fnM*;_ws%B-6cuabrZc9eTg0oZLE#8u{PGm|KHe9)TO`xf49I_gwCMuBaX4q z*kFY7H}DGTK3xWkQJ1FfG0a@W*aQ~HbAADa7_=^#+SF}=EI0x0;3+Vw_z;L-0<43E z`!lY<5|{?Vpr4vWP;`IC2AB+stI}L8mhF`DHE_t1=7`923v5$!%x7AmQ57;yOBwA2 zWG*<9GA&Xop2>v8O)7qKd5t47TLuSU5L`=D@G?CI74Ge4oQypTV1orvkTUNm(@yr- z8xFg;0d7G_TC0Ie9-U^}OuM+bOg55es(mm|lP1@Wz!Z;?6&X#j%odmht86Nlr7n;v z|0{z$wN|^BDyE}gh5^eyQ?cK3zBSq0jANVyE8s4`)RwB@Hy72(#c8e-dqG^24`3JE z@VHdSGq?vk)R?@lL$73&b1Z_4`(6@N8ak5BVq^JV5-;5vd*~i77@Fc@sM=J!($unkx3nHD%(BeXC9{ zGM&1>Nh>72LrD0)c=0nE3l3GaeM?R}R+uuQLgdBY2MVFpPnOvH-YoRx-`{P@8>^V> z+IFaGPxxHZCcNd>`eW-~@n|i1$E#d6!TDPk_fft_an+GAOgs#;BNY2GFZ%8RI-0@L L)z4*}Q$iB}x3+FW diff --git a/mobile/themes/core/honeycomb/browser.css b/mobile/themes/core/honeycomb/browser.css --- a/mobile/themes/core/honeycomb/browser.css +++ b/mobile/themes/core/honeycomb/browser.css @@ -1014,16 +1014,17 @@ documenttab[selected="true"] { documenttab:hover:active > stack > .documenttab-thumbnail, documenttab[selected="true"] > stack > .documenttab-thumbnail { opacity: 1.0; } .documenttab-close-container { position: relative; left: -16px; + -moz-margin-start: -16px; -moz-margin-end: 49px; } .documenttab-close { width: 40px; height: 40px; list-style-image: url("chrome://browser/skin/images/close-inactive-tab-hdpi.png"); } diff --git a/mobile/themes/core/honeycomb/images/close-active-hdpi.png b/mobile/themes/core/honeycomb/images/close-active-hdpi.png index 935b7555e4d8aceb67a15f9eb137b6ddade69522..1f19cd10638b54797e21db629ef041bcedc54f17 GIT binary patch literal 1202 zc$@*U1Wo&iP)QZ=_K9n{a?STdev3FdcDr(vngzz+q?%1;Kx>T@4hG+|FP~caafX2zU5sUn>QlE>*P6XGgoU`79k_7L za35KeWl(fASoqS~$Y4)A7_rO*f}(pMAj^;*e#fyR1~{uO7RFh68h}B?zZo^j&Jg(2 z=IsUnJ)~Lpix;$m6ZH{HjkS1JF#Kj|%c3r)GZJG7<552=#iWtJ>9cQT6UE85kIIFO zD&XEw>;tWhYuuC#8Kl#pVP~mQ_Txw?yH@SufZ~t1t!qxklUFz`Q&W2q2w&cRNO~Xl zyucY&l1ih-E?b$Nd>I3`g<>Mc4JV#^0+a ze_kO4(?7skc|^Clk=o)_E2MDOkM^rg25C3rg@FZ34M6O$rYePTJ4Xm$EtSCuYZekL zV%OK0#hG&cG~dX$8c%vSE##9c*IbWVFo4DIJ&4bnKc(!1Ro9w9n869Vef*^9eJemP zh)*p;9h|Ndk6>G9X0Pu*o>6qoy3x$E85YG|<_B#sSni9z=6*lu2*-EJJ|6J)Xih&? zwI38%S!62@y7qfM{cu&ZZI5pSY&NrrScv&8pHeksaJFAFNIA7_^ldiyJ)fGS0@@TPd=Ue&5R+nWk{uj*J|Cos zvyZlhaogiJUHRb0ZyACdc5^=H7*Kb1(>P&uc!1eBVYSPcDd2oQqy8(v04{5M+MdAo QYybcN07*qoM6N<$f?N|Su(NjQU+`YtyJ_KZ5D^sw#lq6C_u&0tjNF!k z?C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bAADa7_=^#+SF}=EI0x0;3+Vw_z;L-0<43E z`!lY<5|{?Vpr4vWP;`IC2AB+stI}L8mhF`DHE_t1=7`923v5$!%x7AmQ57;yOBwA2 zWG*<9GA&Xop2>v8O)7qKd5t47TLuSU5L`=D@G?CI74Ge4oQypTV1orvkTUNm(@yr- z8xFg;0d7G_TC0Ie9-U^}OuM+bOg55es(mm|lP1@Wz!Z;?6&X#j%odmht86Nlr7n;v z|0{z$wN|^BDyE}gh5^eyQ?cK3zBSq0jANVyE8s4`)RwB@Hy72(#c8e-dqG^24`3JE z@VHdSGq?vk)R?@lL$73&b1Z_4`(6@N8ak5BVq^JV5-;5vd*~)x#q}qK!L|4FxX~w`=?Eh_ccvOO3kRh<|wCT z*tX=6Ot>L`b%O7+{WtkPc1q`T-|^#TGMVv6U0BnLr{Jpg$@5J{(Fw;Tzh00!eduxd z`JRe2hFNQ^0+SjT7@1f&1QZVZF4x}S*ud~yf{BOW?mvN0wrr-$K-(ESUHx3vIVCg! E0J9BAjsO4v diff --git a/mobile/themes/core/honeycomb/images/newtab-default-tablet-hdpi.png b/mobile/themes/core/honeycomb/images/newtab-default-tablet-hdpi.png new file mode 100644 index 0000000000000000000000000000000000000000..1d9d1ae2308f8adcb70fddb823b04e25b12d456a GIT binary patch literal 263 zc%17D@N?(olHy`uVBq!ia0vp^QXtI11|(N{`J4k%k|nMYCBgY=CFO}lsSJ)O`AMk? zp1FzXsX?iUDV2pMQ*A(MJzX3_DsH_AG3076;8`Pd~i77@Fc@sM=J!($unkx3nHD%(BeXC9{ zGM&1>Nh>72LrD0)c=0nE3l3GaeM?R}R+uuQLgdBY2MVFpPnOvH-YoRx-`{P@8>^V> z+IFaGPxxHZCcNd>`eW-~@n|i1$E#d6!TDPk_fft_an+GAOgs#;BNY2GFZ%8RI-0@L L)z4*}Q$iB}x3+FW diff --git a/mobile/themes/core/images/close-active-tablet-hdpi.png b/mobile/themes/core/images/close-active-tablet-hdpi.png new file mode 100644 index 0000000000000000000000000000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OuM+bOg55es(mm|lP1@Wz!Z;?6&X#j%odmht86Nlr7n;v z|0{z$wN|^BDyE}gh5^eyQ?cK3zBSq0jANVyE8s4`)RwB@Hy72(#c8e-dqG^24`3JE z@VHdSGq?vk)R?@lL$73&b1Z_4`(6@N8ak5BVq^JV5-;5vd*~i77@Fc@sM=J!($unkx3nHD%(BeXC9{ zGM&1>Nh>72LrD0)c=0nE3l3GaeM?R}R+uuQLgdBY2MVFpPnOvH-YoRx-`{P@8>^V> z+IFaGPxxHZCcNd>`eW-~@n|i1$E#d6!TDPk_fft_an+GAOgs#;BNY2GFZ%8RI-0@L L)z4*}Q$iB}x3+FW diff --git a/mobile/themes/core/jar.mn b/mobile/themes/core/jar.mn --- a/mobile/themes/core/jar.mn +++ b/mobile/themes/core/jar.mn @@ -85,16 +85,17 @@ chrome.jar: skin/images/panelrow-selected-hdpi.png (images/panelrow-selected-hdpi.png) skin/images/forward-default-hdpi.png (images/forward-default-hdpi.png) skin/images/downloads-default-hdpi.png (images/downloads-default-hdpi.png) skin/images/settings-default-hdpi.png (images/settings-default-hdpi.png) skin/images/preferences-default-hdpi.png (images/preferences-default-hdpi.png) skin/images/row-header-bg.png (images/row-header-bg.png) skin/images/console-default-hdpi.png (images/console-default-hdpi.png) skin/images/newtab-default-hdpi.png (images/newtab-default-hdpi.png) + skin/images/newtab-default-tablet-hdpi.png (images/newtab-default-tablet-hdpi.png) skin/images/tab-active-hdpi.png (images/tab-active-hdpi.png) skin/images/tab-inactive-hdpi.png (images/tab-inactive-hdpi.png) skin/images/tab-closed-hdpi.png (images/tab-closed-hdpi.png) skin/images/tab-reopen-hdpi.png (images/tab-reopen-hdpi.png) skin/images/remotetabs-48.png (images/remotetabs-48.png) skin/images/remotetabs-32.png (images/remotetabs-32.png) skin/images/mozilla-32.png (images/mozilla-32.png) skin/images/toggle-on.png (images/toggle-on.png) @@ -105,18 +106,22 @@ chrome.jar: skin/images/next-hdpi.png (images/next-hdpi.png) skin/images/next-disabled-hdpi.png (images/next-disabled-hdpi.png) skin/images/identity-default-hdpi.png (images/identity-default-hdpi.png) skin/images/identity-ssl-hdpi.png (images/identity-ssl-hdpi.png) skin/images/identity-ev-hdpi.png (images/identity-ev-hdpi.png) skin/images/unlocked-hdpi.png (images/unlocked-hdpi.png) skin/images/locked-hdpi.png (images/locked-hdpi.png) skin/images/close-default-hdpi.png (images/close-default-hdpi.png) + skin/images/close-default-tablet-hdpi.png (images/close-default-tablet-hdpi.png) skin/images/close-active-hdpi.png (images/close-active-hdpi.png) + skin/images/close-active-tablet-hdpi.png (images/close-active-tablet-hdpi.png) skin/images/close-inactive-tab-hdpi.png (images/close-inactive-tab-hdpi.png) + skin/images/close-inactive-tab-tablet-hdpi.png (images/close-inactive-tab-tablet-hdpi.png) + skin/images/close-background-hdpi.png (images/close-background-hdpi.png) skin/images/check-30.png (images/check-30.png) skin/images/search-glass-30.png (images/search-glass-30.png) skin/images/search-clear-30.png (images/search-clear-30.png) skin/images/section-expanded-16.png (images/section-expanded-16.png) skin/images/section-collapsed-16.png (images/section-collapsed-16.png) skin/images/task-switch-hdpi.png (images/task-switch-hdpi.png) skin/images/task-close-hdpi.png (images/task-close-hdpi.png) skin/images/task-back-hdpi.png (images/task-back-hdpi.png) @@ -209,16 +214,17 @@ chrome.jar: skin/gingerbread/images/bookmark-starred-hdpi.png (gingerbread/images/bookmark-starred-hdpi.png) skin/gingerbread/images/forward-default-hdpi.png (gingerbread/images/forward-default-hdpi.png) skin/gingerbread/images/downloads-default-hdpi.png (gingerbread/images/downloads-default-hdpi.png) skin/gingerbread/images/settings-default-hdpi.png (gingerbread/images/settings-default-hdpi.png) skin/gingerbread/images/preferences-default-hdpi.png (gingerbread/images/preferences-default-hdpi.png) skin/gingerbread/images/row-header-bg.png (gingerbread/images/row-header-bg.png) skin/gingerbread/images/console-default-hdpi.png (gingerbread/images/console-default-hdpi.png) skin/gingerbread/images/newtab-default-hdpi.png (gingerbread/images/newtab-default-hdpi.png) + skin/gingerbread/images/newtab-default-tablet-hdpi.png (gingerbread/images/newtab-default-tablet-hdpi.png) skin/gingerbread/images/tab-active-hdpi.png (gingerbread/images/tab-active-hdpi.png) skin/gingerbread/images/tab-inactive-hdpi.png (gingerbread/images/tab-inactive-hdpi.png) skin/gingerbread/images/tab-closed-hdpi.png (gingerbread/images/tab-closed-hdpi.png) skin/gingerbread/images/tab-reopen-hdpi.png (gingerbread/images/tab-reopen-hdpi.png) skin/gingerbread/images/remotetabs-48.png (gingerbread/images/remotetabs-48.png) skin/gingerbread/images/remotetabs-32.png (gingerbread/images/remotetabs-32.png) skin/gingerbread/images/mozilla-32.png (images/mozilla-32.png) skin/gingerbread/images/toggle-on.png (gingerbread/images/toggle-on.png) @@ -228,18 +234,22 @@ chrome.jar: skin/gingerbread/images/next-hdpi.png (gingerbread/images/next-hdpi.png) skin/gingerbread/images/next-disabled-hdpi.png (gingerbread/images/next-disabled-hdpi.png) skin/gingerbread/images/identity-default-hdpi.png (gingerbread/images/identity-default-hdpi.png) skin/gingerbread/images/identity-ssl-hdpi.png (gingerbread/images/identity-ssl-hdpi.png) skin/gingerbread/images/identity-ev-hdpi.png (gingerbread/images/identity-ev-hdpi.png) skin/gingerbread/images/unlocked-hdpi.png (gingerbread/images/unlocked-hdpi.png) skin/gingerbread/images/locked-hdpi.png (gingerbread/images/locked-hdpi.png) skin/gingerbread/images/close-default-hdpi.png (gingerbread/images/close-default-hdpi.png) + skin/gingerbread/images/close-default-tablet-hdpi.png (gingerbread/images/close-default-tablet-hdpi.png) skin/gingerbread/images/close-active-hdpi.png (gingerbread/images/close-active-hdpi.png) + skin/gingerbread/images/close-active-tablet-hdpi.png (gingerbread/images/close-active-tablet-hdpi.png) + skin/gingerbread/images/close-background-hdpi.png (gingerbread/images/close-background-hdpi.png) skin/gingerbread/images/close-inactive-tab-hdpi.png (gingerbread/images/close-inactive-tab-hdpi.png) + skin/gingerbread/images/close-inactive-tab-tablet-hdpi.png (gingerbread/images/close-inactive-tab-tablet-hdpi.png) skin/gingerbread/images/check-30.png (gingerbread/images/check-30.png) skin/gingerbread/images/search-glass-30.png (gingerbread/images/search-glass-30.png) skin/gingerbread/images/search-clear-30.png (gingerbread/images/search-clear-30.png) skin/gingerbread/images/section-expanded-16.png (images/section-expanded-16.png) skin/gingerbread/images/section-collapsed-16.png (images/section-collapsed-16.png) skin/gingerbread/images/task-switch-hdpi.png (gingerbread/images/task-switch-hdpi.png) skin/gingerbread/images/task-close-hdpi.png (gingerbread/images/task-close-hdpi.png) skin/gingerbread/images/task-back-hdpi.png (gingerbread/images/task-back-hdpi.png) @@ -334,16 +344,17 @@ chrome.jar: skin/honeycomb/images/panelrow-selected-hdpi.png (honeycomb/images/panelrow-selected-hdpi.png) skin/honeycomb/images/forward-default-hdpi.png (honeycomb/images/forward-default-hdpi.png) skin/honeycomb/images/downloads-default-hdpi.png (honeycomb/images/downloads-default-hdpi.png) skin/honeycomb/images/settings-default-hdpi.png (honeycomb/images/settings-default-hdpi.png) skin/honeycomb/images/preferences-default-hdpi.png (honeycomb/images/preferences-default-hdpi.png) skin/honeycomb/images/row-header-bg.png (honeycomb/images/row-header-bg.png) skin/honeycomb/images/console-default-hdpi.png (honeycomb/images/console-default-hdpi.png) skin/honeycomb/images/newtab-default-hdpi.png (honeycomb/images/newtab-default-hdpi.png) + skin/honeycomb/images/newtab-default-tablet-hdpi.png (honeycomb/images/newtab-default-tablet-hdpi.png) skin/honeycomb/images/tab-active-hdpi.png (honeycomb/images/tab-active-hdpi.png) skin/honeycomb/images/tab-inactive-hdpi.png (honeycomb/images/tab-inactive-hdpi.png) skin/honeycomb/images/tab-closed-hdpi.png (honeycomb/images/tab-closed-hdpi.png) skin/honeycomb/images/tab-reopen-hdpi.png (honeycomb/images/tab-reopen-hdpi.png) skin/honeycomb/images/remotetabs-48.png (honeycomb/images/remotetabs-48.png) skin/honeycomb/images/remotetabs-32.png (honeycomb/images/remotetabs-32.png) skin/honeycomb/images/mozilla-32.png (images/mozilla-32.png) skin/honeycomb/images/toggle-on.png (honeycomb/images/toggle-on.png) @@ -354,18 +365,22 @@ chrome.jar: skin/honeycomb/images/next-hdpi.png (honeycomb/images/next-hdpi.png) skin/honeycomb/images/next-disabled-hdpi.png (honeycomb/images/next-disabled-hdpi.png) skin/honeycomb/images/identity-default-hdpi.png (honeycomb/images/identity-default-hdpi.png) skin/honeycomb/images/identity-ssl-hdpi.png (honeycomb/images/identity-ssl-hdpi.png) skin/honeycomb/images/identity-ev-hdpi.png (honeycomb/images/identity-ev-hdpi.png) skin/honeycomb/images/unlocked-hdpi.png (honeycomb/images/unlocked-hdpi.png) skin/honeycomb/images/locked-hdpi.png (honeycomb/images/locked-hdpi.png) skin/honeycomb/images/close-default-hdpi.png (honeycomb/images/close-default-hdpi.png) + skin/honeycomb/images/close-default-tablet-hdpi.png (honeycomb/images/close-default-tablet-hdpi.png) skin/honeycomb/images/close-active-hdpi.png (honeycomb/images/close-active-hdpi.png) + skin/honeycomb/images/close-active-tablet-hdpi.png (honeycomb/images/close-active-tablet-hdpi.png) + skin/honeycomb/images/close-background-hdpi.png (honeycomb/images/close-background-hdpi.png) skin/honeycomb/images/close-inactive-tab-hdpi.png (honeycomb/images/close-inactive-tab-hdpi.png) + skin/honeycomb/images/close-inactive-tab-tablet-hdpi.png (honeycomb/images/close-inactive-tab-tablet-hdpi.png) skin/honeycomb/images/check-30.png (images/check-30.png) skin/honeycomb/images/check-selected-hdpi.png (honeycomb/images/check-selected-hdpi.png) skin/honeycomb/images/check-unselected-hdpi.png (honeycomb/images/check-unselected-hdpi.png) skin/honeycomb/images/search-glass-30.png (honeycomb/images/search-glass-30.png) skin/honeycomb/images/search-clear-30.png (honeycomb/images/search-clear-30.png) skin/honeycomb/images/section-expanded-16.png (images/section-expanded-16.png) skin/honeycomb/images/section-collapsed-16.png (images/section-collapsed-16.png) skin/honeycomb/images/task-switch-hdpi.png (honeycomb/images/task-switch-hdpi.png) diff --git a/mobile/themes/core/tablet.css b/mobile/themes/core/tablet.css --- a/mobile/themes/core/tablet.css +++ b/mobile/themes/core/tablet.css @@ -25,16 +25,80 @@ #controls-scrollbox[tablet="true"] > #controls-sidebar { visibility: collapse; } #tabs-spacer[tablet="true"] { visibility: collapse; } +#tabs-container[tablet="true"] { + -moz-border-end: 0px; + background: #000; +} + +#tabs[tablet="true"] > scrollbox { + max-width: 200px; +} + +#tabs[tablet="true"] .tabs-list { + -moz-column-width: 200px; + -moz-padding-end: 0px; + -moz-padding-start: 0px; +} + +documenttab[tablet="true"] { + width: 200px; + padding: @padding_xxnormal@; + -moz-margin-start: 0px; + background: none; +} + +documenttab[tablet="true"][selected="true"] { + background: none; +} + +.documenttab-thumbnail[tablet="true"] { + border-radius: @border_radius_tiny@; +} + +.documenttab-close-container[tablet="true"] { + left: 0px; + -moz-margin-end: 0px; + -moz-margin-start: 135px; + -moz-box-pack: end; + -moz-box-align: center; +} + +documenttab[selected="true"] > stack > .documenttab-close-container[tablet="true"] { + background: url("chrome://browser/skin/images/close-background-hdpi.png"); + background-repeat: no-repeat; + background-position: right; + -moz-margin-end: -@padding_xxnormal@; + padding-right: 2px; +} + +.documenttab-close[tablet="true"] { + width: 30px; + height: 44px; + list-style-image: url("chrome://browser/skin/images/close-inactive-tab-tablet-hdpi.png"); +} + +documenttab[selected="true"] > stack > hbox > .documenttab-close[tablet="true"] { + list-style-image: url("chrome://browser/skin/images/close-default-tablet-hdpi.png"); +} + +.documenttab-close-container:hover:active > .documenttab-close[tablet="true"] { + list-style-image: url("chrome://browser/skin/images/close-active-tablet-hdpi.png"); +} + +#newtab-button[tablet="true"] { + list-style-image: url("images/newtab-default-tablet-hdpi.png"); +} + @media (@orientation@: portrait) { #toolbar-main[tablet="true"] > #tool-tabs { visibility: visible; } #controls-scrollbox[tablet="true"] > #tabs-sidebar { border: none; %ifdef honeycomb