]>
Commit | Line | Data |
---|---|---|
63c4db6d C |
1 | @import '_variables'; |
2 | @import '_mixins'; | |
3 | ||
b34a444e | 4 | $icon-font-path: '../../node_modules/@neos21/bootstrap3-glyphicons/assets/fonts/'; |
e203f2e0 | 5 | @import '_bootstrap'; |
63c4db6d | 6 | |
fa40cbc3 | 7 | @import '_fonts'; |
63c4db6d | 8 | |
d592e0a9 | 9 | @import '~video.js/dist/video-js.css'; |
c893d451 | 10 | |
2a19a1e4 C |
11 | $assets-path: '../assets/'; |
12 | @import './player/player'; | |
c893d451 | 13 | @import './loading-bar'; |
e31f6ad6 | 14 | |
bbe0f064 C |
15 | @import './primeng-custom'; |
16 | ||
383bfc83 C |
17 | [hidden] { |
18 | display: none !important; | |
19 | } | |
a64668c0 | 20 | |
b33f657c | 21 | body { |
8a8e02a4 | 22 | font-family: $main-fonts; |
b33f657c C |
23 | font-weight: $font-regular; |
24 | color: #000; | |
b34a444e | 25 | font-size: 14px; |
b33f657c C |
26 | } |
27 | ||
73e09f27 C |
28 | #incompatible-browser { |
29 | display: none; | |
30 | text-align: center; | |
31 | position: absolute; | |
32 | width: 100%; | |
33 | top: 45%; | |
34 | } | |
35 | ||
07fa4c97 C |
36 | strong { |
37 | font-weight: $font-semibold; | |
38 | } | |
39 | ||
383bfc83 C |
40 | input.readonly { |
41 | /* Force blank on readonly inputs */ | |
42 | background-color: #fff !important; | |
0ac5edd9 | 43 | } |
44 | ||
63347a0f C |
45 | input, textarea { |
46 | outline: none; | |
47 | } | |
48 | ||
d235f6b0 C |
49 | label { |
50 | font-weight: $font-bold; | |
51 | font-size: 15px; | |
09223546 C |
52 | } |
53 | ||
a2b817d3 C |
54 | .form-error { |
55 | display: block; | |
56 | color: $red-error; | |
57 | margin-top: 5px; | |
58 | } | |
59 | ||
60 | .input-error { | |
61 | border-color: $red-error !important; | |
62 | } | |
63 | ||
383bfc83 C |
64 | .glyphicon-black { |
65 | color: black; | |
66 | } | |
67 | ||
383bfc83 | 68 | .main-col { |
c30745f3 | 69 | margin-left: $menu-width; |
b34a444e | 70 | width: auto; |
9bf9d2a5 | 71 | |
c30745f3 | 72 | .margin-content { |
d178b5c1 C |
73 | margin-left: $not-expanded-horizontal-margins; |
74 | margin-right: $not-expanded-horizontal-margins; | |
b34a444e | 75 | flex-grow: 1; |
c30745f3 C |
76 | } |
77 | ||
78 | .sub-menu { | |
79 | background-color: #F7F7F7; | |
80 | width: 100%; | |
81 | height: 81px; | |
82 | margin-bottom: 30px; | |
83 | display: flex; | |
84 | align-items: center; | |
d178b5c1 | 85 | padding-left: $not-expanded-horizontal-margins; |
c30745f3 C |
86 | } |
87 | ||
88 | // Override some properties if the main content is expanded (no menu on the left) | |
89 | &.expanded { | |
90 | margin-left: 0; | |
91 | ||
92 | .margin-content { | |
93 | margin-left: $expanded-horizontal-margins; | |
94 | margin-right: $expanded-horizontal-margins; | |
95 | } | |
96 | ||
97 | .sub-menu { | |
98 | padding-left: $expanded-horizontal-margins; | |
99 | } | |
602eb142 | 100 | } |
383bfc83 | 101 | } |
602eb142 | 102 | |
59aa1e5e C |
103 | .title-page { |
104 | color: #000; | |
105 | font-size: 16px; | |
106 | display: inline-block; | |
107 | margin-right: 55px; | |
108 | font-weight: $font-semibold; | |
109 | @include disable-default-a-behaviour; | |
110 | ||
111 | &.active, &.title-page-single { | |
112 | border-bottom: 2px solid $orange-color; | |
113 | font-weight: $font-bold; | |
114 | margin-top: 30px; | |
115 | margin-bottom: 25px; | |
116 | } | |
cadb46d8 C |
117 | |
118 | &:hover, &:active, &:focus { | |
119 | color: #000; | |
04e0fc48 | 120 | } |
1952a538 C |
121 | |
122 | @media screen and (max-width: 500px) { | |
123 | margin-right: 20px; | |
124 | } | |
cadb46d8 | 125 | } |
04e0fc48 | 126 | |
cd83ea1b C |
127 | .admin-sub-header { |
128 | display: flex; | |
129 | align-items: center; | |
130 | margin-bottom: 30px; | |
131 | ||
08c1efbe | 132 | .form-sub-title { |
cd83ea1b C |
133 | flex-grow: 1; |
134 | } | |
135 | } | |
136 | ||
08c1efbe | 137 | .form-sub-title { |
04e0fc48 C |
138 | font-size: 20px; |
139 | font-weight: bold; | |
59aa1e5e C |
140 | } |
141 | ||
315cc0cc C |
142 | // Thanks https://gist.github.com/alexandrevicenzi/680147013e902a4eaa5d |
143 | .glyphicon-refresh-animate { | |
4635f59d | 144 | animation: spin .7s infinite linear; |
315cc0cc C |
145 | } |
146 | ||
147 | @keyframes spin { | |
148 | from { transform: scale(1) rotate(0deg);} | |
149 | to { transform: scale(1) rotate(360deg);} | |
150 | } | |
151 | ||
04e0fc48 | 152 | // Bootstrap customizations |
7b272fd7 C |
153 | .dropdown-menu { |
154 | border-radius: 3px; | |
155 | box-shadow: 0 3px 6px; | |
156 | font-size: 15px; | |
157 | ||
158 | .dropdown-item { | |
159 | padding: 3px 15px; | |
160 | } | |
161 | ||
162 | a { | |
163 | color: #000 !important; | |
164 | } | |
165 | } | |
0727cab0 C |
166 | |
167 | .modal { | |
168 | .modal-header { | |
169 | border-bottom: none; | |
5f0805d3 | 170 | margin-bottom: 5px; |
0727cab0 | 171 | |
5f0805d3 C |
172 | .modal-title { |
173 | font-size: 20px; | |
174 | font-weight: $font-semibold; | |
175 | } | |
176 | ||
177 | .close { | |
178 | @include icon(24px); | |
179 | ||
180 | position: relative; | |
63347a0f | 181 | top: 3px; |
5f0805d3 C |
182 | float: right; |
183 | background-image: url('../assets/images/global/cross.svg'); | |
63347a0f C |
184 | |
185 | margin: 0; | |
186 | padding: 0; | |
187 | opacity: 1; | |
5f0805d3 C |
188 | } |
189 | } | |
190 | ||
191 | .inputs { | |
192 | margin-top: 40px; | |
193 | margin-bottom: 0; | |
194 | text-align: right; | |
195 | ||
196 | .action-button-cancel { | |
197 | @include peertube-button; | |
198 | @include grey-button; | |
199 | ||
200 | display: inline-block; | |
201 | margin-right: 10px; | |
202 | } | |
203 | ||
204 | .action-button-submit { | |
205 | @include peertube-button; | |
206 | @include orange-button; | |
0727cab0 C |
207 | } |
208 | } | |
209 | } | |
210 | ||
63347a0f C |
211 | // Nav customizations |
212 | .nav .nav-link { | |
213 | display: flex !important; | |
214 | align-items: center; | |
215 | height: 30px !important; | |
216 | padding: 10px 15px !important; | |
217 | } | |
04e0fc48 | 218 | |
63347a0f C |
219 | .nav.nav-pills { |
220 | font-size: 16px !important; | |
221 | ||
222 | .nav-link.active { | |
223 | font-weight: $font-semibold !important; | |
224 | } | |
225 | ||
226 | a { | |
227 | @include disable-default-a-behaviour; | |
228 | ||
229 | color: #000; | |
6de36768 C |
230 | } |
231 | } | |
04e0fc48 | 232 | |
63347a0f | 233 | ngb-tabset.bootstrap { |
bbe0f064 | 234 | |
63347a0f | 235 | .nav-link { |
6de36768 | 236 | &, & a { |
6de36768 | 237 | @include disable-default-a-behaviour; |
63347a0f C |
238 | |
239 | color: #000 !important; | |
04e0fc48 C |
240 | } |
241 | } | |
04e0fc48 C |
242 | } |
243 | ||
0727cab0 C |
244 | .orange-button { |
245 | @include peertube-button; | |
246 | @include orange-button; | |
247 | } | |
248 | ||
249 | .orange-button-link { | |
250 | @include peertube-button-link; | |
251 | @include orange-button; | |
252 | } | |
253 | ||
254 | .grey-button { | |
255 | @include peertube-button; | |
256 | @include grey-button; | |
257 | } | |
258 | ||
259 | .grey-button-link { | |
260 | @include peertube-button-link; | |
261 | @include grey-button; | |
262 | } | |
20206dfb | 263 | |
fb4fd623 C |
264 | // In tables, don't have a hover different background |
265 | table { | |
266 | .action-button-edit, .action-button-delete { | |
267 | &:hover, &:active, &:focus, &[disabled], &.disabled { | |
268 | background-color: $grey-color !important; | |
269 | } | |
270 | } | |
271 | } | |
272 | ||
1f788f20 C |
273 | @media screen and (max-width: 900px) { |
274 | .main-col { | |
275 | &, &.expanded { | |
276 | .margin-content { | |
277 | margin-left: 50px; | |
278 | margin-right: 50px; | |
279 | } | |
dd778941 C |
280 | |
281 | .sub-menu { | |
282 | padding-left: 50px; | |
283 | } | |
1f788f20 C |
284 | } |
285 | } | |
286 | } | |
287 | ||
c8cf5952 | 288 | @media screen and (max-width: 600px) { |
8afc19a6 | 289 | .menu-wrapper { |
c8cf5952 | 290 | width: 100% !important; |
20206dfb C |
291 | z-index: 10000; |
292 | } | |
293 | ||
294 | .main-col { | |
295 | margin-left: 0; | |
296 | ||
297 | &, &.expanded { | |
298 | .margin-content { | |
6693df9d C |
299 | margin-left: 15px; |
300 | margin-right: 15px; | |
20206dfb C |
301 | } |
302 | ||
303 | .sub-menu { | |
dd778941 | 304 | padding-left: 15px; |
20206dfb C |
305 | margin-bottom: 10px; |
306 | } | |
307 | ||
308 | input[type=text], input[type=password] { | |
309 | width: 100% !important; | |
310 | } | |
311 | } | |
312 | } | |
313 | } |