Joeri de Gooijer pushed to branch master at cms-community / 
hippo-addon-channel-manager


Commits:
feaae233 by Joeri de Gooijer at 2017-02-14T13:39:02+01:00
CHANNELMGR-1137 Change icon to triangle in changes menu

- - - - -


3 changed files:

- frontend-ng/src/images/attention.svg
- frontend-ng/src/styles/_toolbar.scss
- frontend-ng/src/styles/_variables.scss


Changes:

=====================================
frontend-ng/src/images/attention.svg
=====================================
--- a/frontend-ng/src/images/attention.svg
+++ b/frontend-ng/src/images/attention.svg
@@ -1,6 +1,5 @@
-<?xml version="1.0" encoding="utf-8"?>
 <!--
-  Copyright 2016 Hippo B.V. (http://www.onehippo.com)
+  Copyright 2017 Hippo B.V. (http://www.onehippo.com)
 
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
@@ -14,8 +13,26 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" 
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd";>
-<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"
-        width="24px" height="24px" viewBox="0 0 24 24" enable-background="new 
0 0 24 24" xml:space="preserve">
-<circle fill="currentColor" cx="12" cy="12.2" r="4"/>
+
+<svg x="0px"
+     y="0px"
+     width="20px"
+     height="20px"
+     viewBox="0 0 20 20"
+     enable-background="new 0 0 20 20">
+  <g>
+    <path 
d="M14.457,11.538C15.415,13.471,14.65,15,13.148,15H1.818c-1.502,0-2.522-1.188-1.226-3.334l4.31-7.619
 C5.62,2.611,6.12,1,7.622,1l0,0c1.502,0,2.002,1.611,2.72,3.047L14.457,11.538z" 
/>
+  </g>
+
+  <rect x="7"
+        y="6"
+        fill="currentColor"
+        width="1"
+        height="5" />
+
+  <rect x="7"
+        y="12"
+        fill="currentColor"
+        width="1"
+        height="1" />
 </svg>


=====================================
frontend-ng/src/styles/_toolbar.scss
=====================================
--- a/frontend-ng/src/styles/_toolbar.scss
+++ b/frontend-ng/src/styles/_toolbar.scss
@@ -105,9 +105,8 @@ md-toolbar.hippo-toolbar {
     padding-right: 20px;
 
     md-icon {
-      bottom: 1px;
-      color: $orange-a400;
-      left: 6px;
+      fill: $toolbar-channel-changes-color;
+      left: 4px;
       position: relative;
     }
   }


=====================================
frontend-ng/src/styles/_variables.scss
=====================================
--- a/frontend-ng/src/styles/_variables.scss
+++ b/frontend-ng/src/styles/_variables.scss
@@ -132,6 +132,9 @@ $select-invalid-color: #f70029;
 // Toolbar
 $toolbar-height: 40px;
 
+// For consistency we use the same yellow color as is used in the CMS for the 
exclamation icon
+$toolbar-channel-changes-color: #ffa733;
+
 // Embedded links
 $embedded-link-height: 40px;
 $embedded-link-width: 40px;



View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-addon-channel-manager/commit/feaae233ad9e99842d09e1950c537c9473fa418a
_______________________________________________
Hippocms-svn mailing list
Hippocms-svn@lists.onehippo.org
https://lists.onehippo.org/mailman/listinfo/hippocms-svn

Reply via email to