bigger clickable dots

This commit is contained in:
Julián Benegas
2020-10-23 09:51:24 -03:00
parent 1b3e4e7077
commit 03ca1e5f1f
2 changed files with 34 additions and 4 deletions

View File

@@ -32,11 +32,39 @@
}
.positionIndicator {
@apply bg-hover-1 hover:bg-hover-2 transition-colors w-3 h-3 rounded-full mx-2 focus:outline-none;
@apply rounded-full p-2;
/* :hover .dot {
@apply bg-hover-2;
}
:focus .dot {
@apply outline-none;
} */
}
.positionIndicatorActive {
@apply bg-white hover:bg-white;
.dot {
@apply bg-hover-1 transition w-3 h-3 rounded-full;
}
.positionIndicator:hover .dot {
@apply bg-hover-2;
}
.positionIndicator:focus {
@apply outline-none;
}
.positionIndicator:focus .dot {
@apply shadow-outline-blue;
}
.positionIndicatorActive .dot {
@apply bg-white;
}
.positionIndicatorActive:hover .dot {
@apply bg-white;
}
/* sx={{
width: '10px',