Newer
Older
Steven Dale
committed
.page-wrapper {
height: 100%;
}
.body-wrapper {
Steven Dale
committed
height: calc(100% - $menu-bar-height);
Steven Dale
committed
}
.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%;
/*
Stop scrollbar popping in and out from scratch-blocks border issue
https://github.com/LLK/scratch-gui/issues/318
*/
overflow-y: hidden;
Steven Dale
committed
}
.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;
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;
}
Steven Dale
committed
flex-grow: 1;
flex-shrink: 0;
Steven Dale
committed
.tab-panel {
position: relative;
flex-grow: 1;
flex-shrink: 0;
display: none;
}
.tab-panel.is-selected {
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
.stage-wrapper {
padding-left: $space;
padding-right: $space;
/* Hides negative space between edge of rounded corners + container, when selected */
Steven Dale
committed
}
.target-wrapper {
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;