]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+accounts/accounts.component.scss
Added filter to sort videos by name (alphabetical order)
[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 {
b15fcd49
C
40 @include margin-left(3px);
41
931d3430 42 border: 0;
b15fcd49
C
43
44 my-global-icon {
45 width: 15px;
46 }
67264e06
C
47}
48
49.account-info {
0f7407d9 50 @include grid-videos-miniature-margins(false, 15px);
900f7820 51
67264e06
C
52 display: grid;
53 grid-template-columns: 1fr min-content;
54 grid-template-rows: auto auto;
55
218f730c 56 background-color: pvar(--submenuBackgroundColor);
67264e06 57 margin-bottom: 45px;
900f7820 58 padding-top: var(--myGlobalTopPadding);
ace396c4 59 padding-bottom: var(--myGlobalTopPadding);
67264e06
C
60 font-size: var(--myFontSize);
61}
62
63.account-avatar-row {
64 @include avatar-row-responsive(var(--myImgMargin), var(--myGreyFontSize));
65}
66
80badf49
C
67.actor-display-name {
68 align-items: center;
69}
70
67264e06
C
71.description {
72 grid-column: 1 / 3;
733dbc53
C
73 max-width: 1000px;
74 word-break: break-word;
67264e06
C
75}
76
67264e06
C
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 }
900f7820
C
96
97 > a {
98 white-space: nowrap;
99 }
67264e06
C
100}
101
4c8749cb
C
102.pt-badge {
103 @include margin-right(5px);
104}
105
67264e06
C
106@media screen and (max-width: $small-view) {
107 .root {
900f7820 108 --myGlobalTopPadding: 45px;
67264e06
C
109 --myChannelImgMargin: 15px;
110 }
111
112 .account-info {
113 display: block;
114 padding-bottom: 60px;
115 }
116
117 .description:not(.expanded) {
218f730c 118 @include fade-text(30px, pvar(--submenuBackgroundColor));
931d3430
C
119
120 max-height: 70px;
67264e06
C
121 }
122
123 .show-more {
124 display: block;
125 }
126
127 .buttons {
128 justify-content: center;
129 }
ee1d0dfb 130}
4682468d
K
131
132@media screen and (max-width: $mobile-view) {
67264e06 133 .root {
900f7820 134 --myGlobalTopPadding: 15px;
67264e06
C
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;
4682468d
K
151 }
152}