From e9387d7683dae738d1775bd5b0b3226886b82573 Mon Sep 17 00:00:00 2001 From: "Dr. Frank Hoffmann" Date: Sun, 29 Mar 2020 20:53:00 +0000 Subject: [PATCH] ZMSFlexbox: added ZMSGraphic styles svn path=/ZMS/branches/zms4/; revision=5523 --- .../com.zms.foundation-4.0.0.metaobj.xml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/Products/zms/import/com.zms.foundation-4.0.0.metaobj.xml b/Products/zms/import/com.zms.foundation-4.0.0.metaobj.xml index e1e5e59b5..d2b2ab25d 100644 --- a/Products/zms/import/com.zms.foundation-4.0.0.metaobj.xml +++ b/Products/zms/import/com.zms.foundation-4.0.0.metaobj.xml @@ -1110,24 +1110,33 @@ return '' * { + body:not(.zmi) .ZMSFlexbox:not(.contentEditable) .ZMSFlexboxItem > * { margin:0 !important; padding:0 !important; } - .ZMSFlexbox .ZMSFlexboxItem { + body:not(.zmi) .ZMSFlexbox .ZMSFlexboxItem { flex-basis:calc((100% / var(--data-itemcount)) - 3rem); } + body:not(.zmi) .ZMSFlexbox .ZMSFlexboxItem .ZMSGraphic .graphic, + body:not(.zmi) .ZMSFlexbox .ZMSFlexboxItem .ZMSGraphic .graphic img { + width:100% !important; + max-width:100% !important; + } + body:not(.zmi) .ZMSFlexbox .ZMSFlexboxItem .ZMSGraphic .text { + padding-top:1em; + } +} }]]> @@ -1200,7 +1209,7 @@ return '' ZMSFlexbox Flexbox-Container com.zms.foundation - 0.0.5 + 0.0.6 ZMSObject