diff options
| author | Yoshie Muranaka <yoshiemuranaka@gmail.com> | 2019-09-24 08:32:42 -0700 |
|---|---|---|
| committer | Yoshie Muranaka <yoshiemuranaka@gmail.com> | 2019-10-02 07:02:24 -0700 |
| commit | 4b366b5aeb97b35ab3612bfe1dc7d93a1f8a6e79 (patch) | |
| tree | 5e184f589c9ddad570f582d8b5818ac933c89e14 /app/assets | |
| parent | ea4968c0e8e6a71a7a23263bd05e04147339e6c5 (diff) | |
| download | phosphor-webui-4b366b5aeb97b35ab3612bfe1dc7d93a1f8a6e79.tar.gz phosphor-webui-4b366b5aeb97b35ab3612bfe1dc7d93a1f8a6e79.zip | |
Clean up icons
Clean up duplicate svg icons from assets directory.
Created a statusIcon component to dynamically render
status icons instead of using background-image in
scss files.
- Moved/removed on, off, critical, warning svg icons from
assets directory
- Updated background-image status icons to use <icon>
or <status-icon> directive
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
Change-Id: Ic0f06d78b0861d6f60d40b2dcc0b80fd6dad2a88
Diffstat (limited to 'app/assets')
| -rw-r--r-- | app/assets/icons/icon-off.svg (renamed from app/assets/images/icon-off.svg) | 0 | ||||
| -rw-r--r-- | app/assets/icons/icon-on.svg (renamed from app/assets/images/icon-on.svg) | 0 | ||||
| -rw-r--r-- | app/assets/images/icon-critical.svg | 1 | ||||
| -rw-r--r-- | app/assets/images/icon-warning.svg | 1 |
4 files changed, 0 insertions, 2 deletions
diff --git a/app/assets/images/icon-off.svg b/app/assets/icons/icon-off.svg index 9757f9d..9757f9d 100644 --- a/app/assets/images/icon-off.svg +++ b/app/assets/icons/icon-off.svg diff --git a/app/assets/images/icon-on.svg b/app/assets/icons/icon-on.svg index ac750b0..ac750b0 100644 --- a/app/assets/images/icon-on.svg +++ b/app/assets/icons/icon-on.svg diff --git a/app/assets/images/icon-critical.svg b/app/assets/images/icon-critical.svg deleted file mode 100644 index de7df36..0000000 --- a/app/assets/images/icon-critical.svg +++ /dev/null @@ -1 +0,0 @@ -<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><style>.st2{fill:none;stroke:#da1416;stroke-width:2;stroke-miterlimit:10}</style><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 class="st2" d="M4.5 4.5l11 11.1M15.5 4.5l-11 11.1"/></svg>
\ No newline at end of file diff --git a/app/assets/images/icon-warning.svg b/app/assets/images/icon-warning.svg deleted file mode 100644 index f69427d..0000000 --- a/app/assets/images/icon-warning.svg +++ /dev/null @@ -1 +0,0 @@ -<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path opacity=".4" fill="#ffb000" d="M2.5 17L10 4l7.5 13z"/><path d="M10 1.4L.3 18.3h19.5L10 1.4zM10 4l7.5 13h-15L10 4z" fill="#ffb000"/><path d="M9.2 7.8v1.4l.4 3.5h.8l.4-3.5V7.8H9.2z"/><circle cx="10" cy="14.7" r=".8"/></svg>
\ No newline at end of file |

