Merge commit '9e04007020' into upstream-20240725

This commit is contained in:
KMY 2024-07-25 13:06:26 +09:00
commit a99f174d98
322 changed files with 8093 additions and 1586 deletions

View file

@ -23,7 +23,7 @@ html {
// Change default background colors of columns
.interaction-modal {
background: $white;
border: 1px solid lighten($ui-base-color, 8%);
border: 1px solid var(--background-border-color);
}
.rules-list li::before {
@ -75,8 +75,8 @@ html {
}
.getting-started .navigation-bar {
border-top: 1px solid lighten($ui-base-color, 8%);
border-bottom: 1px solid lighten($ui-base-color, 8%);
border-top: 1px solid var(--background-border-color);
border-bottom: 1px solid var(--background-border-color);
@media screen and (max-width: $no-gap-breakpoint) {
border-top: 0;
@ -88,7 +88,7 @@ html {
.setting-text,
.report-dialog-modal__textarea,
.audio-player {
border: 1px solid lighten($ui-base-color, 8%);
border: 1px solid var(--background-border-color);
}
.report-dialog-modal .dialog-option .poll__input {
@ -140,7 +140,6 @@ html {
.actions-modal ul li:not(:empty) a:focus button,
.actions-modal ul li:not(:empty) a:hover,
.actions-modal ul li:not(:empty) a:hover button,
.admin-wrapper .sidebar ul .simple-navigation-active-leaf a,
.simple_form .block-button,
.simple_form .button,
.simple_form button {
@ -175,7 +174,7 @@ html {
.picture-in-picture__footer,
.reactions-bar__item {
background: $white;
border: 1px solid lighten($ui-base-color, 8%);
border: 1px solid var(--background-border-color);
}
.reactions-bar__item:hover,
@ -217,7 +216,7 @@ html {
.column-header__collapsible-inner {
background: darken($ui-base-color, 4%);
border: 1px solid lighten($ui-base-color, 8%);
border: 1px solid var(--background-border-color);
border-bottom: 0;
}
@ -259,7 +258,7 @@ html {
.embed-modal .embed-modal__container .embed-modal__html {
background: $white;
border: 1px solid lighten($ui-base-color, 8%);
border: 1px solid var(--background-border-color);
&:focus {
border-color: lighten($ui-base-color, 12%);
@ -298,7 +297,7 @@ html {
.directory__tag > a,
.directory__tag > div {
background: $white;
border: 1px solid lighten($ui-base-color, 8%);
border: 1px solid var(--background-border-color);
@media screen and (max-width: $no-gap-breakpoint) {
border-left: 0;
@ -307,18 +306,6 @@ html {
}
}
.simple_form {
input[type='text'],
input[type='number'],
input[type='email'],
input[type='password'],
textarea {
&:hover {
border-color: lighten($ui-base-color, 12%);
}
}
}
.picture-in-picture-placeholder {
background: $white;
border-color: lighten($ui-base-color, 8%);
@ -346,7 +333,7 @@ html {
}
.activity-stream {
border: 1px solid lighten($ui-base-color, 8%);
border: 1px solid var(--background-border-color);
&--under-tabs {
border-top: 0;
@ -411,6 +398,22 @@ html {
color: $ui-highlight-color;
background-color: rgba($ui-highlight-color, 0.1);
}
input[type='text'],
input[type='number'],
input[type='email'],
input[type='password'],
input[type='url'],
input[type='datetime-local'],
textarea {
background: darken($ui-base-color, 10%);
}
select {
background: darken($ui-base-color, 10%)
url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14.933 18.467' height='19.698' width='15.929'><path d='M3.467 14.967l-3.393-3.5H14.86l-3.392 3.5c-1.866 1.925-3.666 3.5-4 3.5-.335 0-2.135-1.575-4-3.5zm.266-11.234L7.467 0 11.2 3.733l3.733 3.734H0l3.733-3.734z' fill='#{hex-color(lighten($ui-base-color, 12%))}'/></svg>")
no-repeat right 8px center / auto 14px;
}
}
.compose-form .compose-form__warning {
@ -449,8 +452,24 @@ html {
box-shadow: none;
}
.card {
&__img {
background: darken($ui-base-color, 10%);
}
& > a {
&:hover,
&:active,
&:focus {
.card__bar {
background: darken($ui-base-color, 10%);
}
}
}
}
.mute-modal select {
border: 1px solid lighten($ui-base-color, 8%);
border: 1px solid var(--background-border-color);
background: $simple-background-color
url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14.933 18.467' height='19.698' width='15.929'><path d='M3.467 14.967l-3.393-3.5H14.86l-3.392 3.5c-1.866 1.925-3.666 3.5-4 3.5-.335 0-2.135-1.575-4-3.5zm.266-11.234L7.467 0 11.2 3.733l3.733 3.734H0l3.733-3.734z' fill='#{hex-color(lighten($ui-base-color, 8%))}'/></svg>")
no-repeat right 8px center / auto 16px;
@ -491,6 +510,7 @@ html {
.search__popout,
.emoji-mart-search input,
.language-dropdown__dropdown .emoji-mart-search input,
// .strike-card,
.poll__option input[type='text'] {
background: darken($ui-base-color, 10%);
}
@ -507,3 +527,43 @@ html {
.inline-follow-suggestions__body__scroll-button__icon {
color: $white;
}
a.sparkline {
&:hover,
&:focus,
&:active {
background: darken($ui-base-color, 10%);
}
}
.dashboard__counters {
& > div {
& > a {
&:hover,
&:focus,
&:active {
background: darken($ui-base-color, 10%);
}
}
}
}
.directory {
&__tag {
& > a {
&:hover,
&:focus,
&:active {
background: darken($ui-base-color, 10%);
}
}
}
}
.strike-entry {
&:hover,
&:focus,
&:active {
background: darken($ui-base-color, 10%);
}
}

View file

@ -10,7 +10,7 @@
&:active,
&:focus {
.card__bar {
background: lighten($ui-base-color, 8%);
background: $ui-base-color;
}
}
}
@ -18,7 +18,9 @@
&__img {
height: 130px;
position: relative;
background: darken($ui-base-color, 12%);
background: $ui-base-color;
border: 1px solid var(--background-border-color);
border-bottom: none;
img {
display: block;
@ -39,7 +41,9 @@
display: flex;
justify-content: flex-start;
align-items: center;
background: lighten($ui-base-color, 4%);
background: var(--background-color);
border: 1px solid var(--background-border-color);
border-top: none;
.avatar {
flex: 0 0 auto;

View file

@ -1,7 +1,7 @@
@use 'sass:math';
$no-columns-breakpoint: 600px;
$sidebar-width: 240px;
$sidebar-width: 300px;
$content-width: 840px;
.admin-wrapper {
@ -26,7 +26,7 @@ $content-width: 840px;
&__inner {
display: flex;
justify-content: flex-end;
background: $ui-base-color;
background: var(--background-color);
height: 100%;
}
}
@ -38,7 +38,7 @@ $content-width: 840px;
&__toggle {
display: none;
background: darken($ui-base-color, 4%);
background: var(--background-color);
border-bottom: 1px solid lighten($ui-base-color, 4%);
align-items: center;
@ -103,7 +103,6 @@ $content-width: 840px;
ul {
list-style: none;
border-radius: 4px 0 0 4px;
overflow: hidden;
margin-bottom: 20px;
@ -112,13 +111,13 @@ $content-width: 840px;
}
a {
font-size: 14px;
display: block;
padding: 15px;
color: $darker-text-color;
text-decoration: none;
transition: all 200ms linear;
transition-property: color, background-color;
border-radius: 4px 0 0 4px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
@ -129,19 +128,13 @@ $content-width: 840px;
&:hover {
color: $primary-text-color;
background-color: darken($ui-base-color, 5%);
transition: all 100ms linear;
transition-property: color, background-color;
}
&.selected {
border-radius: 4px 0 0;
}
}
ul {
background: darken($ui-base-color, 4%);
border-radius: 0 0 0 4px;
background: var(--background-color);
margin: 0;
a {
@ -156,16 +149,10 @@ $content-width: 840px;
}
.simple-navigation-active-leaf a {
color: $primary-text-color;
background-color: $ui-highlight-color;
color: $highlight-text-color;
border-bottom: 0;
border-radius: 0;
}
}
& > ul > .simple-navigation-active-leaf a {
border-radius: 4px 0 0 4px;
}
}
.content-wrapper {
@ -299,7 +286,7 @@ $content-width: 840px;
color: $darker-text-color;
padding-bottom: 8px;
margin-bottom: 8px;
border-bottom: 1px solid lighten($ui-base-color, 8%);
border-bottom: 1px solid var(--background-border-color);
}
h6 {
@ -372,7 +359,7 @@ $content-width: 840px;
width: 100%;
height: 0;
border: 0;
border-bottom: 1px solid rgba($ui-base-lighter-color, 0.6);
border-bottom: 1px solid var(--background-border-color);
margin: 20px 0;
&.spacer {
@ -410,14 +397,14 @@ $content-width: 840px;
inset-inline-start: 0;
bottom: 0;
overflow-y: auto;
background: $ui-base-color;
background: var(--background-color);
}
}
ul a,
ul ul a {
font-size: 16px;
border-radius: 0;
border-bottom: 1px solid lighten($ui-base-color, 4%);
transition: none;
&:hover {
@ -683,8 +670,10 @@ body,
line-height: 20px;
padding: 15px;
padding-inline-start: 15px * 2 + 40px;
background: $ui-base-color;
border-bottom: 1px solid darken($ui-base-color, 8%);
background: var(--background-color);
border-right: 1px solid var(--background-border-color);
border-left: 1px solid var(--background-border-color);
border-bottom: 1px solid var(--background-border-color);
position: relative;
text-decoration: none;
color: $darker-text-color;
@ -693,18 +682,13 @@ body,
&:first-child {
border-top-left-radius: 4px;
border-top-right-radius: 4px;
border-top: 1px solid var(--background-border-color);
}
&:last-child {
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
border-bottom: 0;
}
&:hover,
&:focus,
&:active {
background: lighten($ui-base-color, 4%);
border-bottom: 1px solid var(--background-border-color);
}
&__avatar {
@ -744,6 +728,47 @@ body,
}
}
.strike-entry {
display: block;
line-height: 20px;
padding: 15px;
padding-inline-start: 15px * 2 + 40px;
background: var(--background-color);
border: 1px solid var(--background-border-color);
border-radius: 4px;
position: relative;
text-decoration: none;
color: $darker-text-color;
font-size: 14px;
margin-bottom: 15px;
&__avatar {
position: absolute;
inset-inline-start: 15px;
top: 15px;
.avatar {
border-radius: 4px;
width: 40px;
height: 40px;
}
}
&__title {
word-wrap: break-word;
}
&__timestamp {
color: $dark-text-color;
}
&:hover,
&:focus,
&:active {
background: $ui-base-color;
}
}
a.name-tag,
.name-tag,
a.inline-name-tag,
@ -751,6 +776,10 @@ a.inline-name-tag,
text-decoration: none;
color: $secondary-text-color;
&:hover {
color: $highlight-text-color;
}
.username {
font-weight: 500;
}
@ -830,7 +859,8 @@ a.name-tag,
}
.report-card {
background: $ui-base-color;
background: var(--background-color);
border: 1px solid var(--background-border-color);
border-radius: 4px;
margin-bottom: 20px;
@ -842,7 +872,6 @@ a.name-tag,
.account {
padding: 0;
border: 0;
&__avatar-wrapper {
margin-inline-start: 0;
@ -863,7 +892,7 @@ a.name-tag,
&:focus,
&:hover,
&:active {
color: lighten($darker-text-color, 8%);
color: $highlight-text-color;
}
}
@ -877,11 +906,7 @@ a.name-tag,
&__item {
display: flex;
justify-content: flex-start;
border-top: 1px solid darken($ui-base-color, 4%);
&:hover {
background: lighten($ui-base-color, 2%);
}
border-top: 1px solid var(--background-border-color);
&__reported-by,
&__assigned {
@ -904,7 +929,6 @@ a.name-tag,
max-width: calc(100% - 300px);
&__icon {
color: $dark-text-color;
margin-inline-end: 4px;
font-weight: 500;
}
@ -917,6 +941,10 @@ a.name-tag,
padding: 15px;
text-decoration: none;
color: $darker-text-color;
&:hover {
color: $highlight-text-color;
}
}
}
}
@ -952,14 +980,15 @@ a.name-tag,
.account__header__fields,
.account__header__content {
background: lighten($ui-base-color, 8%);
background: var(--background-color);
border: 1px solid var(--background-border-color);
border-radius: 4px;
height: 100%;
}
.account__header__fields {
margin: 0;
border: 0;
border: 1px solid var(--background-border-color);
a {
color: $highlight-text-color;
@ -988,8 +1017,8 @@ a.name-tag,
.applications-list__item,
.filters-list__item {
padding: 15px 0;
background: $ui-base-color;
border: 1px solid lighten($ui-base-color, 4%);
background: var(--background-color);
border: 1px solid var(--background-border-color);
border-radius: 4px;
margin-top: 15px;
}
@ -1000,13 +1029,13 @@ a.name-tag,
.announcements-list,
.filters-list {
border: 1px solid lighten($ui-base-color, 4%);
border: 1px solid var(--background-border-color);
border-radius: 4px;
border-bottom: none;
&__item {
padding: 15px 0;
background: $ui-base-color;
border-bottom: 1px solid lighten($ui-base-color, 4%);
border-bottom: 1px solid var(--background-border-color);
&__title {
padding: 0 15px;
@ -1018,6 +1047,10 @@ a.name-tag,
text-decoration: none;
margin-bottom: 10px;
&:hover {
color: $highlight-text-color;
}
.account-role {
vertical-align: middle;
}
@ -1056,10 +1089,6 @@ a.name-tag,
&__permissions {
margin-top: 10px;
}
&:last-child {
border-bottom: 0;
}
}
}
@ -1116,7 +1145,7 @@ a.name-tag,
&__table {
&__number {
color: $secondary-text-color;
color: var(--background-color);
padding: 10px;
}
@ -1143,7 +1172,7 @@ a.name-tag,
&__box {
box-sizing: border-box;
background: $ui-highlight-color;
background: var(--background-color);
padding: 10px;
font-weight: 500;
color: $primary-text-color;
@ -1165,8 +1194,9 @@ a.name-tag,
.sparkline {
display: block;
text-decoration: none;
background: lighten($ui-base-color, 4%);
background: var(--background-color);
border-radius: 4px;
border: 1px solid var(--background-border-color);
padding: 0;
position: relative;
padding-bottom: 55px + 20px;
@ -1238,12 +1268,12 @@ a.sparkline {
&:hover,
&:focus,
&:active {
background: lighten($ui-base-color, 6%);
background: $ui-base-color;
}
}
.skeleton {
background-color: lighten($ui-base-color, 8%);
background-color: var(--background-color);
background-image: linear-gradient(
90deg,
lighten($ui-base-color, 8%),
@ -1323,17 +1353,13 @@ a.sparkline {
.report-reason-selector {
border-radius: 4px;
background: $ui-base-color;
background: var(--background-color);
margin-bottom: 20px;
&__category {
cursor: pointer;
border-bottom: 1px solid darken($ui-base-color, 8%);
&:last-child {
border-bottom: 0;
}
&__label {
padding: 15px;
display: flex;
@ -1362,7 +1388,7 @@ a.sparkline {
&__details {
&__item {
border-bottom: 1px solid lighten($ui-base-color, 8%);
border-bottom: 1px solid var(--background-border-color);
padding: 15px 0;
&:last-child {
@ -1393,7 +1419,7 @@ a.sparkline {
.account-card {
border-radius: 4px;
border: 1px solid lighten($ui-base-color, 8%);
border: 1px solid var(--background-border-color);
position: relative;
&__warning-badge {
@ -1481,7 +1507,6 @@ a.sparkline {
position: absolute;
bottom: 0;
inset-inline-end: 15px;
background: linear-gradient(to left, $ui-base-color, transparent);
pointer-events: none;
}
@ -1557,11 +1582,11 @@ a.sparkline {
margin-bottom: 20px;
&__item {
background: $ui-base-color;
background: var(--background-color);
position: relative;
padding: 15px;
padding-inline-start: 15px * 2 + 40px;
border-bottom: 1px solid darken($ui-base-color, 8%);
border: 1px solid var(--background-border-color);
&:first-child {
border-top-left-radius: 4px;
@ -1571,11 +1596,6 @@ a.sparkline {
&:last-child {
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
border-bottom: 0;
}
&:hover {
background-color: lighten($ui-base-color, 4%);
}
&__avatar {
@ -1653,13 +1673,10 @@ a.sparkline {
}
.report-actions {
border: 1px solid darken($ui-base-color, 8%);
&__item {
display: flex;
align-items: center;
line-height: 18px;
border-bottom: 1px solid darken($ui-base-color, 8%);
&:last-child {
border-bottom: 0;
@ -1722,8 +1739,6 @@ a.sparkline {
.strike-card {
padding: 15px;
border-radius: 4px;
background: $ui-base-color;
font-size: 15px;
line-height: 20px;
word-wrap: break-word;
@ -1731,6 +1746,8 @@ a.sparkline {
color: $primary-text-color;
box-sizing: border-box;
min-height: 100%;
border: 1px solid var(--background-border-color);
border-radius: 4px;
a {
color: $highlight-text-color;
@ -1771,15 +1788,14 @@ a.sparkline {
&__statuses-list {
border-radius: 4px;
border: 1px solid darken($ui-base-color, 8%);
border: 1px solid var(--background-border-color);
font-size: 13px;
line-height: 18px;
overflow: hidden;
&__item {
padding: 16px;
background: lighten($ui-base-color, 2%);
border-bottom: 1px solid darken($ui-base-color, 8%);
border-bottom: 1px solid var(--background-border-color);
&:last-child {
border-bottom: 0;

View file

@ -122,7 +122,7 @@ body {
}
&.admin {
background: darken($ui-base-color, 4%);
background: var(--background-color);
padding: 0;
}

View file

@ -521,7 +521,7 @@ body > [data-popper-placement] {
gap: 16px;
flex: 0 1 auto;
border-radius: 4px;
border: 1px solid lighten($ui-base-color, 8%);
border: 1px solid var(--background-border-color);
transition: border-color 300ms linear;
min-height: 0;
position: relative;
@ -591,7 +591,7 @@ body > [data-popper-placement] {
.autosuggest-input {
flex: 1 1 auto;
border-bottom: 1px solid lighten($ui-base-color, 8%);
border-bottom: 1px solid var(--background-border-color);
}
}
@ -1468,7 +1468,7 @@ body > [data-popper-placement] {
}
&--first-in-thread {
border-top: 1px solid lighten($ui-base-color, 8%);
border-top: 1px solid var(--background-border-color);
}
&__line {
@ -1627,14 +1627,19 @@ body > [data-popper-placement] {
}
}
.status__wrapper-direct {
.status__wrapper-direct,
.notification-ungrouped--direct {
background: rgba($ui-highlight-color, 0.05);
&:focus {
background: rgba($ui-highlight-color, 0.05);
background: rgba($ui-highlight-color, 0.1);
}
}
.status__prepend {
.status__wrapper-direct,
.notification-ungrouped--direct {
.status__prepend,
.notification-ungrouped__header {
color: $highlight-text-color;
}
}
@ -1859,7 +1864,6 @@ body > [data-popper-placement] {
.account {
padding: 16px;
border-bottom: 1px solid var(--background-border-color);
.account__display-name {
flex: 1 1 auto;
@ -2284,41 +2288,28 @@ a.account__display-name {
}
}
.notification__relationships-severance-event,
.notification__moderation-warning {
display: flex;
gap: 16px;
.notification-group--link {
color: $secondary-text-color;
text-decoration: none;
align-items: flex-start;
padding: 16px 32px;
border-bottom: 1px solid var(--background-border-color);
&:hover {
color: $primary-text-color;
}
.icon {
padding: 2px;
color: $highlight-text-color;
}
&__content {
.notification-group__main {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 8px;
flex-grow: 1;
font-size: 16px;
line-height: 24px;
font-size: 15px;
line-height: 22px;
strong {
strong,
bdi {
font-weight: 700;
}
.link-button {
font-size: inherit;
line-height: inherit;
font-weight: inherit;
}
}
}
@ -3427,7 +3418,7 @@ $ui-header-logo-wordmark-width: 99px;
.copy-paste-text {
background: lighten($ui-base-color, 4%);
border-radius: 8px;
border: 1px solid lighten($ui-base-color, 8%);
border: 1px solid var(--background-border-color);
padding: 16px;
color: $primary-text-color;
font-size: 15px;
@ -4889,7 +4880,7 @@ a.status-card {
section {
padding: 16px;
border-bottom: 1px solid lighten($ui-base-color, 8%);
border-bottom: 1px solid var(--background-border-color);
&:last-child {
border-bottom: 0;
@ -5604,7 +5595,7 @@ a.status-card {
input {
padding: 8px 12px;
background: $ui-base-color;
border: 1px solid lighten($ui-base-color, 8%);
border: 1px solid var(--background-border-color);
color: $darker-text-color;
@media screen and (width <= 600px) {
@ -5690,7 +5681,7 @@ a.status-card {
margin-top: -2px;
width: 100%;
background: $ui-base-color;
border: 1px solid lighten($ui-base-color, 8%);
border: 1px solid var(--background-border-color);
border-radius: 0 0 4px 4px;
box-shadow: var(--dropdown-shadow);
z-index: 99;
@ -7690,6 +7681,11 @@ a.status-card {
display: flex;
flex-shrink: 0;
@media screen and (max-width: $no-gap-breakpoint) {
border-right: 0;
border-left: 0;
}
button {
background: transparent;
border: 0;
@ -9229,13 +9225,13 @@ noscript {
}
.search__input {
border: 1px solid lighten($ui-base-color, 8%);
border: 1px solid var(--background-border-color);
padding: 10px;
padding-inline-end: 30px;
}
.search__popout {
border: 1px solid lighten($ui-base-color, 8%);
border: 1px solid var(--background-border-color);
}
.search .icon {
@ -9554,7 +9550,7 @@ noscript {
&__input {
@include search-input;
border: 1px solid lighten($ui-base-color, 8%);
border: 1px solid var(--background-border-color);
padding: 4px 6px;
color: $primary-text-color;
font-size: 16px;
@ -9589,7 +9585,7 @@ noscript {
margin-top: -1px;
padding-top: 5px;
padding-bottom: 5px;
border: 1px solid lighten($ui-base-color, 8%);
border: 1px solid var(--background-border-color);
}
&.focused &__input {
@ -10624,8 +10620,8 @@ noscript {
display: flex;
align-items: center;
border-bottom: 1px solid var(--background-border-color);
padding: 24px 32px;
gap: 16px;
padding: 16px 24px;
gap: 8px;
color: $darker-text-color;
text-decoration: none;
@ -10635,10 +10631,8 @@ noscript {
color: $secondary-text-color;
}
.icon {
width: 24px;
height: 24px;
padding: 2px;
.notification-group__icon {
color: inherit;
}
&__text {
@ -10776,6 +10770,252 @@ noscript {
}
}
.notification-group {
display: flex;
align-items: flex-start;
gap: 8px;
padding: 16px 24px;
border-bottom: 1px solid var(--background-border-color);
&__icon {
width: 40px;
display: flex;
align-items: center;
justify-content: center;
flex: 0 0 auto;
color: $dark-text-color;
.icon {
width: 28px;
height: 28px;
}
}
&--follow &__icon,
&--follow-request &__icon {
color: $highlight-text-color;
}
&--favourite &__icon {
color: $gold-star;
}
&--reblog &__icon {
color: $valid-value-color;
}
&--relationships-severance-event &__icon,
&--admin-report &__icon,
&--admin-sign-up &__icon {
color: $dark-text-color;
}
&--moderation-warning &__icon {
color: $red-bookmark;
}
&--follow-request &__actions {
align-items: center;
display: flex;
gap: 8px;
.icon-button {
border: 1px solid var(--background-border-color);
border-radius: 50%;
padding: 1px;
}
}
&__main {
display: flex;
flex-direction: column;
gap: 8px;
flex: 1 1 auto;
overflow: hidden;
&__header {
display: flex;
flex-direction: column;
gap: 8px;
&__wrapper {
display: flex;
justify-content: space-between;
}
&__label {
display: flex;
gap: 8px;
font-size: 15px;
line-height: 22px;
color: $darker-text-color;
a {
color: inherit;
text-decoration: none;
}
bdi {
font-weight: 700;
color: $primary-text-color;
}
time {
color: $dark-text-color;
}
}
}
&__status {
border: 1px solid var(--background-border-color);
border-radius: 8px;
padding: 8px;
}
}
&__avatar-group {
display: flex;
gap: 8px;
height: 28px;
overflow-y: hidden;
flex-wrap: wrap;
}
.status {
padding: 0;
border: 0;
}
&__embedded-status {
cursor: pointer;
&__account {
display: flex;
align-items: center;
gap: 4px;
margin-bottom: 8px;
color: $dark-text-color;
bdi {
color: inherit;
}
}
.account__avatar {
opacity: 0.5;
}
&__content {
display: -webkit-box;
font-size: 15px;
line-height: 22px;
color: $dark-text-color;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
max-height: 4 * 22px;
overflow: hidden;
p,
a {
color: inherit;
}
}
}
}
.notification-ungrouped {
padding: 16px 24px;
border-bottom: 1px solid var(--background-border-color);
&__header {
display: flex;
align-items: center;
gap: 8px;
color: $dark-text-color;
font-size: 15px;
line-height: 22px;
font-weight: 500;
padding-inline-start: 24px;
margin-bottom: 16px;
&__icon {
display: flex;
align-items: center;
justify-content: center;
flex: 0 0 auto;
.icon {
width: 16px;
height: 16px;
}
}
a {
color: inherit;
text-decoration: none;
}
}
.status {
border: 0;
padding: 0;
&__avatar {
width: 40px;
height: 40px;
}
}
.status__wrapper-direct {
background: transparent;
}
$icon-margin: 48px; // 40px avatar + 8px gap
.status__content,
.status__action-bar,
.media-gallery,
.video-player,
.audio-player,
.attachment-list,
.picture-in-picture-placeholder,
.more-from-author,
.status-card,
.hashtag-bar {
margin-inline-start: $icon-margin;
width: calc(100% - $icon-margin);
}
.more-from-author {
width: calc(100% - $icon-margin + 2px);
}
.status__content__read-more-button {
margin-inline-start: $icon-margin;
}
.notification__report {
border: 0;
padding: 0;
}
}
.notification-group--unread,
.notification-ungrouped--unread {
position: relative;
&::before {
content: '';
position: absolute;
top: 0;
inset-inline-start: 0;
width: 100%;
height: 100%;
border-inline-start: 4px solid $highlight-text-color;
pointer-events: none;
}
}
.hover-card-controller[data-popper-reference-hidden='true'] {
opacity: 0;
pointer-events: none;

View file

@ -63,7 +63,7 @@
padding: 20px 0;
margin-top: 40px;
margin-bottom: 10px;
border-bottom: 1px solid lighten($ui-base-color, 8%);
border-bottom: 1px solid var(--background-border-color);
@media screen and (width <= 440px) {
width: 100%;

View file

@ -13,8 +13,9 @@
& > div,
& > a {
padding: 20px;
background: lighten($ui-base-color, 4%);
background: var(--background-color);
border-radius: 4px;
border: 1px solid var(--background-border-color);
box-sizing: border-box;
height: 100%;
}
@ -27,7 +28,7 @@
&:hover,
&:focus,
&:active {
background: lighten($ui-base-color, 8%);
background: $ui-base-color;
}
}
}

View file

@ -105,7 +105,7 @@
width: 100%;
background: $ui-base-color;
color: $darker-text-color;
border: 1px solid lighten($ui-base-color, 8%);
border: 1px solid var(--background-border-color);
border-radius: 4px;
&::-moz-focus-inner {

View file

@ -426,7 +426,7 @@ code {
}
.input.static .label_input__wrapper {
font-size: 16px;
font-size: 14px;
padding: 10px;
border: 1px solid $dark-text-color;
border-radius: 4px;
@ -448,13 +448,14 @@ code {
outline: 0;
font-family: inherit;
resize: vertical;
background: darken($ui-base-color, 10%);
border: 1px solid darken($ui-base-color, 10%);
border-radius: 8px;
background: $ui-base-color;
border: 1px solid var(--background-border-color);
border-radius: 4px;
padding: 10px 16px;
&::placeholder {
color: lighten($darker-text-color, 4%);
color: $dark-text-color;
opacity: 1;
}
&:invalid {
@ -465,11 +466,6 @@ code {
border-color: $valid-value-color;
}
&:active,
&:focus {
border-color: $highlight-text-color;
}
@media screen and (width <= 600px) {
font-size: 16px;
}
@ -588,21 +584,25 @@ code {
select {
appearance: none;
box-sizing: border-box;
font-size: 16px;
font-size: 14px;
color: $primary-text-color;
display: block;
width: 100%;
outline: 0;
font-family: inherit;
resize: vertical;
background: darken($ui-base-color, 10%)
background: $ui-base-color
url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14.933 18.467' height='19.698' width='15.929'><path d='M3.467 14.967l-3.393-3.5H14.86l-3.392 3.5c-1.866 1.925-3.666 3.5-4 3.5-.335 0-2.135-1.575-4-3.5zm.266-11.234L7.467 0 11.2 3.733l3.733 3.734H0l3.733-3.734z' fill='#{hex-color(lighten($ui-base-color, 12%))}'/></svg>")
no-repeat right 8px center / auto 16px;
border: 1px solid darken($ui-base-color, 14%);
no-repeat right 8px center / auto 14px;
border: 1px solid var(--background-border-color);
border-radius: 4px;
padding-inline-start: 10px;
padding-inline-end: 30px;
height: 41px;
@media screen and (width <= 600px) {
font-size: 16px;
}
}
h4 {
@ -656,8 +656,9 @@ code {
}
.flash-message {
background: lighten($ui-base-color, 8%);
color: $darker-text-color;
background: var(--background-color);
color: $highlight-text-color;
border: 1px solid $highlight-text-color;
border-radius: 4px;
padding: 15px 10px;
margin-bottom: 30px;
@ -1351,7 +1352,7 @@ code {
&__toggle > div {
display: flex;
border-inline-start: 1px solid lighten($ui-base-color, 8%);
border-inline-start: 1px solid var(--background-border-color);
padding-inline-start: 16px;
}
}

View file

@ -46,7 +46,7 @@ body.rtl {
}
.simple_form select {
background: darken($ui-base-color, 10%)
background: $ui-base-color
url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14.933 18.467' height='19.698' width='15.929'><path d='M3.467 14.967l-3.393-3.5H14.86l-3.392 3.5c-1.866 1.925-3.666 3.5-4 3.5-.335 0-2.135-1.575-4-3.5zm.266-11.234L7.467 0 11.2 3.733l3.733 3.734H0l3.733-3.734z' fill='#{hex-color(lighten($ui-base-color, 12%))}'/></svg>")
no-repeat left 8px center / auto 16px;
}

View file

@ -9,9 +9,9 @@
padding: 8px;
line-height: 18px;
vertical-align: top;
border-top: 1px solid $ui-base-color;
border-bottom: 1px solid var(--background-border-color);
text-align: start;
background: darken($ui-base-color, 4%);
background: var(--background-color);
&.critical {
font-weight: 700;
@ -21,8 +21,6 @@
& > thead > tr > th {
vertical-align: bottom;
border-bottom: 2px solid $ui-base-color;
border-top: 0;
font-weight: 500;
}
@ -32,15 +30,20 @@
& > tbody > tr:nth-child(odd) > td,
& > tbody > tr:nth-child(odd) > th {
background: $ui-base-color;
background: var(--background-color);
}
& > tbody > tr:last-child > td,
& > tbody > tr:last-child > th {
border-bottom: 0;
}
a {
color: $highlight-text-color;
text-decoration: underline;
color: $darker-text-color;
text-decoration: none;
&:hover {
text-decoration: none;
color: $highlight-text-color;
}
}
@ -78,7 +81,7 @@
& > tbody > tr > td {
padding: 11px 10px;
background: transparent;
border: 1px solid lighten($ui-base-color, 8%);
border: 1px solid var(--background-border-color);
color: $secondary-text-color;
}
@ -90,18 +93,18 @@
&.batch-table {
& > thead > tr > th {
background: $ui-base-color;
border-top: 1px solid darken($ui-base-color, 8%);
border-bottom: 1px solid darken($ui-base-color, 8%);
background: var(--background-color);
border-top: 1px solid var(--background-border-color);
border-bottom: 1px solid var(--background-border-color);
&:first-child {
border-radius: 4px 0 0;
border-inline-start: 1px solid darken($ui-base-color, 8%);
border-inline-start: 1px solid var(--background-border-color);
}
&:last-child {
border-radius: 0 4px 0 0;
border-inline-end: 1px solid darken($ui-base-color, 8%);
border-inline-end: 1px solid var(--background-border-color);
}
}
}
@ -136,7 +139,7 @@ a.table-action-link {
font-weight: 500;
&:hover {
color: $primary-text-color;
color: $highlight-text-color;
}
i.fa {
@ -186,9 +189,9 @@ a.table-action-link {
position: sticky;
top: 0;
z-index: 1;
border: 1px solid darken($ui-base-color, 8%);
background: $ui-base-color;
border-radius: 4px 0 0;
border: 1px solid var(--background-border-color);
background: var(--background-color);
border-radius: 4px 4px 0 0;
height: 47px;
align-items: center;
@ -199,11 +202,11 @@ a.table-action-link {
}
&__select-all {
background: $ui-base-color;
background: var(--background-color);
height: 47px;
align-items: center;
justify-content: center;
border: 1px solid darken($ui-base-color, 8%);
border: 1px solid var(--background-border-color);
border-top: 0;
color: $secondary-text-color;
display: none;
@ -249,9 +252,9 @@ a.table-action-link {
&__form {
padding: 16px;
border: 1px solid darken($ui-base-color, 8%);
border: 1px solid var(--background-border-color);
border-top: 0;
background: $ui-base-color;
background: var(--background-color);
.fields-row {
padding-top: 0;
@ -260,26 +263,18 @@ a.table-action-link {
}
&__row {
border: 1px solid darken($ui-base-color, 8%);
border: 1px solid var(--background-border-color);
border-top: 0;
background: darken($ui-base-color, 4%);
background: var(--background-color);
@media screen and (max-width: $no-gap-breakpoint) {
.optional &:first-child {
border-top: 1px solid darken($ui-base-color, 8%);
border-top: 1px solid var(--background-border-color);
}
}
&:hover {
background: darken($ui-base-color, 2%);
}
&:nth-child(even) {
background: $ui-base-color;
&:hover {
background: lighten($ui-base-color, 2%);
}
background: var(--background-color);
}
&__content {
@ -358,12 +353,13 @@ a.table-action-link {
}
.nothing-here {
border: 1px solid darken($ui-base-color, 8%);
border: 1px solid var(--background-border-color);
border-top: 0;
box-shadow: none;
background: var(--background-color);
@media screen and (max-width: $no-gap-breakpoint) {
border-top: 1px solid darken($ui-base-color, 8%);
border-top: 1px solid var(--background-border-color);
}
}

View file

@ -205,7 +205,7 @@
}
.directory {
background: $ui-base-color;
background: var(--background-color);
border-radius: 4px;
box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
@ -218,7 +218,7 @@
display: flex;
align-items: center;
justify-content: space-between;
background: $ui-base-color;
border: 1px solid lighten($ui-base-color, 8%);
border-radius: 4px;
padding: 15px;
text-decoration: none;
@ -230,7 +230,7 @@
&:hover,
&:active,
&:focus {
background: lighten($ui-base-color, 8%);
background: $ui-base-color;
}
}
@ -352,7 +352,7 @@
&:focus,
&:hover,
&:active {
text-decoration: underline;
color: $highlight-text-color;
}
}
}