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;
border-bottom: $ui-background-blue 1px solid;
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;
/* Fix the max width to max stage size (defined in layout_constants.js) + gutter size */
max-width: calc(480px + calc($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 {
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;
}
.extension-button-container {
z-index: 50; /** Force extension button above the ScratchBlocks flyout. */
background: white;
border: 1px solid #ddd;
box-sizing: content-box; /* To match scratch-block vertical toolbox borders */
.extension-button {
font-size: 0.55rem;
font-weight: bold;
}
.extension-button > div {
margin-top: 0;