mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-14 04:08:32 +03:00
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);
|
||||
}
|
||||
button.carousel-dot {
|
||||
color: var(--text-insignificant-color) !important;
|
||||
font-weight: bold;
|
||||
backdrop-filter: none !important;
|
||||
transition: all 0.2s;
|
||||
|
@ -859,8 +858,11 @@ button.carousel-dot {
|
|||
button.carousel-dot[disabled] {
|
||||
pointer-events: none;
|
||||
}
|
||||
button.carousel-dot:is(:hover, :focus, .active, [disabled].active) {
|
||||
color: var(--button-text-color) !important;
|
||||
button.carousel-dot:not(.active) {
|
||||
opacity: 0.5;
|
||||
}
|
||||
button.carousel-dot:not(.active):is(:hover, :focus) {
|
||||
opacity: 1;
|
||||
}
|
||||
button.carousel-dot:is(.active, [disabled].active) {
|
||||
opacity: 1;
|
||||
|
|
|
@ -144,7 +144,7 @@ function MediaModal({
|
|||
key={media.id}
|
||||
type="button"
|
||||
disabled={i === currentIndex}
|
||||
class={`plain carousel-dot ${
|
||||
class={`plain3 carousel-dot ${
|
||||
i === currentIndex ? 'active' : ''
|
||||
}`}
|
||||
onClick={(e) => {
|
||||
|
|
Loading…
Add table
Reference in a new issue