Remove unused styles? See merge request soapbox-pub/soapbox-fe!1476environments/review-develop-3zknud/deployments/132
commit
8304f25577
@ -1,83 +0,0 @@
|
||||
.error-boundary {
|
||||
box-sizing: border-box;
|
||||
min-height: 100vh;
|
||||
max-width: 375px;
|
||||
text-align: center;
|
||||
padding: 10px 10px 80px;
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
::selection {
|
||||
background-color: #000;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.sad-face {
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
margin: 20px auto;
|
||||
opacity: 0.5;
|
||||
transition: 0.8s;
|
||||
|
||||
svg {
|
||||
stroke-width: 1.5px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--brand-color);
|
||||
}
|
||||
|
||||
> div {
|
||||
margin: auto;
|
||||
|
||||
span {
|
||||
display: block;
|
||||
text-align: center;
|
||||
color: var(--primary-text-color--faint);
|
||||
}
|
||||
|
||||
.return-home {
|
||||
display: flex;
|
||||
margin: 15px auto;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
a {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.svg-icon {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
p.help-text {
|
||||
text-align: left;
|
||||
font-style: italic;
|
||||
font-size: 14px;
|
||||
padding: 20px 10px 0;
|
||||
margin-top: 20px;
|
||||
opacity: 0.7;
|
||||
border-top: 1px solid;
|
||||
}
|
||||
|
||||
&__component-stack {
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
text-align: left;
|
||||
margin: 20px 0;
|
||||
padding: 10px;
|
||||
}
|
||||
}
|
@ -1,80 +0,0 @@
|
||||
.getting-started__wrapper,
|
||||
.getting-started,
|
||||
.flex-spacer {
|
||||
background: var(--brand-color--med);
|
||||
}
|
||||
|
||||
.getting-started__wrapper {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.flex-spacer {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
.getting-started {
|
||||
overflow: auto;
|
||||
|
||||
&__footer {
|
||||
flex: 0 0 auto;
|
||||
|
||||
ul {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
ul li {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
ul li::after {
|
||||
content: ' · ';
|
||||
}
|
||||
|
||||
ul li:last-child::after {
|
||||
content: '';
|
||||
}
|
||||
|
||||
p {
|
||||
color: hsla(var(--primary-text-color_hsl), 0.8);
|
||||
font-size: 13px;
|
||||
margin-bottom: 20px;
|
||||
|
||||
a {
|
||||
color: hsla(var(--primary-text-color_hsl), 0.4);
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: hsla(var(--primary-text-color_hsl), 0.4);
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__trends {
|
||||
background: var(--brand-color--med);
|
||||
flex: 0 1 auto;
|
||||
|
||||
@media screen and (max-height: 810px) {
|
||||
.trends__item:nth-child(3) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-height: 720px) {
|
||||
.trends__item:nth-child(2) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-height: 670px) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
.media-spoiler {
|
||||
background: var(--background-color);
|
||||
color: var(--primary-text-color--faint);
|
||||
border: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 4px;
|
||||
appearance: none;
|
||||
|
||||
&:hover,
|
||||
&:active,
|
||||
&:focus {
|
||||
padding: 0;
|
||||
color: var(--primary-text-color);
|
||||
}
|
||||
}
|
||||
|
||||
.media-spoiler__warning {
|
||||
display: block;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.media-spoiler__trigger {
|
||||
display: block;
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
}
|
@ -1,69 +0,0 @@
|
||||
.security-settings-panel {
|
||||
.security-settings-panel__setup-otp {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.backup_codes {
|
||||
display: inline-block;
|
||||
background-color: var(--brand-color--faint);
|
||||
padding: 10px;
|
||||
border-radius: var(--border-radius-lg);
|
||||
|
||||
.backup_code:not(:last-child) {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
// margin: 20px;
|
||||
|
||||
// h1.security-settings-panel__setup-otp {
|
||||
// font-size: 20px;
|
||||
// line-height: 1.25;
|
||||
// color: var(--primary-text-color);
|
||||
// font-weight: 600;
|
||||
// }
|
||||
|
||||
// h2.security-settings-panel__setup-otp {
|
||||
// display: block;
|
||||
// font-size: 16px;
|
||||
// line-height: 1.5;
|
||||
// color: var(--primary-text-color--faint);
|
||||
// font-weight: 400;
|
||||
// }
|
||||
|
||||
// .security-warning {
|
||||
// color: var(--primary-text-color);
|
||||
// padding: 15px 20px;
|
||||
// font-size: 14px;
|
||||
// background-color: var(--warning-color--faint);
|
||||
// margin: 20px auto;
|
||||
// border-radius: 8px;
|
||||
// }
|
||||
|
||||
// .security-settings-panel__setup-otp__buttons {
|
||||
// margin: 20px;
|
||||
// display: flex;
|
||||
// justify-content: space-between;
|
||||
|
||||
// .button {
|
||||
// min-width: 182px;
|
||||
// }
|
||||
// }
|
||||
|
||||
// div.confirm-key {
|
||||
// display: block;
|
||||
// font-size: 16px;
|
||||
// line-height: 1.5;
|
||||
// color: var(--primary-text-color--faint);
|
||||
// font-weight: 400;
|
||||
// margin: 0 0 20px 20px;
|
||||
// }
|
||||
// }
|
||||
|
||||
// form.otp-auth {
|
||||
// .error-box {
|
||||
// width: 100%;
|
||||
// text-align: center;
|
||||
// color: $error-red;
|
||||
// }
|
||||
// }
|
@ -1,198 +1,4 @@
|
||||
.profile-info-panel {
|
||||
display: block;
|
||||
position: relative;
|
||||
|
||||
&__content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1 1;
|
||||
|
||||
@media (min-width: 896px) {
|
||||
padding-top: 60px;
|
||||
}
|
||||
}
|
||||
|
||||
.profile-info-panel-content {
|
||||
display: flex;
|
||||
|
||||
&__badges {
|
||||
display: flex;
|
||||
margin: 5px 0;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
&__join-date {
|
||||
display: flex;
|
||||
font-size: 14px;
|
||||
color: var(--primary-text-color--faint);
|
||||
align-items: center;
|
||||
line-height: normal;
|
||||
margin-top: 15px;
|
||||
|
||||
.svg-icon {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
margin-right: 5px;
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
}
|
||||
|
||||
&__stats {
|
||||
margin: 15px 0;
|
||||
|
||||
.profile-stat {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
&__name {
|
||||
display: block;
|
||||
margin-bottom: 15px;
|
||||
|
||||
.emojione {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
.svg-icon {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin-left: 3px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
span:first-of-type {
|
||||
font-size: 20px !important;
|
||||
line-height: 1.25;
|
||||
color: var(--primary-text-color);
|
||||
font-weight: 600 !important;
|
||||
max-width: 260px;
|
||||
}
|
||||
|
||||
small {
|
||||
display: flex;
|
||||
font-size: 15px;
|
||||
line-height: 1.5;
|
||||
color: var(--primary-text-color--faint);
|
||||
font-weight: 600;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__bio {
|
||||
display: block;
|
||||
flex: 1 1;
|
||||
color: var(--primary-text-color);
|
||||
margin-bottom: 15px;
|
||||
font-size: 15px;
|
||||
line-height: 1.25;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
||||
a {
|
||||
color: var(--highlight-text-color);
|
||||
}
|
||||
}
|
||||
|
||||
&__fields {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border-top: 1px solid var(--brand-color--med);
|
||||
padding: 10px 0;
|
||||
margin: 5px 0;
|
||||
|
||||
a {
|
||||
color: var(--highlight-text-color);
|
||||
}
|
||||
|
||||
dl:first-child .verified {
|
||||
border-radius: 0 4px 0 0;
|
||||
}
|
||||
|
||||
.verified a {
|
||||
color: $valid-value-color;
|
||||
}
|
||||
|
||||
&__item {
|
||||
display: block;
|
||||
padding: 2px 0;
|
||||
margin: 2px 0;
|
||||
flex: 1 1;
|
||||
|
||||
* {
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
dt {
|
||||
min-width: 26px;
|
||||
font-weight: 900;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
dd {
|
||||
padding-left: 8px;
|
||||
font-size: 15px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__deactivated {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
&__meta {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin-top: -10px;
|
||||
|
||||
> div {
|
||||
display: flex;
|
||||
font-size: 14px;
|
||||
color: var(--primary-text-color--faint);
|
||||
align-items: center;
|
||||
line-height: normal;
|
||||
margin-top: 10px;
|
||||
margin-right: 20px;
|
||||
|
||||
.svg-icon {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin-right: 8px;
|
||||
|
||||
svg {
|
||||
stroke: currentColor;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.profile-info-panel.deactivated {
|
||||
.profile-info-panel-content__name h1 small,
|
||||
.profile-info-panel-content__badges__join-date,
|
||||
.profile-info-panel-content__bio,
|
||||
.profile-info-panel-content__fields {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.profile-info-panel__name-content {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.profile-info-panel-content__deactivated {
|
||||
.profile-info-panel-content__deactivated {
|
||||
color: var(--primary-text-color--faint);
|
||||
display: block;
|
||||
}
|
||||
|
||||
.profile-info-panel__name-content::before {
|
||||
content: '[';
|
||||
}
|
||||
|
||||
.profile-info-panel__name-content::after {
|
||||
content: ']';
|
||||
}
|
||||
}
|
||||
|
@ -1,26 +0,0 @@
|
||||
.profile-stats {
|
||||
display: flex;
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.profile-stat {
|
||||
display: flex;
|
||||
font-size: 14px;
|
||||
text-decoration: none;
|
||||
|
||||
&:not(:first-of-type) {
|
||||
margin-left: 18px;
|
||||
}
|
||||
|
||||
&__value {
|
||||
display: flex;
|
||||
margin-right: 3px;
|
||||
font-weight: 700;
|
||||
color: var(--primary-text-color);
|
||||
}
|
||||
|
||||
&__label {
|
||||
display: flex;
|
||||
color: var(--primary-text-color--faint);
|
||||
}
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
.progress-circle {
|
||||
display: flex;
|
||||
|
||||
&__circle {
|
||||
stroke: hsla(var(--primary-text-color_hsl), 0.2);
|
||||
}
|
||||
|
||||
&__progress {
|
||||
stroke: var(--brand-color);
|
||||
}
|
||||
|
||||
&--over {
|
||||
.progress-circle__progress {
|
||||
stroke: $warning-red;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,51 +0,0 @@
|
||||
.promo-panel {
|
||||
margin-top: 10px;
|
||||
background-color: transparent !important;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.promo-panel-item {
|
||||
@include standard-panel-shadow;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 42px;
|
||||
line-height: 42px;
|
||||
color: var(--primary-text-color);
|
||||
border-bottom: 1px solid var(--brand-color--med);
|
||||
background: var(--foreground-color);
|
||||
text-decoration: none;
|
||||
font-size: 15px;
|
||||
padding: 0 20px;
|
||||
|
||||
&:last-of-type {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: var(--primary-text-color--faint);
|
||||
|
||||
span {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
i.fa {
|
||||
font-size: 22px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.svg-icon {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
|
||||
svg {
|
||||
stroke-width: 1.3px;
|
||||
}
|
||||
}
|
||||
|
||||
> .svg-icon,
|
||||
> .icon-with-counter {
|
||||
margin-right: 12px;
|
||||
}
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
.register-invite {
|
||||
margin: 10px 0;
|
||||
|
||||
&__header {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
&__title {
|
||||
font-weight: bold;
|
||||
font-size: 25px;
|
||||
line-height: normal;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
&__form {
|
||||
.simple_form {
|
||||
input[type=text],
|
||||
input[type=number],
|
||||
input[type=email],
|
||||
input[type=password],
|
||||
textarea {
|
||||
background-color: var(--foreground-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,72 +1,4 @@
|
||||
.instance-federation-panel {
|
||||
.wtf-panel__content {
|
||||
box-sizing: border-box;
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.instance-restrictions {
|
||||
&__message {
|
||||
margin-bottom: 15px;
|
||||
|
||||
i.fa {
|
||||
padding-right: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.federation-restriction {
|
||||
display: flex;
|
||||
padding: 15px 0;
|
||||
|
||||
&__icon {
|
||||
width: 16px;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: center;
|
||||
padding-right: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.pinned-hosts-picker {
|
||||
padding: 10px 0 0 10px;
|
||||
display: inline-flex;
|
||||
flex-wrap: wrap;
|
||||
background: var(--foreground-color);
|
||||
border-bottom: 1px solid hsla(var(--primary-text-color_hsl), 0.2);
|
||||
|
||||
.pinned-host {
|
||||
margin-right: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.pinned-host {
|
||||
background: var(--background-color);
|
||||
|
||||
&:hover {
|
||||
background: var(--brand-color--faint);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.pinned-host {
|
||||
background: var(--background-color);
|
||||
border-radius: 999px;
|
||||
transition: 0.2s;
|
||||
|
||||
&.active {
|
||||
background: var(--brand-color--faint);
|
||||
}
|
||||
|
||||
a {
|
||||
display: block;
|
||||
color: var(--primary-text-color);
|
||||
text-decoration: none;
|
||||
padding: 5px 11px;
|
||||
max-width: 115px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
}
|
||||
|
@ -1,55 +0,0 @@
|
||||
.reply-indicator {
|
||||
border-radius: 4px;
|
||||
margin-bottom: 10px;
|
||||
background: var(--brand-color--faint);
|
||||
padding: 10px;
|
||||
min-height: 23px;
|
||||
overflow-y: auto;
|
||||
flex: 0 2 auto;
|
||||
max-height: 500px;
|
||||
@media screen and (min-width: 320px) and (max-width: 375px) { max-height: 220px; }
|
||||
@media screen and (max-width: 320px) { max-height: 130px; }
|
||||
}
|
||||
|
||||
.reply-indicator__header {
|
||||
margin-bottom: 5px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.reply-indicator__cancel {
|
||||
float: right;
|
||||
|
||||
.svg-icon {
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.reply-indicator__display-name {
|
||||
color: var(--primary-text-color);
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
line-height: 24px;
|
||||
overflow: hidden;
|
||||
padding-right: 25px;
|
||||
text-decoration: none;
|
||||
|
||||
.display-name__account {
|
||||
color: var(--primary-text-color--faint);
|
||||
}
|
||||
}
|
||||
|
||||
.reply-indicator__display-avatar {
|
||||
float: left;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.reply-indicator__content {
|
||||
color: var(--primary-text-color);
|
||||
font-size: 14px;
|
||||
user-select: text;
|
||||
|
||||
a {
|
||||
color: var(--highlight-text-color);
|
||||
}
|
||||
}
|
@ -1,356 +0,0 @@
|
||||
.tabs-bar {
|
||||
display: flex;
|
||||
box-sizing: border-box;
|
||||
background: var(--brand-color);
|
||||
flex: 0 0 auto;
|
||||
height: 50px;
|
||||
width: 100%;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1100;
|
||||
transition: transform 0.2s ease;
|
||||
|
||||
&--collapsed {
|
||||
@media screen and (max-width: 895px) {
|
||||
margin-top: -50px;
|
||||
transform: translateY(-50px);
|
||||
}
|
||||
}
|
||||
|
||||
&__container {
|
||||
display: flex;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding-left: 15px;
|
||||
padding-left: max(15px, env(safe-area-inset-left));
|
||||
padding-right: 15px;
|
||||
padding-right: max(15px, env(safe-area-inset-right));
|
||||
|
||||
// NOTE - might need to adjust this based on column sizing
|
||||
@media screen and (max-width: $nav-breakpoint-4) { padding: 0 10px; }
|
||||
}
|
||||
|
||||
&__split {
|
||||
display: flex;
|
||||
width: auto;
|
||||
|
||||
&--left {
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
&--right {
|
||||
margin-left: auto;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 450px) {
|
||||
// Move Profile menu to the left on mobile
|
||||
&__split--right {
|
||||
margin: 0;
|
||||
order: -1;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&__profile {
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
&__unauthenticated {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
|
||||
.tabs-bar__button {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__search-container {
|
||||
display: block;
|
||||
width: 351px;
|
||||
align-self: center;
|
||||
|
||||
@media screen and (max-width: 895px) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
&__profile {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
margin: 0 0 0 10px;
|
||||
height: 34px;
|
||||
width: 34px;
|
||||
|
||||
.account__avatar {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.compose__action-bar {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: -5px;
|
||||
bottom: 0;
|
||||
|
||||
i {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1190px) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__sidebar-btn {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 30px;
|
||||
opacity: 0;
|
||||
|
||||
@media (min-width: 1191px) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
&__page-name {
|
||||
display: block;
|
||||
margin-left: 18px;
|
||||
line-height: 30px;
|
||||
font-weight: 600;
|
||||
font-size: 18px;
|
||||
color: #fff;
|
||||
|
||||
@media (min-width: 896px) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
&__button-compose {
|
||||
display: block;
|
||||
@media screen and (max-width: $nav-breakpoint-3) { display: none; }
|
||||
height: 34px;
|
||||
margin-left: 20px;
|
||||
border-radius: 6px;
|
||||
background-color: var(--accent-color);
|
||||
font-weight: bold;
|
||||
font-size: 16px;
|
||||
transition: 0.2s;
|
||||
|
||||
> span {
|
||||
text-shadow: 0 0 3px hsla(0, 0%, 0%, 0.15);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: var(--accent-color--bright);
|
||||
}
|
||||
}
|
||||
|
||||
&__button {
|
||||
margin-left: 12px;
|
||||
height: 34px;
|
||||
}
|
||||
|
||||
.theme-toggle {
|
||||
margin-left: 20px;
|
||||
|
||||
@media screen and (max-width: $nav-breakpoint-3) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.setting-toggle {
|
||||
.react-toggle-track {
|
||||
background-color: var(--foreground-color);
|
||||
}
|
||||
|
||||
.react-toggle--checked {
|
||||
.react-toggle-track {
|
||||
background-color: var(--accent-color);
|
||||
}
|
||||
|
||||
&:hover:not(.react-toggle--disabled) .react-toggle-track,
|
||||
&.react-toggle--focus .react-toggle-track {
|
||||
background-color: var(--accent-color--bright);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tabs-bar__link {
|
||||
display: flex;
|
||||
flex: 1 1 auto;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
position: relative;
|
||||
align-items: center;
|
||||
font-weight: bold;
|
||||
transition: 0.1s;
|
||||
outline: none;
|
||||
text-shadow: 0 0 3px hsla(0, 0%, 0%, 0.15);
|
||||
|
||||
@media screen and (max-width: 895px) {
|
||||
width: 36px;
|
||||
margin: 4px 4px 0 0;
|
||||
justify-content: center;
|
||||
display: none;
|
||||
}
|
||||
|
||||
> span {
|
||||
font-size: 15px;
|
||||
line-height: 50px;
|
||||
margin-left: 4px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
& + & {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
&--search {
|
||||
@media (min-width: 896px) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.svg-icon {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
|
||||
svg.icon-tabler {
|
||||
stroke-width: 1.5px;
|
||||
}
|
||||
}
|
||||
|
||||
&.optional {
|
||||
display: none;
|
||||
@media screen and (max-width: $nav-breakpoint-2) {
|
||||
display: flex;
|
||||
background-position: -992px 11px;
|
||||
}
|
||||
}
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
display: block;
|
||||
background: var(--accent-color);
|
||||
position: absolute;
|
||||
transition: 0.2s;
|
||||
left: 0;
|
||||
bottom: auto;
|
||||
opacity: 0;
|
||||
height: 15px;
|
||||
border-radius: 999px;
|
||||
z-index: -1;
|
||||
width: calc(100% + 12px);
|
||||
margin-left: -6px;
|
||||
|
||||
@media screen and (max-width: 895px) {
|
||||
height: 0;
|
||||
border-radius: 3px 3px 0 0;
|
||||
bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&.active::before,
|
||||
&:hover::before,
|
||||
&:focus::before {
|
||||
height: 30px;
|
||||
opacity: 1;
|
||||
|
||||
@media screen and (max-width: 895px) {
|
||||
height: 7px;
|
||||
width: 36px;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&--logo {
|
||||
display: block;
|
||||
margin-right: 30px;
|
||||
border: 0;
|
||||
height: 40px;
|
||||
width: max-content;
|
||||
overflow: hidden;
|
||||
padding: 13px 0 0;
|
||||
box-sizing: border-box;
|
||||
filter: brightness(0%) grayscale(100%) invert(100%);
|
||||
|
||||
& span {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
img {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.svg-icon {
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
margin: 0 auto;
|
||||
|
||||
svg {
|
||||
fill: currentColor;
|
||||
stroke-width: 1px;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
border: 0 !important;
|
||||
}
|
||||
|
||||
/* Move logo to center on mobile */
|
||||
@media screen and (max-width: 450px) {
|
||||
margin: 0 auto;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
&--no-highlight,
|
||||
&--no-highlight:hover,
|
||||
&--no-highlight.active,
|
||||
&--no-highlight:active,
|
||||
&--no-highlight:focus {
|
||||
background: transparent !important;
|
||||
border-bottom-color: transparent !important;
|
||||
}
|
||||
}
|
||||
|
||||
.tabs-bar__split--left:hover .tabs-bar__link {
|
||||
&::before {
|
||||
height: 15px;
|
||||
opacity: 0;
|
||||
|
||||
@media screen and (max-width: 895px) {
|
||||
height: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover::before {
|
||||
height: 30px;
|
||||
opacity: 1;
|
||||
|
||||
@media screen and (max-width: 895px) {
|
||||
height: 7px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tabs-bar__link + .tabs-bar__profile {
|
||||
margin-left: 20px;
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
.theme-toggle {
|
||||
.setting-toggle {
|
||||
&__label {
|
||||
margin-bottom: 0;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.react-toggle {
|
||||
vertical-align: middle;
|
||||
|
||||
&-track-check,
|
||||
&-track-x {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: #fff;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
&-track-check {
|
||||
left: 6px;
|
||||
}
|
||||
|
||||
&-track-x {
|
||||
right: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.react-toggle-track {
|
||||
@apply dark:bg-slate-600;
|
||||
}
|
||||
|
||||
.react-toggle-thumb {
|
||||
@apply dark:bg-slate-900 dark:border-slate-800;
|
||||
}
|
||||
}
|
@ -1,134 +0,0 @@
|
||||
.user-panel {
|
||||
@include standard-panel;
|
||||
display: flex;
|
||||
width: 265px;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
|
||||
.user-panel__account__name {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.verified-icon {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
&,
|
||||
.user-panel__account__name,
|
||||
.user-panel__account__username {
|
||||
white-space: nowrap;
|
||||
color: var(--primary-text-color--faint);
|
||||
}
|
||||
|
||||
&__header {
|
||||
display: block;
|
||||
height: 112px;
|
||||
width: 100%;
|
||||
background: var(--brand-color--faint);
|
||||
|
||||
.still-image {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
img {
|
||||
display: block;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
|
||||
&__profile {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
padding: 0 10px;
|
||||
margin-top: -53px;
|
||||
|
||||
.account__avatar {
|
||||
display: block;
|
||||
width: 82px;
|
||||
height: 82px;
|
||||
border: 6px solid var(--foreground-color);
|
||||
background-size: cover;
|
||||
}
|
||||
}
|
||||
|
||||
&__meta {
|
||||
display: block;
|
||||
padding: 6px 20px 17px;
|
||||
// opacity: 0.6;
|
||||
}
|
||||
|
||||
&__account {
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: var(--primary-text-color--faint);
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
&__name {
|
||||
display: block;
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
line-height: 24px;
|
||||
color: var(--primary-text-color--faint);
|
||||
}
|
||||
|
||||
&:hover & {
|
||||
&__name {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
&__username {
|
||||
display: block;
|
||||
font-size: 14px;
|
||||
line-height: 16px;
|
||||
color: var(--primary-text-color--faint);
|
||||
text-decoration: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
&__stats-block {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding-top: 12px;
|
||||
}
|
||||
|
||||
.user-panel-stats-item {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: left;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: column;
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: var(--primary-text-color--faint);
|
||||
|
||||
&:hover {
|
||||
opacity: 0.8;
|
||||
}
|
||||
}
|
||||
|
||||
&__value {
|
||||
display: block;
|
||||
width: 100%;
|
||||
color: var(--primary-text-color--faint);
|
||||
font-size: 20px;
|
||||
font-weight: 800;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
&__label {
|
||||
display: block;
|
||||
width: 100%;
|
||||
color: var(--primary-text-color--faint);
|
||||
font-size: 12px;
|
||||
line-height: 14px;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,102 +0,0 @@
|
||||
.logo-container {
|
||||
margin: 100px auto 50px;
|
||||
|
||||
@media screen and (max-width: 500px) {
|
||||
margin: 40px auto 0;
|
||||
}
|
||||
|
||||
h1 {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
img {
|
||||
height: 42px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
a {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
color: var(--primary-text-color);
|
||||
text-decoration: none;
|
||||
outline: 0;
|
||||
padding: 12px 16px;
|
||||
line-height: 32px;
|
||||
font-weight: 500;
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.compose-standalone {
|
||||
.compose-form {
|
||||
width: 400px;
|
||||
margin: 0 auto;
|
||||
padding: 20px 0;
|
||||
margin-top: 40px;
|
||||
box-sizing: border-box;
|
||||
|
||||
@media screen and (max-width: 400px) {
|
||||
width: 100%;
|
||||
margin-top: 0;
|
||||
padding: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.account-header {
|
||||
width: 400px;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
font-size: 13px;
|
||||
line-height: 18px;
|
||||
box-sizing: border-box;
|
||||
padding: 20px 0;
|
||||
padding-bottom: 0;
|
||||
margin-bottom: -30px;
|
||||
margin-top: 40px;
|
||||
|
||||
@media screen and (max-width: 440px) {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
margin-bottom: 10px;
|
||||
padding: 20px;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.avatar {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
margin-right: 8px;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
margin: 0;
|
||||
border-radius: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.name {
|
||||
flex: 1 1 auto;
|
||||
color: var(--primary-text-color--faint);
|
||||
width: calc(100% - 88px);
|
||||
|
||||
.username {
|
||||
display: block;
|
||||
font-weight: 500;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
.logout-link {
|
||||
display: block;
|
||||
font-size: 32px;
|
||||
line-height: 40px;
|
||||
margin-left: 8px;
|
||||
}
|
||||
}
|
@ -1,21 +1,5 @@
|
||||
body.demetricator {
|
||||
.user-panel .user-panel-stats-item__value,
|
||||
.account__header__extra__links a > span:first-of-type,
|
||||
.detailed-status__link,
|
||||
.icon-with-badge__badge,
|
||||
.icon-with-counter__counter,
|
||||
.trends__item__count,
|
||||
.sidebar-menu-profile__stats,
|
||||
.profile-stat__value {
|
||||
.icon-with-badge__badge {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.account__header__bar {
|
||||
min-height: 50px;
|
||||
@media (min-width: 896px) { height: 50px; }
|
||||
}
|
||||
|
||||
.svg-icon--unread svg {
|
||||
transform: rotate(0);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in new issue