canvas { padding: 0; margin: auto; outline: none; display: block; top:0; bottom: 0; left: 0; right: 0; position: absolute; width: 100%; } @media (min-aspect-ratio: 2/1) { canvas { width: unset; height: 100%; } } input { box-sizing: border-box; background: white; padding-bottom: unset; padding-top: unset; } textarea { box-sizing: border-box; background: white; resize: none; padding-bottom: unset; padding-top: unset; } /* Mixin for disabling any and all browser-defaulted button styling */ .blank-button { padding: 0; border: none; outline: none; font: inherit; color: inherit; background: none; } .chat-room-sep { padding-left: unset !important; border-bottom: min(0.4vh, 0.2vw) black solid !important; border-top: min(0.4vh, 0.2vw) black solid !important; position: sticky !important; overflow: visible !important; top: 0%; z-index: 1; } .chat-room-sep-div { width: auto; height: 100%; display: grid; grid-template-columns: 6% auto; justify-items: center; margin-right: 6%; } .chat-room-sep-header { color: gray; background-color: unset !important; border: unset !important; user-select: text !important; width: 100%; height: 100%; } .chat-room-sep-collapse { color: gray; background-color: unset !important; border: unset !important; border-right: min(0.4vh, 0.2vw) black solid !important; font-weight: bold; text-align: center; width: 100%; height: 100%; } * { -webkit-tap-highlight-color:rgba(0,0,0,0); } #chat-room-div { display: grid; grid-template-rows: auto min-content; gap: min(0.4vh, 0.2vw); } #TextAreaChatLog { background-color: white; border: 1px solid black; overflow: auto; word-wrap: break-word; padding: 0 !important; } #chat-room-bot { --button-color: white; --button-size: min(8vh, 4vw); --button-size: min(8dvh, 4dvw); display: grid; grid-template: "chat-input chat-buttons-div chat-buttons-collapse chat-length" auto "chat-input chat-buttons-div chat-buttons-collapse chat-buttons" min-content / auto min-content min-content min-content; border: min(0.2vh, 0.1vw) inset black; background-color: white; gap: min(0.4vh, 0.2vw); } #chat-room-bot:has(#InputChat:invalid) { box-shadow: 0 0 3px 2px #c22; } #chat-room-bot:has(#InputChat:focus) { outline: 2px solid rgb(0, 96, 223); box-shadow: 0 0 0 3px white; border-radius: 1px; } #chat-room-buttons-div { grid-area: chat-buttons-div; width: 0; border-left: min(0.2vh, 0.1vw) inset black; justify-self: center; } #InputChat { grid-area: chat-input; font: inherit; scrollbar-width: none; min-height: var(--button-size); max-height: calc(4 * var(--button-size)); background: unset; color: unset; border: unset; outline: unset; } #InputChat:focus { scrollbar-width: auto; } #InputChatLength { grid-area: chat-length; justify-self: end; align-self: flex-end; user-select: none; padding-right: min(0.5vh, 0.25vw); } #InputChatLength.invalid { color: #FF0000; } #chat-room-buttons-collapse { grid-area: chat-buttons-collapse; cursor: pointer; height: 100%; width: fit-content; background: unset; box-sizing: border-box; border: unset; font-weight: bold; } #chat-room-buttons-collapse:hover { background-color: cyan; } #chat-room-buttons { grid-area: chat-buttons; display: grid; direction: rtl; align-items: end; justify-self: end; align-self: flex-end; grid-template-columns: repeat(3, min-content); grid-template-rows: repeat(auto-fit, min-content); gap: min(0.4vh, 0.2vw); padding: min(0.4vh, 0.2vw); } .chat-room-button { height: var(--button-size); width: var(--button-size); background-color: unset !important; border: unset !important; } .chat-room-button:before { content: ""; position: absolute; top: 0%; left: 0%; width: 100%; height: 100%; background-position: center; background-color: var(--button-color); background-blend-mode: multiply; background-size: contain; mask-position: center; mask-size: contain; } @media (hover: hover) { .chat-room-button:hover:before { background-color: cyan; } } .chat-room-button:disabled:before, .chat-room-button[aria-disabled="true"]:before { cursor: auto; background-color: gray; } #chat-room-send:before { background-image: url("../Icons/Chat.png"); mask-image: url("../Icons/Chat.png"); } .ChatMessage { position: relative; padding-left: 0.4em; overflow: hidden; } .ChatMessage::before { content: attr(data-time); float: right; color: gray; font-style: italic; font-size: 0.5em; margin-right: 0.2em; } .ChatMessage::after { content: attr(data-sender); position: absolute; color: gray; font-size: 0.3em; top: 1.6em; right: 0.2em; } .ChatMessageAction, .ChatMessageEmote, .ChatMessageActivity { --base-color: white; --label-color: rgb(128, 128, 128); background-color: var(--base-color); /* backup for old browsers that do not support color-mix */ background-color: color-mix(in srgb, var(--base-color) 90%, var(--label-color) 10%); } .ChatMessageName { text-shadow: 0.05em 0.05em black; cursor: pointer; color: var(--label-color); user-select: text; } .ChatMessageName:hover { color: black; text-shadow: 0.05em 0.05em var(--label-color); } .ChatMessageAction, .ChatMessageActivity{ color: gray; } .ChatMessageEmote { color: gray; font-style: italic; } .ChatMessageWhisper { font-style: italic; color: silver; } .NoSelect { touch-action: manipulation; -webkit-touch-callout: none; /* iOS Safari */ -webkit-user-select: none; /* Safari */ -khtml-user-select: none; /* Konqueror HTML */ -moz-user-select: none; /* Old versions of Firefox */ -ms-user-select: none; /* Internet Explorer/Edge */ user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */ } #TextAreaChatLog[data-shrinknondialogue=true] .ChatMessageEmote { font-size: 0.75em; } #TextAreaChatLog[data-colortheme=dark], #TextAreaChatLog[data-colortheme="dark2"] { background-color: #111; color: #eee; } #TextAreaChatLog[data-colortheme="dark"] ~ #chat-room-bot, #TextAreaChatLog[data-colortheme="dark2"] ~ #chat-room-bot { --button-color: #eee; background-color: #111; border-color: rgba(0, 0, 0, 0.25); color: #eee; } #TextAreaChatLog[data-colortheme="dark"] ~ #chat-room-buttons-div, #TextAreaChatLog[data-colortheme="dark2"] ~ #chat-room-buttons-div { border-left: min(0.2vh, 0.1vw) inset rgba(0, 0, 0, 0.25); } @media (hover: hover) { #TextAreaChatLog[data-colortheme="dark"] .chat-room-sep-header:hover, #TextAreaChatLog[data-colortheme="dark2"] .chat-room-sep-header:hover, #TextAreaChatLog[data-colortheme="dark"] .chat-room-sep-collapse:hover, #TextAreaChatLog[data-colortheme="dark2"] .chat-room-sep-collapse:hover { color: #eee; } #TextAreaChatLog[data-colortheme="light"] .chat-room-sep-header:hover, #TextAreaChatLog[data-colortheme="light2"] .chat-room-sep-header:hover, #TextAreaChatLog[data-colortheme="light"] .chat-room-sep-collapse:hover, #TextAreaChatLog[data-colortheme="light2"] .chat-room-sep-collapse:hover { color: black; } } #TextAreaChatLog[data-colortheme="dark"] .chat-room-sep-touch, #TextAreaChatLog[data-colortheme="dark2"] .chat-room-sep-touch { color: #eee; } #TextAreaChatLog[data-colortheme="light"] .chat-room-sep-touch, #TextAreaChatLog[data-colortheme="light2"] .chat-room-sep-touch { color: black; } #TextAreaChatLog[data-colortheme="dark"] .ChatMessageName { text-shadow: 0.05em 0.05em white; } #TextAreaChatLog[data-colortheme="light2"] .ChatMessageName { text-shadow: 0 0 0.12em rgba(0, 0, 0, .5); } #TextAreaChatLog[data-colortheme="dark2"] .ChatMessageName { text-shadow: 0 0 0.12em rgba(255, 255, 255, .4); } #TextAreaChatLog[data-colortheme="dark"] .ChatMessageName:hover { color: white; text-shadow: 0.05em 0.05em var(--label-color); } #TextAreaChatLog[data-colortheme="light2"] .ChatMessageName:hover { color: black; text-shadow: 0 0 0.12em var(--label-color); } #TextAreaChatLog[data-colortheme="dark2"] .ChatMessageName:hover { color: white; text-shadow: 0 0 0.12em var(--label-color); } #TextAreaChatLog[data-colortheme=dark] .ChatMessageWhisper, #TextAreaChatLog[data-colortheme="dark2"] .ChatMessageWhisper { color: gray; } #TextAreaChatLog[data-colortheme="dark2"] .ChatMessage, #TextAreaChatLog[data-colortheme="light2"] .ChatMessage { line-height: 1.4em; padding: 0.1em; padding-right: 2em; } #TextAreaChatLog[data-colortheme="light2"] .ChatMessage { border-bottom: 1px solid rgba(0, 0, 0, 0.25); } #TextAreaChatLog[data-colortheme="dark2"] .ChatMessage { border-bottom: 1px solid rgba(255, 255, 255, 0.4); } #TextAreaChatLog[data-colortheme="dark2"] .ChatMessageEmote, #TextAreaChatLog[data-colortheme="dark2"] .ChatMessageAction, #TextAreaChatLog[data-colortheme="dark2"] .ChatMessageActivity, #TextAreaChatLog[data-colortheme="light2"] .ChatMessageEmote, #TextAreaChatLog[data-colortheme="light2"] .ChatMessageAction, #TextAreaChatLog[data-colortheme="light2"] .ChatMessageActivity { font-size: 0.8em; } #TextAreaChatLog[data-colortheme="dark2"] .ChatMessage::before, #TextAreaChatLog[data-colortheme="dark2"] .ChatMessage::after, #TextAreaChatLog[data-colortheme="light2"] .ChatMessage::before, #TextAreaChatLog[data-colortheme="light2"] .ChatMessage::after { position: absolute; float: none; line-height: 1; font-size: 0.5em; right: 0.2em; } #TextAreaChatLog[data-colortheme="dark2"] .ChatMessage::before, #TextAreaChatLog[data-colortheme="light2"] .ChatMessage::before { top: 0.4em; } #TextAreaChatLog[data-colortheme="dark2"] .ChatMessage::after, #TextAreaChatLog[data-colortheme="light2"] .ChatMessage::after { top: 1.6em; } #TextAreaChatLog[data-enterleave=smaller] .ChatMessageEnterLeave { font-size: 0.5em; text-align: center; } #TextAreaChatLog[data-shrinknondialogue=true] .ChatMessageNonDialogue { font-size: 0.5em; text-align: center; } #TextAreaChatLog[data-enterleave=hidden] .ChatMessageEnterLeave { display: none; } #TextAreaChatLog[data-membernumbers=never] .ChatMessage::after, #TextAreaChatLog[data-membernumbers=onmouseover] .ChatMessage::after { display: none; } #TextAreaChatLog[data-membernumbers=onmouseover] .ChatMessage:hover::after { display: block; } #TextAreaChatLog[data-displaytimestamps=false] .ChatMessage::before { display: none; } #TextAreaChatLog[data-displaytimestamps=false] .ChatMessage::after { top: 0; } #TextAreaChatLog[data-colornames=false] .ChatMessageName { color: inherit !important; text-shadow: none; font-weight: bold; } #TextAreaChatLog[data-coloractions=false] .ChatMessageAction, #TextAreaChatLog[data-coloremotes=false] .ChatMessageEmote, #TextAreaChatLog[data-coloractivities=false] .ChatMessageActivity { background-color: var(--base-color) !important; } #TextAreaChatLog[data-whitespace=preserve] { white-space: pre-wrap; overflow-wrap: break-word; } #TextAreaChatLog[data-colortheme="light"] .ChatMessageAction, #TextAreaChatLog[data-colortheme="light2"] .ChatMessageAction, #TextAreaChatLog[data-colortheme="light"] .ChatMessageEmote, #TextAreaChatLog[data-colortheme="light2"] .ChatMessageEmote, #TextAreaChatLog[data-colortheme="light"] .ChatMessageActivity, #TextAreaChatLog[data-colortheme="light2"] .ChatMessageActivity { --base-color: white; } #TextAreaChatLog[data-colortheme="dark"] .ChatMessageAction, #TextAreaChatLog[data-colortheme="dark2"] .ChatMessageAction, #TextAreaChatLog[data-colortheme="dark"] .ChatMessageEmote, #TextAreaChatLog[data-colortheme="dark2"] .ChatMessageEmote, #TextAreaChatLog[data-colortheme="dark"] .ChatMessageActivity, #TextAreaChatLog[data-colortheme="dark2"] .ChatMessageActivity { --base-color: #111; } .ReplyButton { text-decoration: none; font-style: normal; display: inline; cursor: pointer; } #FriendList { border: 2px solid white; overflow: auto; word-wrap: break-word; padding: 0 !important; padding-bottom: 1% !important; } .FriendListRow{ color: white; } .FriendListRow:Hover{ color: yellow; } .FriendListFirstColumn{ clear: left; } .FriendListTextColumn{ float: left; width: 22%; text-align: center; padding-top: 1% !important; } .FriendListLinkColumn{ float: left; width: 22%; text-align: center; padding-top: 1% !important; text-decoration: underline; cursor: pointer; } .FriendListLinkColumn:Hover{ color: cyan !important; } #FriendListBeep { background: #000000AA; display: flex !important; justify-content: center; align-items: center; border: 2px solid white; padding: 0 !important; padding-bottom: 1% !important; } #FriendListBeep > div { background: #999; border: white solid 2px; padding: .5em; display: flex; flex-direction: column; width: 80%; height: 80%; align-items: center; } #FriendListBeep > div > * { margin-top: .5em; } #FriendListBeep > div > div { width: 100%; display: flex; justify-content: center; } #FriendListBeep textarea { width: 30em; height: 100%; font: inherit; } #FriendListBeep a { width: 50%; margin: auto; text-align: center; text-decoration: underline; user-select: none; cursor: pointer; } #FriendListBeep a:hover { color: cyan !important; } .custom-select { position: relative; font-family: Arial, sans-serif; } .custom-select select { display: none; /*hide original SELECT element:*/ } .select-selected { background-color: white; color: black; background-image: url('../Icons/Dropdown.png'); background-repeat: no-repeat, repeat; background-position: right .7em top 50%, 0 0; background-size: .65em auto, 100%; } /*style the items (options), including the selected item:*/ .select-items div,.select-selected { color: black; padding: 0.2em; cursor: pointer; user-select: none; } /*style items (options):*/ .select-items { position: absolute; background-color: white; top: 100%; left: 0; right: 0; z-index: 99; } /*hide the items when the select box is closed:*/ .select-hide { display: none; } .select-items div:hover, .same-as-selected { background-color: cyan; } input[type=text]:invalid { background-color: #fbb; box-shadow: 0 0 3px 2px #c22; } input[type=number]:invalid { background-color: #fbb; box-shadow: 0 0 3px 2px #c22; } /* Range Inputs - WebKit */ input[type=range] { -webkit-appearance: none; width: 100%; background-color: transparent; cursor: pointer; /* Increases the hitbox of the slider to make it easier to select */ padding: 1% 0; margin: -1% 0; } input[type=range]:focus { outline: none; } input[type=range].Vertical { transform: rotate(270deg); } input[type=range]::-webkit-slider-runnable-track { width: 100%; height: 25%; cursor: pointer; background-color: #fff; border-radius: 3px; border: 1px solid rgba(128, 128, 128, 0.25); } input[type=range]::-webkit-slider-thumb { border: 1px solid rgba(0, 0, 0, 0.5); box-shadow: 1px 1px 8px -2px rgba(0, 0, 0, 0.5); height: 1em; width: 1em; border-radius: 50%; cursor: pointer; -webkit-appearance: none; margin-top: -0.4em; background-color: #ccc; } input[type=range][data-thumb]::-webkit-slider-thumb { background-color: transparent; box-shadow: none; background-position: center; background-size: cover; border: 0; font-size: 1.5em; border-radius: 0; } input[type=range][data-thumb].Vertical::-webkit-slider-thumb { transform: rotate(90deg); } input[type=range][data-thumb=lock]::-webkit-slider-thumb { background-image: url("../Assets/Female3DCG/ItemMisc/Preview/MetalPadlock.png"); width: 0.5em; } input[type=range][data-thumb=blindfold]::-webkit-slider-thumb { background-image: url("../Assets/Female3DCG/ItemHead/Preview/StuddedBlindfold.png"); } input[type=range][data-thumb=lightbulb]::-webkit-slider-thumb { background-image: url("../Icons/Lightbulb.png"); width: 0.6em; } input[type=range][data-thumb=player]::-webkit-slider-thumb { background-image: url("../Icons/Player.png"); width: 1.2em; height: 1.2em; } input[type=range][data-thumb=rope]::-webkit-slider-thumb { background-image: url("../Icons/Rope.png"); width: 1.2em; height: 1.2em; } /* Range Inputs - Firefox */ input[type=range]::-moz-range-track { width: 100%; height: 25%; cursor: pointer; background-color: #fff; border: 1px solid rgba(128, 128, 128, 0.25); border-radius: 3px; } input[type=range]::-moz-range-thumb { border: 1px solid rgba(0, 0, 0, 0.5); box-shadow: 1px 1px 8px -2px rgba(0, 0, 0, 0.5); height: 1em; width: 1em; border-radius: 50%; background-color: #ccc; cursor: pointer; } input[type=range][data-thumb]::-moz-range-thumb { background-color: transparent; box-shadow: none; background-position: center; background-size: cover; border: 0; font-size: 1.5em; border-radius: 0; } input[type=range][data-thumb].Vertical::-moz-range-thumb { transform: rotate(90deg); } input[type=range][data-thumb=lock]::-moz-range-thumb { background-image: url("../Assets/Female3DCG/ItemMisc/Preview/MetalPadlock.png"); width: 0.5em; } input[type=range][data-thumb=blindfold]::-moz-range-thumb { background-image: url("../Assets/Female3DCG/ItemHead/Preview/StuddedBlindfold.png"); } input[type=range][data-thumb=lightbulb]::-moz-range-thumb { background-image: url("../Icons/Lightbulb.png"); width: 0.6em; } input[type=range][data-thumb=player]::-moz-range-thumb { background-image: url("../Icons/Player.png"); width: 1.2em; height: 1.2em; } input[type=range][data-thumb=rope]::-moz-range-thumb { background-image: url("../Icons/Rope.png"); width: 1.2em; height: 1.2em; } /** The shop */ input[type="checkbox"] { -webkit-appearance: none; appearance: none; background-color: #fff; margin: 0; font: inherit; color: black; width: min(6vh, 3vw); height: min(6vh, 3vw); border: min(0.3vh, 0.15vw) solid black; display: grid; place-content: center; } input[type="checkbox"]:hover { background-color:cyan; } input[type="checkbox"]:disabled { background-color:lightgray; } input[type="checkbox"]::before { content: ""; width: min(4.6vh, 2.3vw); height: min(4.6vh, 2.3vw); clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); transform: scale(0); background-color: black; } input[type="checkbox"]:checked::before { transform: scale(1); } .shop2-pose-outer-grid { display: grid; grid-auto-flow: column; gap: min(2vh, 1vw); } .shop2-pose-inner-grid { display: grid; grid-auto-flow: row; justify-items: center; gap: min(1vh, 0.5vw); height: fit-content; } .shop-button { height: min(9vh, 4.5vw); width: min(9vh, 4.5vw); } /* layering */ #layering { --button-gap: min(2vh, 1vw); --button-size: min(9vh, 4.5vw); display: grid; grid-template: "asset-header button-grid" min-content "asset-grid asset-grid" min-content "layer-header layer-header" min-content "layer-grid layer-grid" auto / auto min-content ; justify-items: center; align-items: center; gap: min(2vh, 1vw); background-color: rgba(0, 0, 0, 0.45); } #layering * { font-family: inherit; font-size: min(3.5vh, 1.75vw); user-select: none; text-overflow: ellipsis; } #layering h2 { margin: min(2vh, 1vw); color: white; } #layering h1 { margin: 0; color: white; font-size: min(5vh, 2.5vw); padding: min(2vh, 1vw); } #layering input[type=number] { /* Add an absolute 16px marigin to better deal with the increment/decrement button scaling upon resizing */ width: calc(min(7vh, 3.5vw) + 16px); padding: min(0.2vh, 0.1vw); } #layering input[type=number]:focus { background-color: white !important; } #layering input[type=number]:invalid { background-color: #fbb !important; } .layering-input-unfocused { background-color: lightgray; } .layering-button-grid { --max-rows: 3; display: grid; gap: var(--button-gap); overflow: unset !important; grid-template-columns: repeat(var(--max-rows), var(--button-size)); grid-template-rows: repeat(auto-fit, var(--button-size)); direction: rtl; width: 100%; height: 100%; } #layering-button-grid { grid-area: button-grid; } #layering-asset-header { grid-area: asset-header; } #layering-reset-button { background-image: url("../Icons/Swap.png"); } #layering-exit-button { background-image: url("../Icons/Exit.png"); } #layering-lock-button { background-image: url("../Icons/Lock.png"); } #layering-asset-grid { grid-area: asset-grid; min-height: min(9vh, 4.5vw); } #layering-layer-header { grid-area: layer-header; } #layering-layer-div { box-sizing: border-box; grid-area: layer-grid; width: 100%; height: calc(100% - min(2vh, 1vw)); overflow-y: scroll; padding-left: min(2vh, 1vw); padding-right: min(2vh, 1vw); align-self: self-start; } #layering-layer-outer-grid { display: grid; justify-items: center; width: 100%; } #layering-layer-outer-grid:not(:last-child) .layering-layer-inner-grid { padding-bottom: min(2vh, 1vw); } .layering-layer-inner-grid { display: grid; grid-template-columns: 50% 50%; gap: min(2vh, 1vw) 0; width: 100%; } .layering-pair { align-items: center; display: grid; grid-template-columns: min-content auto; } .layering-pair-text { color: white; overflow-x: hidden; padding-left: min(2vh, 1vw); padding-right: min(2vh, 1vw); } .layering-button-pink[data-pose] { background-color: pink; } /* Dropdown */ .dropdown { color: white; overflow-y: scroll; word-wrap: break-word; background-color: rgba(0, 0, 0, 0.55); padding: min(1vh, 0.5vw); user-select: none; } .dropdown-header { display: grid; font-size: min(3.6vh, 1.8vw); min-height: min(7vh, 3.5vw); text-align: center; align-items: center; } .dropdown-grid { font-size: min(3vh, 1.5vw); display: grid; grid-template-columns: 50% 50%; } .dropdown-checkbox-grid { display: grid; grid-template-columns: min-content auto; min-height: min(7vh, 3.5vw); height: fit-content; align-items: center; } .dropdown-checkbox-grid:hover { color: yellow; } .dropdown-checkbox-label { padding-left: min(2vh, 1vw); } /* Buttons */ .button { cursor: pointer; position: relative; background-color: white; background-position: center; background-repeat: no-repeat; background-size: contain; mask-size: contain; border: min(0.2vh, 0.1vw) solid black; box-sizing: border-box; } .button-tooltip { user-select: none; background-color: #FFFF88; color: black; border: min(0.2vh, 0.1vw) solid black; box-shadow: min(0.4vh, 0.2vw) min(0.4vh, 0.2vw) min(2vh, 1vw) 0 rgb(0 0 0 / 50%); box-sizing: border-box; padding: min(1vh, 0.5vw) min(2vh, 1vw) min(1vh, 0.5vw) min(2vh, 1vw); position: absolute; text-align: center; visibility: hidden; width: fit-content; text-wrap: nowrap; z-index: 1; } .button-tooltip-left { top: 50%; transform: translateY(-50%); right: calc(100% + min(1vh, 0.5vw)); } .button-tooltip-right { top: 50%; transform: translateY(-50%); left: calc(100% + min(1vh, 0.5vw)); } .button-tooltip-top { bottom: calc(100% + min(1vh, 0.5vw)); left: 50%; transform: translateX(-50%); } .button-tooltip-bottom { top: calc(100% + min(1vh, 0.5vw)); left: 50%; transform: translateX(-50%); } .button-touch, .button-touch:before, .button:hover { background-color: cyan; } .button:disabled, .button[aria-disabled="true"] { cursor: auto; background-color: gray; } @media (hover: hover) { .button:hover > .button-tooltip { visibility: visible; } } .button:focus { outline: 2px solid rgb(0, 96, 223); box-shadow: 0 0 0 3px white; border-radius: 1px; } .button:focus > .button-tooltip { visibility: visible; } .spin-button-container { --margin: min(0.4vh, 0.2vw); --margin: min(0.4dvh, 0.2dvw); } .spin-button-select, .spin-button-dummy { display: none; } .spin-button-prev { display: block; position: absolute; top: 0%; left: 0%; width: 50%; height: 100%; border-right: unset; } .spin-button-prev::before { position: absolute; content: ""; top: var(--margin); left: var(--margin); height: calc(100% - 2 * var(--margin)); width: calc(2 * var(--margin)); clip-path: polygon(80% 0%, 0% 50%, 80% 100%, 100% 100%, 20% 50%, 100% 0%); background-color: black; } .spin-button-next { display: block; position: absolute; top: 0%; right: 0%; width: 50%; height: 100%; border-left: unset; } .spin-button-next::before { position: absolute; content: ""; top: var(--margin); right: var(--margin); height: calc(100% - 2 * var(--margin)); width: calc(2 * var(--margin)); clip-path: polygon(20% 0%, 100% 50%, 20% 100%, 0% 100%, 80% 50%, 0% 0%); background-color: black; } .spin-button-label { pointer-events: none; user-select: none; top: 50%; left: 50%; transform: translate(-50%, -50%); width: calc(100% - 12 * var(--margin)); position: absolute; text-align: center; justify-content: center; overflow: clip; text-overflow: ellipsis; white-space: nowrap; } /* Custom fonts */ @font-face { font-family: 'Calligraffitti'; src: url('../Fonts/Calligraffitti/Calligraffitti-Regular.ttf'); } @font-face { font-family: 'Saira Stencil One'; src: url('../Fonts/Saira Stencil One/SairaStencilOne-Regular.ttf'); } @font-face { font-family: 'Pacifico'; src: url('../Fonts/Pacifico/Pacifico-Regular.ttf'); } @font-face { font-family: 'Satisfy'; src: url('../Fonts/Satisfy/Satisfy-Regular.ttf'); } @font-face { font-family: 'Nanum Pen Script'; src: url('../Fonts/Nanum\ Pen\ Script/NanumPenScript-Regular.ttf'); } @font-face { font-family: 'Archivo Black'; src: url('../Fonts/Archivo Black/ArchivoBlack-Regular.ttf'); } @font-face { font-family: 'Caveat'; src: url('../Fonts/Caveat/Caveat-Regular.ttf'); } @font-face { font-family: 'Caveat-Bold'; src: url('../Fonts/Caveat/Caveat-Bold.ttf'); } @font-face { font-family: 'Libre Barcode 39'; src: url('../Fonts/Libre_Barcode_39/LibreBarcode39-Regular.ttf'); }