diff options
| author | Yoshie Muranaka <yoshiemuranaka@gmail.com> | 2019-10-16 08:13:53 -0700 |
|---|---|---|
| committer | Yoshie Muranaka <yoshiemuranaka@gmail.com> | 2019-10-22 09:45:35 -0700 |
| commit | 5e930c0aeb5b66df2c357be4d5c33d4828c2783f (patch) | |
| tree | 56fe47b702eab9ab6cbd9c6b6acc8d9c56fc2e86 /app/assets | |
| parent | d11b9277aea0baeafa4488084d27cfef0e607480 (diff) | |
| download | phosphor-webui-5e930c0aeb5b66df2c357be4d5c33d4828c2783f.tar.gz phosphor-webui-5e930c0aeb5b66df2c357be4d5c33d4828c2783f.zip | |
Update toast notification
Added new toast notification types, warn and info,
and updated visual styling. All toasts will need
to be manually closed by clicking the 'X' close icon,
except a success toast which will be dismissed
automatically after 10 secs.
- Small updates to critical and success/on icon
- Added new colors for toast status background colors
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
Change-Id: I9077109042621b2d3346b4121d6344da502b6b26
Diffstat (limited to 'app/assets')
| -rw-r--r-- | app/assets/icons/icon-critical.svg | 2 | ||||
| -rw-r--r-- | app/assets/icons/icon-on.svg | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/icons/icon-critical.svg b/app/assets/icons/icon-critical.svg index 85a6736..58675ef 100644 --- a/app/assets/icons/icon-critical.svg +++ b/app/assets/icons/icon-critical.svg @@ -1 +1 @@ -<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M10 2.3c4.3 0 7.7 3.5 7.7 7.7s-3.5 7.7-7.7 7.7-7.7-3.4-7.7-7.7S5.8 2.3 10 2.3m0-1.9C4.7.4.3 4.7.3 10.1s4.3 9.7 9.7 9.7 9.7-4.3 9.7-9.7S15.3.4 10 .4z" fill="#da1416"/><circle cx="10" cy="10" r="7.7" opacity=".4" fill="#da1416"/><path d="M4.5 4.5l11 11.1m0-11.1l-11 11.1" fill="none" stroke="#da1416" stroke-width="2" stroke-miterlimit="10"/></svg>
\ No newline at end of file +<svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#e0182d" d="M8 0a8 8 0 11-8 8 8 8 0 018-8zM4.71 3.29L3.29 4.71l8 8 1.41-1.41z" data-name="Icon/status/Error"/></svg>
\ No newline at end of file diff --git a/app/assets/icons/icon-on.svg b/app/assets/icons/icon-on.svg index ac750b0..ae5843c 100644 --- a/app/assets/icons/icon-on.svg +++ b/app/assets/icons/icon-on.svg @@ -1 +1 @@ -<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zM7 12L3.5 8.5 5 7l2 2 4-4 1.5 1.5L7 12z" fill="#34bc6e"/></svg>
\ No newline at end of file +<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zM7 12L3.5 8.5 5 7l2 2 4-4 1.5 1.5L7 12z" fill="#0A7D06"/></svg>
\ No newline at end of file |

