1. Support style check: stylelint 2. Add stylelint check in lint-staged husky 2. Update styles Change-Id: Id793b0936e4c3ea27ddef0df794d5b711880599f
54 lines
858 B
Plaintext
54 lines
858 B
Plaintext
@import '~styles/variables';
|
|
|
|
@min-space: 8px;
|
|
@mid-space: 16px;
|
|
@lg-space: 24px;
|
|
@box-shadow: 0 0 10px 0 rgba(0, 0, 0, 5%);
|
|
@topo-line: 1px solid #d2d2d2;
|
|
@resource-box-bg: #fbfdff;
|
|
@resource-box-border: 1px solid #cfe1ff;
|
|
|
|
@success: #57e39b;
|
|
@warning: #fedf40;
|
|
@error: #eb354d;
|
|
@link: #0068ff;
|
|
|
|
.card {
|
|
flex: 1;
|
|
margin-bottom: @mid-space;
|
|
background-color: #fff;
|
|
border-radius: @border-radius;
|
|
box-shadow: @box-shadow;
|
|
|
|
.card-content {
|
|
padding: @mid-space;
|
|
|
|
.card-item {
|
|
margin-bottom: @min-space;
|
|
|
|
h3 {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.title-help {
|
|
margin-left: @min-space;
|
|
line-height: 26px;
|
|
}
|
|
|
|
div {
|
|
word-break: break-all;
|
|
}
|
|
}
|
|
|
|
:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
:global {
|
|
.ant-typography {
|
|
word-break: break-all;
|
|
}
|
|
}
|
|
}
|
|
}
|