]>
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 | } | |
65b247dd C |
135 | |
136 | .admin-sub-nav a { | |
137 | @include disable-default-a-behaviour; | |
138 | ||
139 | font-size: 16px; | |
140 | color: #000; | |
141 | padding: 5px 15px; | |
142 | border-radius: 0.25rem; | |
143 | ||
144 | &.active { | |
145 | font-weight: $font-semibold; | |
146 | background-color: #f0f0f0; | |
147 | } | |
148 | } | |
cd83ea1b C |
149 | } |
150 | ||
08c1efbe | 151 | .form-sub-title { |
04e0fc48 C |
152 | font-size: 20px; |
153 | font-weight: bold; | |
59aa1e5e C |
154 | } |
155 | ||
315cc0cc C |
156 | // Thanks https://gist.github.com/alexandrevicenzi/680147013e902a4eaa5d |
157 | .glyphicon-refresh-animate { | |
4635f59d | 158 | animation: spin .7s infinite linear; |
315cc0cc C |
159 | } |
160 | ||
161 | @keyframes spin { | |
162 | from { transform: scale(1) rotate(0deg);} | |
163 | to { transform: scale(1) rotate(360deg);} | |
164 | } | |
165 | ||
04e0fc48 | 166 | // Bootstrap customizations |
7b272fd7 C |
167 | .dropdown-menu { |
168 | border-radius: 3px; | |
169 | box-shadow: 0 3px 6px; | |
170 | font-size: 15px; | |
171 | ||
172 | .dropdown-item { | |
173 | padding: 3px 15px; | |
174 | } | |
175 | ||
176 | a { | |
177 | color: #000 !important; | |
178 | } | |
179 | } | |
0727cab0 C |
180 | |
181 | .modal { | |
182 | .modal-header { | |
183 | border-bottom: none; | |
5f0805d3 | 184 | margin-bottom: 5px; |
0727cab0 | 185 | |
5f0805d3 C |
186 | .modal-title { |
187 | font-size: 20px; | |
188 | font-weight: $font-semibold; | |
189 | } | |
190 | ||
191 | .close { | |
192 | @include icon(24px); | |
193 | ||
194 | position: relative; | |
63347a0f | 195 | top: 3px; |
5f0805d3 C |
196 | float: right; |
197 | background-image: url('../assets/images/global/cross.svg'); | |
63347a0f C |
198 | |
199 | margin: 0; | |
200 | padding: 0; | |
201 | opacity: 1; | |
5f0805d3 C |
202 | } |
203 | } | |
204 | ||
205 | .inputs { | |
206 | margin-top: 40px; | |
207 | margin-bottom: 0; | |
208 | text-align: right; | |
209 | ||
210 | .action-button-cancel { | |
211 | @include peertube-button; | |
212 | @include grey-button; | |
213 | ||
214 | display: inline-block; | |
215 | margin-right: 10px; | |
216 | } | |
217 | ||
218 | .action-button-submit { | |
219 | @include peertube-button; | |
220 | @include orange-button; | |
0727cab0 C |
221 | } |
222 | } | |
223 | } | |
224 | ||
63347a0f C |
225 | // Nav customizations |
226 | .nav .nav-link { | |
227 | display: flex !important; | |
228 | align-items: center; | |
229 | height: 30px !important; | |
230 | padding: 10px 15px !important; | |
231 | } | |
04e0fc48 | 232 | |
63347a0f C |
233 | .nav.nav-pills { |
234 | font-size: 16px !important; | |
235 | ||
236 | .nav-link.active { | |
237 | font-weight: $font-semibold !important; | |
238 | } | |
239 | ||
240 | a { | |
241 | @include disable-default-a-behaviour; | |
242 | ||
243 | color: #000; | |
6de36768 C |
244 | } |
245 | } | |
04e0fc48 | 246 | |
63347a0f | 247 | ngb-tabset.bootstrap { |
bbe0f064 | 248 | |
63347a0f | 249 | .nav-link { |
6de36768 | 250 | &, & a { |
6de36768 | 251 | @include disable-default-a-behaviour; |
63347a0f C |
252 | |
253 | color: #000 !important; | |
04e0fc48 C |
254 | } |
255 | } | |
04e0fc48 C |
256 | } |
257 | ||
0727cab0 C |
258 | .orange-button { |
259 | @include peertube-button; | |
260 | @include orange-button; | |
261 | } | |
262 | ||
263 | .orange-button-link { | |
264 | @include peertube-button-link; | |
265 | @include orange-button; | |
266 | } | |
267 | ||
268 | .grey-button { | |
269 | @include peertube-button; | |
270 | @include grey-button; | |
271 | } | |
272 | ||
273 | .grey-button-link { | |
274 | @include peertube-button-link; | |
275 | @include grey-button; | |
276 | } | |
20206dfb | 277 | |
fb4fd623 C |
278 | // In tables, don't have a hover different background |
279 | table { | |
280 | .action-button-edit, .action-button-delete { | |
281 | &:hover, &:active, &:focus, &[disabled], &.disabled { | |
282 | background-color: $grey-color !important; | |
283 | } | |
284 | } | |
285 | } | |
286 | ||
1f788f20 C |
287 | @media screen and (max-width: 900px) { |
288 | .main-col { | |
289 | &, &.expanded { | |
290 | .margin-content { | |
291 | margin-left: 50px; | |
292 | margin-right: 50px; | |
293 | } | |
dd778941 C |
294 | |
295 | .sub-menu { | |
296 | padding-left: 50px; | |
297 | } | |
1f788f20 C |
298 | } |
299 | } | |
300 | } | |
301 | ||
c8cf5952 | 302 | @media screen and (max-width: 600px) { |
8afc19a6 | 303 | .menu-wrapper { |
c8cf5952 | 304 | width: 100% !important; |
20206dfb C |
305 | z-index: 10000; |
306 | } | |
307 | ||
308 | .main-col { | |
309 | margin-left: 0; | |
310 | ||
311 | &, &.expanded { | |
312 | .margin-content { | |
6693df9d C |
313 | margin-left: 15px; |
314 | margin-right: 15px; | |
20206dfb C |
315 | } |
316 | ||
317 | .sub-menu { | |
dd778941 | 318 | padding-left: 15px; |
20206dfb C |
319 | margin-bottom: 10px; |
320 | } | |
321 | ||
322 | input[type=text], input[type=password] { | |
323 | width: 100% !important; | |
324 | } | |
325 | } | |
326 | } | |
327 | } |