Files
zoff/static/css/style.css
Nicolas A. Tonne 901321d685 Mergers
2015-04-24 23:46:13 +02:00

554 lines
9.5 KiB
CSS
Executable File
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
1. Global styles
2. Entry page
3. Channel page
3.0 Page
3.1 Video
3.2 Playlist
3.3 Search
*/
/* GLOBAL STYLES */
body {
display: flex;
min-height: 100vh;
flex-direction: column;
}
/* global colors */
footer.page-footer,
nav, .tabs .tab a,
.side-nav .collapsible-body li.active,
.side-nav.fixed .collapsible-body li.active,
.pagination li.active{
background-color: #2D2D2D;
}
.secondary-content,
.dropdown-content li > a, .dropdown-content li > span,
.input-field .prefix.active,
input[type=text]:focus:not([readonly]) + label, input[type=password]:focus:not([readonly]) + label, input[type=email]:focus:not([readonly]) + label, input[type=url]:focus:not([readonly]) + label, input[type=time]:focus:not([readonly]) + label, input[type=date]:focus:not([readonly]) + label, input[type=datetime-local]:focus:not([readonly]) + label, input[type=tel]:focus:not([readonly]) + label, input[type=number]:focus:not([readonly]) + label, input[type=search]:focus:not([readonly]) + label, textarea.materialize-textarea:focus:not([readonly]) + label
{
color: #2D2D2D;
}
span.badge.new,
.progress .determinate,
.progress .indeterminate,
.switch label input[type=checkbox]:checked + .lever:after,
{
background-color: #2D2D2D;
}
input[type=text]:focus:not([readonly]), input[type=password]:focus:not([readonly]), input[type=email]:focus:not([readonly]), input[type=url]:focus:not([readonly]), input[type=time]:focus:not([readonly]), input[type=date]:focus:not([readonly]), input[type=datetime-local]:focus:not([readonly]), input[type=tel]:focus:not([readonly]), input[type=number]:focus:not([readonly]), input[type=search]:focus:not([readonly]), textarea.materialize-textarea:focus:not([readonly]) {
border-bottom: 1px solid #9D9D9D;
box-shadow: 0 1px 0 0 #9D9D9D;
}
/* End global colors */
nav .brand-logo{
padding-left: 20px;
position: relative;
}
#fp-nav {
background-color:rgba(45,45,45,1);
}
.footer-copyright a { color: #fff;}
.footer-copyright a:hover{color:#6699FF}
main {
flex: 1 0 auto;
}
nav .zbrand{
max-width: 22%;
min-width: 200px;
overflow: hidden;
position: relative;
font-size: 30px;
padding: 0 20px;
left: initial;
display: inline;
}
.title-container{
position: absolute;
margin-top: 64px;
width: 99%;
left: 0;
}
.navbar-fixed {
height: 128px;
}
@media only screen and (min-width: 992px){
.navbar-fixed {
height: 64px;
}
nav .zbrand {
display: inline-block;
}
.title-container{
position: initial;
margin-top: initial;
width: 65%;
width: calc(90% - 256px - 130px);
left: initial;
}
}
.fullwidth{
width:100%;
}
.highlighted{
font-weight: 300;
}
.invisible{
opacity: 0;
}
.auto-margin{
margin-left: auto !important;
margin-right: auto !important;
float: center !important;
}
.clickable, .modal-trigger{cursor:pointer;}
.cardbg{
background-repeat: no-repeat;
background-size: 124%;
background-size: cover;
background-position: 50% 50%;
background-color: #171717;
height: 120px;
}
.white-bg{
background-color:white;
}
.white-bg:hover{
background-color:white;
}
.card .card-content {
padding: 10px 20px;
}
.card .card-action a {
padding: 0;
margin: 0;
width: 100%;
}
.card-action #del {
color:white;
}
.card-action #del:hover {
color:grey;
}
.share, .shareface{
padding-left: 10px !important;
}
.shareface {background-color: rgb(42, 134, 200) !important;}
.share img{
height: 50px;
margin-right:10px;
}
/*
play mdi-av-play-arrow
pause mdi-av-pause
remove mdi-content-clear
search mdi-action-search
password mdi-communication-vpn-key
volume mdi-av-volume-up s
kip mdi-av-skip-next
shuffle mdi-av-shuffle
settings mdi-action-settings
errors mdi-alert-warning mdi-alert-error mdi-action-info
success mdi-action-done
vote mdi-action-thumb-up
hide mdi-action-visibility mdi-action-visibility-off
*/
/* INDEX PAGE */
#zicon{
height: 64px;
transition: padding 1s ease;
}
.mdi-navigation-close {
text-align:right !important;
}
.chan-name{
text-transform: capitalize;
display: inline-block;
width: 100%;
}
/*#channels li{opacity: 0;}*/
/*------------------- Channel page ---------------------------------------------------------------------------- */
#searchform{
width: 50%;
margin-left: 25%;
}
#channelpage{
background-color:#2D2D2D;
}
.main{
width: 100%;
max-width:99%;
margin: 0px;
padding:0px;
}
#nav{
background-color:rgba(255,255,255, 0.1);
}
.video-container{
height: calc(100% - 64px);
}
#playlist{
padding:0px 15px;
}
.control-list{
position: fixed;
top:0;
right:0;
}
.title-container{
padding-left: 30px;
display: inline-block;
height: 100%;
overflow: hidden;
}
.title-container li{
height: 64px;
height:100%;
width: 84%;
padding: 0 15px;
}
.search-container{
display: block;
}
.song-title{
font-size: 22px;
font-weight: 300;
}
.second-title{
width: 100%;
}
.second-title-container{
padding: 0 10%;
width: 100%;
}
#viewers{
width: initial;
padding-right: 3%;
}
#player{
height:95%;
height: calc(100% - 32px);
position: relative;
}
.chan{
padding-right:10px;
text-shadow: 4px 4px 9px rgba(0, 0, 0, 0.42);
}
.nav-btn
{
transition: background-color .2s;
min-width: 64px;
float:right;
}
.nav-btn:hover{background-color:rgba(0,0,0,0.5);}
.hover-text{display:none;}
.nav-btn:hover > .hover-text {display:inline;}
.list-image{
width: 34%;
height: 66px;
float: left;
}
.list-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: "\e684";/*"\e800";*/
color:white;
font-size:44px;
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 {
opacity:1;
}
.vote-span{
padding: 0 0 0 10px;
}
.list-song{
background-color: rgba(255, 255, 255, 0.04);
color:white;
/*height:66px;*/
}
.list-song .card-content{padding:0;}
.list-title{
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:5px 0 5px 0 !important;}
.result img{
float:left;
height: 70px;
border-radius: 3px;
margin: 15px 20px;
}
.result{height:100px;margin-left:40px;}
#results{
background-color: rgba(0,0,0,0.6);
margin-top: -27px;
max-height: 600px;
overflow: overlay;
}
.result:hover {
background-color: rgba(0,0,0,0.4);
}
.list-remove{
margin-top: 5px;
font-size: 12px;
height: 30px;
}
#del{
height: 100%;
line-height: normal;
padding-top: 8px;
}
.result {
border-bottom: solid 1px rgba(229, 229, 229, 0.5);
cursor: pointer;
width:93%;
}
.result_info{margin-top:-36px;}
/** settings **/
#settings-button{color:white !important;}
.admin-settings{
padding-right: 0 !important;
margin-right: 0 !important;
}
.close-settings{
float: right;
width: 73px;
text-align: center;
display: inline;
}
.setting-text {
font-size: 13px !important;
padding: 0 !important;
}
.switch{
display: inline;
float: right;
}
.switch label .lever {
background-color: #00B2FF;
}
.switch label input[type=checkbox]:checked + .lever {
background-color: #5ADB74;
}
.switch label input[type=checkbox]:checked + .lever:after {
background-color: white;
}
.switch input[type=checkbox][disabled] + .lever , .switch label input[type=checkbox]:checked[disabled] + .lever{
cursor: default;
background-color: #939393;
}
.switch label {
color:#848484;
}
.collapsible-body ul li.white-bg{
background-color:white !important;
}
/************** Youtube controls **************/
#controls
{
opacity:0;
height:32px;
background-color:rgba(255, 255, 255, 0.1);
width:100%;
color:white;
}
#playpause, #duration, #volume-button
{
float:left;
color:white;
}
#playpause, #volume-button
{
margin-left:10px;
}
#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;
}
#viewers{
float: right;
}
#play, #pause, #volume-button, #fullscreen
{
font-size:20px;
cursor:pointer;
}
#volume {
cursor:pointer;
float:left;
position: relative;
left: 10px;
margin: 13px auto;
height:5px;
width: 75px;
background-color:rgba(0, 0, 0, 0.5);
border: none;
outline: none;
border-radius: 2px;
}
#volume .ui-slider-range-min {
height:5px;
width: 75px;
position: absolute;
background-color:rgba(255, 255, 255, 0.8);
border: none;
outline: none;
border-radius: 2px;
}
#volume .ui-slider-handle {
height:15px;
width:5px;
background-color:white;
position: absolute;
cursor: pointer;
outline: none;
border: none;
display: none;
}
.ui-slider-handle
{
margin-top:-5px;
}
.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);
/*-webkit-transition: width 1s ease;
transition: width 1s ease;*/
}
.mdi-action-lock
{
position:absolute;
}