Add Indicator to home. Optimize stylesheet.

This commit is contained in:
2023-09-14 23:41:41 +08:00
parent 41c77c2eaa
commit 4c1cc9e6a9
10 changed files with 83 additions and 22 deletions

View File

@@ -0,0 +1,28 @@
@use '@/assets/css/constants.scss' as constants;
.dot-list {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
width: 100%;
.item {
flex: auto;
.dot {
width: 10px;
height: 10px;
border-radius: 50%;
border: {
width: 2px;
color: constants.$font-secondary-color;
style: solid;
};
}
}
.active>* {
background-color: constants.$font-secondary-color;
}
}