]>
Commit | Line | Data |
---|---|---|
08c1efbe C |
1 | @import '_variables'; |
2 | @import '_mixins'; | |
3 | ||
4 | .create-button { | |
457bb213 | 5 | @include create-button; |
08c1efbe C |
6 | } |
7 | ||
4f5d0459 RK |
8 | input[type=text] { |
9 | @include peertube-input-text(300px); | |
10 | } | |
11 | ||
03652b31 | 12 | ::ng-deep .action-button { |
8165d00a | 13 | &.action-button-edit { |
08c1efbe C |
14 | margin-right: 10px; |
15 | } | |
16 | } | |
17 | ||
18 | .video-channel { | |
22a16e36 | 19 | @include row-blocks; |
deb8b9cd | 20 | |
8165d00a | 21 | padding-bottom: 0; |
08c1efbe C |
22 | |
23 | img { | |
deb8b9cd | 24 | @include channel-avatar(80px); |
08c1efbe C |
25 | |
26 | margin-right: 10px; | |
27 | } | |
28 | ||
29 | .video-channel-info { | |
30 | flex-grow: 1; | |
31 | ||
32 | a.video-channel-names { | |
33 | @include disable-default-a-behaviour; | |
34 | ||
8a19bee1 | 35 | width: fit-content; |
08c1efbe | 36 | display: flex; |
8a19bee1 | 37 | align-items: baseline; |
e66883b3 | 38 | color: pvar(--mainForegroundColor); |
08c1efbe C |
39 | |
40 | .video-channel-display-name { | |
41 | font-weight: $font-semibold; | |
42 | font-size: 18px; | |
43 | } | |
44 | ||
45 | .video-channel-name { | |
46 | font-size: 14px; | |
22a16e36 | 47 | color: $grey-actor-name; |
8a19bee1 | 48 | margin-left: 5px; |
08c1efbe C |
49 | } |
50 | } | |
51 | } | |
52 | ||
53 | .video-channel-buttons { | |
8a3183e5 | 54 | margin-top: 10px; |
08c1efbe C |
55 | min-width: 190px; |
56 | } | |
57 | } | |
58 | ||
8165d00a RK |
59 | ::ng-deep .chartjs-render-monitor { |
60 | position: relative; | |
61 | top: 1px; | |
62 | } | |
63 | ||
d607fc24 | 64 | .video-channels-header { |
65 | margin-bottom: 30px; | |
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 | ||
d607fc24 | 101 | @media screen and (max-width: $mobile-view) { |
102 | .video-channels-header { | |
103 | flex-direction: column; | |
104 | ||
105 | input[type=text] { | |
106 | width: 100% !important; | |
107 | margin-bottom: 12px; | |
108 | } | |
109 | } | |
110 | } | |
111 | ||
8a3183e5 K |
112 | @media screen and (min-width: breakpoint(lg)) { |
113 | :host-context(.main-col:not(.expanded)) { | |
114 | .video-channel-buttons { | |
115 | float: right; | |
116 | } | |
117 | } | |
118 | } | |
119 | ||
120 | @media screen and (min-width: $small-view) { | |
121 | :host-context(.expanded) { | |
122 | .video-channel-buttons { | |
123 | float: right; | |
08c1efbe C |
124 | } |
125 | } | |
126 | } |