pulsar/static/workspace-view.less
2013-12-03 11:30:19 -08:00

105 lines
1.5 KiB
Plaintext

@import "ui-variables";
@import "octicon-mixins";
@font-face { .octicon-font(); }
html,
body {
width: 100%;
height: 100%;
overflow: hidden;
font-family: @font-family;
font-size: @font-size;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: @font-family;
}
.workspace {
height: 100%;
overflow: hidden;
position: relative;
background-color: @app-background-color;
font-family: @font-family;
.horizontal {
display: -webkit-flex;
height: 100%;
}
.vertical {
display: -webkit-flex;
-webkit-flex: 1;
-webkit-flex-flow: column;
}
.dev-mode {
&:before {
content: ""; // This is not a space, it is a skull and crossbones
}
padding: 0 @component-icon-padding;
position: absolute;
top: 0;
right: 0;
font-family: Wingdings;
font-size: 25px;
z-index: 1000;
opacity: 0.75;
color: @text-color-highlight;
}
}
.panes {
position: relative;
-webkit-flex: 1;
.column {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
overflow-y: hidden;
}
.row {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
overflow-x: hidden;
margin: 0;
}
.pane {
position: absolute;
display: -webkit-flex;
-webkit-flex-flow: column;
top: 0;
bottom: 0;
left: 0;
right: 0;
box-sizing: border-box;
}
.pane .item-views {
-webkit-flex: 1;
display: -webkit-flex;
min-height: 0;
}
.pane .item-views > * {
-webkit-flex: 1;
min-width: 0;
}
}