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