#101 : Update button styles
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<button
|
<button
|
||||||
class="sc-carousel-arrow__circle"
|
class="sc-carousel-button sc-carousel-arrow__circle"
|
||||||
class:sc-carousel-arrow__circle_disabled={disabled}
|
class:sc-carousel-arrow__circle_disabled={disabled}
|
||||||
on:click
|
on:click
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -368,4 +368,11 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
}
|
}
|
||||||
|
:global(.sc-carousel-button) {
|
||||||
|
all: unset;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
:global(.sc-carousel-button:focus) {
|
||||||
|
outline: 5px auto;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<button
|
<button
|
||||||
class="sc-carousel-dot__dot"
|
class="sc-carousel-button sc-carousel-dot__dot"
|
||||||
class:sc-carousel-dot__dot_active={active}
|
class:sc-carousel-dot__dot_active={active}
|
||||||
on:click
|
on:click
|
||||||
></button>
|
></button>
|
||||||
@@ -18,16 +18,6 @@
|
|||||||
--sc-dot-size-animation-time: 250ms;
|
--sc-dot-size-animation-time: 250ms;
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
|
||||||
all: unset;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
button:focus {
|
|
||||||
outline: 1px dotted #212121;
|
|
||||||
outline: 5px auto -webkit-focus-ring-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sc-carousel-dot__dot {
|
.sc-carousel-dot__dot {
|
||||||
background-color: var(--sc-color-rgb-light);
|
background-color: var(--sc-color-rgb-light);
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
|
|||||||
Reference in New Issue
Block a user