Bug 863101 - Make tiles in panels work in snapped.r=rsilveira

This commit is contained in:
Allison Naaktgeboren 2013-04-22 13:21:37 -07:00
parent 0d63fe31b0
commit 0affd6cf8f
2 changed files with 19 additions and 6 deletions

View File

@ -335,7 +335,7 @@
</hbox>
</appbar>
<vbox id="panel-container" hidden="true" class="window-width window-height meta">
<vbox id="panel-container" hidden="true" class="window-width window-height meta" observes="bcast_windowState">
<hbox id="panel-header">
<toolbarbutton id="panel-close-button" command="cmd_panel"/>
@ -350,18 +350,18 @@
</menulist>
</hbox>
<deck id="panel-items" selectedIndex="0" flex="1">
<deck id="panel-items" selectedIndex="0" flex="1" >
<scrollbox id="bookmarks-container" flex="1">
<richgrid id="bookmarks-list" seltype="single" flex="1"/>
<richgrid id="bookmarks-list" class="canSnapTiles" seltype="single" flex="1"/>
</scrollbox>
<scrollbox id="history-container" flex="1">
<richgrid id="history-list" seltype="single" flex="1"/>
<richgrid id="history-list" class="canSnapTiles" seltype="single" flex="1"/>
</scrollbox>
<scrollbox id="downloads-container" flex="1">
<richgrid id="downloads-list" seltype="single" flex="1"/>
<richgrid id="downloads-list" class="canSnapTiles" seltype="single" flex="1"/>
</scrollbox>
<scrollbox id="remotetabs-container" flex="1">
<richgrid id="remotetabs-list" seltype="single" flex="1"/>
<richgrid id="remotetabs-list" class="canSnapTiles" seltype="single" flex="1"/>
</scrollbox>
<vbox id="console-container" flex="1">
<vbox id="console-header" class="panel-list">

View File

@ -894,6 +894,7 @@ setting[type="radio"] > vbox {
margin: 0px;
}
/* Browser Content Areas ----------------------------------------------------- */
/* Hide the browser while the start UI is visible */
@ -916,6 +917,10 @@ setting[type="radio"] > vbox {
padding: 60px 40px;
}
#panel-container[viewstate="snapped"] .canSnapTiles .richgrid-item-content {
-moz-box-orient: horizontal;
}
#panel-close-button {
background: transparent;
border: 0 none;
@ -944,11 +949,19 @@ setting[type="radio"] > vbox {
margin: 0;
}
#panel-container[viewstate="snapped"] #panel-view-switcher {
font-size: @metro_font_large@;
}
#panel-items {
padding-top: 20px;
-moz-padding-start: 88px;
}
#panel-container[viewstate="snapped"] #panel-items {
padding-left: 0px;
}
/* Console Section - Panel UI ---------------------------------------------- */
#console-filter-warnings,