/* style — the 3D proxy room takes the table.

   Simon: "Make it so the 3D proxy view takes over the entire space other than
   the shots and list of different modes (as in recast, swap, etc.). When the
   user switches back to one of the different modes, the interface switches to
   where it was previously."

   THE WHOLE FEATURE IS THIS CLASS. `p3d-on` goes on <html> when the 3D proxy
   tile is up (covertSetView, js/nodes.js) and comes off when it is not, so
   "switches back to where it was previously" needs no memory: nothing is
   stored, nothing is toggled, no panel is closed. The viewer and the gallery
   are hidden for as long as the room is up and are back — same slots, same
   widths, same open/closed state somebody chose in the Window menu — the
   instant it is not.

   The other half is in js/panelarrange.js hidden(), which leaves these three
   out of the grid template while the class is on. BOTH halves are needed and
   both are keyed on this one class: a panel left out of grid-template-areas
   while its element is still displayed does not disappear, it gets
   auto-placed into whatever cell is free and turns up somewhere absurd. That
   is the oldest bug in that file and this rule is what stops this feature
   being its next instance.

   WHY THE TIMELINE TOO. It is the shot's timeline, not the room's: the room
   has its own along the bottom of the 3D page, for the camera move. Two
   timelines with different times in them, one above the other, is a question
   nobody should have to answer.

   The resizers go with them. A seam between two panels where one of them is
   not standing is a handle that drags nothing, and at 5px wide with a
   col-resize cursor it is a thing you find by accident. */
/* THE GALLERY IS NO LONGER IN THIS LIST. Simon, later: "let's have it so
   there's still a bit of space to the right, so the user can still see the
   gallery... They can just drag to adjust the width". #gallery-pane and its
   grip (#nle-grip-gal) came out of this rule together, and must stay out
   together: a gallery shown with its grip hidden is a panel you cannot size,
   and a grip shown over a hidden gallery is a handle for nothing. The other
   half is panelarrange.js's p3dGal(). #gallery-resizer stays hidden -- it is
   the in-column divider for a different layout, not this seam. */
html.p3d-on #nle-viewer,
html.p3d-on #nle-timeline,
html.p3d-on #gallery-resizer,
html.p3d-on #nle-grip-view,
html.p3d-on #nle-grip-tl { display: none !important; }

/* NO ROW SEAMS OVER THE ROOM. Simon, 21 Sep, with a screenshot: hovering the
   3D proxy view found "the line that is dividing the gallery and viewer" --
   a horizontal grip (the gallery's top edge in the stacked layout) lying
   across the room's own panel. Nothing in the room is sized by a row seam;
   only the gallery's vertical grip, for its width, stays. */
html.p3d-on .nle-grip.h { display: none !important; }
