UNPKG

decentraland-ui

Version:

Decentraland's UI components and styles

125 lines (106 loc) 2.38 kB
.EmoteControls { display: flex; margin: 16px 0; padding: 0 24px; position: absolute; bottom: 0; width: 100%; } .EmoteControls .ui.button.play-control { width: 56px; height: 44px; padding: 0; min-width: unset; margin-right: 16px; background: rgba(0, 0, 0, 0.64) !important; } .EmoteControls .ui.button.sound-control { margin-left: 20px; min-width: 25px; background: none; padding: 0; } .EmoteControls .ui.button.sound-control::after { content: url('../../assets/volume.svg'); width: fit-content; height: fit-content; } .EmoteControls .ui.button.sound-control.muted::after { content: url('../../assets/mute.svg'); } .EmoteControls input { flex: 1; } .EmoteControls input[type='range'] { width: 100%; background: none; } .EmoteControls input[type='range'] { -webkit-appearance: none; } .EmoteControls input[type='range']:focus { outline: none; } .EmoteControls input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 10px; background-color: #736e7d; overflow: visible; cursor: pointer; padding-bottom: 5px; margin-top: -4px; } .EmoteControls input[type='range']::-moz-range-thumb { width: 24px; height: 24px; border-radius: 20px; background-color: #736e7d; overflow: visible; cursor: pointer; } .EmoteControls input[type='range']::-ms-thumb { width: 24px; height: 24px; border-radius: 20px; background-color: #736e7d; overflow: visible; cursor: pointer; } .EmoteControls input[type='range']::-webkit-slider-runnable-track { width: 300px; height: 15px; background: rgba(115, 110, 125, 0.32); border: none; border-radius: 10px; } .EmoteControls input[type='range']::-moz-range-track { width: 100%; height: 15px; border-radius: 10px; cursor: pointer; background: rgba(115, 110, 125, 0.32); } .EmoteControls .WearablePreview { background: #1d1b22; } .EmoteControls .frame-control input { width: 56px; height: 44px; border-radius: 5px; background: transparent; border: 1px solid rgba(115, 110, 125, 0.4); color: white; text-align: center; margin-left: 16px; } .EmoteControls .frame-control input:focus-visible { outline: 1px solid; } .EmoteControls .ui.button.play-control .play.icon { padding-left: 7px; } .EmoteControls .ui.button.play-control .pause.icon { padding-left: 6px; }