Skip to content

Commit

Permalink
Fix styling issues with notification settings and mobile borders (mas…
Browse files Browse the repository at this point in the history
  • Loading branch information
vmstan authored Aug 8, 2024
1 parent 079d681 commit 664bef3
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 49 deletions.
6 changes: 0 additions & 6 deletions app/javascript/styles/mastodon-light/diff.scss
Original file line number Diff line number Diff line change
Expand Up @@ -214,12 +214,6 @@ html {
border-top-color: lighten($ui-base-color, 8%);
}

.column-header__collapsible-inner {
background: darken($ui-base-color, 4%);
border: 1px solid var(--background-border-color);
border-bottom: 0;
}

.column-settings__hashtags .column-select__option {
color: $white;
}
Expand Down
2 changes: 1 addition & 1 deletion app/javascript/styles/mastodon-light/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ $valid-value-color: $success-green !default;

$ui-base-color: $classic-secondary-color !default;
$ui-base-lighter-color: #b0c0cf;
$ui-primary-color: #9bcbed;
$ui-primary-color: $classic-primary-color !default;
$ui-secondary-color: $classic-base-color !default;
$ui-highlight-color: $classic-highlight-color !default;

Expand Down
15 changes: 15 additions & 0 deletions app/javascript/styles/mastodon/components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2779,6 +2779,11 @@ $ui-header-logo-wordmark-width: 99px;
&.privacy-policy {
border-top: 1px solid var(--background-border-color);
border-radius: 4px;

@media screen and (max-width: $no-gap-breakpoint) {
border-top: 0;
border-bottom: 0;
}
}
}
}
Expand Down Expand Up @@ -4472,6 +4477,11 @@ a.status-card {
.column-header__collapsible-inner {
border: 1px solid var(--background-border-color);
border-top: 0;

@media screen and (max-width: $no-gap-breakpoint) {
border-left: 0;
border-right: 0;
}
}

.column-header__setting-btn {
Expand Down Expand Up @@ -7657,6 +7667,11 @@ noscript {
width: 100%;
}
}

@media screen and (max-width: $no-gap-breakpoint) {
border-left: 0;
border-right: 0;
}
}

.drawer__backdrop {
Expand Down
5 changes: 0 additions & 5 deletions app/javascript/styles/mastodon/emoji_picker.scss
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,6 @@
max-height: 35vh;
padding: 0 6px 6px;
will-change: transform;

&::-webkit-scrollbar-track:hover,
&::-webkit-scrollbar-track:active {
background-color: rgba($base-overlay-background, 0.3);
}
}

.emoji-mart-search {
Expand Down
37 changes: 0 additions & 37 deletions app/javascript/styles/mastodon/reset.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,40 +56,3 @@ table {
html {
scrollbar-color: lighten($ui-base-color, 4%) rgba($base-overlay-background, 0.1);
}

::-webkit-scrollbar {
width: 12px;
height: 12px;
}

::-webkit-scrollbar-thumb {
background: lighten($ui-base-color, 4%);
border: 0px none $base-border-color;
border-radius: 50px;
}

::-webkit-scrollbar-thumb:hover {
background: lighten($ui-base-color, 6%);
}

::-webkit-scrollbar-thumb:active {
background: lighten($ui-base-color, 4%);
}

::-webkit-scrollbar-track {
border: 0px none $base-border-color;
border-radius: 0;
background: rgba($base-overlay-background, 0.1);
}

::-webkit-scrollbar-track:hover {
background: $ui-base-color;
}

::-webkit-scrollbar-track:active {
background: $ui-base-color;
}

::-webkit-scrollbar-corner {
background: transparent;
}

0 comments on commit 664bef3

Please sign in to comment.