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