Clean up CSS differences with upstream (#3283)

This commit is contained in:
Claire
2025-11-18 18:38:48 +01:00
parent e6c8958d07
commit 86445f45fc
5 changed files with 17 additions and 23 deletions

View File

@@ -11,7 +11,7 @@
} }
} }
@mixin search-input() { @mixin search-input {
outline: 0; outline: 0;
box-sizing: border-box; box-sizing: border-box;
width: 100%; width: 100%;
@@ -26,7 +26,7 @@
margin: 0; margin: 0;
} }
@mixin search-popout() { @mixin search-popout {
background: $simple-background-color; background: $simple-background-color;
border-radius: 4px; border-radius: 4px;
padding: 10px 14px; padding: 10px 14px;

View File

@@ -70,7 +70,7 @@
margin-inline-start: 15px; margin-inline-start: 15px;
text-align: start; text-align: start;
i[data-hidden] { svg[data-hidden] {
display: none; display: none;
} }
@@ -138,7 +138,7 @@
.newer { .newer {
float: right; float: right;
padding-inline-start: 0; padding-inline-end: 0;
} }
.disabled { .disabled {
@@ -204,6 +204,7 @@
} }
.information-badge, .information-badge,
.simple_form .overridden,
.simple_form .recommended, .simple_form .recommended,
.simple_form .not_recommended { .simple_form .not_recommended {
background-color: color.change($ui-secondary-color, $alpha: 0.1); background-color: color.change($ui-secondary-color, $alpha: 0.1);

View File

@@ -168,6 +168,10 @@ a {
button { button {
font-family: inherit; font-family: inherit;
cursor: pointer; cursor: pointer;
&:focus:not(:focus-visible) {
outline: none;
}
} }
.app-holder { .app-holder {

View File

@@ -700,9 +700,10 @@ code {
font-family: inherit; font-family: inherit;
pointer-events: none; pointer-events: none;
cursor: default; cursor: default;
max-width: 140px; max-width: 50%;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis;
&::after { &::after {
content: ''; content: '';
@@ -831,7 +832,7 @@ code {
} }
} }
@media screen and (width <= 740px) and (width >= 441px) { @media screen and (440px < width <= 740px) {
margin-top: 40px; margin-top: 40px;
} }

View File

@@ -41,27 +41,11 @@ body.rtl {
float: left; float: left;
} }
.activity-stream .status.light { .status__info .status__display-name {
padding-left: 10px;
padding-right: 68px;
}
.status__info .status__display-name,
.activity-stream .status.light .status__display-name {
padding-left: 25px; padding-left: 25px;
padding-right: 0; padding-right: 0;
} }
.activity-stream .pre-header {
padding-right: 68px;
padding-left: 0;
}
.activity-stream .pre-header .pre-header__icon {
left: auto;
right: 42px;
}
.account__header__tabs__buttons > .icon-button { .account__header__tabs__buttons > .icon-button {
margin-right: 0; margin-right: 0;
margin-left: 8px; margin-left: 8px;
@@ -93,6 +77,10 @@ body.rtl {
direction: rtl; direction: rtl;
} }
.react-swipeable-view-container > * {
direction: rtl;
}
.column-back-button__icon { .column-back-button__icon {
transform: scale(-1, 1); transform: scale(-1, 1);
} }