mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
244 lines
4.9 KiB
CSS
Executable File
244 lines
4.9 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;
|
||
}
|
||
|
||
nav .zbrand{
|
||
display: inline;
|
||
position: relative;
|
||
}
|
||
|
||
.fullwidth{
|
||
width:100%;
|
||
}
|
||
|
||
.highlighted{
|
||
font-weight: 300;
|
||
}
|
||
|
||
.invisible{
|
||
opacity: 0;
|
||
}
|
||
|
||
.clickable, .modal-trigger{cursor:pointer;}
|
||
|
||
.cardbg{
|
||
background-repeat: no-repeat;
|
||
background-size: 124%;
|
||
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%;
|
||
|
||
}
|
||
|
||
|
||
/*
|
||
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;
|
||
}
|
||
|
||
/*#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%;
|
||
position: relative;
|
||
}
|
||
|
||
|
||
.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-song{
|
||
background-color: rgba(255, 255, 255, 0.04);
|
||
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;
|
||
}
|
||
.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 **/
|
||
|
||
#settings-button{color:white !important;}
|
||
|
||
.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 label {
|
||
color:#848484;
|
||
}
|
||
|
||
.collapsible-body ul li.white-bg{
|
||
background-color:white !important;
|
||
}
|