Bug 1280177 - fix titlebar button position in devedition, r=mstange

MozReview-Commit-ID: 5lTpdW38gOL

--HG--
extra : rebase_source : 0d0fede93d77fb113f2bc6d52f3a37ffe6119162
This commit is contained in:
Gijs Kruitbosch 2016-06-15 12:42:53 +01:00
Родитель d357c59414
Коммит 04654fd5c1
1 изменённых файлов: 10 добавлений и 0 удалений

Просмотреть файл

@ -32,6 +32,16 @@
margin-top: 6px;
}
/* In private windows, the #titlebar-content is higher because of the
* private browsing indicator. With the margin-top the titlebar buttons
* align to the top correctly in that case, but only if we don't stretch
* the box they're in because the container is too high, so we override
* the default alignment value (stretch).
*/
#main-window[tabsintitlebar] > #titlebar > #titlebar-content > #titlebar-buttonbox-container {
-moz-box-align: start;
}
/* Square back and forward buttons. Need !important on these because there
are a lot of more specific selectors sprinkled around elsewhere for changing
background / shadows for different states */