UNPKG

@bigfishtv/cockpit

Version:

238 lines (207 loc) 4.07 kB
.rc-slider { position: relative; height: 4px; width: 100%; border-radius: 6px; background: @grey-400; } .rc-slider-track { z-index: 1; position: absolute; left: 0; height: 4px; background: @primary; border-radius: 6px; } .rc-slider-handle { z-index: 2; position: absolute; top: 2px; margin-left: -5px; margin-top: -5px; width: 10px; height: 10px; cursor: pointer; border-radius: 50%; background: @mid-grey; } .rc-slider-handle-active:active { border-color: #57c5f7; box-shadow: 0 0 5px #57c5f7; } .rc-slider-mark { position: absolute; top: 10px; left: 0; width: 100%; font-size: 12px; z-index: 3; } .rc-slider-mark-text { position: absolute; display: inline-block; vertical-align: middle; text-align: center; cursor: pointer; color: #999; } .rc-slider-mark-text-active { color: #666; } .rc-slider-step { position: absolute; width: 100%; height: 4px; background: transparent; z-index: 1; } .rc-slider-dot { position: absolute; top: -2px; margin-left: -4px; width: 8px; height: 8px; border: 2px solid @grey-400; background-color: @white; cursor: pointer; border-radius: 50%; vertical-align: middle; &:first-child { margin-left: -4px; } &:last-child { margin-left: -4px; } } .rc-slider-dot-active { border-color: @primary; } .rc-slider-disabled { background-color: @grey-400; .rc-slider-track { background-color: #ccc; } .rc-slider-handle, .rc-slider-disabled .rc-slider-dot { border-color: #ccc; background-color: @white; cursor: not-allowed; } .rc-slider-mark-text, .rc-slider-disabled .rc-slider-dot { cursor: not-allowed !important; } } .rc-slider-tooltip-zoom-down-enter, .rc-slider-tooltip-zoom-down-appear { animation-duration: .3s; animation-fill-mode: both; display: block !important; animation-play-state: paused; } .rc-slider-tooltip-zoom-down-leave { animation-duration: .3s; animation-fill-mode: both; display: block !important; animation-play-state: paused; } .rc-slider-tooltip-zoom-down-enter.rc-slider-tooltip-zoom-down-enter-active, .rc-slider-tooltip-zoom-down-appear.rc-slider-tooltip-zoom-down-appear-active { animation-name: rcSliderTooltipZoomDownIn; animation-play-state: running; } .rc-slider-tooltip-zoom-down-leave.rc-slider-tooltip-zoom-down-leave-active { animation-name: rcSliderTooltipZoomDownOut; animation-play-state: running; } .rc-slider-tooltip-zoom-down-enter, .rc-slider-tooltip-zoom-down-appear { transform: scale(0, 0); animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); } .rc-slider-tooltip-zoom-down-leave { animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); } @-webkit-keyframes rcSliderTooltipZoomDownIn { 0% { opacity: 0; transform-origin: 50% 100%; transform: scale(0, 0); } 100% { transform-origin: 50% 100%; transform: scale(1, 1); } } @keyframes rcSliderTooltipZoomDownIn { 0% { opacity: 0; transform-origin: 50% 100%; transform: scale(0, 0); } 100% { transform-origin: 50% 100%; transform: scale(1, 1); } } @-webkit-keyframes rcSliderTooltipZoomDownOut { 0% { transform-origin: 50% 100%; transform: scale(1, 1); } 100% { opacity: 0; transform-origin: 50% 100%; transform: scale(0, 0); } } @keyframes rcSliderTooltipZoomDownOut { 0% { transform-origin: 50% 100%; transform: scale(1, 1); } 100% { opacity: 0; transform-origin: 50% 100%; transform: scale(0, 0); } } .rc-tooltip { z-index: 5000; position: absolute; left: -9999px; top: -9999px; visibility: visible; } .rc-tooltip-hidden { display: none; } .rc-tooltip-placement-top { padding: 4px 0 8px 0; .rc-tooltip-arrow { bottom: 4px; left: 50%; margin-left: -4px; border-width: 4px 4px 0; border-top-color: @dark; } } .rc-tooltip-inner { padding: 0.4rem; min-width: 2.4rem; height: 2.4rem; .medium-font(); .font-size(1.1); line-height: 1; color: @white; text-align: center; text-decoration: none; background: @dark; } .rc-tooltip-arrow { position: absolute; width: 0; height: 0; border-color: transparent; border-style: solid; }