提交 acdd1cdf 编写于 作者: Mosher's avatar Mosher

数据看板卡片视图样式更新

上级 60ff35df
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<card class="portlet-card custom-card" :bordered="false" dis-hover :padding="10"> <card class="portlet-card custom-card" :bordered="false" dis-hover :padding="10">
</#if> </#if>
<#if portlet.getPortletType() == 'CONTAINER' && portlet.isShowTitleBar() && portlet.getTitle()?has_content> <#if portlet.getPortletType() == 'CONTAINER' && portlet.isShowTitleBar() && portlet.getTitle()?has_content>
<#if ctrl.getViewStyle?? && ctrl.getViewStyle()?? && ctrl.getViewStyle() != 'DEFAULT'> <#if view.getViewStyle?? && view.getViewStyle()?? && view.getViewStyle() != 'DEFAULT'>
<a slot='extra'></a> <a slot='extra'></a>
<#else> <#else>
<p slot='title'> <p slot='title'>
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<card class="portlet-card custom-card" :bordered="false" dis-hover :padding="10"> <card class="portlet-card custom-card" :bordered="false" dis-hover :padding="10">
</#if> </#if>
<#if portlet.getPortletType() == 'CONTAINER' && portlet.isShowTitleBar() && portlet.getTitle()?has_content> <#if portlet.getPortletType() == 'CONTAINER' && portlet.isShowTitleBar() && portlet.getTitle()?has_content>
<#if ctrl.getViewStyle?? && ctrl.getViewStyle()?? && ctrl.getViewStyle() != 'DEFAULT'> <#if view.getViewStyle?? && view.getViewStyle()?? && view.getViewStyle() != 'DEFAULT'>
<a slot='extra'></a> <a slot='extra'></a>
<#else> <#else>
<p slot='title'> <p slot='title'>
......
...@@ -18,21 +18,32 @@ ...@@ -18,21 +18,32 @@
} }
} }
} }
}
.portlet-card {
background-color: #f0f2f5;
} }
}
<#if view.getViewStyle?? && view.getViewStyle()?? && view.getViewStyle() == 'CARDPORTAL'>
.CARDPORTAL {
background-color: #F0F2F5;
box-shadow: none !important;
.view-card {
background-color: #F0F2F5;
}
.portlet-card {
background-color: #f0f2f5;
}
.custom-card { .custom-card {
background-color: #ffffff;
margin: 5px;
box-shadow: 1px 1px 5px rgb(209, 205, 205);
.view-card {
background-color: #ffffff; background-color: #ffffff;
margin: 5px; }
box-shadow: 1px 1px 5px rgb(209, 205, 205); }
.view-card {
background-color: #ffffff;
}
}
} }
</#if>
<#ibizinclude> <#ibizinclude>
../@MACRO/CSS/DEFAULT.less.ftl ../@MACRO/CSS/DEFAULT.less.ftl
......
...@@ -4,10 +4,3 @@ ...@@ -4,10 +4,3 @@
.${srffilepath2(view.getCodeName())}{ .${srffilepath2(view.getCodeName())}{
display: block; display: block;
} }
.CARDPORTAL {
background-color: #F0F2F5;
.view-card {
background-color: #F0F2F5;
}
}
\ No newline at end of file
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
<card class="portlet-card custom-card" :bordered="false" dis-hover :padding="10"> <card class="portlet-card custom-card" :bordered="false" dis-hover :padding="10">
</#if> </#if>
<#if portlet.getPortletType() == 'CONTAINER' && portlet.isShowTitleBar() && portlet.getTitle()?has_content> <#if portlet.getPortletType() == 'CONTAINER' && portlet.isShowTitleBar() && portlet.getTitle()?has_content>
<#if ctrl.getViewStyle?? && ctrl.getViewStyle()?? && ctrl.getViewStyle() != 'DEFAULT'> <#if view.getViewStyle?? && view.getViewStyle()?? && view.getViewStyle() != 'DEFAULT'>
<a slot='extra'></a> <a slot='extra'></a>
<#else> <#else>
<p slot='title'> <p slot='title'>
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
<card class="portlet-card custom-card" :bordered="false" dis-hover :padding="10"> <card class="portlet-card custom-card" :bordered="false" dis-hover :padding="10">
</#if> </#if>
<#if portlet.getPortletType() == 'CONTAINER' && portlet.isShowTitleBar() && portlet.getTitle()?has_content> <#if portlet.getPortletType() == 'CONTAINER' && portlet.isShowTitleBar() && portlet.getTitle()?has_content>
<#if ctrl.getViewStyle?? && ctrl.getViewStyle()?? && ctrl.getViewStyle() != 'DEFAULT'> <#if view.getViewStyle?? && view.getViewStyle()?? && view.getViewStyle() != 'DEFAULT'>
<a slot='extra'></a> <a slot='extra'></a>
<#else> <#else>
<p slot='title'> <p slot='title'>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册