]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss
`fitWidth` for `video-miniature`, fluid grid (#2830)
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-video-channels / my-account-video-channels.component.scss
1 @import '_variables';
2 @import '_mixins';
3
4 .create-button {
5 @include create-button;
6 }
7
8 ::ng-deep .action-button {
9 &.action-button-edit {
10 margin-right: 10px;
11 }
12 }
13
14 .video-channel {
15 @include row-blocks;
16 padding-bottom: 0;
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
30 width: fit-content;
31 display: flex;
32 align-items: baseline;
33 color: pvar(--mainForegroundColor);
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;
42 color: $grey-actor-name;
43 margin-left: 5px;
44 }
45
46 .video-channel-followers {
47
48 }
49 }
50 }
51
52 .video-channel-buttons {
53 margin-top: 10px;
54 min-width: 190px;
55 }
56 }
57
58 .video-channels-header {
59 text-align: right;
60 margin: 20px 0 50px;
61 }
62
63 ::ng-deep .chartjs-render-monitor {
64 position: relative;
65 top: 1px;
66 }
67
68 @media screen and (max-width: $small-view) {
69 .video-channels-header {
70 text-align: center;
71 }
72
73 .video-channel {
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;
84
85 .video-channel-name {
86 margin-left: 0px !important;
87 }
88 }
89 }
90
91 img {
92 margin-right: 0;
93 }
94
95 .video-channel-buttons {
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;
113 }
114 }
115 }