-@import '_variables';
-@import '_mixins';
-@import '_actor';
-@import '_miniature';
+@use '_variables' as *;
+@use '_mixins' as *;
+@use '_account-channel-page' as *;
+@use '_miniature' as *;
.root {
- --myGlobalTopPadding: 60px;
- --myImgMargin: 30px;
- --myFontSize: 16px;
- --myGreyFontSize: 16px;
+ --myFontSize: 1rem;
+ --myGreyFontSize: 1rem;
}
.section-label {
display: flex;
justify-content: space-between;
align-items: center;
- max-width: $max-channels-width;
+
+ &.on-channel-page {
+ max-width: $max-channels-width;
+ }
simple-search-input {
- margin-left: auto;
+ @include margin-left(auto);
}
}
-my-user-moderation-dropdown,
-.badge {
- margin-left: 10px;
-
- position: relative;
- top: 3px;
-}
+.copy-button {
+ @include margin-left(3px);
-.badge {
- font-size: 13px;
-}
+ border: 0;
-.copy-button {
- border: none;
+ my-global-icon {
+ width: 15px;
+ }
}
.account-info {
@include grid-videos-miniature-margins(false, 15px);
+ @include padding-top(3.75rem);
+ @include padding-bottom(3.75rem);
+ @include margin-bottom(3rem);
+ @include font-size(1rem);
- display: grid;
grid-template-columns: 1fr min-content;
grid-template-rows: auto auto;
background-color: pvar(--submenuBackgroundColor);
- margin-bottom: 45px;
- padding-top: var(--myGlobalTopPadding);
- font-size: var(--myFontSize);
}
.account-avatar-row {
- @include avatar-row-responsive(var(--myImgMargin), var(--myGreyFontSize));
+ @include avatar-row-responsive(2rem, var(--myGreyFontSize));
+}
+
+.actor-display-name {
+ align-items: center;
}
.description {
word-break: break-word;
}
-.created-at {
- margin-top: 15px;
- color: pvar(--greyForegroundColor);
- padding-bottom: 60px;
-}
-
.show-more {
@include show-more-description;
+ @include padding-bottom(3.75rem);
- display: none;
text-align: center;
}
justify-content: flex-end;
align-content: flex-start;
- > *:not(:last-child) {
- margin-bottom: 15px;
+ >*:not(:last-child) {
+ @include margin-bottom(1rem);
}
- > a {
+ >a {
white-space: nowrap;
}
}
-@media screen and (max-width: $small-view) {
- .root {
- --myGlobalTopPadding: 45px;
- --myChannelImgMargin: 15px;
- }
+.pt-badge {
+ @include margin-right(5px);
+}
- .account-info {
- display: block;
- padding-bottom: 60px;
- }
+@media screen and (max-width: $small-view) {
.description:not(.expanded) {
- max-height: 70px;
-
@include fade-text(30px, pvar(--submenuBackgroundColor));
- }
- .show-more {
- display: block;
+ max-height: 70px;
}
.buttons {
@media screen and (max-width: $mobile-view) {
.root {
- --myGlobalTopPadding: 15px;
--myFontSize: 14px;
--myGreyFontSize: 13px;
}
- .account-info {
- display: block;
- padding-bottom: 30px;
- }
-
.links {
margin: auto !important;
width: min-content;
}
-
- .show-more {
- margin-bottom: 30px;
- }
}