spug/spug_web/src/components/index.module.less

255 lines
4.0 KiB
Plaintext

.searchForm {
padding: 24px 24px 0 24px;
background-color: #fff;
border-radius: 2px;
margin-bottom: 16px;
:global(.ant-form-item) {
display: flex;
}
:global(.ant-form-item-control-wrapper) {
flex: 1;
}
:global(.ant-form-item-label) {
padding-right: 8px;
}
:global(.ant-form-item-control) {
overflow: hidden;
}
}
.statisticsCard {
position: relative;
text-align: center;
span {
color: rgba(0, 0, 0, .45);
display: inline-block;
line-height: 22px;
margin-bottom: 4px;
}
p {
font-size: 32px;
line-height: 32px;
margin: 0;
}
em {
background-color: #e8e8e8;
position: absolute;
height: 56px;
width: 1px;
top: 0;
right: 0;
}
}
.tableCard {
border: 1px solid #f0f0f0;
background: #fff;
border-radius: 2px;
padding: 24px;
.toolbar {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 20px;
.title {
flex: 1;
font-weight: 500;
font-size: 16px;
opacity: 0.8;
margin-right: 24px;
}
.option {
display: flex;
align-items: center;
justify-content: flex-end;
.icons {
:global(.anticon) {
font-size: 16px;
margin-left: 8px;
}
}
}
}
}
.tableFields {
:global(.ant-popover-title) {
padding: 10px 16px;
display: flex;
justify-content: space-between;
align-items: center;
}
:global(.ant-popover-inner-content) {
padding: 8px 0;
:global(.ant-checkbox-group) {
display: flex;
flex-direction: column;
}
:global(.ant-checkbox-wrapper) {
height: 30px;
line-height: 30px;
margin: 0;
padding: 0 16px;
}
:global(.ant-checkbox-wrapper):hover {
background: rgba(0, 0, 0, 0.025)
}
}
}
.tableFooter {
position: fixed;
right: 0;
bottom: 0;
display: flex;
align-items: center;
height: 48px;
width: calc(100% - 208px);
padding: 0 24px;
background: #fff;
.left {
flex: 1;
span {
color: #1890ff;
font-weight: 600;
}
}
}
.breadcrumb {
margin: -24px -24px 24px -24px;
padding: 16px 24px;
background: #fff;
border-bottom: 1px solid #e8e8e8;
.title {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 20px;
margin-top: 8px;
}
}
.appSelector {
display: flex;
background-color: #fff;
padding: 16px 0;
min-height: 500px;
.left {
flex: 220px;
border-right: 1px solid #e8e8e8;
overflow: hidden;
}
.right {
flex: 580px;
padding: 8px 40px;
}
.title {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 24px;
color: rgba(0, 0, 0, .85);
font-weight: 500;
font-size: 20px;
line-height: 28px;
.text {
padding-right: 12px;
width: 300px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
}
.appItem {
display: flex;
align-items: center;
padding: 12px 16px;
margin-bottom: 8px;
background: #fafafa;
border-radius: 2px;
:global(.anticon) {
color: #1890ff;
margin-right: 16px;
}
.body {
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
.appItem:hover {
cursor: pointer;
background: #e6f7ff;
}
.tips {
margin-top: 32px;
color: #888;
}
}
.notFound {
display: flex;
height: 80%;
align-items: center;
.imgBlock {
flex: 0 0 62.5%;
width: 62.5%;
zoom: 1;
padding-right: 88px;
.img {
float: right;
height: 360px;
width: 100%;
max-width: 430px;
background-size: contain;
background: url('./404.svg') no-repeat 50% 50%;
}
}
.title {
color: #434e59;
font-size: 72px;
font-weight: 600;
line-height: 72px;
margin-bottom: 24px;
}
.desc {
color: rgba(0, 0, 0, .45);
font-size: 20px;
line-height: 28px;
margin-bottom: 16px;
}
}