summaryrefslogtreecommitdiffstats
path: root/app/assets/images/icon-trashcan.svg
diff options
context:
space:
mode:
authorYoshie Muranaka <yoshiemuranaka@gmail.com>2019-06-05 12:30:30 -0500
committerYoshie Muranaka <yoshiemuranaka@gmail.com>2019-06-21 14:27:51 -0500
commitc86ce3c9c7736ef199d885596b6fc745c7d8c86e (patch)
treed8ce85478e7436298e328e91f0997d03747530b3 /app/assets/images/icon-trashcan.svg
parente4194ce0dc8a941c4f30fd0995f9ba4c13cec560 (diff)
downloadphosphor-webui-c86ce3c9c7736ef199d885596b6fc745c7d8c86e.tar.gz
phosphor-webui-c86ce3c9c7736ef199d885596b6fc745c7d8c86e.zip
Consolidate button styles
This patchset will create consistent button styling according to the styleguide and remove redundant button styles by creating reusable button classes. This patchset also implements a consistent strategy for including icon assets. Currently, svg icons are imported as CSS background images or inlined into the markup. Inlining an svg is preferred, especially when used with buttons or links so the colors can be easily changed for different states (hover, focus, disabled) without having to request variants. The icon provider allows us to inline svgs without cluttering the markup. Webpack config was adjusted to use svg-inline-loader when resolving svgs that are used by the icon provider directive. - All svgs were optimized to remove unncessary information. - Removed unused svg color variants - Moved icons used by icon provider to separate directory to avoid Webpack parsing the files twice - Small changes to navigation icons Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I1ca214b74fc502e6b6e760cfee88b48110237c43
Diffstat (limited to 'app/assets/images/icon-trashcan.svg')
-rw-r--r--app/assets/images/icon-trashcan.svg13
1 files changed, 0 insertions, 13 deletions
diff --git a/app/assets/images/icon-trashcan.svg b/app/assets/images/icon-trashcan.svg
deleted file mode 100644
index 16fdc25..0000000
--- a/app/assets/images/icon-trashcan.svg
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 20.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- viewBox="0 0 22 22" style="enable-background:new 0 0 22 22;" xml:space="preserve">
-<g>
- <rect x="8.1" y="1" width="5.7" height="1.4"/>
- <path d="M3.9,3.1v3.6h0.7V21h12.9V6.7h0.7V3.1H3.9z M16,19.6H6V8.1h10V19.6z"/>
- <rect x="7.4" y="9.6" width="0.7" height="8.6"/>
- <rect x="9.6" y="9.6" width="0.7" height="8.6"/>
- <rect x="11.7" y="9.6" width="0.7" height="8.6"/>
- <rect x="13.9" y="9.6" width="0.7" height="8.6"/>
-</g>
-</svg>
OpenPOWER on IntegriCloud