Newer
Older
Steven Dale
committed
.page-wrapper {
height: 100%;
}
.body-wrapper {
Steven Dale
committed
height: calc(100% - $menu-bar-height);
Steven Dale
committed
background-color: #e8edf1;
}
.flex-wrapper {
display: flex;
/*
Make 2 columns:
a) for the blocks + workspace panes, and
b) for combined stage menu + stage + sprite/stage selectors
Steven Dale
committed
*/
Steven Dale
committed
height: 100%;
}
.editor-wrapper {
flex-basis: 600px;
flex-grow: 1;
flex-shrink: 0;
Steven Dale
committed
display: flex;
flex-direction: column;
}
.tab-list {
height: $stage-menu-height;
width: 250px; /* Match width of the toolbox */
display: flex;
align-items: flex-end;
flex-shrink: 0;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 500;
font-size: 0.80rem;
.tab-list .tab {
flex-grow: 1;
height: 80%;
margin-left: 1px;
border-radius: $space $space 0 0;
border: none;
background-color: #F6F8FA;
color: #9AA1B5;
display: flex;
justify-content: center;
align-items: center;
}
.tab-list .tab[aria-selected="true"] {
color: #40B9F5;
}
Steven Dale
committed
flex-grow: 1;
flex-shrink: 0;
Steven Dale
committed
.tab-panel {
position: relative;
flex-grow: 1;
flex-shrink: 0;
display: flex;
}
Steven Dale
committed
.blocks-wrapper {
flex-grow: 1;
position: relative;
Steven Dale
committed
}
.stage-and-target-wrapper {
Steven Dale
committed
Makes rows for children:
Steven Dale
committed
1) stage menu
2) stage
3) sprite/stage selectors
Only reason we need this, is so .targetWrapper, which holds the selectors,
Steven Dale
committed
goes to full vertical height of the window
*/
display: flex;
Steven Dale
committed
/*
Calc the minimum width for this pane, accounting for left + right spacing.
If and when the width doesn't need to be fixed, we can move the spacing out
of this calc, and into padding instead
Steven Dale
committed
*/
flex-basis: calc(480px + ($space * 2));
}
Steven Dale
committed
.stage-wrapper {
padding-left: $space;
padding-right: $space;
/* Hides negative space between edge of rounded corners + container, when selected */
Steven Dale
committed
}
.target-wrapper {
/* Take all the available vertical space available.
Works in tandem with height: 100%; which is set on the child: .targetPane
Steven Dale
committed
*/
flex-grow: 1;
flex-basis: 0;
padding-top: $space;
padding-left: $space;
padding-right: $space;
/*
Steven Dale
committed
For making the sprite-selector a scrollable pane
Steven Dale
committed
*/
overflow: hidden;
}
.stage-menu-wrapper {
display: flex;
flex-shrink: 0;
align-items: center;
Steven Dale
committed
height: $stage-menu-height;