Finally fix the carousel dot color
This commit is contained in:
parent
b06f9a2a09
commit
d21f6158fe
2 changed files with 6 additions and 4 deletions
|
@ -851,7 +851,6 @@ button.carousel-dot {
|
||||||
backdrop-filter: blur(12px) invert(0.25);
|
backdrop-filter: blur(12px) invert(0.25);
|
||||||
}
|
}
|
||||||
button.carousel-dot {
|
button.carousel-dot {
|
||||||
color: var(--text-insignificant-color) !important;
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
backdrop-filter: none !important;
|
backdrop-filter: none !important;
|
||||||
transition: all 0.2s;
|
transition: all 0.2s;
|
||||||
|
@ -859,8 +858,11 @@ button.carousel-dot {
|
||||||
button.carousel-dot[disabled] {
|
button.carousel-dot[disabled] {
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
button.carousel-dot:is(:hover, :focus, .active, [disabled].active) {
|
button.carousel-dot:not(.active) {
|
||||||
color: var(--button-text-color) !important;
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
button.carousel-dot:not(.active):is(:hover, :focus) {
|
||||||
|
opacity: 1;
|
||||||
}
|
}
|
||||||
button.carousel-dot:is(.active, [disabled].active) {
|
button.carousel-dot:is(.active, [disabled].active) {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
|
|
@ -144,7 +144,7 @@ function MediaModal({
|
||||||
key={media.id}
|
key={media.id}
|
||||||
type="button"
|
type="button"
|
||||||
disabled={i === currentIndex}
|
disabled={i === currentIndex}
|
||||||
class={`plain carousel-dot ${
|
class={`plain3 carousel-dot ${
|
||||||
i === currentIndex ? 'active' : ''
|
i === currentIndex ? 'active' : ''
|
||||||
}`}
|
}`}
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue