]>
Commit | Line | Data |
---|---|---|
1 | @import 'variables'; | |
2 | @import 'mixins'; | |
3 | @import 'miniature'; | |
4 | ||
5 | .form-sub-title { | |
6 | flex-grow: 0; | |
7 | margin-right: 30px; | |
8 | } | |
9 | ||
10 | .caption { | |
11 | justify-content: flex-end; | |
12 | ||
13 | input { | |
14 | @include peertube-input-text(250px); | |
15 | flex-grow: 1; | |
16 | } | |
17 | } | |
18 | ||
19 | .moderation-expanded { | |
20 | font-size: 90%; | |
21 | ||
22 | .moderation-expanded-label { | |
23 | font-weight: $font-semibold; | |
24 | display: inline-block; | |
25 | vertical-align: top; | |
26 | text-align: right; | |
27 | } | |
28 | ||
29 | .moderation-expanded-text { | |
30 | display: inline-flex; | |
31 | word-wrap: break-word; | |
32 | ||
33 | ::ng-deep p:last-child { | |
34 | margin-bottom: 0px !important; | |
35 | } | |
36 | } | |
37 | } | |
38 | ||
39 | .video-table-states { | |
40 | & > :not(:first-child) { | |
41 | margin-left: .4rem; | |
42 | } | |
43 | } | |
44 | ||
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 | ||
59 | .screenratio { | |
60 | div { | |
61 | @include miniature-thumbnail; | |
62 | display: inline-flex; | |
63 | justify-content: center; | |
64 | align-items: center; | |
65 | color: pvar(--inputPlaceholderColor); | |
66 | } | |
67 | ||
68 | @include large-screen-ratio($selector: 'div, ::ng-deep iframe') { | |
69 | width: 100% !important; | |
70 | height: 100% !important; | |
71 | left: 0; | |
72 | }; | |
73 | } | |
74 | ||
75 | .chip { | |
76 | @include chip; | |
77 | } | |
78 | ||
79 | my-action-dropdown.show { | |
80 | ::ng-deep .dropdown-root { | |
81 | display: block !important; | |
82 | } | |
83 | } | |
84 | ||
85 | ||
86 | .video-table-video-link { | |
87 | @include disable-outline; | |
88 | position: relative; | |
89 | top: 3px; | |
90 | } | |
91 | ||
92 | .video-table-video { | |
93 | display: inline-flex; | |
94 | ||
95 | .video-table-video-image { | |
96 | @include miniature-thumbnail; | |
97 | ||
98 | $image-height: 45px; | |
99 | ||
100 | height: $image-height; | |
101 | width: #{(16/9) * $image-height}; | |
102 | margin-right: 0.5rem; | |
103 | border-radius: 2px; | |
104 | border: none; | |
105 | background: transparent; | |
106 | display: inline-flex; | |
107 | justify-content: center; | |
108 | align-items: center; | |
109 | position: relative; | |
110 | ||
111 | img { | |
112 | height: 100%; | |
113 | width: 100%; | |
114 | border-radius: 2px; | |
115 | } | |
116 | ||
117 | span { | |
118 | color: pvar(--inputPlaceholderColor); | |
119 | } | |
120 | ||
121 | .video-table-video-image-label { | |
122 | @include static-thumbnail-overlay; | |
123 | position: absolute; | |
124 | border-radius: 3px; | |
125 | font-size: 10px; | |
126 | padding: 0 3px; | |
127 | line-height: 1.3; | |
128 | bottom: 2px; | |
129 | right: 2px; | |
130 | } | |
131 | } | |
132 | ||
133 | .video-table-video-text { | |
134 | display: inline-flex; | |
135 | flex-direction: column; | |
136 | justify-content: center; | |
137 | font-size: 90%; | |
138 | color: pvar(--mainForegroundColor); | |
139 | line-height: 1rem; | |
140 | ||
141 | div .glyphicon { | |
142 | font-size: 80%; | |
143 | color: gray; | |
144 | margin-left: 0.1rem; | |
145 | } | |
146 | ||
147 | div + div { | |
148 | font-size: 80%; | |
149 | } | |
150 | } | |
151 | } |