Files
certd/packages/ui/certd-client/src/style/common.less
xiaojunnuo 2d1504a057 chore:
2025-06-29 16:57:28 +08:00

307 lines
3.5 KiB
Plaintext

//@import "./theme/index.less";
//@import "./theme/default.less";
@import "./scroll.less";
@import "./transition.less";
@import "./fix-windicss.less";
@import "./antdv4.less";
@import "./certd.less";
html,
body {
margin: 0;
padding: 0;
height: 100%;
width: 100%;
box-sizing: border-box;
}
div#app {
height: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin-bottom: 0;
margin-top: 0;
}
.fs-desc {
font-size: 12px;
color: #888888;
margin-left: 5px;
margin-right: 5px;
}
.ant-btn-link {
height: 24px;
}
.ant-input-affix-wrapper {
padding: 4px 11px;
}
.anticon {
vertical-align: 0 !important;
}
.pointer {
cursor: pointer;
}
.flex-center {
display: flex;
justify-content: center;
align-items: center;
}
.flex-vc {
align-items: center;
}
.flex-vb {
align-items: baseline;
}
.flex-o {
display: flex !important;
align-items: center;
}
.flex-baseline {
display: flex !important;
align-items: baseline;
}
.flex-between {
display: flex;
justify-content: space-between;
align-items: baseline;
}
.flex {
display: flex;
}
.flex-inline {
display: inline-flex;
align-items: center;
}
.flex-1 {
flex: 1;
}
.flex-0 {
flex: 0;
}
.flex-col {
display: flex;
flex-direction: column;
}
.align-left {
text-align: left;
}
.align-right {
text-align: right;
}
.scroll-y {
overflow-y: auto;
}
.m-0 {
margin: 0 !important;
}
.m-2 {
margin: 2px !important;
}
.m-3 {
margin: 3px !important;
}
.m-5 {
margin: 5px !important;
}
.m-10 {
margin: 10px !important;
}
.m-20 {
margin: 20px !important;
}
.mb-2 {
margin-bottom: 2px !important;
}
.mb-5 {
margin-bottom: 5px !important;
}
.ml-5 {
margin-left: 5px !important;
}
.ml-10 {
margin-left: 10px !important;
}
.ml-20 {
margin-left: 20px !important;
}
.ml-15 {
margin-left: 15px !important;
}
.mr-5 {
margin-right: 5px !important;
}
.mr-10 {
margin-right: 10px !important;
}
.mr-20 {
margin-right: 20px !important;
}
.mr-15 {
margin-right: 15px !important;
}
.mt-5 {
margin-top: 5px !important;
}
.mt-10 {
margin-top: 10px !important;
}
.mb-10 {
margin-bottom: 10px !important;
}
.p-5 {
padding: 5px !important;
}
.p-10 {
padding: 10px !important;
}
.p-20 {
padding: 20px !important;
}
.ellipsis {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.w-100 {
width: 100%;
}
.h-100 {
height: 100%;
}
.overflow-hidden {
overflow: hidden;
}
.block-header {
margin: 3px;
padding-top: 15px;
padding-bottom: 3px;
border-bottom: 1px solid #dedede;
}
.color-plus {
color: #c5913f;
}
.color-blue {
color: #1890ff;
}
.color-red {
color: red;
}
.color-green {
color: green;
}
.color-gray {
color: gray;
}
.iconify {
//font-size: 16px;
}
.icon-box {
display: inline-flex;
align-items: center;
justify-content: center;
.fs-icon {
display: flex;
align-items: center;
justify-content: center;
}
}
.need-plus {
color: #c5913f !important;
}
.deleted {
color: #c7c7c7;
//删除线
text-decoration: line-through;
}
.cursor-move {
cursor: move !important;
}
.cursor-pointer {
cursor: pointer;
}
.helper {
color: #aeaeae;
font-size: 12px;
margin-top: 3px;
margin-bottom: 3px;
&.error {
color: #ff4d4f;
}
}
.fs-copyable {
display: inline-flex;
.text {
flex: 1;
}
.copy-button {
position: relative !important;
/* right: 0; */
}
}
.fs-16 {
font-size: 16px;
}
.w-50\% {
width: 50%;
}
.ant-drawer-content-wrapper {
max-width: 90vw;
}
.block-title {
font-size: 14px;
padding: 10px;
color: #6e6e6e;
}