Merge commit '127503eb2cdd67126974bee304dde0f183300b84' into glitch-soc/merge-upstream

Conflicts:
- `app/helpers/accounts_helper.rb`:
  Conflict due to glitch-soc's option to hide followers count.
  Ported upstream changes.

Additional changes:
- `app/views/application/mailer/_account.html.haml`:
  Ported glitch-soc's option to hide followers count.
- `app/views/settings/flavours/show.html.haml`:
  Ported the `frontend_asset_url` helper change to glitch-soc.
This commit is contained in:
Claire
2024-01-17 18:21:44 +01:00
198 changed files with 1231 additions and 830 deletions

View File

@@ -88,6 +88,85 @@ table + p {
padding: 24px;
}
// Account
.email-account-banner-table {
background-color: #f3f2f5;
border-top-left-radius: 12px;
border-top-right-radius: 12px;
}
.email-account-banner-td {
border-top-left-radius: 12px;
border-top-right-radius: 12px;
height: 140px;
vertical-align: bottom;
background-color: #f3f2f5;
background-position: center;
background-size: cover;
}
.email-account-banner-inner-td {
padding: 24px 24px 0;
mso-padding-alt: 24px;
}
.email-account-banner-overlap-div {
max-height: 42px;
}
.email-account-banner-icon-table {
width: auto;
margin: 0;
overflow: hidden;
border-radius: 8px;
border-collapse: separate;
background-color: #fff;
border: 2px solid #fff;
img {
display: block;
max-width: 100%;
border: none;
border-radius: 6px;
}
}
.email-account-body-td {
padding: 56px 24px 24px;
mso-padding-alt: 24px;
}
.email-account-name {
font-size: 16px;
font-weight: 600;
line-height: 24px;
color: #17063b;
}
.email-account-handle {
font-size: 14px;
line-height: 20px;
color: #746a89;
}
.email-account-stats-table {
td {
padding-right: 16px;
font-size: 14px;
line-height: 20px;
color: #746a89;
}
b {
font-weight: 600;
color: #17063b;
}
span {
white-space: nowrap;
}
}
// Utility classes
.email-w-full {
width: 100%;
@@ -122,6 +201,14 @@ table + p {
padding-top: 24px;
}
.email-padding-top-16 {
padding-top: 16px;
}
.email-padding-top-0 {
padding-top: 0;
}
.email-border-top {
border-top: 1px solid #dfdee3;
}

View File

@@ -1398,8 +1398,7 @@ body > [data-popper-placement] {
.icon {
width: 15px;
height: 15px;
position: relative;
top: 0.145em;
vertical-align: middle;
}
}
@@ -5544,6 +5543,10 @@ a.status-card {
padding-inline-end: 10px;
}
.icon {
vertical-align: middle;
}
.button {
flex: 0 0 auto;
}
@@ -6094,6 +6097,7 @@ a.status-card {
gap: 2px;
}
.media-gallery__alt__label,
.media-gallery__gifv__label {
display: flex;
align-items: center;
@@ -6170,6 +6174,7 @@ a.status-card {
.icon {
color: $dark-text-color;
vertical-align: middle;
}
}
}
@@ -7415,6 +7420,13 @@ noscript {
span {
user-select: all;
}
.icon-lock {
height: 16px;
width: 16px;
position: relative;
top: 3px;
}
}
}
}