]>
Commit | Line | Data |
---|---|---|
83b5fe9c FA |
1 | @import 'variables'; |
2 | @import 'mixins'; | |
68d19a0a | 3 | @import 'miniature'; |
83b5fe9c | 4 | |
614d1ae9 C |
5 | .form-sub-title { |
6 | flex-grow: 0; | |
7 | margin-right: 30px; | |
8 | } | |
83b5fe9c | 9 | |
e0a92917 RK |
10 | .caption { |
11 | justify-content: flex-end; | |
12 | ||
13 | input { | |
14 | @include peertube-input-text(250px); | |
0d3a2982 | 15 | flex-grow: 1; |
e0a92917 RK |
16 | } |
17 | } | |
18 | ||
5fd4ca00 RK |
19 | .moderation-expanded { |
20 | font-size: 90%; | |
d6af8146 | 21 | |
5fd4ca00 RK |
22 | .moderation-expanded-label { |
23 | font-weight: $font-semibold; | |
24 | display: inline-block; | |
25 | vertical-align: top; | |
26 | text-align: right; | |
27 | } | |
8ca56654 | 28 | |
5fd4ca00 RK |
29 | .moderation-expanded-text { |
30 | display: inline-flex; | |
31 | word-wrap: break-word; | |
8ca56654 | 32 | |
5fd4ca00 RK |
33 | ::ng-deep p:last-child { |
34 | margin-bottom: 0px !important; | |
35 | } | |
d6af8146 | 36 | } |
83b5fe9c FA |
37 | } |
38 | ||
8ca56654 | 39 | .table-states { |
68d19a0a RK |
40 | & > :not(:first-child) { |
41 | margin-left: .4rem; | |
42 | } | |
43 | } | |
44 | ||
1ebddadd RK |
45 | p-calendar { |
46 | display: block; | |
47 | ||
48 | ::ng-deep { | |
49 | .ui-widget-content { | |
50 | min-width: 400px; | |
51 | } | |
52 | ||
53 | input { | |
54 | @include peertube-input-text(100%); | |
55 | } | |
56 | } | |
57 | } | |
58 | ||
d6af8146 | 59 | .screenratio { |
68d19a0a RK |
60 | div { |
61 | @include miniature-thumbnail; | |
8ca56654 | 62 | |
68d19a0a RK |
63 | display: inline-flex; |
64 | justify-content: center; | |
65 | align-items: center; | |
e66883b3 | 66 | color: pvar(--inputPlaceholderColor); |
68d19a0a RK |
67 | } |
68 | ||
e66883b3 | 69 | @include large-screen-ratio($selector: 'div, ::ng-deep iframe') { |
d6af8146 RK |
70 | width: 100% !important; |
71 | height: 100% !important; | |
72 | left: 0; | |
e66883b3 | 73 | }; |
d6af8146 RK |
74 | } |
75 | ||
8ca56654 C |
76 | .comment-html { |
77 | background-color: #ececec; | |
78 | padding: 10px; | |
79 | } | |
80 | ||
d6af8146 RK |
81 | .chip { |
82 | @include chip; | |
83b5fe9c | 83 | } |
5fd4ca00 RK |
84 | |
85 | my-action-dropdown.show { | |
86 | ::ng-deep .dropdown-root { | |
87 | display: block !important; | |
88 | } | |
89 | } | |
aeb1bed9 RK |
90 | |
91 | ||
8ca56654 | 92 | .table-video-link { |
aeb1bed9 | 93 | @include disable-outline; |
8ca56654 | 94 | |
aeb1bed9 RK |
95 | position: relative; |
96 | top: 3px; | |
97 | } | |
98 | ||
cfde28ba C |
99 | .table-comment-link, |
100 | .table-account-link { | |
8ca56654 C |
101 | @include disable-outline; |
102 | ||
103 | color: var(--mainForegroundColor); | |
104 | ||
105 | ::ng-deep p:last-child { | |
106 | margin: 0; | |
107 | } | |
108 | } | |
109 | ||
cfde28ba C |
110 | .table-account-link { |
111 | display: flex; | |
112 | flex-direction: column; | |
113 | } | |
114 | ||
115 | .comment-flagged-account, | |
116 | .account-flagged-handle { | |
8ca56654 C |
117 | font-size: 11px; |
118 | color: var(--greyForegroundColor); | |
119 | } | |
120 | ||
121 | .table-video { | |
aeb1bed9 RK |
122 | display: inline-flex; |
123 | ||
8ca56654 | 124 | .table-video-image { |
aeb1bed9 RK |
125 | @include miniature-thumbnail; |
126 | ||
127 | $image-height: 45px; | |
128 | ||
129 | height: $image-height; | |
130 | width: #{(16/9) * $image-height}; | |
131 | margin-right: 0.5rem; | |
132 | border-radius: 2px; | |
133 | border: none; | |
134 | background: transparent; | |
135 | display: inline-flex; | |
136 | justify-content: center; | |
137 | align-items: center; | |
138 | position: relative; | |
139 | ||
140 | img { | |
141 | height: 100%; | |
142 | width: 100%; | |
143 | border-radius: 2px; | |
144 | } | |
145 | ||
146 | span { | |
e66883b3 | 147 | color: pvar(--inputPlaceholderColor); |
aeb1bed9 RK |
148 | } |
149 | ||
8ca56654 | 150 | .table-video-image-label { |
aeb1bed9 RK |
151 | @include static-thumbnail-overlay; |
152 | position: absolute; | |
153 | border-radius: 3px; | |
154 | font-size: 10px; | |
155 | padding: 0 3px; | |
156 | line-height: 1.3; | |
157 | bottom: 2px; | |
158 | right: 2px; | |
159 | } | |
160 | } | |
161 | ||
8ca56654 | 162 | .table-video-text { |
aeb1bed9 RK |
163 | display: inline-flex; |
164 | flex-direction: column; | |
165 | justify-content: center; | |
166 | font-size: 90%; | |
e66883b3 | 167 | color: pvar(--mainForegroundColor); |
aeb1bed9 RK |
168 | line-height: 1rem; |
169 | ||
170 | div .glyphicon { | |
171 | font-size: 80%; | |
172 | color: gray; | |
173 | margin-left: 0.1rem; | |
174 | } | |
175 | ||
176 | div + div { | |
8ca56654 C |
177 | color: var(--greyForegroundColor); |
178 | font-size: 11px; | |
aeb1bed9 RK |
179 | } |
180 | } | |
181 | } |