jellyfish-web/src/assets/css/videoosd.css

373 lines
7.1 KiB
CSS
Raw Normal View History

2018-10-23 01:13:23 +03:00
.chapterThumbTextContainer,
.videoOsdBottom {
user-select: none;
2020-01-09 19:35:19 +01:00
-webkit-user-select: none;
-moz-user-select: none;
2020-01-22 21:40:45 +01:00
-ms-user-select: none;
2018-10-23 01:13:23 +03:00
}
.videoOsdBottom {
bottom: 0;
left: 0;
right: 0;
2020-08-20 20:39:33 +02:00
position: fixed;
2020-08-29 18:32:42 +02:00
background: linear-gradient(0deg, rgba(16, 16, 16, 0.75) 0%, rgba(16, 16, 16, 0) 100%);
2020-08-20 20:39:33 +02:00
padding-top: 7.5em;
padding-bottom: 1.75em;
display: flex;
flex-direction: row;
justify-content: center;
will-change: opacity;
transition: opacity 0.3s ease-out;
color: #fff;
user-select: none;
-webkit-touch-callout: none;
2018-10-23 01:13:23 +03:00
}
2020-08-30 13:47:37 +02:00
.skinHeader-withBackground.osdHeader {
2020-01-22 21:40:45 +01:00
transition: opacity 0.3s ease-out;
2018-10-23 01:13:23 +03:00
position: relative;
z-index: 1;
2020-08-29 18:32:42 +02:00
background: linear-gradient(180deg, rgba(16, 16, 16, 0.75) 0%, rgba(16, 16, 16, 0) 100%);
2020-08-20 12:27:25 +02:00
backdrop-filter: none;
color: #eee;
height: 7.5em;
2018-10-23 01:13:23 +03:00
}
.osdHeader-hidden {
opacity: 0;
2018-10-23 01:13:23 +03:00
}
2020-08-20 12:27:25 +02:00
.osdHeader .headerTop {
max-height: 3.5em;
}
2020-04-01 17:53:14 +02:00
.osdHeader .headerButton:not(.headerBackButton):not(.headerCastButton):not(.headerSyncButton) {
display: none;
2018-10-23 01:13:23 +03:00
}
.chapterThumbContainer {
2020-01-09 19:35:19 +01:00
-webkit-box-shadow: 0 0 1.9vh #000;
2018-10-23 01:13:23 +03:00
box-shadow: 0 0 1.9vh #000;
2020-01-09 19:35:19 +01:00
-webkit-box-flex: 1;
-webkit-flex-grow: 1;
2018-10-23 01:13:23 +03:00
flex-grow: 1;
position: relative;
2018-10-23 01:13:23 +03:00
}
.chapterThumb {
background-position: center center;
2020-01-09 19:35:19 +01:00
-webkit-background-size: contain;
2018-10-23 01:13:23 +03:00
background-size: contain;
background-repeat: no-repeat;
border: 0;
height: 20vh;
min-width: 20vh;
2018-10-23 01:13:23 +03:00
}
@media all and (orientation: portrait) {
2018-10-23 01:13:23 +03:00
.chapterThumb {
height: 30vw;
min-width: 30vw;
2018-10-23 01:13:23 +03:00
}
}
@media all and (max-height: 50em) and (orientation: landscape) {
2018-10-23 01:13:23 +03:00
.chapterThumb {
height: 30vh;
min-width: 30vh;
2018-10-23 01:13:23 +03:00
}
}
.chapterThumbTextContainer {
position: absolute;
bottom: 0;
left: 0;
right: 0;
2020-01-19 15:00:37 +01:00
background: rgba(0, 0, 0, 0.7);
padding: 0.25em 0.5em;
user-select: none;
2018-10-23 01:13:23 +03:00
}
.chapterThumbText {
2020-01-19 15:00:37 +01:00
padding: 0.25em 0;
2018-10-23 01:13:23 +03:00
margin: 0;
opacity: 1;
2018-10-23 01:13:23 +03:00
}
.chapterThumbText-dim {
2020-01-19 15:00:37 +01:00
opacity: 0.6;
2018-10-23 01:13:23 +03:00
}
.videoOsdBottom-hidden {
opacity: 0;
2018-10-23 01:13:23 +03:00
}
.osdControls {
flex-grow: 1;
2020-08-20 12:27:25 +02:00
padding: 0 0.8em;
2018-10-23 01:13:23 +03:00
}
2020-08-22 02:38:06 +02:00
.layout-desktop .osdControls {
max-width: calc(100vh * 1.77 - 2vh);
}
2018-10-23 01:13:23 +03:00
.videoOsdBottom .buttons {
2020-01-22 21:40:45 +01:00
padding: 0.25em 0 0;
2020-01-09 19:35:19 +01:00
display: -webkit-box;
display: -webkit-flex;
2018-10-23 01:13:23 +03:00
display: flex;
2020-01-09 19:35:19 +01:00
-webkit-flex-wrap: wrap;
2018-10-23 01:13:23 +03:00
flex-wrap: wrap;
2020-01-09 19:35:19 +01:00
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
2018-10-23 01:13:23 +03:00
}
.osdVolumeSliderContainer {
width: 9em;
2020-01-09 19:35:19 +01:00
-webkit-box-flex: 1;
-webkit-flex-grow: 1;
flex-grow: 1;
2018-10-23 01:13:23 +03:00
}
.osdMediaInfo,
.volumeButtons {
display: flex;
2020-01-09 19:35:19 +01:00
display: -webkit-box;
display: -webkit-flex;
align-items: center;
2020-01-22 21:40:45 +01:00
-webkit-box-align: center;
2018-10-23 01:13:23 +03:00
}
.volumeButtons {
2020-08-20 12:27:25 +02:00
margin: 0 1em 0 0.29em;
2018-10-23 01:13:23 +03:00
display: flex;
2020-01-09 19:35:19 +01:00
-webkit-align-items: center;
align-items: center;
2018-10-23 01:13:23 +03:00
}
.osdTimeText {
margin-left: 1em;
2020-08-20 12:27:25 +02:00
margin-right: auto;
2020-01-09 19:35:19 +01:00
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
2018-10-23 01:13:23 +03:00
}
.osdTitle,
.osdTitleSmall {
margin: 0 1em 0 0;
2018-10-23 01:13:23 +03:00
}
.osdMediaInfo {
display: flex;
2020-01-09 19:35:19 +01:00
-webkit-align-items: center;
align-items: center;
2018-10-23 01:13:23 +03:00
}
.osdSecondaryMediaInfo {
2020-01-19 15:00:37 +01:00
padding-left: 0.6em !important;
2018-10-23 01:13:23 +03:00
}
.osdTextContainer {
2020-01-09 19:35:19 +01:00
display: -webkit-box;
display: -webkit-flex;
2018-10-23 01:13:23 +03:00
display: flex;
2020-01-09 19:35:19 +01:00
-webkit-box-align: center;
-webkit-align-items: center;
2018-10-23 01:13:23 +03:00
align-items: center;
2020-01-09 19:35:19 +01:00
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
2018-10-23 01:13:23 +03:00
user-select: none;
2020-01-19 15:00:37 +01:00
margin-bottom: 0.7em;
padding-left: 0.5em;
2018-10-23 01:13:23 +03:00
}
.osdMainTextContainer {
2020-01-09 19:35:19 +01:00
-webkit-box-align: baseline;
-webkit-align-items: baseline;
align-items: baseline;
2018-10-23 01:13:23 +03:00
}
2019-09-12 21:24:16 +02:00
.osdMediaStatus {
margin-left: auto;
}
@-moz-keyframes spin {
100% {
-moz-transform: rotate(360deg);
2020-01-22 21:40:45 +01:00
transform: rotate(360deg);
}
}
@-webkit-keyframes spin {
100% {
-webkit-transform: rotate(360deg);
2020-01-22 21:40:45 +01:00
transform: rotate(360deg);
}
}
@keyframes spin {
100% {
-webkit-transform: rotate(360deg);
2020-01-22 21:40:45 +01:00
transform: rotate(360deg);
}
}
2019-09-12 21:24:16 +02:00
.osdMediaStatus .animate {
2020-01-22 21:40:45 +01:00
-webkit-animation: spin 4s linear infinite;
-moz-animation: spin 4s linear infinite;
animation: spin 4s linear infinite;
2019-09-12 21:24:16 +02:00
}
@media all and (max-width: 30em) {
2018-10-23 01:13:23 +03:00
.osdMediaInfo,
.osdPoster {
display: none !important;
2018-10-23 01:13:23 +03:00
}
}
@media all and (max-width: 33.75em) {
2018-10-23 01:13:23 +03:00
.videoOsdBottom .paper-icon-button-light {
margin: 0;
2018-10-23 01:13:23 +03:00
}
}
@media all and (max-width: 43em) {
2019-09-12 21:24:16 +02:00
.videoOsdBottom .volumeButtons,
.osdMediaStatus span {
display: none !important;
2018-10-23 01:13:23 +03:00
}
}
2020-01-19 13:32:59 +01:00
@media all and (max-width: 50em) {
2020-01-22 21:40:45 +01:00
.videoOsdBottom .btnFastForward,
2020-01-25 11:42:43 +01:00
.videoOsdBottom .btnRewind {
display: none !important;
}
}
2018-10-23 01:13:23 +03:00
@media all and (max-width: 75em) {
2018-10-23 01:13:23 +03:00
.videoOsdBottom .endsAtText {
display: none !important;
2018-10-23 01:13:23 +03:00
}
}
.syncPlayContainer {
display: flex;
justify-content: center;
align-items: center;
position: absolute;
top: 0;
bottom: 0;
right: 0;
left: 0;
}
.primary-icon {
position: absolute;
font-size: 64px;
align-self: center;
}
.primary-icon.spin {
font-size: 76px !important;
animation: spin 2s linear infinite;
}
.secondary-icon {
position: absolute;
font-size: 24px;
}
.secondary-icon.centered {
font-size: 28px !important;
align-self: center;
}
.secondary-icon.shifted {
right: 0;
bottom: 0;
font-size: 52px;
}
.syncPlayIconCircle {
position: relative;
visibility: hidden;
display: flex;
justify-content: center;
border-radius: 50%;
margin: 60px;
height: 96px;
width: 96px;
color: rgba(0, 164, 220, 0);
background: rgba(0, 164, 220, 0);
box-shadow: 0 0 0 0 rgba(0, 164, 220, 0);
transform: scale(1);
}
.syncPlayIconCircle.oneShotPulse {
animation: pulse 1.5s 1;
}
.syncPlayIconCircle.infinitePulse {
animation: infinite-pulse 1.5s infinite;
}
@keyframes pulse {
0% {
transform: scale(0.95);
color: rgba(0, 164, 220, 0.7);
background: rgba(0, 164, 220, 0.3);
box-shadow: 0 0 0 0 rgba(0, 164, 220, 0.3);
}
70% {
transform: scale(1);
color: rgba(0, 164, 220, 0);
background: rgba(0, 164, 220, 0);
box-shadow: 0 0 0 60px rgba(0, 164, 220, 0);
}
100% {
transform: scale(0.95);
color: rgba(0, 164, 220, 0);
background: rgba(0, 164, 220, 0);
box-shadow: 0 0 0 0 rgba(0, 164, 220, 0);
}
}
@keyframes infinite-pulse {
0% {
transform: scale(0.95);
color: rgba(0, 164, 220, 0.7);
background: rgba(0, 164, 220, 0.3);
box-shadow: 0 0 0 0 rgba(0, 164, 220, 0.3);
}
70% {
transform: scale(1);
color: rgba(0, 164, 220, 0.6);
background: rgba(0, 164, 220, 0);
box-shadow: 0 0 0 60px rgba(0, 164, 220, 0);
}
100% {
transform: scale(0.95);
color: rgba(0, 164, 220, 0.7);
background: rgba(0, 164, 220, 0.3);
box-shadow: 0 0 0 0 rgba(0, 164, 220, 0);
}
}
@keyframes spin {
100% {
transform: rotate(-360deg);
}
}