From 763a67d39dcb0e5ae49816abcdb9cb7cbc2bd9e0 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 18 五月 2020 10:12:31 +0800 Subject: [PATCH] 2020-05-18 --- src/templates/sharecomponent/cardcomponent/index.scss | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 55 insertions(+), 4 deletions(-) diff --git a/src/templates/sharecomponent/cardcomponent/index.scss b/src/templates/sharecomponent/cardcomponent/index.scss index cf87b79..dfa0e28 100644 --- a/src/templates/sharecomponent/cardcomponent/index.scss +++ b/src/templates/sharecomponent/cardcomponent/index.scss @@ -1,18 +1,69 @@ .line-card-edit-box { margin-bottom: 30px; padding: 30px 20px; - - .ant-card { + + .ant-card.chart-card { min-height: 100px; + + .ant-card-head { + min-height: 40px; + line-height: 2; + .ant-card-head-title { + color: #000000; + font-weight: 500; + } + .ant-card-extra { + cursor: pointer; + color: #1890ff; + } + } } .ant-card.ant-card-bordered .ant-card-body { padding: 20px; zoom: 1; - // .ant-card-meta-avatar { + .ant-card-meta { + position: relative; + >.anticon-plus { + color: #26C281; + position: absolute; + right: -15px; + top: -5px; + padding: 5px; + } - // } + .ant-card-meta-avatar { + position: absolute; + top: 0px; + left: 0px; + } + // .ant-card-meta-avatar + .ant-card-meta-detail { + // float: left; + // } + .ant-avatar-image { + box-sizing: border-box; + margin: 0; + padding: 0; + font-variant: tabular-nums; + line-height: 1.5; + list-style: none; + font-feature-settings: 'tnum'; + position: relative; + display: inline-block; + overflow: hidden; + color: #fff; + white-space: nowrap; + text-align: center; + vertical-align: middle; + border-radius: 50%; + + img { + width: 100%; + height: 100%; + } + } + } } .chart-title { -- Gitblit v1.8.0