]>
Commit | Line | Data |
---|---|---|
8cbc40b2 C |
1 | @use '_variables' as *; |
2 | @use '_mixins' as *; | |
08c1efbe | 3 | |
cd262619 C |
4 | h1 my-global-icon { |
5 | position: relative; | |
6 | top: -2px; | |
7 | } | |
8 | ||
08c1efbe | 9 | .create-button { |
457bb213 | 10 | @include create-button; |
08c1efbe C |
11 | } |
12 | ||
4f5d0459 RK |
13 | input[type=text] { |
14 | @include peertube-input-text(300px); | |
15 | } | |
16 | ||
cd262619 | 17 | my-edit-button { |
27bc9586 | 18 | @include margin-right(10px); |
08c1efbe C |
19 | } |
20 | ||
21 | .video-channel { | |
22a16e36 | 22 | @include row-blocks; |
deb8b9cd | 23 | |
8165d00a | 24 | padding-bottom: 0; |
08c1efbe | 25 | |
746018f6 C |
26 | my-actor-avatar { |
27 | @include actor-avatar-size(80px); | |
27bc9586 | 28 | @include margin-right(10px); |
08c1efbe | 29 | } |
cd262619 | 30 | } |
08c1efbe | 31 | |
cd262619 C |
32 | .video-channel-info { |
33 | flex-grow: 1; | |
34 | } | |
08c1efbe | 35 | |
cd262619 C |
36 | .video-channel-names { |
37 | @include disable-default-a-behaviour; | |
38 | ||
39 | width: fit-content; | |
40 | display: flex; | |
41 | align-items: baseline; | |
42 | color: pvar(--mainForegroundColor); | |
43 | } | |
44 | ||
45 | .video-channel-display-name { | |
46 | font-weight: $font-semibold; | |
47 | font-size: 18px; | |
48 | } | |
49 | ||
50 | .video-channel-name { | |
27bc9586 C |
51 | @include margin-left(5px); |
52 | ||
cd262619 C |
53 | font-size: 14px; |
54 | color: $grey-actor-name; | |
cd262619 C |
55 | } |
56 | ||
4beda9e1 C |
57 | .video-channel-followers { |
58 | color: pvar(--mainForegroundColor); | |
59 | } | |
60 | ||
cd262619 C |
61 | .video-channel-buttons { |
62 | margin-top: 10px; | |
63 | min-width: 190px; | |
08c1efbe C |
64 | } |
65 | ||
8165d00a RK |
66 | ::ng-deep .chartjs-render-monitor { |
67 | position: relative; | |
68 | top: 1px; | |
69 | } | |
70 | ||
d607fc24 | 71 | .video-channels-header { |
72 | margin-bottom: 30px; | |
73 | } | |
74 | ||
ece3029b | 75 | @media screen and (max-width: $small-view) { |
f2bbd1e1 C |
76 | .video-channels-header { |
77 | text-align: center; | |
78 | } | |
79 | ||
08c1efbe | 80 | .video-channel { |
4682468d K |
81 | padding-bottom: 10px; |
82 | ||
08c1efbe | 83 | img { |
27bc9586 | 84 | @include margin-right(0); |
08c1efbe C |
85 | } |
86 | ||
87 | .video-channel-buttons { | |
8a3183e5 K |
88 | align-self: center; |
89 | } | |
90 | } | |
cd262619 C |
91 | |
92 | .video-channel-info { | |
93 | padding-bottom: 10px; | |
94 | text-align: center; | |
95 | } | |
96 | ||
97 | .video-channel-names { | |
98 | flex-direction: column; | |
99 | align-items: center !important; | |
100 | margin: auto; | |
101 | } | |
102 | ||
103 | .video-channel-name { | |
27bc9586 | 104 | @include margin-left(0 !important); |
cd262619 | 105 | } |
8a3183e5 K |
106 | } |
107 | ||
d607fc24 | 108 | @media screen and (max-width: $mobile-view) { |
109 | .video-channels-header { | |
110 | flex-direction: column; | |
111 | ||
112 | input[type=text] { | |
113 | width: 100% !important; | |
114 | margin-bottom: 12px; | |
115 | } | |
116 | } | |
117 | } | |
118 | ||
8a3183e5 K |
119 | @media screen and (min-width: breakpoint(lg)) { |
120 | :host-context(.main-col:not(.expanded)) { | |
121 | .video-channel-buttons { | |
122 | float: right; | |
123 | } | |
124 | } | |
125 | } | |
126 | ||
127 | @media screen and (min-width: $small-view) { | |
128 | :host-context(.expanded) { | |
129 | .video-channel-buttons { | |
130 | float: right; | |
08c1efbe C |
131 | } |
132 | } | |
133 | } |