mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
687 lines
11 KiB
CSS
Executable File
687 lines
11 KiB
CSS
Executable File
.card-image{
|
|
height: 100px;
|
|
width: 100px;
|
|
background-position: center;
|
|
background-size: 180%;
|
|
height: 100% !important;
|
|
}
|
|
|
|
.side_away {
|
|
-webkit-transition: all .3s !important;
|
|
-moz-transition: all .3s !important;
|
|
-o-transition: all .3s !important;
|
|
transition: all .3s !important;
|
|
}
|
|
|
|
.prev.playbar, .skip.playbar {
|
|
float: left;
|
|
font-size: 24px;
|
|
cursor: pointer;
|
|
height: 32px;
|
|
line-height: 31px;
|
|
padding-top: 3px;
|
|
}
|
|
|
|
.site_loader {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
margin: auto;
|
|
bottom: 0;
|
|
right: 0;
|
|
background: rgba(0,0,0,.5);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 9;
|
|
}
|
|
|
|
.prev, .skip {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
#playpause, .prev.playbar, .skip.playbar {
|
|
padding: 0 2.5px;
|
|
}
|
|
.playbar-btn:hover {
|
|
background-color: rgba(0,0,0,.6);
|
|
color: hsla(0,0%,100%,.5);
|
|
}
|
|
|
|
.hide {
|
|
display: none!important;
|
|
}
|
|
.playbar-btn {
|
|
cursor: pointer;
|
|
transition: background-color .2s;
|
|
}
|
|
#controls, .playbar {
|
|
color: #fff;
|
|
}
|
|
|
|
#player_loader_container {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
#player_overlay {
|
|
position: relative;
|
|
height: calc(100% - 32px);
|
|
top: 0px;
|
|
left: 0px;
|
|
width: 60vw;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.soundcloud_info_container {
|
|
position: absolute;
|
|
bottom: 20px;
|
|
right: 0px;
|
|
padding-left: 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
background: rgba(0,0,0,.7);
|
|
}
|
|
|
|
.soundcloud_info_container a {
|
|
margin: 0 10px;
|
|
}
|
|
|
|
.card {
|
|
cursor:pointer;
|
|
background-color: rgba(255, 255, 255, 0.04) !important;
|
|
}
|
|
|
|
#empty-channel-message {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100vh;
|
|
color: white;
|
|
font-size: 2em;
|
|
}
|
|
|
|
.noselect {
|
|
-webkit-touch-callout: none;
|
|
-webkit-user-select: none;
|
|
-khtml-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.video_only {
|
|
width:100vw !important;
|
|
height: 100vh !important;
|
|
}
|
|
|
|
#player{
|
|
width:60vw;
|
|
height: calc(100vh - 32px);
|
|
}
|
|
|
|
#pageButtons{
|
|
text-align: center;
|
|
padding-top:15px;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
}
|
|
|
|
.prev_page, .next_page{
|
|
cursor: pointer;
|
|
}
|
|
|
|
#wrapper{
|
|
height:calc(100% - 46px);
|
|
}
|
|
|
|
.prev_page_hide, .next_page_hide{
|
|
visibility: visible !important;
|
|
color:gray;
|
|
}
|
|
|
|
.list-song {
|
|
background-color: rgba(255, 255, 255, 0.04) !important;
|
|
}
|
|
|
|
#list-song-html {
|
|
display:none;
|
|
}
|
|
|
|
#song-title{
|
|
display:none;
|
|
}
|
|
|
|
#zoffchannel{
|
|
display:none;
|
|
}
|
|
|
|
.list-image, .list-suggested-image{
|
|
width: 34%;
|
|
height: 66px;
|
|
float: left;
|
|
}
|
|
|
|
.list-image:after {
|
|
-webkit-transition: all .3s;
|
|
transition: all .3s;
|
|
font-family: "Material Icons";
|
|
content: "thumb_up";
|
|
speak: none;
|
|
font-style: normal;
|
|
font-weight: normal;
|
|
font-variant: normal;
|
|
text-transform: none;
|
|
text-rendering: auto;
|
|
-webkit-font-smoothing: antialiased;
|
|
color: white;
|
|
font-size: -webkit-xxx-large;
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
top: 0;
|
|
left: 0;
|
|
background: rgba(0,0,0,0.8);
|
|
opacity: 0;
|
|
/* transition: all .1s ease; */
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.list-suggested-image:after {
|
|
font-family: "Material-Design-Icons";
|
|
speak: none;
|
|
font-style: normal;
|
|
font-weight: normal;
|
|
font-variant: normal;
|
|
text-transform: none;
|
|
text-rendering: auto;
|
|
-webkit-font-smoothing: antialiased;
|
|
content: "\e625";/*"\e800";*/
|
|
color:white;
|
|
font-size:65px;
|
|
position:absolute;
|
|
width:100%; height:100%;
|
|
top:0; left:0;
|
|
background:rgba(0,0,0,0.8);
|
|
opacity:0;
|
|
transition: all .1s ease;
|
|
}
|
|
|
|
.vote-container:hover .list-image:after, .add-suggested:hover .list-suggested-image:after {
|
|
opacity:1;
|
|
}
|
|
|
|
|
|
|
|
.vote-span{
|
|
opacity: 0.7;
|
|
padding: 0 0 0 10px;
|
|
color:white !important;
|
|
}
|
|
|
|
.list-song{
|
|
background-color: rgba(255, 255, 255, 0.04);
|
|
color:white;
|
|
font:12px Arial,sans-serif;
|
|
-webkit-transition:height .3s;
|
|
-moz-transition:height .3s;
|
|
-o-transition:height .3s;
|
|
transition:height .3s;
|
|
height:66px;
|
|
width: 100%;
|
|
}
|
|
.list-song .card-content{padding:0;}
|
|
.list-title{
|
|
font-size:13px !important;
|
|
display:block;
|
|
color:white;font-size:1em;
|
|
text-align:left;
|
|
padding: 0 10px 0 10px;
|
|
line-height: 2.6rem;
|
|
}
|
|
.card-image{cursor:pointer}
|
|
.card{
|
|
margin: 2.5px 0 2.5px 0 !important;
|
|
}
|
|
.card:hover{
|
|
box-shadow: 0 5px 5px 0 rgba(0,0,0,0.16), 0 5px 10px 0 rgba(0,0,0,0.12);
|
|
}
|
|
|
|
#playlist{
|
|
height: 100vh;
|
|
width: 40vw;
|
|
overflow: hidden;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
padding-top: 5px;
|
|
}
|
|
|
|
#zoffbutton{
|
|
cursor: pointer;
|
|
background-image: url(/assets/images/z.svg);
|
|
width: 90px;
|
|
height: 50px;
|
|
background-position: 50%;
|
|
background-size: 85%;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
.progress{background-color:rgba(0,0,0,0) !important;}
|
|
|
|
.indeterminate {
|
|
background-color:white !important;
|
|
}
|
|
|
|
#controls
|
|
{
|
|
background: inherit;
|
|
|
|
position: relative;
|
|
opacity:0;
|
|
height:32px;
|
|
width:60vw;
|
|
color:white;
|
|
margin-top:-5px;
|
|
}
|
|
|
|
#playpause, #duration, #volume-button
|
|
{
|
|
float:left;
|
|
color:white;
|
|
}
|
|
|
|
.margin-playbar {
|
|
margin-left: 10px;
|
|
}
|
|
|
|
|
|
#seekToDuration{
|
|
position: absolute;
|
|
background: #2d2d2d;
|
|
color:white;
|
|
padding: 10px 8px;
|
|
z-index: 2000;
|
|
background-color: #2d2d2d;
|
|
border-radius: 2px;
|
|
color: #fff;
|
|
min-height: 36px;
|
|
text-align: center;
|
|
max-width: calc(100% - 4px);
|
|
pointer-events: none;
|
|
}
|
|
|
|
#playpause, #volume-button
|
|
{
|
|
font-size: 23px;
|
|
}
|
|
|
|
#playpause:hover, #volume-button:hover, #fullscreen:hover
|
|
{
|
|
color:rgba(255,255,255,0.5);
|
|
}
|
|
|
|
#fullscreen
|
|
{
|
|
float:right;
|
|
color:white;
|
|
margin-right:15px;
|
|
}
|
|
|
|
#duration, #viewers
|
|
{
|
|
margin-top:5px;
|
|
font-family:"Roboto", sans-serif;
|
|
font-weight:300;
|
|
margin-left:15px;
|
|
margin-right:10px;
|
|
}
|
|
|
|
.channel-info-container {
|
|
align-items: center;
|
|
display: flex;
|
|
position: absolute;
|
|
bottom: 50px;
|
|
left: 0px;
|
|
background: rgba(0,0,0,.5);
|
|
padding-left: 5px;
|
|
padding-right: 25px;
|
|
}
|
|
|
|
.channel-title {
|
|
margin-left: -20px;
|
|
}
|
|
|
|
#viewers{
|
|
float: right;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
#play, #pause, #volume-button, #fullscreen
|
|
{
|
|
font-size:20px;
|
|
cursor:pointer;
|
|
}
|
|
|
|
|
|
.ui-slider-vertical {
|
|
width: .8em;
|
|
height: 100px;
|
|
}
|
|
.ui-slider {
|
|
position: relative;
|
|
text-align: left;
|
|
}
|
|
|
|
.ui-slider-vertical .ui-slider-range-min {
|
|
bottom: 0;
|
|
}
|
|
.ui-slider-vertical .ui-slider-range {
|
|
left: 0;
|
|
width: 100%;
|
|
border-radius: 0px !important;
|
|
}
|
|
.ui-slider .ui-slider-range {
|
|
position: absolute;
|
|
z-index: 1;
|
|
font-size: .7em;
|
|
display: block;
|
|
border: 0;
|
|
background-position: 0 0;
|
|
}
|
|
|
|
.ui-slider-vertical .ui-slider-handle {
|
|
left: -.3em;
|
|
margin-left: 0;
|
|
margin-bottom: -.6em;
|
|
}
|
|
.ui-slider .ui-slider-handle {
|
|
position: absolute;
|
|
z-index: 2;
|
|
width: 1.2em;
|
|
height: 1.2em;
|
|
cursor: default;
|
|
-ms-touch-action: none;
|
|
touch-action: none;
|
|
}
|
|
|
|
.ui-slider-horizontal .ui-slider-range-min {
|
|
left: 0;
|
|
}
|
|
.ui-slider-horizontal .ui-slider-range {
|
|
top: 0;
|
|
height: 100%;
|
|
}
|
|
|
|
.ui-slider .ui-slider-range {
|
|
position: absolute;
|
|
z-index: 1;
|
|
font-size: .7em;
|
|
display: block;
|
|
border: 0;
|
|
background-position: 0 0;
|
|
}
|
|
|
|
.ui-slider-horizontal .ui-slider-handle {
|
|
top: -.3em;
|
|
margin-left: -.6em;
|
|
}
|
|
#volume {
|
|
border-radius: 10px;
|
|
cursor:pointer;
|
|
float:left;
|
|
position: relative;
|
|
left: 10px;
|
|
margin: 13px auto;
|
|
height:5px;
|
|
width: 75px;
|
|
/*background-color:rgba(0, 0, 0, 0.5);*/
|
|
background:rgba(0, 0, 0, 0.5) 50% 50% repeat-x;
|
|
border: none;
|
|
outline: none;
|
|
/*border-radius: 2px;*/
|
|
}
|
|
|
|
#volume.vertical {
|
|
border-radius: 0px;
|
|
}
|
|
|
|
#volume .volume-slid {
|
|
border-radius: 10px;
|
|
background: white;
|
|
height: 5px;
|
|
width: 0%;
|
|
}
|
|
|
|
#volume .volume-slid.vertical {
|
|
width: 100%;
|
|
height: 0%;
|
|
border-radius: 0px;
|
|
bottom: 0px;
|
|
position: absolute;
|
|
}
|
|
|
|
#volume .volume-handle {
|
|
height: 15px;
|
|
width: 15px;
|
|
background: white;
|
|
border-radius: 15px;
|
|
border: 1px solid lightgrey;
|
|
margin-top: -9.75px;
|
|
position: absolute;
|
|
left: 0%;
|
|
margin-left: -5.75px;
|
|
transition: background 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
|
|
#volume .volume-handle.vertical {
|
|
bottom: 0%;
|
|
display: none;
|
|
}
|
|
#volume .volume-handle.ui-state-active {
|
|
box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.01), 0 0 0 7px rgba(255,255,255,0.3);
|
|
position: absolute;
|
|
width: 14px;
|
|
height: 14px;
|
|
border-radius: 21px;
|
|
background: #dadada;
|
|
}
|
|
|
|
#toast-container{
|
|
left:2%;
|
|
cursor:pointer;
|
|
width:70vw;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: baseline;
|
|
/*pointer-events:none;*/
|
|
}
|
|
|
|
.toast {
|
|
word-break: normal;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.play
|
|
{
|
|
background-size: auto;
|
|
width: 55px;
|
|
height: 27px;
|
|
}
|
|
|
|
.pause
|
|
{
|
|
background-size: auto;
|
|
width: 55px;
|
|
height: 27px;
|
|
}
|
|
|
|
.hide
|
|
{
|
|
display:none !important;
|
|
}
|
|
|
|
#bar
|
|
{
|
|
height:100%;
|
|
background-color:rgba(0,0,0,0.5);
|
|
}
|
|
|
|
html {
|
|
overflow: hidden;
|
|
}
|
|
|
|
#pageButtons {
|
|
background: inherit;
|
|
}
|
|
|
|
#pageButtons, #pageButtons a{
|
|
color:white !important;
|
|
width: 100%;
|
|
justify-content: space-evenly;
|
|
align-items: center;
|
|
}
|
|
|
|
#pageButtons a, #pageButtons span {
|
|
padding-left: 1px;
|
|
padding-right: 1px;
|
|
}
|
|
|
|
#pageNumber{
|
|
cursor: default;
|
|
color: white;
|
|
padding:0;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
height: 36px;
|
|
justify-content: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.prev_page, .next_page, .last_page, .first_page{
|
|
cursor: pointer;
|
|
}
|
|
|
|
|
|
.prev_page_hide, .next_page_hide, .last_page_hide, .first_page_hide{
|
|
visibility: visible !important;
|
|
color:gray;
|
|
cursor:default;
|
|
height: 32px;
|
|
line-height: 36px;
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
|
|
.prev_page_hide, .prev_page, .first_page, .first_page_hide{
|
|
padding:0 1px;
|
|
height: 32px;
|
|
line-height: 36px;
|
|
|
|
}
|
|
|
|
.next_page_hide, .next_page, .last_page, .last_page_hide{
|
|
padding:0 0px;
|
|
display: flex;
|
|
}
|
|
|
|
.first_page, .first_page_hide {
|
|
padding: 0 0 0 10px;
|
|
}
|
|
|
|
.last_page, .last_page_hide {
|
|
padding: 0 10px 0 0;
|
|
}
|
|
|
|
body {
|
|
background: #2d2d2d;
|
|
}
|
|
|
|
.vote-container {
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
.card-duration {
|
|
border-top-right-radius: 4px;
|
|
position: absolute;
|
|
bottom: 0px;
|
|
left: 0px;
|
|
background: rgba(0,0,0,.7);
|
|
color: white;
|
|
padding: 0 5px;
|
|
}
|
|
|
|
#song-title {
|
|
position: absolute;
|
|
z-index: 9;
|
|
color: white;
|
|
background: rgba(0,0,0,.5);
|
|
font-size: 1.5rem;
|
|
padding: 10px;
|
|
width: 60vw;
|
|
}
|
|
|
|
/*
|
|
.last_page, .last_page_hide, .first_page, .first_page_hide{
|
|
display: none !important;
|
|
}
|
|
*/
|
|
#wrapper{
|
|
background: inherit;
|
|
/*height: 94%;*/
|
|
}
|
|
|
|
@media only screen and (max-width: 992px) and (min-width: 601px) {
|
|
#toast-container {
|
|
bottom: 90px;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: 736px) and (max-width:500px), only screen and (max-device-width: 736px) and (orientation: landscape){
|
|
#player-container{
|
|
/*display: none;*/
|
|
position: absolute;
|
|
width: 100vw;
|
|
height: 200px;
|
|
bottom: 0px;
|
|
}
|
|
#controls {
|
|
width: 100vw;
|
|
margin-top: 0px;
|
|
}
|
|
|
|
#player {
|
|
width: 100vw;
|
|
height: 170px;
|
|
display: block;
|
|
}
|
|
|
|
#player_overlay {
|
|
position: relative;
|
|
width: 100vw;
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
#playlist {
|
|
width: 100vw;
|
|
height: calc(100vh - 208px);
|
|
}
|
|
|
|
#toast-container {
|
|
min-width: 96%;
|
|
bottom: auto;
|
|
}
|
|
|
|
#song-title {
|
|
width: 100vw;
|
|
bottom: 149px;
|
|
}
|
|
}
|