// 基于 @CONTROL/门户部件/CONTROL.less.ftl 生成 // this is less .portlet{ height: 100%; width: 100%; > .portlet-title{ padding: 14px 16px; display: -webkit-box; display: -ms-flexbox; display: flex; height: 52px; -webkit-box-align: center; -ms-flex-align: center; align-items: center; justify-content: space-between; width:100%; line-height: 22px; font-size: 16px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #304265; font-weight: 600; i{ margin-right: 5px; } >.portlet-action{ margin-left: 12px; font-size: 14px; >a{ padding: 6px; } } } > .divider { margin: 0px 0px 11px 0px; } > .portlet-with-title{ width:100%; height:calc(100% - 58px); overflow:auto; padding:0px 12px; } > .portlet-without-title{ width:100%; height:100%; overflow:auto; padding:0px 12px; } .app-charts{ height: 100%!important; } .toolbar-container { button{ margin: 6px 0px 4px 16px; } .ivu-badge{ .ivu-badge-count{ top: 0; } } } // 日历视图样式特殊处理(防止刷新时日历大小发生变化并且门户部件要定高) .decalendarview { height: 100%; >.view-card { height: 100%; } } }