pulsar/static/panes.less
Nathan Sobo b21eb6f934 Drop .flexbox-repaint-hack div and use pseudo selector instead
We don't actually need structural markup to ensure that all pane views
are absolutely positioned. We can just use the `> *` selector inside of
.pane-items.

/cc @probablycorey is there anything I'm missing here?
2014-01-11 19:13:00 -07:00

50 lines
958 B
Plaintext

@import "ui-variables";
// Pane-items are things that go inside a pane. Like the UI-Demo, the
// settings-view, the archive-view, the image-view. Etc. Basically a non-
// editor resource with a tab.
.panes {
display: -webkit-flex;
-webkit-flex: 1;
.pane-column {
display: -webkit-flex;
-webkit-flex: 1;
-webkit-flex-direction: column;
}
.pane-row {
display: -webkit-flex;
-webkit-flex: 1;
-webkit-flex-direction: row;
}
.pane {
position: relative;
display: -webkit-flex;
-webkit-flex: 1;
-webkit-flex-direction: column;
.item-views {
-webkit-flex: 1;
display: -webkit-flex;
min-height: 0;
min-width: 0;
position: relative;
.pane-item {
color: @text-color;
background-color: @pane-item-background-color;
}
> * {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
}
}
}