Files
gpustack-ui/src/assets/styles/common.less
T
2024-09-09 13:41:39 +08:00

153 lines
1.5 KiB
Plaintext

.m-b-20 {
margin-bottom: 20px;
}
.m-b-8 {
margin-bottom: 8px;
}
.m-b-5 {
margin-bottom: 5px;
}
.m-b-15 {
margin-bottom: 15px;
}
.m-l-10 {
margin-left: 10px;
}
.m-l-5 {
margin-left: 5px;
}
.m-l-4 {
margin-left: 4px;
}
.m-l-2 {
margin-left: 2px;
}
.m-l-8 {
margin-left: 8px;
}
.m-l-20 {
margin-left: 20px;
}
.m-r-10 {
margin-right: 10px;
}
.m-r-5 {
margin-right: 5px;
}
.m-r-2 {
margin-right: 2px;
}
.m-r-0 {
margin-right: 0;
}
.m-r-8 {
margin-right: 8px;
}
.m-l-6 {
margin-left: 6px;
}
.p-l-6 {
padding-left: 6px;
}
.flex {
display: flex;
}
// space-between
.flex-between {
display: flex;
justify-content: space-between;
}
.justify-center {
display: flex;
justify-content: center;
}
// align-items: center
.flex-center {
display: flex;
align-items: center;
}
.flex-gap-2 {
display: flex;
gap: 2px;
}
.opct-7 {
opacity: 0.7;
}
.opct-8 {
opacity: 0.8;
}
.flex-column {
display: flex;
flex-direction: column;
}
.gap-5 {
gap: 5px;
}
.gap-10 {
gap: 10px;
}
.gap-8 {
gap: 8px;
}
.relative {
position: relative;
}
.font-size-12 {
font-size: var(--font-size-base);
}
.font-size-14 {
font-size: var(--font-size-middle);
}
.font-size-16 {
font-size: var(--font-size-large);
}
.font-400 {
font-weight: var(--font-weight-normal);
}
.font-600 {
font-weight: var(--font-weight-medium);
}
.font-700 {
font-weight: var(--font-weight-bold);
}
.text-secondary {
color: var(--ant-color-text-secondary);
}
.text-tertiary {
color: var(--ant-color-text-tertiary);
}