]>
Commit | Line | Data |
---|---|---|
1 | @use '_variables' as *; | |
2 | @use '_mixins' as *; | |
3 | @use '_account-channel-page' as *; | |
4 | @use '_miniature' as *; | |
5 | ||
6 | .root { | |
7 | --myGlobalTopPadding: 60px; | |
8 | --myImgMargin: 30px; | |
9 | --myFontSize: 16px; | |
10 | --myGreyFontSize: 16px; | |
11 | } | |
12 | ||
13 | .section-label { | |
14 | @include section-label-responsive; | |
15 | } | |
16 | ||
17 | .links { | |
18 | @include grid-videos-miniature-margins; | |
19 | ||
20 | display: flex; | |
21 | justify-content: space-between; | |
22 | align-items: center; | |
23 | ||
24 | &.on-channel-page { | |
25 | max-width: $max-channels-width; | |
26 | } | |
27 | ||
28 | simple-search-input { | |
29 | @include margin-left(auto); | |
30 | } | |
31 | } | |
32 | ||
33 | my-user-moderation-dropdown { | |
34 | margin: 0 10px; | |
35 | ||
36 | height: fit-content; | |
37 | } | |
38 | ||
39 | .copy-button { | |
40 | @include margin-left(3px); | |
41 | ||
42 | border: 0; | |
43 | ||
44 | my-global-icon { | |
45 | width: 15px; | |
46 | } | |
47 | } | |
48 | ||
49 | .account-info { | |
50 | @include grid-videos-miniature-margins(false, 15px); | |
51 | ||
52 | display: grid; | |
53 | grid-template-columns: 1fr min-content; | |
54 | grid-template-rows: auto auto; | |
55 | ||
56 | background-color: pvar(--submenuBackgroundColor); | |
57 | margin-bottom: 45px; | |
58 | padding-top: var(--myGlobalTopPadding); | |
59 | padding-bottom: var(--myGlobalTopPadding); | |
60 | font-size: var(--myFontSize); | |
61 | } | |
62 | ||
63 | .account-avatar-row { | |
64 | @include avatar-row-responsive(var(--myImgMargin), var(--myGreyFontSize)); | |
65 | } | |
66 | ||
67 | .actor-display-name { | |
68 | align-items: center; | |
69 | } | |
70 | ||
71 | .description { | |
72 | grid-column: 1 / 3; | |
73 | max-width: 1000px; | |
74 | word-break: break-word; | |
75 | } | |
76 | ||
77 | .show-more { | |
78 | @include show-more-description; | |
79 | ||
80 | display: none; | |
81 | text-align: center; | |
82 | } | |
83 | ||
84 | .buttons { | |
85 | grid-column: 2; | |
86 | grid-row: 1; | |
87 | ||
88 | display: flex; | |
89 | flex-wrap: wrap; | |
90 | justify-content: flex-end; | |
91 | align-content: flex-start; | |
92 | ||
93 | > *:not(:last-child) { | |
94 | margin-bottom: 15px; | |
95 | } | |
96 | ||
97 | > a { | |
98 | white-space: nowrap; | |
99 | } | |
100 | } | |
101 | ||
102 | .pt-badge { | |
103 | @include margin-right(5px); | |
104 | } | |
105 | ||
106 | @media screen and (max-width: $small-view) { | |
107 | .root { | |
108 | --myGlobalTopPadding: 45px; | |
109 | --myChannelImgMargin: 15px; | |
110 | } | |
111 | ||
112 | .account-info { | |
113 | display: block; | |
114 | padding-bottom: 60px; | |
115 | } | |
116 | ||
117 | .description:not(.expanded) { | |
118 | @include fade-text(30px, pvar(--submenuBackgroundColor)); | |
119 | ||
120 | max-height: 70px; | |
121 | } | |
122 | ||
123 | .show-more { | |
124 | display: block; | |
125 | } | |
126 | ||
127 | .buttons { | |
128 | justify-content: center; | |
129 | } | |
130 | } | |
131 | ||
132 | @media screen and (max-width: $mobile-view) { | |
133 | .root { | |
134 | --myGlobalTopPadding: 15px; | |
135 | --myFontSize: 14px; | |
136 | --myGreyFontSize: 13px; | |
137 | } | |
138 | ||
139 | .account-info { | |
140 | display: block; | |
141 | padding-bottom: 30px; | |
142 | } | |
143 | ||
144 | .links { | |
145 | margin: auto !important; | |
146 | width: min-content; | |
147 | } | |
148 | ||
149 | .show-more { | |
150 | margin-bottom: 30px; | |
151 | } | |
152 | } |