Ariel Weinberger pushed to branch feature/create-content at cms-community / 
hippo-addon-channel-manager


Commits:
6ca9ddf3 by Ariel Weinberger at 2017-12-04T11:17:29+01:00
CHANNELMGR-1542 Set custom fab button positioning for each button type

- - - - -


1 changed file:

- frontend-ng/src/styles/string/hippo-iframe.scss


Changes:

=====================================
frontend-ng/src/styles/string/hippo-iframe.scss
=====================================
--- a/frontend-ng/src/styles/string/hippo-iframe.scss
+++ b/frontend-ng/src/styles/string/hippo-iframe.scss
@@ -295,8 +295,19 @@
       box-shadow: $overlay-link-shadow-active !important;
     }
     &-open {
-      padding: 7px 0 0;
       svg { fill: $white; }
+
+      /*
+        Different fab buttons are using different .svg files (among default 
ones provided by AngularJS Material).
+        Therefore, we need to adjust the padding of each button type.
+       */
+      &[title="Cancel"] {
+        padding: 7px 0 0;
+      }
+
+      &[title="Edit content"] {
+        padding: 8px 0 0 5px;
+      }
     }
   }
   &.is-showing-options {



View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-addon-channel-manager/commit/6ca9ddf33e2c412283bce5a507e9f8a792b29034

---
View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-addon-channel-manager/commit/6ca9ddf33e2c412283bce5a507e9f8a792b29034
You're receiving this email because of your account on code.onehippo.org.
_______________________________________________
Hippocms-svn mailing list
Hippocms-svn@lists.onehippo.org
https://lists.onehippo.org/mailman/listinfo/hippocms-svn

Reply via email to