Skip to content

Commit

Permalink
merge-upstream: various more style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Dec 31, 2023
1 parent 4c8fa9e commit 32405ed
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 19 deletions.
10 changes: 6 additions & 4 deletions src/addons/addon-precedence.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
// This list is a subset of `addons` and defines the order by which addon CSS should
// applied in. Items later in this list are given higher precedence. Addons not listed
// here are implied to have the lowest possible precedence.
// This list is a subset of all addon IDs to control the order of userstyles.
// The last item in the list is given the highest precedence (last in the DOM).
// If an addon isn't listed here, it's interpreted to have lowest precedence and
// that its order with other unlisted addons does not matter.
const addonPrecedence = [
'columns',
'editor-stage-left',
'editor-theme3'
'editor-theme3',
'hide-stage'
];

/**
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 8 additions & 9 deletions src/addons/addons/debugger/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
display: none;
position: absolute;
z-index: 492;
background-color: white;
background-color: var(--ui-modal-background);
color: var(--ui-modal-foreground);
width: 565px;
height: 25rem;
}
Expand Down Expand Up @@ -163,20 +164,18 @@
box-sizing: border-box;
display: flex;
align-items: center;
border-bottom: 1px solid rgba(0, 0, 0, 0.15);
border-bottom: 1px solid var(--ui-black-transparent);
padding-left: 4px;
font-family: monospace;
color: black;
}
.sa-debugger-log[data-type="warn"] {
border-color: hsl(50deg, 100%, 75%);
color: hsl(39deg 100% 18%);
background-color: hsl(50deg 100% 95%);
border-color: hsla(56deg, 100%, 69%, 0.5);
background-color: hsla(56deg, 100%, 69%, 0.3);
}
.sa-debugger-log[data-type="error"] {
border-color: hsl(0deg 100% 92%);
border-color: hsla(0deg, 100%, 69%, 0.5);
color: red;
background-color: hsl(0deg 100% 95%);
background-color: hsla(0deg, 100%, 69%, 0.3);
}

.sa-debugger-log-repeats {
Expand Down Expand Up @@ -273,7 +272,7 @@
display: block;
text-align: center;
height: 24px;
color: #2121bf;
color: var(--link-color);
}
.sa-debugger-compiler-warning[hidden] {
display: none;
Expand Down
1 change: 1 addition & 0 deletions src/addons/addons/hide-flyout/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@

.sa-lock-button img {
width: 20px;
user-select: none;
filter: var(--editorDarkMode-accent-filter, none);
}

Expand Down
5 changes: 4 additions & 1 deletion src/addons/addons/vol-slider/userstyle.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@

.sa-small-stage .sa-vol-slider-input,
.sa-small-stage .sa-vol-slider-icon:not([data-icon="mute"]) {
display: none;
display: none !important;
}
.sa-small-stage .sa-vol-slider {
width: 0;
}

.sa-vol-slider-input {
Expand Down
2 changes: 1 addition & 1 deletion src/addons/generated/upstream-meta.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"commit":"ce0cd3d"}
{"commit":"a79f5d8"}
3 changes: 3 additions & 0 deletions src/components/menu-bar/menu-bar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -835,6 +835,9 @@ class MenuBar extends React.Component {
</div>
)}
</div>

<Divider className={styles.divider} />

{this.props.canEditTitle ? (
<div className={classNames(styles.menuBarItem, styles.growable)}>
<MenuBarItemTooltip
Expand Down
2 changes: 1 addition & 1 deletion src/css/z-index.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ $z-index-stage-question: 49; /* "ask" block text input goes above monitors */
$z-index-card: 480;
$z-index-alerts: 490;
$z-index-menu-bar: 491; /* menu-bar should go over monitors, alerts and tutorials */
$z-index-loader: 500;
$z-index-loader: 490; /* behind menu-bar */
$z-index-modal: 510;

$z-index-drag-layer: 1000;
Expand Down

0 comments on commit 32405ed

Please sign in to comment.