Files
gpustack-ui/src/assets/styles/common.less
T

347 lines
3.8 KiB
Plaintext

.m-b-20 {
margin-bottom: 20px;
}
.m-b-8 {
margin-bottom: 8px;
}
.m-b-6 {
margin-bottom: 6px;
}
.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-l-40 {
margin-left: 40px;
}
.m-t-16 {
margin-top: 16px;
}
.m-t-10 {
margin-top: 10px;
}
.m-0 {
margin: 0;
}
.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;
}
.p-l-8 {
padding-left: 8px;
}
.m-t-6 {
margin-top: 6px;
}
.flex {
display: flex;
}
// space-between
.flex-between {
display: flex;
justify-content: space-between;
}
.justify-between {
display: flex;
justify-content: space-between;
}
.justify-center {
display: flex;
justify-content: center;
}
.justify-start {
display: flex;
justify-content: flex-start;
}
.justify-end {
display: flex;
justify-content: flex-end;
}
// align-items: center
.flex-center {
display: flex;
align-items: center;
}
.flex-wrap {
flex-wrap: wrap;
}
.flex-gap-2 {
display: flex;
gap: 2px;
}
.opct-7 {
opacity: 0.7;
}
.opct-8 {
opacity: 0.8;
}
.flex-end {
display: flex;
justify-content: flex-end;
}
.flex-column {
display: flex;
flex-direction: column;
}
.gap-5 {
gap: 5px;
}
.gap-10 {
gap: 10px;
}
.gap-8 {
gap: 8px;
}
.gap-4 {
gap: 4px;
}
.gap-20 {
gap: 20px;
}
.gap-6 {
gap: 6px;
}
.line-24 {
line-height: 24px;
}
.relative {
position: relative;
}
.font-size-0 {
font-size: 0;
}
.font-size-12 {
font-size: var(--font-size-base);
}
.font-size-13 {
font-size: 13px;
}
.font-size-14 {
font-size: var(--font-size-middle);
}
.font-size-16 {
font-size: var(--font-size-large);
}
.font-size-20 {
font-size: 20px;
}
.font-size-18 {
font-size: 18px;
}
.font-size-24 {
font-size: 24px;
}
.font-size-32 {
font-size: 32px;
}
.m-b-0 {
margin-bottom: 0;
}
.m-t-0 {
margin-top: 0;
}
.m-b-16 {
margin-bottom: 16px;
}
.m-r-16 {
margin-right: 16px;
}
.font-400 {
font-weight: var(--font-weight-normal);
}
.font-600 {
font-weight: var(--font-weight-medium);
}
.font-500 {
font-weight: var(--font-weight-500);
}
.font-700 {
font-weight: var(--font-weight-bold);
}
.text-primary {
color: var(--ant-color-text);
}
.text-secondary {
color: var(--ant-color-text-secondary);
}
.text-tertiary {
color: var(--ant-color-text-tertiary);
}
.text-quaternary {
color: var(--ant-color-text-quaternary);
}
.tips-desc-list {
list-style-type: decimal;
padding-left: 16px;
}
.gap-16 {
gap: 16px;
}
.color-white-tertiary {
color: var(--color-white-tertiary);
}
.color-white-quaternary {
color: var(--color-white-quaternary);
}
.color-white-light-1 {
color: var(--color-white-light-1);
}
.color-white-light-2 {
color: var(--color-white-light-2);
}
.color-white-light-3 {
color: var(--color-white-light-3);
}
.color-white-light-4 {
color: var(--color-white-light-4);
}
textarea {
padding-inline: 6px 0;
padding-block: 0;
background-color: transparent;
}
textarea::-webkit-scrollbar {
width: var(--scrollbar-size);
}
textarea::-webkit-scrollbar-track {
background-color: transparent;
}
textarea::-webkit-scrollbar-thumb {
background-color: transparent;
border-radius: 6px;
}
textarea:hover {
&::-webkit-scrollbar-thumb {
background-color: var(--color-scrollbar-thumb);
border-radius: 6px;
}
}
.bold-text {
color: var(--ant-color-text);
font-weight: var(--font-weight-medium);
}
.ant-result-extra {
color: var(--ant-color-text-secondary);
}
.text-success {
color: var(--ant-color-success);
}