Newer
Older
:host
{
display: inline-block;
background-size: cover;
position: relative;
overflow: hidden;
border: 1px solid rgba(200, 200, 200, 0.5);
border-radius: 0.25rem;
opacity: 0.7;
transition: all 160ms ease-in-out;
img
{
max-width: 200px;
max-height: 200px;
aspect-ratio: auto;
.anchored
{
position: absolute;
left: 0;
top: 0;
.perspective-slider-range-input
{
appearance: none;
width: 100%;
height: 100%;
background: transparent;
--scrubber-width: 0.28rem;
opacity: 0.7;
width: 100%;
height: 100%;
display: inline-block;
border-style: solid;
border-width: 0 0 0 var(--scrubber-width);
margin-left: calc(var(--scrubber-width) * -0.5);
border-color: rgba(10, 10, 10, 0.5);
}
:host-context([darktheme="true"]) .scrubber
{
border-color: rgba(200, 200, 200, 0.5);
.scrubber > .scrubber-highlight
{
background-color: red;
display: inline-block;
width: var(--scrubber-width);
margin-left: calc(var(--scrubber-width) * -1);
.perspective-slider-range-input::-webkit-slider-thumb {
appearance: none;
height: 100%;
.perspective-slider-range-input::-moz-range-thumb {