Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/scratch-gui/src/components/alerts/alert.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@import "../../css/colors.css";
@import "../../css/z-index.css";

.alert {
body .alert {
width: 100%;
display: flex;
flex-direction: row;
Expand Down
4 changes: 2 additions & 2 deletions packages/scratch-gui/src/components/cards/card.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
@import "../../css/colors.css";
@import "../../css/z-index.css";

.card-container-overlay {
body .card-container-overlay {
position: fixed;
pointer-events: none;
z-index: $z-index-card;
}

.card-container {
body .card-container {
position:absolute;
pointer-events: auto;
z-index: $z-index-card;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@import "../../css/colors.css";
@import "../../css/z-index.css";

.drag-layer {
body .drag-layer {
position: fixed;
pointer-events: none;
z-index: $z-index-drag-layer;
Expand Down
4 changes: 2 additions & 2 deletions packages/scratch-gui/src/components/gui/gui.css
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@
}

/* Sprite Selection Watermark */
.watermark {
body .watermark {
position: absolute;
top: 1.25rem;
pointer-events: none;
Expand All @@ -251,7 +251,7 @@
}
/* Alerts */

.alerts-container {
body .alerts-container {
display: flex;
justify-content: center;
width: 100%;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.monitor-list {
body .monitor-list {
/* Width/height are set by the component, margin: auto centers in fullscreen */
margin: auto;
pointer-events: none;
Expand Down
2 changes: 1 addition & 1 deletion packages/scratch-gui/src/components/monitor/monitor.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@import "../../css/colors.css";
@import "../../css/z-index.css";

.monitor-container {
body .monitor-container {
position: absolute;
background: $ui-primary;
z-index: $z-index-monitor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
user-select: none;
}

.icon {
body .icon {
width: 100%;
height: 100%;
pointer-events: none;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
align-items: center;
}

.sprite-image {
body .sprite-image {
user-select: none;
pointer-events: none;
max-width: 32px;
Expand Down
10 changes: 5 additions & 5 deletions packages/scratch-gui/src/components/stage/stage.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
/* we want stage overlays to all be positioned in the same spot as the stage, but can't put them inside the border
because we want their overflow to be visible, and the bordered element must have overflow: hidden set so that the
stage doesn't "spill" out from under its rounded corners. instead, shift these over by the border width. */
.stage-overlays {
body .stage-overlays {
position: absolute;
top: $stage-standard-border-width;
left: $stage-standard-border-width;
Expand All @@ -67,9 +67,9 @@ stage doesn't "spill" out from under its rounded corners. instead, shift these o
left: $stage-full-screen-border-width;
}

.monitor-wrapper,
.frame-wrapper,
.green-flag-overlay-wrapper {
body .monitor-wrapper,
body .frame-wrapper,
body .green-flag-overlay-wrapper {
position: absolute;
top: 0;
left: 0;
Expand All @@ -84,7 +84,7 @@ stage doesn't "spill" out from under its rounded corners. instead, shift these o
filter: drop-shadow(5px 5px 5px $ui-black-transparent);
}

.stage-bottom-wrapper {
body .stage-bottom-wrapper {
position: absolute;
display: flex;
flex-direction: column;
Expand Down