]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss
Add channel/account avatars in miniature (#2838)
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-video-channels / my-account-video-channels.component.scss
CommitLineData
08c1efbe
C
1@import '_variables';
2@import '_mixins';
3
4.create-button {
457bb213 5 @include create-button;
08c1efbe
C
6}
7
03652b31 8::ng-deep .action-button {
8165d00a 9 &.action-button-edit {
08c1efbe
C
10 margin-right: 10px;
11 }
12}
13
14.video-channel {
22a16e36 15 @include row-blocks;
8165d00a 16 padding-bottom: 0;
08c1efbe
C
17
18 img {
19 @include avatar(80px);
20
21 margin-right: 10px;
22 }
23
24 .video-channel-info {
25 flex-grow: 1;
26
27 a.video-channel-names {
28 @include disable-default-a-behaviour;
29
8a19bee1 30 width: fit-content;
08c1efbe 31 display: flex;
8a19bee1 32 align-items: baseline;
9a0fc840 33 color: var(--mainForegroundColor);
08c1efbe
C
34
35 .video-channel-display-name {
36 font-weight: $font-semibold;
37 font-size: 18px;
38 }
39
40 .video-channel-name {
41 font-size: 14px;
22a16e36 42 color: $grey-actor-name;
8a19bee1 43 margin-left: 5px;
08c1efbe 44 }
f37dc0dd
C
45
46 .video-channel-followers {
47
48 }
08c1efbe
C
49 }
50 }
51
52 .video-channel-buttons {
8a3183e5 53 margin-top: 10px;
08c1efbe
C
54 min-width: 190px;
55 }
56}
57
58.video-channels-header {
59 text-align: right;
60 margin: 20px 0 50px;
61}
62
8165d00a
RK
63::ng-deep .chartjs-render-monitor {
64 position: relative;
65 top: 1px;
66}
67
ece3029b 68@media screen and (max-width: $small-view) {
f2bbd1e1
C
69 .video-channels-header {
70 text-align: center;
71 }
72
08c1efbe 73 .video-channel {
4682468d
K
74 padding-bottom: 10px;
75
76 .video-channel-info {
77 padding-bottom: 10px;
78 text-align: center;
79
80 .video-channel-names {
81 flex-direction: column;
82 align-items: center !important;
83 margin: auto;
8a3183e5
K
84
85 .video-channel-name {
86 margin-left: 0px !important;
87 }
4682468d 88 }
f2bbd1e1
C
89 }
90
08c1efbe
C
91 img {
92 margin-right: 0;
93 }
94
95 .video-channel-buttons {
8a3183e5
K
96 align-self: center;
97 }
98 }
99}
100
101@media screen and (min-width: breakpoint(lg)) {
102 :host-context(.main-col:not(.expanded)) {
103 .video-channel-buttons {
104 float: right;
105 }
106 }
107}
108
109@media screen and (min-width: $small-view) {
110 :host-context(.expanded) {
111 .video-channel-buttons {
112 float: right;
08c1efbe
C
113 }
114 }
115}