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

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

上级 acdd1cdf
...@@ -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 view.getViewStyle?? && view.getViewStyle()?? && view.getViewStyle() != 'DEFAULT'> <#if view.getViewStyle?? && view.getViewStyle()?? && (view.getViewStyle() == 'cardportal' || view.getViewStyle == 'entitydatakanbanviewcard' || view.getViewStyle() == 'entitydatakanbanunitsviewcard' )>
<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 view.getViewStyle?? && view.getViewStyle()?? && view.getViewStyle() != 'DEFAULT'> <#if view.getViewStyle?? && view.getViewStyle()?? && (view.getViewStyle() == 'cardportal' || view.getViewStyle == 'entitydatakanbanviewcard' || view.getViewStyle() == 'entitydatakanbanunitsviewcard' )>
<a slot='extra'></a> <a slot='extra'></a>
<#else> <#else>
<p slot='title'> <p slot='title'>
......
...@@ -21,30 +21,6 @@ ...@@ -21,30 +21,6 @@
} }
} }
<#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 {
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
</#ibizinclude> </#ibizinclude>
...@@ -4,3 +4,27 @@ ...@@ -4,3 +4,27 @@
.${srffilepath2(view.getCodeName())}{ .${srffilepath2(view.getCodeName())}{
display: block; display: block;
} }
<#if view.getViewStyle?? && view.getViewStyle()?? && view.getViewStyle()?lower_case == 'cardportal'>
.cardportal {
background-color: #F0F2F5;
box-shadow: none !important;
.view-card {
background-color: #F0F2F5;
}
.portlet-card {
background-color: #f0f2f5;
}
.custom-card {
background-color: #ffffff;
margin: 5px;
box-shadow: 1px 1px 5px rgb(209, 205, 205);
.view-card {
background-color: #ffffff;
}
}
}
</#if>
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册