]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+accounts/accounts.component.scss
Prefer using our icons for notifications
[github/Chocobozzz/PeerTube.git] / client / src / app / +accounts / accounts.component.scss
CommitLineData
8cbc40b2
C
1@use '_variables' as *;
2@use '_mixins' as *;
4beda9e1 3@use '_account-channel-page' as *;
8cbc40b2 4@use '_miniature' as *;
67264e06
C
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 {
0f7407d9 18 @include grid-videos-miniature-margins;
947d0102 19
67264e06
C
20 display: flex;
21 justify-content: space-between;
22 align-items: center;
dd24f1bb
C
23
24 &.on-channel-page {
25 max-width: $max-channels-width;
26 }
900f7820
C
27
28 simple-search-input {
27bc9586 29 @include margin-left(auto);
900f7820 30 }
79bd2632
C
31}
32
80badf49
C
33my-user-moderation-dropdown {
34 margin: 0 10px;
79bd2632 35
80badf49 36 height: fit-content;
ee1d0dfb
C
37}
38
39.copy-button {
931d3430 40 border: 0;
67264e06
C
41}
42
43.account-info {
0f7407d9 44 @include grid-videos-miniature-margins(false, 15px);
900f7820 45
67264e06
C
46 display: grid;
47 grid-template-columns: 1fr min-content;
48 grid-template-rows: auto auto;
49
218f730c 50 background-color: pvar(--submenuBackgroundColor);
67264e06 51 margin-bottom: 45px;
900f7820 52 padding-top: var(--myGlobalTopPadding);
ace396c4 53 padding-bottom: var(--myGlobalTopPadding);
67264e06
C
54 font-size: var(--myFontSize);
55}
56
57.account-avatar-row {
58 @include avatar-row-responsive(var(--myImgMargin), var(--myGreyFontSize));
59}
60
80badf49
C
61.actor-display-name {
62 align-items: center;
63}
64
67264e06
C
65.description {
66 grid-column: 1 / 3;
733dbc53
C
67 max-width: 1000px;
68 word-break: break-word;
67264e06
C
69}
70
67264e06
C
71.show-more {
72 @include show-more-description;
73
74 display: none;
75 text-align: center;
76}
77
78.buttons {
79 grid-column: 2;
80 grid-row: 1;
81
82 display: flex;
83 flex-wrap: wrap;
84 justify-content: flex-end;
85 align-content: flex-start;
86
87 > *:not(:last-child) {
88 margin-bottom: 15px;
89 }
900f7820
C
90
91 > a {
92 white-space: nowrap;
93 }
67264e06
C
94}
95
4c8749cb
C
96.pt-badge {
97 @include margin-right(5px);
98}
99
67264e06
C
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) {
218f730c 112 @include fade-text(30px, pvar(--submenuBackgroundColor));
931d3430
C
113
114 max-height: 70px;
67264e06
C
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}