]>
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 | ||
57 | .video-channel-buttons { | |
58 | margin-top: 10px; | |
59 | min-width: 190px; | |
08c1efbe C |
60 | } |
61 | ||
8165d00a RK |
62 | ::ng-deep .chartjs-render-monitor { |
63 | position: relative; | |
64 | top: 1px; | |
65 | } | |
66 | ||
d607fc24 | 67 | .video-channels-header { |
68 | margin-bottom: 30px; | |
69 | } | |
70 | ||
ece3029b | 71 | @media screen and (max-width: $small-view) { |
f2bbd1e1 C |
72 | .video-channels-header { |
73 | text-align: center; | |
74 | } | |
75 | ||
08c1efbe | 76 | .video-channel { |
4682468d K |
77 | padding-bottom: 10px; |
78 | ||
08c1efbe | 79 | img { |
27bc9586 | 80 | @include margin-right(0); |
08c1efbe C |
81 | } |
82 | ||
83 | .video-channel-buttons { | |
8a3183e5 K |
84 | align-self: center; |
85 | } | |
86 | } | |
cd262619 C |
87 | |
88 | .video-channel-info { | |
89 | padding-bottom: 10px; | |
90 | text-align: center; | |
91 | } | |
92 | ||
93 | .video-channel-names { | |
94 | flex-direction: column; | |
95 | align-items: center !important; | |
96 | margin: auto; | |
97 | } | |
98 | ||
99 | .video-channel-name { | |
27bc9586 | 100 | @include margin-left(0 !important); |
cd262619 | 101 | } |
8a3183e5 K |
102 | } |
103 | ||
d607fc24 | 104 | @media screen and (max-width: $mobile-view) { |
105 | .video-channels-header { | |
106 | flex-direction: column; | |
107 | ||
108 | input[type=text] { | |
109 | width: 100% !important; | |
110 | margin-bottom: 12px; | |
111 | } | |
112 | } | |
113 | } | |
114 | ||
8a3183e5 K |
115 | @media screen and (min-width: breakpoint(lg)) { |
116 | :host-context(.main-col:not(.expanded)) { | |
117 | .video-channel-buttons { | |
118 | float: right; | |
119 | } | |
120 | } | |
121 | } | |
122 | ||
123 | @media screen and (min-width: $small-view) { | |
124 | :host-context(.expanded) { | |
125 | .video-channel-buttons { | |
126 | float: right; | |
08c1efbe C |
127 | } |
128 | } | |
129 | } |