Files
bili-shadowreplay/public/shaka-player/controls.css
2025-10-25 12:40:15 +08:00

984 lines
25 KiB
CSS

/*! @license
* Shaka Player
* Copyright 2016 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
.shaka-hidden {
display: none !important;
}
.shaka-video-container {
position: relative;
top: 0;
left: 0;
display: flex;
font-family: Roboto, sans-serif, TengwarTelcontar;
font-weight: 400;
-webkit-font-smoothing: antialiased;
user-select: none;
-webkit-user-select: none;
}
.shaka-video-container .material-svg-icon {
font-size: 24px;
}
.shaka-video-container:fullscreen {
width: 100%;
height: 100%;
background-color: #000;
}
.shaka-video-container:fullscreen .shaka-text-container {
font-size: 4.4vmin;
}
.shaka-video-container:-webkit-full-screen {
width: 100%;
height: 100%;
background-color: #000;
}
.shaka-video-container:-webkit-full-screen .shaka-text-container {
font-size: 4.4vmin;
}
.shaka-video-container:-moz-full-screen {
width: 100%;
height: 100%;
background-color: #000;
}
.shaka-video-container:-moz-full-screen .shaka-text-container {
font-size: 4.4vmin;
}
.shaka-video-container:-ms-fullscreen {
width: 100%;
height: 100%;
background-color: #000;
}
.shaka-video-container:-ms-fullscreen .shaka-text-container {
font-size: 4.4vmin;
}
.shaka-controls-container {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: 0;
padding: 0;
width: 100%;
height: 100%;
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: center;
z-index: 1;
}
.shaka-video-container:not([shaka-controls="true"]) .shaka-controls-container {
display: none;
}
.shaka-controls-container * {
flex-shrink: 0;
}
.shaka-controls-container[casting="true"] .shaka-fullscreen-button {
display: none;
}
.shaka-canvas-container {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: 0;
padding: 0;
width: 100%;
height: 100%;
pointer-events: none;
}
.shaka-vr-canvas-container {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: 0;
padding: 0;
width: 100%;
height: 100%;
pointer-events: none;
}
.shaka-bottom-controls {
width: 98%;
padding: 0;
z-index: 1;
}
.shaka-controls-button-panel {
padding: 0;
margin: 0;
display: flex;
flex-direction: row;
justify-content: flex-end;
align-items: center;
overflow: hidden;
min-width: 48px;
font-size: 12px;
font-weight: 400;
font-style: normal;
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
opacity: 0;
transition: opacity cubic-bezier(0.4, 0, 0.6, 1) 0.6s;
}
.shaka-controls-container[casting="true"] .shaka-controls-button-panel,
.shaka-controls-container[shown="true"] .shaka-controls-button-panel {
opacity: 1;
}
.shaka-controls-button-panel > * {
color: #fff;
height: 48px;
width: 48px;
line-height: 0.5;
padding: 0 2px;
background: 0 0;
border: 0;
cursor: pointer;
opacity: 0.9;
transition: opacity cubic-bezier(0.4, 0, 0.6, 1) 0.1s;
text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}
.shaka-controls-button-panel > .shaka-fast-forward-button .material-svg-icon,
.shaka-controls-button-panel > .shaka-rewind-button .material-svg-icon,
.shaka-controls-button-panel > .shaka-skip-next-button .material-svg-icon,
.shaka-controls-button-panel > .shaka-skip-previous-button .material-svg-icon,
.shaka-controls-button-panel > .shaka-small-play-button .material-svg-icon {
font-size: 32px;
}
.shaka-controls-button-panel > .shaka-fullscreen-button .material-svg-icon {
font-size: 24px;
}
.shaka-controls-button-panel > .shaka-overflow-menu-button {
position: relative;
}
.shaka-controls-button-panel > .shaka-overflow-menu-button .material-svg-icon {
font-size: 24px;
}
.shaka-controls-button-panel > :hover {
opacity: 1;
}
.shaka-controls-button-panel .shaka-overflow-menu-only {
display: none;
}
.shaka-play-button-container {
margin: 0;
width: 100%;
height: 100%;
flex-shrink: 1;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
display: flex;
justify-content: center;
align-items: center;
z-index: 1;
}
.shaka-statistics-container {
overflow-x: hidden;
overflow-y: auto;
scrollbar-color: white rgba(0, 0, 0, 0.5);
scrollbar-width: thin;
min-width: 300px;
color: #fff;
background-color: rgba(35, 35, 35, 0.9);
font-size: 14px;
padding: 5px 10px;
border-radius: 2px;
position: absolute;
z-index: 2;
left: 15px;
top: 15px;
max-height: calc(100% - 115px);
opacity: 0;
transition: opacity cubic-bezier(0.4, 0, 0.6, 1) 0.6s;
}
.shaka-controls-container[casting="true"] .shaka-statistics-container,
.shaka-controls-container[shown="true"] .shaka-statistics-container {
opacity: 1;
}
.shaka-statistics-container div {
display: flex;
justify-content: space-between;
}
.shaka-statistics-container span {
color: #969696;
}
.shaka-ad-statistics-container {
overflow-x: hidden;
overflow-y: auto;
scrollbar-color: white rgba(0, 0, 0, 0.5);
scrollbar-width: thin;
min-width: 150px;
color: #fff;
background-color: rgba(35, 35, 35, 0.9);
font-size: 14px;
padding: 5px 10px;
border-radius: 2px;
position: absolute;
z-index: 2;
right: 15px;
top: 15px;
max-height: calc(100% - 115px);
opacity: 0;
transition: opacity cubic-bezier(0.4, 0, 0.6, 1) 0.6s;
}
.shaka-controls-container[casting="true"] .shaka-ad-statistics-container,
.shaka-controls-container[shown="true"] .shaka-ad-statistics-container {
opacity: 1;
}
.shaka-ad-statistics-container div {
display: flex;
justify-content: space-between;
}
.shaka-ad-statistics-container span {
color: #969696;
}
.shaka-context-menu {
overflow-x: hidden;
overflow-y: auto;
white-space: nowrap;
background: rgba(28, 28, 28, 0.9);
border-radius: 2px;
min-width: 190px;
opacity: 0;
transition: opacity cubic-bezier(0.4, 0, 0.6, 1) 0.6s;
display: flex;
flex-direction: column;
align-items: stretch;
position: absolute;
z-index: 3;
}
.shaka-controls-container[casting="true"] .shaka-context-menu,
.shaka-controls-container[shown="true"] .shaka-context-menu {
opacity: 1;
}
.shaka-context-menu button {
font-size: 14px;
background: 0 0;
color: #fff;
border: none;
min-height: 30px;
padding: 10px;
display: flex;
align-items: center;
cursor: pointer;
}
.shaka-context-menu button:hover {
background: rgba(255, 255, 255, 0.1);
}
.shaka-context-menu button label {
cursor: pointer;
margin-left: 5px;
}
.shaka-keyboard-navigation .shaka-context-menu button:focus {
background: rgba(255, 255, 255, 0.1);
}
.shaka-context-menu button .shaka-current-selection-span {
display: none;
}
.shaka-scrim-container {
margin: 0;
width: 100%;
position: absolute;
left: 0;
right: 0;
bottom: 0;
flex-shrink: 1;
opacity: 0;
transition: opacity cubic-bezier(0.4, 0, 0.6, 1) 0.6s;
height: 61px;
background: linear-gradient(rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.5) 100%);
}
.shaka-controls-container[casting="true"] .shaka-scrim-container,
.shaka-controls-container[shown="true"] .shaka-scrim-container {
opacity: 1;
}
.shaka-text-container {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
pointer-events: none;
bottom: 0;
width: 100%;
min-width: 48px;
transition: bottom cubic-bezier(0.4, 0, 0.6, 1) 0.1s;
transition-delay: 0.5s;
font-size: 20px;
line-height: 1.4;
color: #fff;
}
.shaka-text-container span.shaka-text-wrapper {
display: inline;
background: 0 0;
}
.shaka-controls-container[shown="true"] ~ .shaka-text-container {
transition-delay: 0s;
}
.shaka-spinner-container {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
width: 100%;
height: 100%;
flex-shrink: 1;
display: flex;
justify-content: center;
align-items: center;
}
.shaka-video-container:not([shaka-controls="true"]) .shaka-spinner-container {
display: none;
}
.shaka-hidden-fast-forward-container,
.shaka-hidden-rewind-container {
height: 100%;
width: 40%;
flex-shrink: 1;
z-index: 1;
}
.shaka-hidden-fast-forward-container {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
left: 60%;
}
.shaka-hidden-rewind-container {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
}
.shaka-video-container.no-cursor {
cursor: none !important;
}
.shaka-video-container.no-cursor * {
cursor: none !important;
}
.shaka-play-button {
box-sizing: border-box;
padding: calc(15% / 2);
width: 0;
height: 0;
margin: 0;
border-radius: 50%;
box-shadow: rgba(0, 0, 0, 0.1) 0 0 20px 0;
border: none;
background-size: 50%;
background-repeat: no-repeat;
background-position: center center;
background-color: rgba(255, 255, 255, 0.9);
opacity: 0;
transition: opacity cubic-bezier(0.4, 0, 0.6, 1) 0.6s;
}
.shaka-controls-container[casting="true"] .shaka-play-button,
.shaka-controls-container[shown="true"] .shaka-play-button {
opacity: 1;
}
.shaka-play-button[icon="play"] {
background-image: url("data:image/svg+xml,%3Csvg%20fill%3D%22%23000000%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M8%205v14l11-7z%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%2F%3E%0A%3C%2Fsvg%3E");
}
.shaka-play-button[icon="pause"] {
background-image: url("data:image/svg+xml,%3Csvg%20fill%3D%22%23000000%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M6%2019h4V5H6v14zm8-14v14h4V5h-4z%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%2F%3E%0A%3C%2Fsvg%3E");
}
.shaka-play-button[icon="replay"] {
background-image: url("data:image/svg+xml,%3Csvg%20fill%3D%22%231f1f1f%22%20height%3D%2224px%22%20viewBox%3D%220%20-960%20960%20960%22%20width%3D%2224px%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Cpath%20d%3D%22M480-80q-75%200-140.5-28.5t-114-77q-48.5-48.5-77-114T120-440h80q0%20117%2081.5%20198.5T480-160q117%200%20198.5-81.5T760-440q0-117-81.5-198.5T480-720h-6l62%2062-56%2058-160-160%20160-160%2056%2058-62%2062h6q75%200%20140.5%2028.5t114%2077q48.5%2048.5%2077%20114T840-440q0%2075-28.5%20140.5t-77%20114q-48.5%2048.5-114%2077T480-80Z%22%2F%3E%0A%3C%2Fsvg%3E");
}
@media (prefers-reduced-transparency: no-preference) {
.shaka-controls-container[shown="true"] .shaka-play-button {
opacity: 0.75;
}
}
.shaka-current-time {
font-size: 14px;
color: #fff;
cursor: pointer;
width: auto;
padding: 0 5px;
}
.shaka-current-time[disabled] {
background-color: transparent;
color: #fff;
cursor: default;
}
.shaka-controls-container button:focus,
.shaka-controls-container input:focus {
outline: 1px solid Highlight;
}
.shaka-controls-container button:-moz-focus-inner,
.shaka-controls-container input:-moz-focus-outer {
outline: 0;
border: 0;
}
.shaka-controls-container:not(.shaka-keyboard-navigation) button:focus,
.shaka-controls-container:not(.shaka-keyboard-navigation) input:focus {
outline: 0;
}
.shaka-fast-forward-container,
.shaka-rewind-container {
height: 100%;
width: 100%;
flex-shrink: 1;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
margin: 0;
border: none;
color: #fff;
background-color: rgba(0, 0, 0, 0.5);
cursor: default;
font-size: 20px;
opacity: 0;
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
}
.shaka-fast-forward-container {
border-radius: 40% 0 0 40%;
}
.shaka-rewind-container {
border-radius: 0 40% 40% 0;
}
.shaka-forward-rewind-container-icon {
font-size: 32px;
}
.shaka-range-container {
position: relative;
top: 0;
left: 0;
margin: calc((12px - 4px) / 2) 6px;
height: 4px;
border-radius: 4px;
background: #fff;
box-sizing: content-box;
}
.shaka-volume-bar-container {
width: 100px;
padding: 0;
transition-property: opacity, width;
transition-duration: 250ms;
transition-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
}
.shaka-volume-bar-container:hover {
width: 100px !important;
opacity: 1 !important;
}
@media (max-width: 474px) {
.shaka-volume-bar-container {
width: 50px;
}
.shaka-volume-bar-container:hover {
width: 50px !important;
}
.shaka-mute-button:hover + .shaka-volume-bar-container-allow-hiding {
width: 50px;
opacity: 1;
}
}
.shaka-mute-button
+ .shaka-volume-bar-container-allow-hiding:not(:focus-within) {
width: 0;
opacity: 0;
}
@media (min-width: 475px) {
.shaka-mute-button:hover + .shaka-volume-bar-container-allow-hiding {
width: 100px;
opacity: 1;
}
}
.shaka-range-element {
-webkit-appearance: none;
background: 0 0;
cursor: pointer;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: 0;
padding: 0;
width: 100%;
height: 100%;
height: 12px;
top: calc((4px - 12px) / 2);
z-index: 1;
}
.shaka-range-element::-webkit-slider-runnable-track {
width: 100%;
cursor: pointer;
height: 12px;
background: 0 0;
color: transparent;
border: none;
}
.shaka-range-element::-webkit-slider-thumb {
-webkit-appearance: none;
border: none;
border-radius: 12px;
height: 12px;
width: 12px;
background: #fff;
}
.shaka-range-element::-moz-range-track {
width: 100%;
cursor: pointer;
height: 12px;
background: 0 0;
color: transparent;
border: none;
}
.shaka-range-element::-moz-range-thumb {
-webkit-appearance: none;
border: none;
border-radius: 12px;
height: 12px;
width: 12px;
background: #fff;
}
.shaka-seek-bar-container {
opacity: 0;
transition: opacity cubic-bezier(0.4, 0, 0.6, 1) 0.6s;
top: 5px;
height: 5px;
margin-bottom: 0;
background-clip: padding-box !important;
border-top: 4px solid transparent;
border-bottom: 4px solid transparent;
}
.shaka-controls-container[casting="true"] .shaka-seek-bar-container,
.shaka-controls-container[shown="true"] .shaka-seek-bar-container {
opacity: 1;
}
.shaka-seek-bar-container .shaka-seek-bar {
transition: opacity cubic-bezier(0.4, 0, 0.6, 1) 250ms;
opacity: 0;
}
.shaka-seek-bar-container:hover .shaka-seek-bar {
opacity: 1;
}
.shaka-ad-markers {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: 0;
padding: 0;
width: 100%;
height: 100%;
}
.shaka-spacer {
cursor: default;
flex-shrink: 1;
flex-grow: 1;
margin: 0;
}
.shaka-overflow-menu,
.shaka-settings-menu {
overflow-x: hidden;
overflow-y: auto;
scrollbar-color: white rgba(0, 0, 0, 0.5);
scrollbar-width: thin;
white-space: nowrap;
background: rgba(28, 28, 28, 0.9);
border-radius: 15px;
max-height: 250px;
min-width: 190px;
padding: 5px 0;
opacity: 0;
transition: opacity cubic-bezier(0.4, 0, 0.6, 1) 0.6s;
display: flex;
flex-direction: column;
align-items: stretch;
position: absolute;
z-index: 2;
right: 15px;
bottom: 62px;
}
.shaka-controls-container[casting="true"] .shaka-overflow-menu,
.shaka-controls-container[casting="true"] .shaka-settings-menu,
.shaka-controls-container[shown="true"] .shaka-overflow-menu,
.shaka-controls-container[shown="true"] .shaka-settings-menu {
opacity: 1;
}
.shaka-overflow-menu button,
.shaka-settings-menu button {
font-size: 14px;
background: 0 0;
color: #fff;
border: none;
min-height: 30px;
padding: 10px;
display: flex;
align-items: center;
cursor: pointer;
}
.shaka-overflow-menu button:hover,
.shaka-settings-menu button:hover {
background: rgba(255, 255, 255, 0.1);
}
.shaka-overflow-menu button label,
.shaka-settings-menu button label {
cursor: pointer;
}
.shaka-keyboard-navigation .shaka-overflow-menu button:focus,
.shaka-keyboard-navigation .shaka-settings-menu button:focus {
background: rgba(255, 255, 255, 0.1);
}
.shaka-overflow-menu .material-svg-icon,
.shaka-settings-menu .material-svg-icon {
padding-left: 0;
padding-right: 10px;
}
.shaka-overflow-menu .material-svg-icon.shaka-chosen-item,
.shaka-settings-menu .material-svg-icon.shaka-chosen-item {
order: -1;
line-height: 17px;
font-size: 18px;
}
.shaka-overflow-menu.shaka-low-position,
.shaka-settings-menu.shaka-low-position {
bottom: 48px;
}
.shaka-overflow-menu span {
text-align: left;
}
.shaka-overflow-button-label {
position: relative;
display: flex;
flex-direction: column;
}
.shaka-overflow-button-label-inline {
box-sizing: border-box;
flex-direction: row;
justify-content: space-between;
width: calc(100% - 34px);
padding-right: 28px;
background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAwIDI0IDI0IiB3aWR0aD0iMjRweCIgZmlsbD0iI2VlZWVlZSI+PHBhdGggZD0iTTAgMGgyNHYyNEgwVjB6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTguNTkgMTYuNTlMMTMuMTcgMTIgOC41OSA3LjQxIDEwIDZsNiA2LTYgNi0xLjQxLTEuNDF6Ii8+PC9zdmc+");
background-repeat: no-repeat;
background-position: right 5px center;
background-size: 24px 24px;
}
.shaka-simple-overflow-button-label-inline {
box-sizing: border-box;
flex-direction: row;
justify-content: space-between;
width: calc(100% - 50px);
}
.shaka-current-selection-span {
font-size: 12px;
padding-left: 10px;
}
.shaka-current-auto-quality {
margin-left: 5px;
font-size: 11px;
color: #ccc;
}
.shaka-current-quality-mark,
.shaka-quality-mark {
color: red;
margin-left: 2px !important;
font-size: 10px;
height: 17px;
}
.shaka-quality-mark {
line-height: 6px;
}
.shaka-overflow-playback-rate-mark,
.shaka-overflow-quality-mark {
background: red;
color: #fff;
border-radius: 2px;
font-family: Roboto, sans-serif, TengwarTelcontar;
font-size: 10px;
font-weight: 700;
line-height: 10px;
text-shadow: none;
padding: 1px;
position: absolute;
right: 4px;
top: 10px;
}
.shaka-settings-menu span {
margin-left: 28px;
}
.shaka-settings-menu span.shaka-chosen-item {
margin-left: 0;
}
.shaka-settings-menu .shaka-chapter {
margin-left: 10px;
}
.shaka-back-to-overflow-button {
border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}
.shaka-back-to-overflow-button span {
margin-left: 0;
}
.shaka-back-to-overflow-button .material-svg-icon {
padding-right: 10px;
font-size: 18px !important;
}
.shaka-back-to-overflow-button:hover {
background: 0 0 !important;
}
.shaka-controls-container[ad-active="true"] {
pointer-events: none;
}
.shaka-controls-container[ad-active="true"] .shaka-bottom-controls {
pointer-events: auto;
}
.shaka-client-side-ad-container,
.shaka-server-side-ad-container {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
}
.shaka-video-container[shaka-controls="true"]
.shaka-client-side-ad-container
iframe,
.shaka-video-container[shaka-controls="true"]
.shaka-server-side-ad-container
iframe {
height: 90%;
}
.shaka-ad-controls {
display: flex;
flex-direction: row;
z-index: 1;
padding-bottom: 1%;
}
.shaka-video-container:not([shaka-controls="true"]) .shaka-ad-controls {
display: none;
}
.shaka-ad-controls button,
.shaka-ad-controls div {
color: #fff;
font-size: initial;
}
.shaka-ad-info {
font-size: 14px;
color: #fff;
width: auto;
padding: 0 5px;
}
.shaka-ad-info[disabled] {
background-color: transparent;
color: #fff;
cursor: default;
padding: 0;
}
.shaka-skip-ad-container {
position: relative;
right: calc((100% - 98%) / 2 * -1);
display: flex;
flex-direction: row;
margin: 0;
margin-left: auto;
}
.shaka-skip-ad-button {
padding: 5px 15px;
background: rgba(0, 0, 0, 0.7);
border: none;
cursor: pointer;
}
.shaka-skip-ad-button:disabled {
background: rgba(0, 0, 0, 0.3);
}
.shaka-skip-ad-counter {
padding: 5px;
background: rgba(0, 0, 0, 0.7);
margin: 0;
} /*!
* @license
* The tooltip is based on https://github.com/felipefialho/css-components/
* Local modifications have been performed.
*
* Copyright (c) 2017 Felipe Fialho
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
.shaka-tooltips-on {
overflow: visible;
}
.shaka-tooltips-on > .shaka-tooltip,
.shaka-tooltips-on > .shaka-tooltip-status {
position: relative;
}
.shaka-tooltips-on > .shaka-tooltip-status:active:after,
.shaka-tooltips-on > .shaka-tooltip-status:focus-visible:after,
.shaka-tooltips-on > .shaka-tooltip-status:hover:after,
.shaka-tooltips-on > .shaka-tooltip:active:after,
.shaka-tooltips-on > .shaka-tooltip:focus-visible:after,
.shaka-tooltips-on > .shaka-tooltip:hover:after {
content: attr(aria-label);
font-family: Roboto, sans-serif, TengwarTelcontar;
line-height: 20px;
white-space: nowrap;
font-size: 14px;
background: rgba(0, 0, 0, 0.5);
color: #fff;
border-radius: 2px;
padding: 2px 10px;
position: absolute;
bottom: 62px;
left: calc(48px / 2);
-webkit-transform: translateX(-50%);
-moz-transform: translateX(-50%);
-ms-transform: translateX(-50%);
-o-transform: translateX(-50%);
transform: translateX(-50%);
}
@media (prefers-reduced-transparency) {
.shaka-tooltips-on > .shaka-tooltip-status:active:after,
.shaka-tooltips-on > .shaka-tooltip-status:focus-visible:after,
.shaka-tooltips-on > .shaka-tooltip-status:hover:after,
.shaka-tooltips-on > .shaka-tooltip:active:after,
.shaka-tooltips-on > .shaka-tooltip:focus-visible:after,
.shaka-tooltips-on > .shaka-tooltip:hover:after {
background-color: rgba(0, 0, 0, 0.9);
}
}
.shaka-tooltips-on.shaka-tooltips-low-position > .shaka-tooltip:active:after,
.shaka-tooltips-on.shaka-tooltips-low-position
> .shaka-tooltip:focus-visible:after,
.shaka-tooltips-on.shaka-tooltips-low-position > .shaka-tooltip:hover:after {
bottom: 48px;
}
.shaka-tooltips-on > .shaka-tooltip-status:active:after,
.shaka-tooltips-on > .shaka-tooltip-status:focus-visible:after,
.shaka-tooltips-on > .shaka-tooltip-status:hover:after {
content: attr(aria-label) " (" attr(shaka-status) ")";
}
.shaka-tooltips-on button:first-child:active:after,
.shaka-tooltips-on button:first-child:focus-visible:after,
.shaka-tooltips-on button:first-child:hover:after {
left: 0;
-webkit-transform: translateX(0);
-moz-transform: translateX(0);
-ms-transform: translateX(0);
-o-transform: translateX(0);
transform: translateX(0);
}
.shaka-tooltips-on button:last-child:active:after,
.shaka-tooltips-on button:last-child:focus-visible:after,
.shaka-tooltips-on button:last-child:hover:after {
left: 48px;
-webkit-transform: translateX(-100%);
-moz-transform: translateX(-100%);
-ms-transform: translateX(-100%);
-o-transform: translateX(-100%);
transform: translateX(-100%);
}
#shaka-player-ui-thumbnail-container {
background-color: #000;
border: 1px solid #000;
box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.5);
min-width: 150px;
overflow: hidden;
position: absolute;
visibility: hidden;
width: 15%;
z-index: 1;
pointer-events: none;
}
#shaka-player-ui-thumbnail-container #shaka-player-ui-thumbnail-image {
position: absolute;
}
#shaka-player-ui-thumbnail-container #shaka-player-ui-thumbnail-time-container {
bottom: 0;
left: 0;
position: absolute;
right: 0;
display: flex;
justify-content: center;
}
#shaka-player-ui-thumbnail-container
#shaka-player-ui-thumbnail-time-container
#shaka-player-ui-thumbnail-time {
background-color: rgba(0, 0, 0, 0.5);
border-radius: 14px;
color: #fff;
font-size: 14px;
padding: 0 5px;
}
@media (prefers-reduced-transparency) {
#shaka-player-ui-thumbnail-container
#shaka-player-ui-thumbnail-time-container
#shaka-player-ui-thumbnail-time {
background-color: rgba(0, 0, 0, 0.9);
}
}
#shaka-player-ui-thumbnail-container.portrait-thumbnail {
min-width: 75px;
width: 7.5%;
}
#shaka-player-ui-time-container {
background-color: rgba(0, 0, 0, 0.5);
border-radius: 5px;
color: #fff;
display: flex;
font-size: 14px;
justify-content: center;
overflow: hidden;
padding: 0 3px;
position: absolute;
visibility: hidden;
z-index: 1;
}
@media (prefers-reduced-transparency) {
#shaka-player-ui-time-container {
background-color: rgba(0, 0, 0, 0.9);
}
}
.material-svg-icon {
display: inline-block;
fill: currentcolor;
width: 1em;
height: 1em;
}
@font-face {
font-family: Roboto;
font-style: normal;
font-weight: 400;
font-stretch: normal;
src: url(./fonts/KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWubEbVmUiA8.ttf)
format("truetype");
} /*# sourceMappingURL=controls.css.map */