Skip to content

Commit

Permalink
merge-upstream: various style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Dec 31, 2023
1 parent 1579628 commit ec5ce41
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 12 deletions.
4 changes: 4 additions & 0 deletions src/addons/addons/vol-slider/userstyle.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,7 @@
border-radius: 50%;
background-color: #c234c2;
}

.sa-mute-project-icon {
display: none !important;
}
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":"40086e2"}
{"commit":"ce0cd3d"}
23 changes: 13 additions & 10 deletions src/addons/settings/settings.css
Original file line number Diff line number Diff line change
Expand Up @@ -281,9 +281,9 @@ a:active, a:focus {
display: block;
background: #333;
width: 40px;
height: 20px;
border: none;
border-radius: 10px;
height: 22px;
border: 1px solid $ui-black-transparent;
border-radius: 12px;
position: relative;
cursor: pointer;
transition: 0.25s ease;
Expand All @@ -296,18 +296,19 @@ a:active, a:focus {
content: "";
position: absolute;
display: block;
width: 10px;
height: 10px;
width: 12px;
height: 12px;
background: #fff;
border-radius: 5px;
top: 5px;
left: 5px;
border-radius: 6px;
top: 4px;
left: 4px;
transition: 0.25s ease;
transition-property: background, left;
}
.switch[state="on"]::before {
background: #fff;
left: 25px;
left: auto;
right: 3px;
}
.switch:active, .switch:focus-within {
outline: none;
Expand Down Expand Up @@ -455,6 +456,8 @@ a:active, a:focus {
}

.reset-setting-button {
background-color: $input-background;
border-left-width: 0;
border-radius: 0 4px 4px 0px;
box-sizing: border-box;
height: 30px;
Expand All @@ -478,7 +481,7 @@ a:active, a:focus {
margin: 0;
background: transparent;
border: none;
background: $ui-tertiary;
background: $ui-secondary;
border: 1px solid $ui-black-transparent;
border-right-width: 0;
transition: 0.25s ease;
Expand Down
10 changes: 10 additions & 0 deletions src/components/menu-bar/menu-bar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,8 @@ class MenuBar extends React.Component {
<img
src={fileIcon}
draggable={false}
width={20}
height={20}
/>
<span className={styles.collapsibleLabel}>
<FormattedMessage
Expand All @@ -508,6 +510,8 @@ class MenuBar extends React.Component {
<img
src={dropdownCaret}
draggable={false}
width={8}
height={5}
/>
<MenuBarMenu
className={classNames(styles.menuBarMenu)}
Expand Down Expand Up @@ -646,6 +650,8 @@ class MenuBar extends React.Component {
<img
src={editIcon}
draggable={false}
width={20}
height={20}
/>
<span className={styles.collapsibleLabel}>
<FormattedMessage
Expand All @@ -657,6 +663,8 @@ class MenuBar extends React.Component {
<img
src={dropdownCaret}
draggable={false}
width={8}
height={5}
/>
<MenuBarMenu
className={classNames(styles.menuBarMenu)}
Expand Down Expand Up @@ -814,6 +822,8 @@ class MenuBar extends React.Component {
<img
src={addonsIcon}
draggable={false}
width={20}
height={20}
/>
<span className={styles.collapsibleLabel}>
<FormattedMessage
Expand Down
4 changes: 4 additions & 0 deletions src/components/menu-bar/settings-menu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ const SettingsMenu = ({
<img
src={settingsIcon}
draggable={false}
width={20}
height={20}
/>
<span className={styles.dropdownLabel}>
<FormattedMessage
Expand All @@ -42,6 +44,8 @@ const SettingsMenu = ({
<img
src={dropdownCaret}
draggable={false}
width={8}
height={5}
/>
<MenuBarMenu
className={menuBarStyles.menuBarMenu}
Expand Down
2 changes: 1 addition & 1 deletion src/components/stage-selector/stage-selector.css
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ $header-height: calc($stage-menu-height - 2px);
user-select: none;
border: 1px solid $ui-black-transparent;
border-radius: .25rem;
box-shadow: inset 0 0 4px $ui-black-transparent;
box-shadow: inset 0 0 4px $shadow;
max-width: 64px;
max-height: 48px;
}
Expand Down

0 comments on commit ec5ce41

Please sign in to comment.