mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-23 03:27:05 -04:00
Add toasts (#1073)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
This commit is contained in:
parent
0b4a0afa16
commit
a86789dbef
11 changed files with 320 additions and 13 deletions
22
src/components/notifications/notifications.scss
Normal file
22
src/components/notifications/notifications.scss
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*!
|
||||
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
||||
*
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
.notifications-area {
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
right: 15px;
|
||||
z-index: 2000;
|
||||
|
||||
.toast {
|
||||
min-width: 250px;
|
||||
max-width: 100vw;
|
||||
}
|
||||
|
||||
.progress {
|
||||
border-radius: 0;
|
||||
height: 0.25rem;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue