mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
182 lines
4.0 KiB
CSS
Executable File
182 lines
4.0 KiB
CSS
Executable File
/*
|
|
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;
|
|
}
|
|
|
|
#fp-nav {
|
|
background-color:rgba(45,45,45,1);
|
|
}
|
|
|
|
main {
|
|
flex: 1 0 auto;
|
|
}
|
|
|
|
.fullwidth{
|
|
width:100%;
|
|
}
|
|
|
|
.highlighted{
|
|
font-weight: 300;
|
|
}
|
|
|
|
.invisible{
|
|
opacity: 0;
|
|
}
|
|
|
|
.cardbg{
|
|
background-repeat: no-repeat;
|
|
background-size: 124%;
|
|
background-position: 50% 50%;
|
|
background-color: #171717;
|
|
height: 120px;
|
|
}
|
|
|
|
.card .card-content {
|
|
padding: 10px 20px;
|
|
}
|
|
.card .card-action a {
|
|
padding: 0;
|
|
margin: 0;
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
/*
|
|
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: 100%;
|
|
transition: padding 1s ease;
|
|
}
|
|
|
|
/*#channels li{opacity: 0;}*/
|
|
|
|
/*------------------- Channel page ---------------------------------------------------------------------------- */
|
|
|
|
#searchform{
|
|
width: 50%;
|
|
margin-left: 25%;
|
|
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
#player{
|
|
height:95%;
|
|
}
|
|
|
|
.nav-btn
|
|
{
|
|
transition: background-color .2s;
|
|
min-width: 64px;
|
|
}
|
|
.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: 11%;
|
|
float: left;
|
|
}
|
|
|
|
.list-song{background-color: rgba(255, 255, 255, 0.1);}
|
|
.card .card-content{padding:0;}
|
|
.list-title{display:block; color:white;font-size:1em; text-align:left;}
|
|
.card-image{cursor:pointer}
|
|
.card{margin:5px 0 5px 0 !important;}
|
|
#result img{float:left;padding-right:20px !important;}
|
|
#result{height:100px;margin-left:40px;}
|
|
#results{margin-top:-12px;background-color: rgba(0,0,0,0.6);}
|
|
.result:hover {
|
|
background-color: rgba(0,0,0,0.4);}
|
|
.result {
|
|
border-bottom: solid 1px #E5E5E5;
|
|
text-align: left;
|
|
height: 70px;
|
|
cursor: pointer;
|
|
width:93%;
|
|
}
|
|
.result_info{margin-top:-36px;}
|
|
|
|
#settings-button{color:white !important;}
|