diff options
author | Chocobozzz <me@florianbigard.com> | 2018-12-19 16:04:34 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-12-19 17:26:52 +0100 |
commit | f8b2c1b4f509c037b9650cca2c5befd21f056df3 (patch) | |
tree | 89d278f9628d657e6aad1b1e15febaf8ff9fcfa9 /client/src/sass | |
parent | e0e665f0efa98f2701dd9f5529e99989680481ae (diff) | |
download | PeerTube-f8b2c1b4f509c037b9650cca2c5befd21f056df3.tar.gz PeerTube-f8b2c1b4f509c037b9650cca2c5befd21f056df3.tar.zst PeerTube-f8b2c1b4f509c037b9650cca2c5befd21f056df3.zip |
Refractor notification service
Shorter name and use primeng component
Diffstat (limited to 'client/src/sass')
-rw-r--r-- | client/src/sass/primeng-custom.scss | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/client/src/sass/primeng-custom.scss b/client/src/sass/primeng-custom.scss index 1d6eebcfa..21452fa16 100644 --- a/client/src/sass/primeng-custom.scss +++ b/client/src/sass/primeng-custom.scss | |||
@@ -299,3 +299,48 @@ p-inputswitch { | |||
299 | background-color: var(--mainColor) !important; | 299 | background-color: var(--mainColor) !important; |
300 | } | 300 | } |
301 | } | 301 | } |
302 | |||
303 | p-toast { | ||
304 | .ui-toast-message { | ||
305 | font-family: $main-fonts; | ||
306 | |||
307 | &.ui-toast-message-success { | ||
308 | color: #fff !important; | ||
309 | background-color: #8BC34A !important; | ||
310 | } | ||
311 | |||
312 | &.ui-toast-message-error { | ||
313 | color: #fff !important; | ||
314 | background-color: #F44336 !important; | ||
315 | } | ||
316 | |||
317 | &.ui-toast-message-info { | ||
318 | color: #fff !important; | ||
319 | background-color: #03A9F4 !important; | ||
320 | } | ||
321 | |||
322 | &.ui-toast-message-info { | ||
323 | color: #fff !important; | ||
324 | background-color: #03A9F4 !important; | ||
325 | } | ||
326 | |||
327 | .message { | ||
328 | float: left; | ||
329 | |||
330 | h3 { | ||
331 | font-size: 21px; | ||
332 | } | ||
333 | |||
334 | p { | ||
335 | font-size: 15px; | ||
336 | } | ||
337 | } | ||
338 | |||
339 | .glyphicon { | ||
340 | float: right; | ||
341 | font-size: 32px; | ||
342 | margin-top: 15px; | ||
343 | margin-right: 5px; | ||
344 | } | ||
345 | } | ||
346 | } | ||