首个数据图表

This commit is contained in:
MTrunning
2020-03-17 01:58:10 +08:00
parent 93d7e98cee
commit 8736047933
8 changed files with 650 additions and 2 deletions
+98
View File
@@ -0,0 +1,98 @@
// 颜色
$colors: (
"primary": #db9e3f,
"info-1": #4394e4,
"info": #4b67af,
"white": #ffffff,
"light": #f9f9f9,
"grey-1": #999999,
"grey": #666666,
"dark-1": #5f5f5f,
"dark": #222222,
"black-1": #171823,
"black": #000000,
);
// 字体大小
$base-font-size: 1rem;
$font-sizes: (
xxs: 0.6154,
//8px
xs: 0.7692,
//10px
sm: 0.9231,
//12px
md: 1 ,
//13px
lg: 1.0769 ,
//14px
xl: 1.2308 ,
//16px
xxl: 1.3846 ,
//18px
xxxl: 1.5385
//20px
);
// 宽高
.w-100 {
width: 100%;
}
.h-100 {
height: 100%;
}
//flex
.d-flex {
display: flex;
}
.flex-column {
flex-direction: column;
}
.flex-wrap {
flex-wrap: wrap;
}
.flex-nowrap {
flex-wrap: nowrap;
}
$flex-jc: (
start: flex-start,
end: flex-end,
center: center,
between: space-between,
around: space-around,
evenly: space-evenly
);
$flex-ai: (
start: flex-start,
end: flex-end,
center: center,
stretch: stretch
);
.flex-1 {
flex: 1;
}
//.mt-1 => margin top
//spacing
$spacing-types: (
m: margin,
p: padding
);
$spacing-directions: (
t: top,
r: right,
b: bottom,
l: left
);
$spacing-base-size: 1rem;
$spacing-sizes: (
0: 0,
1: 0.25,
2: 0.5,
3: 1,
4: 1.5,
5: 3
);