2011-10-26 02:02:08 -07:00
|
|
|
/* vim:set ts=2 sw=2 sts=2 et: */
|
2012-05-21 04:12:37 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2011-10-26 02:02:08 -07:00
|
|
|
|
|
|
|
box,
|
|
|
|
.splitview-nav {
|
|
|
|
-moz-box-flex: 1;
|
|
|
|
-moz-box-orient: vertical;
|
|
|
|
}
|
|
|
|
|
2011-12-19 06:14:58 -08:00
|
|
|
.splitview-nav-container {
|
|
|
|
-moz-box-pack: center;
|
|
|
|
}
|
|
|
|
|
2012-01-12 08:26:31 -08:00
|
|
|
.loading .splitview-nav-container > .placeholder {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
2011-12-19 06:14:58 -08:00
|
|
|
.splitview-controller,
|
2011-10-26 02:02:08 -07:00
|
|
|
.splitview-main {
|
|
|
|
-moz-box-flex: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.splitview-controller {
|
2011-12-19 06:14:58 -08:00
|
|
|
min-height: 3em;
|
2011-10-26 02:02:08 -07:00
|
|
|
max-height: 14em;
|
2012-01-23 09:29:18 -08:00
|
|
|
max-width: 400px;
|
2011-10-26 02:02:08 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.splitview-nav {
|
|
|
|
display: -moz-box;
|
2011-12-19 06:14:58 -08:00
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
2011-10-26 02:02:08 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
/* only the active details pane is shown */
|
|
|
|
.splitview-side-details > * {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.splitview-side-details > .splitview-active {
|
|
|
|
display: -moz-box;
|
|
|
|
}
|
|
|
|
|
2011-12-19 06:14:58 -08:00
|
|
|
.splitview-landscape-resizer {
|
|
|
|
cursor: ew-resize;
|
|
|
|
}
|
|
|
|
|
2011-10-26 02:02:08 -07:00
|
|
|
/* this is to keep in sync with SplitView.jsm's LANDSCAPE_MEDIA_QUERY */
|
2012-01-25 07:09:11 -08:00
|
|
|
@media (min-width: 551px) {
|
2011-10-26 02:02:08 -07:00
|
|
|
.splitview-root {
|
|
|
|
-moz-box-orient: horizontal;
|
|
|
|
}
|
|
|
|
.splitview-controller {
|
|
|
|
max-height: none;
|
|
|
|
}
|
|
|
|
.splitview-details {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.splitview-details.splitview-active {
|
|
|
|
display: -moz-box;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* filtered items are hidden */
|
|
|
|
ol.splitview-nav > li.splitview-filtered {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* "empty list" and "all filtered" placeholders are hidden */
|
|
|
|
.splitview-nav:empty,
|
|
|
|
.splitview-nav.splitview-all-filtered,
|
|
|
|
.splitview-nav + .splitview-nav.placeholder {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.splitview-nav.splitview-all-filtered ~ .splitview-nav.placeholder.all-filtered,
|
|
|
|
.splitview-nav:empty ~ .splitview-nav.placeholder.empty {
|
|
|
|
display: -moz-box;
|
|
|
|
}
|
2011-12-19 06:14:58 -08:00
|
|
|
|
|
|
|
.splitview-portrait-resizer {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* portrait mode */
|
2012-01-25 07:09:11 -08:00
|
|
|
@media (max-width: 550px) {
|
2011-12-19 06:14:58 -08:00
|
|
|
#splitview-details-toolbar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.splitview-portrait-resizer {
|
|
|
|
display: -moz-box;
|
|
|
|
}
|
2012-01-23 09:29:18 -08:00
|
|
|
|
|
|
|
.splitview-controller {
|
|
|
|
max-width: none;
|
|
|
|
}
|
2011-12-19 06:14:58 -08:00
|
|
|
}
|