]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+accounts/accounts.component.scss
Channel/account page redesign feedbacks
[github/Chocobozzz/PeerTube.git] / client / src / app / +accounts / accounts.component.scss
CommitLineData
170726f5
C
1@import '_variables';
2@import '_mixins';
67264e06
C
3@import '_actor';
4@import '_miniature';
5
6.root {
900f7820 7 --myGlobalTopPadding: 60px;
67264e06
C
8 --myImgMargin: 30px;
9 --myFontSize: 16px;
10 --myGreyFontSize: 16px;
41eb700f
RK
11}
12
67264e06
C
13.section-label {
14 @include section-label-responsive;
d39db21a
RK
15}
16
67264e06 17.links {
900f7820 18 @include fluid-videos-miniature-margins;
947d0102 19
67264e06
C
20 display: flex;
21 justify-content: space-between;
22 align-items: center;
900f7820
C
23 max-width: $max-channels-width;
24
25 simple-search-input {
26 margin-left: auto;
27 }
79bd2632
C
28}
29
30my-user-moderation-dropdown,
31.badge {
32 margin-left: 10px;
33
34 position: relative;
35 top: 3px;
36}
37
38.badge {
39 font-size: 13px;
ee1d0dfb
C
40}
41
42.copy-button {
43 border: none;
67264e06
C
44}
45
46.account-info {
900f7820
C
47 @include fluid-videos-miniature-margins(false, 15px);
48
67264e06
C
49 display: grid;
50 grid-template-columns: 1fr min-content;
51 grid-template-rows: auto auto;
52
53 background-color: pvar(--submenuColor);
54 margin-bottom: 45px;
900f7820 55 padding-top: var(--myGlobalTopPadding);
67264e06
C
56 font-size: var(--myFontSize);
57}
58
59.account-avatar-row {
60 @include avatar-row-responsive(var(--myImgMargin), var(--myGreyFontSize));
61}
62
63.description {
64 grid-column: 1 / 3;
733dbc53
C
65 max-width: 1000px;
66 word-break: break-word;
67264e06
C
67}
68
69.created-at {
70 margin-top: 15px;
71 color: pvar(--greyForegroundColor);
72 padding-bottom: 60px;
73}
74
75.show-more {
76 @include show-more-description;
77
78 display: none;
79 text-align: center;
80}
81
82.buttons {
83 grid-column: 2;
84 grid-row: 1;
85
86 display: flex;
87 flex-wrap: wrap;
88 justify-content: flex-end;
89 align-content: flex-start;
90
91 > *:not(:last-child) {
92 margin-bottom: 15px;
93 }
900f7820
C
94
95 > a {
96 white-space: nowrap;
97 }
67264e06
C
98}
99
100@media screen and (max-width: $small-view) {
101 .root {
900f7820 102 --myGlobalTopPadding: 45px;
67264e06
C
103 --myChannelImgMargin: 15px;
104 }
105
106 .account-info {
107 display: block;
108 padding-bottom: 60px;
109 }
110
111 .description:not(.expanded) {
112 max-height: 70px;
113
114 @include fade-text(30px, pvar(--submenuColor));
115 }
116
117 .show-more {
118 display: block;
119 }
120
121 .buttons {
122 justify-content: center;
123 }
ee1d0dfb 124}
4682468d
K
125
126@media screen and (max-width: $mobile-view) {
67264e06 127 .root {
900f7820 128 --myGlobalTopPadding: 15px;
67264e06
C
129 --myFontSize: 14px;
130 --myGreyFontSize: 13px;
131 }
132
133 .account-info {
134 display: block;
135 padding-bottom: 30px;
136 }
137
138 .links {
139 margin: auto !important;
140 width: min-content;
141 }
142
143 .show-more {
144 margin-bottom: 30px;
4682468d
K
145 }
146}