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