card 样式调整

This commit is contained in:
qinjie 2021-09-11 00:29:59 +08:00
parent 63fadefa5c
commit 8eba84f6a1
1 changed files with 159 additions and 139 deletions

298
public/index.html vendored
View File

@ -1,160 +1,180 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="zh-cmn-Hans"> <html lang="zh-cmn-Hans">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0"> <meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>logo.png"> <link rel="icon" href="<%= BASE_URL %>logo.png">
<title>Ant Design Pro</title> <title>Ant Design Pro</title>
<style> <style>
.first-loading-wrp { .first-loading-wrp {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
flex-direction: column; flex-direction: column;
min-height: 420px; min-height: 420px;
height: 100% height: 100%
}
.first-loading-wrp>h1 {
font-size: 128px
}
.first-loading-wrp .loading-wrp {
padding: 98px;
display: flex;
justify-content: center;
align-items: center
}
.dot {
animation: antRotate 1.2s infinite linear;
transform: rotate(45deg);
position: relative;
display: inline-block;
font-size: 32px;
width: 32px;
height: 32px;
box-sizing: border-box
}
.dot i {
width: 14px;
height: 14px;
position: absolute;
display: block;
background-color: #1890ff;
border-radius: 100%;
transform: scale(.75);
transform-origin: 50% 50%;
opacity: .3;
animation: antSpinMove 1s infinite linear alternate
}
.dot i:nth-child(1) {
top: 0;
left: 0
}
.dot i:nth-child(2) {
top: 0;
right: 0;
-webkit-animation-delay: .4s;
animation-delay: .4s
}
.dot i:nth-child(3) {
right: 0;
bottom: 0;
-webkit-animation-delay: .8s;
animation-delay: .8s
}
.dot i:nth-child(4) {
bottom: 0;
left: 0;
-webkit-animation-delay: 1.2s;
animation-delay: 1.2s
}
@keyframes antRotate {
to {
-webkit-transform: rotate(405deg);
transform: rotate(405deg)
} }
}
@-webkit-keyframes antRotate { .first-loading-wrp>h1 {
to { font-size: 128px
-webkit-transform: rotate(405deg);
transform: rotate(405deg)
} }
}
@keyframes antSpinMove { .first-loading-wrp .loading-wrp {
to { padding: 98px;
opacity: 1 display: flex;
justify-content: center;
align-items: center
} }
}
@-webkit-keyframes antSpinMove { .dot {
to { animation: antRotate 1.2s infinite linear;
opacity: 1 transform: rotate(45deg);
position: relative;
display: inline-block;
font-size: 32px;
width: 32px;
height: 32px;
box-sizing: border-box
} }
}
/* 组织机构数选择组件样式修改 start */ .dot i {
.popover-tree>.ant-popover-content { width: 14px;
margin-top: -15px; height: 14px;
border: 1px solid #1890ff; position: absolute;
max-height: 400px; display: block;
overflow-y: auto; background-color: #1890ff;
} border-radius: 100%;
transform: scale(.75);
transform-origin: 50% 50%;
opacity: .3;
animation: antSpinMove 1s infinite linear alternate
}
.popover-tree>.ant-popover-content>.ant-popover-arrow { .dot i:nth-child(1) {
display: none; top: 0;
} left: 0
}
/* 组织机构数选择组件样式修改 end */ .dot i:nth-child(2) {
top: 0;
right: 0;
-webkit-animation-delay: .4s;
animation-delay: .4s
}
/* 项目管理 - 选择单位组件样式 start */ .dot i:nth-child(3) {
.tree-transfer .ant-transfer-list-body-customize-wrapper { right: 0;
overflow-y: auto !important; bottom: 0;
height: 500px !important; -webkit-animation-delay: .8s;
} animation-delay: .8s
}
.tree-transfer .ant-transfer-list-content { .dot i:nth-child(4) {
height: 500px !important; bottom: 0;
} left: 0;
-webkit-animation-delay: 1.2s;
animation-delay: 1.2s
}
/* 项目管理 - 选择单位组件样式 end */ @keyframes antRotate {
</style> to {
<!-- require cdn assets css --> -webkit-transform: rotate(405deg);
<% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.css) { %> transform: rotate(405deg)
<link rel="stylesheet" href="<%= htmlWebpackPlugin.options.cdn.css[i] %>" /> }
<% } %> }
</head>
<body> @-webkit-keyframes antRotate {
<noscript> to {
<strong>We're sorry but vue-antd-pro doesn't work properly without JavaScript enabled. Please enable it to -webkit-transform: rotate(405deg);
continue.</strong> transform: rotate(405deg)
</noscript> }
<div id="app"> }
<div class="first-loading-wrp">
<!-- <h1>Pro</h1> --> @keyframes antSpinMove {
<div class="loading-wrp"> to {
<span class="dot dot-spin"><i></i><i></i><i></i><i></i></span> opacity: 1
}
}
@-webkit-keyframes antSpinMove {
to {
opacity: 1
}
}
/* 组织机构数选择组件样式修改 start */
.popover-tree>.ant-popover-content {
margin-top: -15px;
border: 1px solid #1890ff;
max-height: 400px;
overflow-y: auto;
}
.popover-tree>.ant-popover-content>.ant-popover-arrow {
display: none;
}
/* 组织机构数选择组件样式修改 end */
/* 项目管理 - 选择单位组件样式 start */
.tree-transfer .ant-transfer-list-body-customize-wrapper {
overflow-y: auto !important;
height: 500px !important;
}
.tree-transfer .ant-transfer-list-content {
height: 500px !important;
}
/* 项目管理 - 选择单位组件样式 end */
/* card 样式调整 start */
.ant-card-head {
min-height: auto !important;
padding: 0 15px !important;
}
.ant-card-head-title {
padding: 10px 0 !important;
}
.ant-card-extra {
padding: 10px 0 !important;
}
.ant-card-body {
padding: 15px !important;
}
/* card 样式调整 start */
</style>
<!-- require cdn assets css -->
<% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.css) { %>
<link rel="stylesheet" href="<%= htmlWebpackPlugin.options.cdn.css[i] %>" />
<% } %>
</head>
<body>
<noscript>
<strong>We're sorry but vue-antd-pro doesn't work properly without JavaScript enabled. Please enable it to
continue.</strong>
</noscript>
<div id="app">
<div class="first-loading-wrp">
<!-- <h1>Pro</h1> -->
<div class="loading-wrp">
<span class="dot dot-spin"><i></i><i></i><i></i><i></i></span>
</div>
<!-- <div style="display: flex; justify-content: center; align-items: center;">Ant Design</div> -->
</div> </div>
<!-- <div style="display: flex; justify-content: center; align-items: center;">Ant Design</div> -->
</div> </div>
</div> <!-- require cdn assets js -->
<!-- require cdn assets js --> <% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.js) { %>
<% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.js) { %> <script type="text/javascript" src="<%= htmlWebpackPlugin.options.cdn.js[i] %>"></script>
<script type="text/javascript" src="<%= htmlWebpackPlugin.options.cdn.js[i] %>"></script> <% } %>
<% } %> <!-- built files will be auto injected -->
<!-- built files will be auto injected --> </body>
</body>
</html> </html>