mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 06:11:10 +00:00
2473 lines
44 KiB
CSS
2473 lines
44 KiB
CSS
html,
|
|
body {
|
|
margin: 0px;
|
|
padding: 0px;
|
|
}
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
.transparent {
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
.no-border {
|
|
border: 0px !important;
|
|
}
|
|
|
|
.no-underline {
|
|
text-decoration: none !important;
|
|
}
|
|
/* Margins. */
|
|
.mt-0 {
|
|
margin-top: 0px;
|
|
}
|
|
|
|
.mr-0 {
|
|
margin-right: 0px;
|
|
}
|
|
|
|
.mb-0 {
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
.ml-0 {
|
|
margin-left: 0px;
|
|
}
|
|
|
|
.mt-1 {
|
|
margin-top: 1px;
|
|
}
|
|
|
|
.mr-1 {
|
|
margin-right: 1px;
|
|
}
|
|
|
|
.mb-1 {
|
|
margin-bottom: 1px;
|
|
}
|
|
|
|
.ml-1 {
|
|
margin-left: 1px;
|
|
}
|
|
|
|
.mt-2 {
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.mr-2 {
|
|
margin-right: 2px;
|
|
}
|
|
|
|
.mb-2 {
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.ml-2 {
|
|
margin-left: 2px;
|
|
}
|
|
|
|
.mt-3 {
|
|
margin-top: 3px;
|
|
}
|
|
|
|
.mr-3 {
|
|
margin-right: 3px;
|
|
}
|
|
|
|
.mb-3 {
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
.ml-3 {
|
|
margin-left: 3px;
|
|
}
|
|
|
|
.mt-4 {
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.mr-4 {
|
|
margin-right: 4px;
|
|
}
|
|
|
|
.mb-4 {
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.ml-4 {
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.mt-5 {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.mr-5 {
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.mb-5 {
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.ml-5 {
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.mt-6 {
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.mr-6 {
|
|
margin-right: 6px;
|
|
}
|
|
|
|
.mb-6 {
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.ml-6 {
|
|
margin-left: 6px;
|
|
}
|
|
|
|
.mt-7 {
|
|
margin-top: 7px;
|
|
}
|
|
|
|
.mr-7 {
|
|
margin-right: 7px;
|
|
}
|
|
|
|
.mb-7 {
|
|
margin-bottom: 7px;
|
|
}
|
|
|
|
.ml-7 {
|
|
margin-left: 7px;
|
|
}
|
|
|
|
.mt-8 {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.mr-8 {
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.mb-8 {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.ml-8 {
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.mt-9 {
|
|
margin-top: 9px;
|
|
}
|
|
|
|
.mr-9 {
|
|
margin-right: 9px;
|
|
}
|
|
|
|
.mb-9 {
|
|
margin-bottom: 9px;
|
|
}
|
|
|
|
.ml-9 {
|
|
margin-left: 9px;
|
|
}
|
|
|
|
.mt-10 {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.mr-10 {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.mb-10 {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.ml-10 {
|
|
margin-left: 10px;
|
|
}
|
|
/* Paddings. */
|
|
.pt-0 {
|
|
padding-top: 0px;
|
|
}
|
|
|
|
.pr-0 {
|
|
padding-right: 0px;
|
|
}
|
|
|
|
.pb-0 {
|
|
padding-bottom: 0px;
|
|
}
|
|
|
|
.pl-0 {
|
|
padding-left: 0px;
|
|
}
|
|
|
|
.pt-1 {
|
|
padding-top: 1px;
|
|
}
|
|
|
|
.pr-1 {
|
|
padding-right: 1px;
|
|
}
|
|
|
|
.pb-1 {
|
|
padding-bottom: 1px;
|
|
}
|
|
|
|
.pl-1 {
|
|
padding-left: 1px;
|
|
}
|
|
|
|
.pt-2 {
|
|
padding-top: 2px;
|
|
}
|
|
|
|
.pr-2 {
|
|
padding-right: 2px;
|
|
}
|
|
|
|
.pb-2 {
|
|
padding-bottom: 2px;
|
|
}
|
|
|
|
.pl-2 {
|
|
padding-left: 2px;
|
|
}
|
|
|
|
.pt-3 {
|
|
padding-top: 3px;
|
|
}
|
|
|
|
.pr-3 {
|
|
padding-right: 3px;
|
|
}
|
|
|
|
.pb-3 {
|
|
padding-bottom: 3px;
|
|
}
|
|
|
|
.pl-3 {
|
|
padding-left: 3px;
|
|
}
|
|
|
|
.pt-4 {
|
|
padding-top: 4px;
|
|
}
|
|
|
|
.pr-4 {
|
|
padding-right: 4px;
|
|
}
|
|
|
|
.pb-4 {
|
|
padding-bottom: 4px;
|
|
}
|
|
|
|
.pl-4 {
|
|
padding-left: 4px;
|
|
}
|
|
|
|
.pt-5 {
|
|
padding-top: 5px;
|
|
}
|
|
|
|
.pr-5 {
|
|
padding-right: 5px;
|
|
}
|
|
|
|
.pb-5 {
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
.pl-5 {
|
|
padding-left: 5px;
|
|
}
|
|
|
|
.pt-6 {
|
|
padding-top: 6px;
|
|
}
|
|
|
|
.pr-6 {
|
|
padding-right: 6px;
|
|
}
|
|
|
|
.pb-6 {
|
|
padding-bottom: 6px;
|
|
}
|
|
|
|
.pl-6 {
|
|
padding-left: 6px;
|
|
}
|
|
|
|
.pt-7 {
|
|
padding-top: 7px;
|
|
}
|
|
|
|
.pr-7 {
|
|
padding-right: 7px;
|
|
}
|
|
|
|
.pb-7 {
|
|
padding-bottom: 7px;
|
|
}
|
|
|
|
.pl-7 {
|
|
padding-left: 7px;
|
|
}
|
|
|
|
.pt-8 {
|
|
padding-top: 8px;
|
|
}
|
|
|
|
.pr-8 {
|
|
padding-right: 8px;
|
|
}
|
|
|
|
.pb-8 {
|
|
padding-bottom: 8px;
|
|
}
|
|
|
|
.pl-8 {
|
|
padding-left: 8px;
|
|
}
|
|
|
|
.pt-9 {
|
|
padding-top: 9px;
|
|
}
|
|
|
|
.pr-9 {
|
|
padding-right: 9px;
|
|
}
|
|
|
|
.pb-9 {
|
|
padding-bottom: 9px;
|
|
}
|
|
|
|
.pl-9 {
|
|
padding-left: 9px;
|
|
}
|
|
|
|
.pt-10 {
|
|
padding-top: 10px;
|
|
}
|
|
|
|
.pr-10 {
|
|
padding-right: 10px;
|
|
}
|
|
|
|
.pb-10 {
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.pl-10 {
|
|
padding-left: 10px;
|
|
}
|
|
/* Widths (1 to 10, then 5 by 5 until 100). */
|
|
.w-0px {
|
|
width: 0px;
|
|
}
|
|
|
|
.w-1px {
|
|
width: 1px;
|
|
}
|
|
|
|
.w-2px {
|
|
width: 2px;
|
|
}
|
|
|
|
.w-3px {
|
|
width: 3px;
|
|
}
|
|
|
|
.w-4px {
|
|
width: 4px;
|
|
}
|
|
|
|
.w-5px {
|
|
width: 5px;
|
|
}
|
|
|
|
.w-6px {
|
|
width: 6px;
|
|
}
|
|
|
|
.w-7px {
|
|
width: 7px;
|
|
}
|
|
|
|
.w-8px {
|
|
width: 8px;
|
|
}
|
|
|
|
.w-9px {
|
|
width: 9px;
|
|
}
|
|
|
|
.w-10px {
|
|
width: 10px;
|
|
}
|
|
|
|
.w-15px {
|
|
width: 15px;
|
|
}
|
|
|
|
.w-20px {
|
|
width: 20px;
|
|
}
|
|
|
|
.w-25px {
|
|
width: 25px;
|
|
}
|
|
|
|
.w-30px {
|
|
width: 30px;
|
|
}
|
|
|
|
.w-35px {
|
|
width: 35px;
|
|
}
|
|
|
|
.w-40px {
|
|
width: 40px;
|
|
}
|
|
|
|
.w-45px {
|
|
width: 45px;
|
|
}
|
|
|
|
.w-50px {
|
|
width: 50px;
|
|
}
|
|
|
|
.w-55px {
|
|
width: 55px;
|
|
}
|
|
|
|
.w-60px {
|
|
width: 60px;
|
|
}
|
|
|
|
.w-65px {
|
|
width: 65px;
|
|
}
|
|
|
|
.w-70px {
|
|
width: 70px;
|
|
}
|
|
|
|
.w-75px {
|
|
width: 75px;
|
|
}
|
|
|
|
.w-80px {
|
|
width: 80px;
|
|
}
|
|
|
|
.w-85px {
|
|
width: 85px;
|
|
}
|
|
|
|
.w-90px {
|
|
width: 90px;
|
|
}
|
|
|
|
.w-95px {
|
|
width: 95px;
|
|
}
|
|
|
|
.w-100px {
|
|
width: 100px;
|
|
}
|
|
|
|
.w-105px {
|
|
width: 105px;
|
|
}
|
|
|
|
.w-110px {
|
|
width: 110px;
|
|
}
|
|
|
|
.w-115px {
|
|
width: 115px;
|
|
}
|
|
|
|
.w-120px {
|
|
width: 120px;
|
|
}
|
|
|
|
.w-125px {
|
|
width: 125px;
|
|
}
|
|
|
|
.w-150px {
|
|
width: 150px;
|
|
}
|
|
|
|
.w-160px {
|
|
width: 160px;
|
|
}
|
|
|
|
.w-170px {
|
|
width: 170px;
|
|
}
|
|
|
|
.w-180px {
|
|
width: 180px;
|
|
}
|
|
|
|
.w-190px {
|
|
width: 190px;
|
|
}
|
|
|
|
.w-200px {
|
|
width: 200px;
|
|
}
|
|
|
|
.w-210px {
|
|
width: 210px;
|
|
}
|
|
|
|
.w-220px {
|
|
width: 220px;
|
|
}
|
|
|
|
.w-230px {
|
|
width: 230px;
|
|
}
|
|
|
|
.w-240px {
|
|
width: 240px;
|
|
}
|
|
|
|
.w-250px {
|
|
width: 250px;
|
|
}
|
|
|
|
/* Heights (1 to 10, then 5 by 5 until 100). */
|
|
.h-0px {
|
|
height: 0px;
|
|
}
|
|
|
|
.h-1px {
|
|
height: 1px;
|
|
}
|
|
|
|
.h-2px {
|
|
height: 2px;
|
|
}
|
|
|
|
.h-3px {
|
|
height: 3px;
|
|
}
|
|
|
|
.h-4px {
|
|
height: 4px;
|
|
}
|
|
|
|
.h-5px {
|
|
height: 5px;
|
|
}
|
|
|
|
.h-6px {
|
|
height: 6px;
|
|
}
|
|
|
|
.h-7px {
|
|
height: 7px;
|
|
}
|
|
|
|
.h-8px {
|
|
height: 8px;
|
|
}
|
|
|
|
.h-9px {
|
|
height: 9px;
|
|
}
|
|
|
|
.h-10px {
|
|
height: 10px;
|
|
}
|
|
|
|
.h-11px {
|
|
height: 11px;
|
|
}
|
|
|
|
.h-12px {
|
|
height: 12px;
|
|
}
|
|
|
|
.h-13px {
|
|
height: 13px;
|
|
}
|
|
|
|
.h-14px {
|
|
height: 14px;
|
|
}
|
|
|
|
.h-15px {
|
|
height: 15px;
|
|
}
|
|
|
|
.h-16px {
|
|
height: 16px;
|
|
}
|
|
|
|
.h-17px {
|
|
height: 17px;
|
|
}
|
|
|
|
.h-18px {
|
|
height: 18px;
|
|
}
|
|
|
|
.h-19px {
|
|
height: 19px;
|
|
}
|
|
|
|
.h-20px {
|
|
height: 20px;
|
|
}
|
|
|
|
.h-21px {
|
|
height: 21px;
|
|
}
|
|
|
|
.h-22px {
|
|
height: 22px;
|
|
}
|
|
|
|
.h-23px {
|
|
height: 23px;
|
|
}
|
|
|
|
.h-24px {
|
|
height: 24px;
|
|
}
|
|
|
|
.h-25px {
|
|
height: 25px;
|
|
}
|
|
|
|
.h-30px {
|
|
height: 30px;
|
|
}
|
|
|
|
.h-35px {
|
|
height: 35px;
|
|
}
|
|
|
|
.h-40px {
|
|
height: 40px;
|
|
}
|
|
|
|
.h-45px {
|
|
height: 45px;
|
|
}
|
|
|
|
.h-50px {
|
|
height: 50px;
|
|
}
|
|
|
|
.h-55px {
|
|
height: 55px;
|
|
}
|
|
|
|
.h-60px {
|
|
height: 60px;
|
|
}
|
|
|
|
.h-65px {
|
|
height: 65px;
|
|
}
|
|
|
|
.h-70px {
|
|
height: 70px;
|
|
}
|
|
|
|
.h-75px {
|
|
height: 75px;
|
|
}
|
|
|
|
.h-80px {
|
|
height: 80px;
|
|
}
|
|
|
|
.h-85px {
|
|
height: 85px;
|
|
}
|
|
|
|
.h-90px {
|
|
height: 90px;
|
|
}
|
|
|
|
.h-95px {
|
|
height: 95px;
|
|
}
|
|
|
|
.h-100px {
|
|
height: 100px;
|
|
}
|
|
|
|
.h-105px {
|
|
height: 105px;
|
|
}
|
|
|
|
.h-110px {
|
|
height: 110px;
|
|
}
|
|
|
|
.h-115px {
|
|
height: 115px;
|
|
}
|
|
|
|
.h-120px {
|
|
height: 120px;
|
|
}
|
|
|
|
.h-125px {
|
|
height: 125px;
|
|
}
|
|
|
|
.h-150px {
|
|
height: 150px;
|
|
}
|
|
|
|
.h-160px {
|
|
height: 160px;
|
|
}
|
|
|
|
.h-170px {
|
|
height: 170px;
|
|
}
|
|
|
|
.h-180px {
|
|
height: 180px;
|
|
}
|
|
|
|
.h-190px {
|
|
height: 190px;
|
|
}
|
|
|
|
.h-200px {
|
|
height: 200px;
|
|
}
|
|
|
|
.h-210px {
|
|
height: 210px;
|
|
}
|
|
|
|
.h-220px {
|
|
height: 220px;
|
|
}
|
|
|
|
.h-230px {
|
|
height: 230px;
|
|
}
|
|
|
|
.h-240px {
|
|
height: 240px;
|
|
}
|
|
|
|
.h-250px {
|
|
height: 250px;
|
|
}
|
|
|
|
/* Widths percentage. */
|
|
.w-1 {
|
|
width: 1%;
|
|
}
|
|
|
|
.w-2 {
|
|
width: 2%;
|
|
}
|
|
|
|
.w-3 {
|
|
width: 3%;
|
|
}
|
|
|
|
.w-4 {
|
|
width: 4%;
|
|
}
|
|
|
|
.w-5 {
|
|
width: 5%;
|
|
}
|
|
|
|
.w-6 {
|
|
width: 6%;
|
|
}
|
|
|
|
.w-7 {
|
|
width: 7%;
|
|
}
|
|
|
|
.w-8 {
|
|
width: 8%;
|
|
}
|
|
|
|
.w-9 {
|
|
width: 9%;
|
|
}
|
|
|
|
.w-10 {
|
|
width: 10%;
|
|
}
|
|
|
|
.w-15 {
|
|
width: 15%;
|
|
}
|
|
|
|
.w-20 {
|
|
width: 20%;
|
|
}
|
|
|
|
.w-25 {
|
|
width: 25%;
|
|
}
|
|
|
|
.w-30 {
|
|
width: 30%;
|
|
}
|
|
|
|
.w-35 {
|
|
width: 35%;
|
|
}
|
|
|
|
.w-40 {
|
|
width: 40%;
|
|
}
|
|
|
|
.w-45 {
|
|
width: 45%;
|
|
}
|
|
|
|
.w-50 {
|
|
width: 50%;
|
|
}
|
|
|
|
.w-55 {
|
|
width: 55%;
|
|
}
|
|
|
|
.w-60 {
|
|
width: 60%;
|
|
}
|
|
|
|
.w-65 {
|
|
width: 65%;
|
|
}
|
|
|
|
.w-70 {
|
|
width: 70%;
|
|
}
|
|
|
|
.w-75 {
|
|
width: 75%;
|
|
}
|
|
|
|
.w-80 {
|
|
width: 80%;
|
|
}
|
|
|
|
.w-85 {
|
|
width: 85%;
|
|
}
|
|
|
|
.w-90 {
|
|
width: 90%;
|
|
}
|
|
|
|
.w-95 {
|
|
width: 95%;
|
|
}
|
|
|
|
.w-100 {
|
|
width: 100%;
|
|
}
|
|
/* Heights (1 to 10, then 5 by 5 until 100). */
|
|
.h-1 {
|
|
height: 1%;
|
|
}
|
|
|
|
.h-2 {
|
|
height: 2%;
|
|
}
|
|
|
|
.h-3 {
|
|
height: 3%;
|
|
}
|
|
|
|
.h-4 {
|
|
height: 4%;
|
|
}
|
|
|
|
.h-5 {
|
|
height: 5%;
|
|
}
|
|
|
|
.h-6 {
|
|
height: 6%;
|
|
}
|
|
|
|
.h-7 {
|
|
height: 7%;
|
|
}
|
|
|
|
.h-8 {
|
|
height: 8%;
|
|
}
|
|
|
|
.h-9 {
|
|
height: 9%;
|
|
}
|
|
|
|
.h-10 {
|
|
height: 10%;
|
|
}
|
|
|
|
.h-15 {
|
|
height: 15%;
|
|
}
|
|
|
|
.h-20 {
|
|
height: 20%;
|
|
}
|
|
|
|
.h-25 {
|
|
height: 25%;
|
|
}
|
|
|
|
.h-30 {
|
|
height: 30%;
|
|
}
|
|
|
|
.h-35 {
|
|
height: 35%;
|
|
}
|
|
|
|
.h-40 {
|
|
height: 40%;
|
|
}
|
|
|
|
.h-45 {
|
|
height: 45%;
|
|
}
|
|
|
|
.h-50 {
|
|
height: 50%;
|
|
}
|
|
|
|
.h-55 {
|
|
height: 55%;
|
|
}
|
|
|
|
.h-60 {
|
|
height: 60%;
|
|
}
|
|
|
|
.h-65 {
|
|
height: 65%;
|
|
}
|
|
|
|
.h-70 {
|
|
height: 70%;
|
|
}
|
|
|
|
.h-75 {
|
|
height: 75%;
|
|
}
|
|
|
|
.h-80 {
|
|
height: 80%;
|
|
}
|
|
|
|
.h-85 {
|
|
height: 85%;
|
|
}
|
|
|
|
.h-90 {
|
|
height: 90%;
|
|
}
|
|
|
|
.h-95 {
|
|
height: 95%;
|
|
}
|
|
|
|
.h-100 {
|
|
height: 100%;
|
|
}
|
|
.f-8 {
|
|
font-size: 8px !important;
|
|
}
|
|
|
|
.f-9 {
|
|
font-size: 9px !important;
|
|
}
|
|
|
|
.f-10 {
|
|
font-size: 10px !important;
|
|
}
|
|
|
|
.f-11 {
|
|
font-size: 11px !important;
|
|
}
|
|
|
|
.f-12 {
|
|
font-size: 12px !important;
|
|
}
|
|
|
|
.f-14 {
|
|
font-size: 14px !important;
|
|
}
|
|
|
|
.f-16 {
|
|
font-size: 16px !important;
|
|
}
|
|
|
|
.f-18 {
|
|
font-size: 18px !important;
|
|
}
|
|
|
|
.f-20 {
|
|
font-size: 20px !important;
|
|
}
|
|
|
|
.f-22 {
|
|
font-size: 22px !important;
|
|
}
|
|
|
|
.f-24 {
|
|
font-size: 24px !important;
|
|
}
|
|
.bold {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.italic {
|
|
font-style: italic;
|
|
}
|
|
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
.block {
|
|
display: block !important;
|
|
}
|
|
|
|
.inline {
|
|
display: inline !important;
|
|
}
|
|
|
|
.inline-block {
|
|
display: inline-block !important;
|
|
}
|
|
.mx-auto {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.text-start {
|
|
text-align: left;
|
|
}
|
|
|
|
.text-end {
|
|
text-align: right;
|
|
}
|
|
|
|
.text-center {
|
|
text-align: center;
|
|
}
|
|
|
|
.justify-start {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.justify-center {
|
|
justify-content: center;
|
|
}
|
|
|
|
.justify-end {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.v-align-t {
|
|
vertical-align: top;
|
|
}
|
|
|
|
.v-align-m {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.v-align-b {
|
|
vertical-align: bottom;
|
|
}
|
|
|
|
.h-align-l {
|
|
margin-right: auto !important;
|
|
}
|
|
|
|
.h-align-m {
|
|
margin-left: auto !important;
|
|
margin-right: auto !important;
|
|
}
|
|
|
|
.h-align-r {
|
|
margin-left: auto !important;
|
|
}
|
|
|
|
/* Book reader. */
|
|
.reader-root {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.reader-toolbar {
|
|
flex: 0 0 auto;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px;
|
|
border-bottom: 1px solid var(--color-border, #444);
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.reader-toolbar #reader-title {
|
|
margin-left: 10px;
|
|
font-size: 1.1rem;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.reader-toc {
|
|
flex: 0 0 auto;
|
|
max-height: 40%;
|
|
overflow: auto;
|
|
padding: 10px 20px;
|
|
border-bottom: 1px solid var(--color-border, #444);
|
|
}
|
|
|
|
.reader-toc ul {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding-left: 16px;
|
|
}
|
|
|
|
.reader-toc > ul {
|
|
padding-left: 0;
|
|
}
|
|
|
|
.reader-toc a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
display: block;
|
|
padding: 2px 0;
|
|
}
|
|
|
|
.reader-content {
|
|
flex: 1 1 auto;
|
|
overflow-y: auto;
|
|
padding: 24px 32px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.reader-content img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
.reader-content p {
|
|
margin: 0 0 1em;
|
|
}
|
|
|
|
/* Music album track list. */
|
|
.tracks-table {
|
|
table-layout: fixed;
|
|
}
|
|
|
|
.tracks-table .track-number-column {
|
|
width: 44px;
|
|
}
|
|
|
|
.tracks-table .track-duration-column {
|
|
width: 64px;
|
|
}
|
|
|
|
.tracks-table .track-play-column,
|
|
.tracks-table .track-favorite-column,
|
|
.tracks-table .track-actions-column {
|
|
width: 40px;
|
|
}
|
|
|
|
.tracks-table .track-play-cell,
|
|
.tracks-table .track-favorite-cell,
|
|
.tracks-table .track-actions-cell {
|
|
width: 40px;
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
/* The play control of an album track row stays a small square, so its column cannot widen the table. */
|
|
.track-play-button {
|
|
width: 24px;
|
|
min-width: 24px;
|
|
height: 24px;
|
|
padding: 0;
|
|
line-height: 1;
|
|
}
|
|
|
|
/* The card actions menu, reused by the actions menu of an album track row. */
|
|
.card-actions-trigger {
|
|
position: absolute;
|
|
right: 2px;
|
|
bottom: 28px;
|
|
width: 22px;
|
|
height: 22px;
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
color: #6DCBFE;
|
|
border: 1px solid #777777;
|
|
border-bottom-color: #000000;
|
|
border-right-color: #000000;
|
|
background: linear-gradient(to bottom, #505050 0%, #464646 35%, #404040 55%, #363636 100%);
|
|
font-size: 16px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.card-actions-trigger::after {
|
|
content: '\22EE';
|
|
}
|
|
|
|
.media-card:hover .card-actions-trigger,
|
|
.media-card.open .card-actions-trigger {
|
|
display: flex;
|
|
}
|
|
|
|
.card-actions-trigger:hover {
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
/* The track row places the same trigger inline and always visible, instead of on a media card. */
|
|
.track-actions-cell .card-actions-trigger {
|
|
position: static;
|
|
display: flex;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* The favorite heart of a media card: the box of the actions trigger, placed immediately on its left. The global favorites script writes the state attributes. */
|
|
.card-favorite-toggle {
|
|
position: absolute;
|
|
right: 28px;
|
|
bottom: 28px;
|
|
width: 22px;
|
|
height: 22px;
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
color: #6DCBFE;
|
|
border: 1px solid #777777;
|
|
border-bottom-color: #000000;
|
|
border-right-color: #000000;
|
|
background: linear-gradient(to bottom, #505050 0%, #464646 35%, #404040 55%, #363636 100%);
|
|
font-size: 16px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.card-favorite-toggle::after {
|
|
content: '\2665';
|
|
}
|
|
|
|
.media-card:hover .card-favorite-toggle,
|
|
.media-card.open .card-favorite-toggle,
|
|
.media-card:focus-within .card-favorite-toggle {
|
|
display: flex;
|
|
}
|
|
|
|
.card-favorite-toggle:hover {
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
.card-favorite-toggle[aria-pressed="true"],
|
|
.card-favorite-toggle.is-favorite {
|
|
color: #FF5D5D;
|
|
}
|
|
|
|
.card-favorite-toggle[data-favorite-state="loading"] {
|
|
opacity: 0.5;
|
|
cursor: progress;
|
|
}
|
|
|
|
.card-favorite-toggle[data-favorite-state="failed"] {
|
|
border-color: #FF5D5D;
|
|
}
|
|
|
|
/* A card without an actions trigger, like the cards of the favorites page, gives its place to the heart. The heart is the
|
|
only action of such a card, so it is always visible: a touch screen has no hover to reveal it, and a display: none control cannot be reached with the keyboard. */
|
|
.media-card:not(:has(.card-actions-trigger)) > .card-favorite-toggle {
|
|
right: 2px;
|
|
display: flex;
|
|
}
|
|
|
|
/* The track row places the same heart inline and always visible, instead of on a media card. */
|
|
.track-favorite-cell .card-favorite-toggle {
|
|
position: static;
|
|
display: flex;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* The hearts of a playlist row and of a player queue item are inline actions, so they are always visible and never take the position of a card heart. */
|
|
.playlist-entry-favorite.card-favorite-toggle,
|
|
.audio-player-queue-item-actions .card-favorite-toggle {
|
|
position: static;
|
|
display: flex;
|
|
flex: 0 0 auto;
|
|
margin: 0;
|
|
}
|
|
|
|
/* The add-to-playlist action of a playlist row is compact, because it sits in a row that already carries the playback, reordering and removal controls. */
|
|
.playlist-entry-add-to-playlist {
|
|
width: 22px;
|
|
min-width: 22px;
|
|
height: 22px;
|
|
padding: 0;
|
|
line-height: 1;
|
|
}
|
|
|
|
.card-actions-menu {
|
|
display: none;
|
|
position: fixed;
|
|
z-index: 901;
|
|
min-width: 150px;
|
|
background: #4F4F4F;
|
|
border: 1px solid #777777;
|
|
border-bottom-color: #000000;
|
|
border-right-color: #000000;
|
|
padding: 4px;
|
|
margin: 0;
|
|
list-style-type: none;
|
|
}
|
|
|
|
.media-card.open .card-actions-menu,
|
|
.card-actions-menu.open {
|
|
display: block;
|
|
}
|
|
|
|
.card-actions-menu a {
|
|
display: block;
|
|
padding: 3px 10px;
|
|
text-decoration: none;
|
|
cursor: default;
|
|
color: #6DCBFE;
|
|
background: #232323;
|
|
border-left: 1px solid #000000;
|
|
border-right: 1px solid #777777;
|
|
user-select: none;
|
|
}
|
|
|
|
.card-actions-menu a:first-child {
|
|
border-top: 1px solid #000000;
|
|
}
|
|
|
|
.card-actions-menu a:last-child {
|
|
border-bottom: 1px solid #777777;
|
|
}
|
|
|
|
.card-actions-menu a:hover {
|
|
background: linear-gradient(to bottom, #505050 0%, #464646 35%, #404040 55%, #363636 100%);
|
|
border: 1px solid #777777;
|
|
border-right-color: #000000;
|
|
border-bottom-color: #000000;
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
.track-name-link {
|
|
text-decoration: none;
|
|
color: #E6E6E6;
|
|
}
|
|
|
|
.track-name-link:visited {
|
|
color: #9AA7B0;
|
|
}
|
|
|
|
.track-name-link:hover {
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
/* Music album artwork carousel. */
|
|
.artwork-carousel {
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: 6px;
|
|
width: 100%;
|
|
max-width: 300px;
|
|
overflow-x: auto;
|
|
padding-bottom: 4px;
|
|
}
|
|
|
|
.artwork-carousel-item {
|
|
flex: 0 0 auto;
|
|
width: 56px;
|
|
height: 56px;
|
|
padding: 0;
|
|
border: 1px solid #555555;
|
|
background-color: #00000033;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.artwork-carousel-item img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
display: block;
|
|
}
|
|
|
|
.artwork-carousel-item.selected {
|
|
border-color: #6DCBFE;
|
|
}
|
|
|
|
.artwork-carousel-item:hover {
|
|
border-color: #FFFFFF;
|
|
}
|
|
|
|
/* Audio player bar. This is the application fallback styling: the themes own the final look and layout, and the
|
|
audio player script owns the state. The container carries 'not-shown' and 'expanded'; main carries the matching
|
|
'audio-player-not-shown' and 'audio-player-bar-expanded' classes. A theme is free to replace every rule below. */
|
|
.audio-player-container {
|
|
position: fixed;
|
|
left: 0px;
|
|
right: 0px;
|
|
bottom: 0px;
|
|
z-index: 997;
|
|
display: flex;
|
|
flex-direction: column;
|
|
/* The bar stays anchored to the bottom of the viewport while the expanded area above it grows and shrinks. */
|
|
justify-content: flex-end;
|
|
height: 50px;
|
|
overflow: hidden;
|
|
background-color: #1C1C1C;
|
|
border-top: 1px solid #444444;
|
|
/* The expand and collapse duration is one value, so a theme can keep the height, fade and padding transitions in step by overriding this property on the container. */
|
|
--audio-player-expanded-duration: 0.4s;
|
|
transition: height var(--audio-player-expanded-duration) ease;
|
|
/* The VU meter palette is declared on the container so a theme overrides it on the
|
|
container or on the meter root, and every channel, segment and peak marker inherits the override. */
|
|
--audio-player-vu-normal-color: #0099FF;
|
|
--audio-player-vu-medium-color: #FFD166;
|
|
--audio-player-vu-high-color: #FF5D5D;
|
|
--audio-player-vu-inactive-color: transparent;
|
|
--audio-player-vu-peak-color: #F4F7FA;
|
|
--audio-player-vu-background-color: transparent;
|
|
}
|
|
|
|
.audio-player-container.not-shown {
|
|
height: 0px;
|
|
border-top-width: 0px;
|
|
}
|
|
|
|
/* The 'hidden' attribute keeps the bar unrendered until the audio player script takes over, so that a page load
|
|
never shows it, not even for a frame while the stylesheets settle. The script removes it once the bar is already
|
|
in its hidden state, so the removal is never visible. */
|
|
.audio-player-container[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
/* While the audio player applies its initial hidden state, its transitions, and the offset transition of the content
|
|
area, are suppressed, so that a page load never slides the bar or the content into place. The player removes the
|
|
marker once it is initialized, and later show, hide and expand transitions work normally. */
|
|
html.audio-player-initializing main,
|
|
html.audio-player-initializing .audio-player-container {
|
|
transition: none !important;
|
|
}
|
|
|
|
/* The fallback layout has no theme to position the content area, so it reserves room for the bar itself, consuming the
|
|
same classes a theme consumes on main. A themed layout positions main itself and does not carry this class. */
|
|
.application-fallback-layout main {
|
|
padding-bottom: 50px;
|
|
transition: padding-bottom 0.4s ease;
|
|
}
|
|
|
|
.application-fallback-layout main.audio-player-not-shown {
|
|
padding-bottom: 0px;
|
|
}
|
|
|
|
.audio-player-container.expanded {
|
|
height: calc(100% - 22px); /* expanded height, less the height of the menu bar */
|
|
}
|
|
|
|
.audio-player-bar {
|
|
display: flex;
|
|
flex: 0 0 auto;
|
|
align-items: center;
|
|
gap: 8px;
|
|
height: 50px;
|
|
padding: 0px 10px;
|
|
color: #E6E6E6;
|
|
}
|
|
|
|
.audio-player-cover-thumbnail {
|
|
flex: 0 0 auto;
|
|
width: 36px;
|
|
height: 36px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.audio-player-track-labels {
|
|
display: flex;
|
|
flex: 1 1 20%;
|
|
min-width: 0px;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.audio-player-track-name,
|
|
.audio-player-album-name {
|
|
min-width: 0px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.audio-player-album-name {
|
|
font-size: 11px;
|
|
color: #9AA7B0;
|
|
}
|
|
|
|
.audio-player-album-name:empty {
|
|
display: none;
|
|
}
|
|
|
|
/* VU meter. The player renders one channel per band and one segment per channel, and writes only the state and zone of
|
|
each segment and the position of each peak, so a theme restyles the whole meter from these rules or replaces them. The
|
|
colors are custom properties declared on the container, so overriding them on the container or on a theme selector is
|
|
enough to recolor every segment. The meter publishes the configured segment gap as '--audio-player-vu-segment-gap', the
|
|
segment count as '--audio-player-vu-segment-count', the channel count as '--audio-player-vu-band-count' and the peak position as '--audio-player-vu-peak-position'. */
|
|
.audio-player-vu-meter {
|
|
--audio-player-vu-cell: 3px;
|
|
--audio-player-vu-extent: 48px;
|
|
--audio-player-vu-max-cell: 4px;
|
|
--audio-player-vu-row: 1px;
|
|
--audio-player-vu-run: 8px;
|
|
flex: 0 0 auto;
|
|
display: flex;
|
|
gap: var(--audio-player-vu-segment-gap, 1px);
|
|
overflow: hidden;
|
|
background-color: var(--audio-player-vu-background-color, transparent);
|
|
}
|
|
|
|
@supports (width: round(down, 5px, 1px)) {
|
|
.audio-player-vu-meter {
|
|
--audio-player-vu-cell: max(1px, round(down, min(var(--audio-player-vu-max-cell), calc((var(--audio-player-vu-extent) - (var(--audio-player-vu-segment-count, 12) - 1) * var(--audio-player-vu-segment-gap, 1px)) / var(--audio-player-vu-segment-count, 12))), 1px));
|
|
--audio-player-vu-row: max(1px, round(down, calc((var(--audio-player-vu-extent) - (var(--audio-player-vu-band-count, 24) - 1) * var(--audio-player-vu-segment-gap, 1px)) / var(--audio-player-vu-band-count, 24)), 1px));
|
|
}
|
|
}
|
|
|
|
.audio-player-vu-meter[data-audio-player-vu-meter-orientation="vertical"] {
|
|
flex-direction: row;
|
|
width: calc(var(--audio-player-vu-band-count, 24) * var(--audio-player-vu-cell) + (var(--audio-player-vu-band-count, 24) - 1) * var(--audio-player-vu-segment-gap, 1px));
|
|
height: calc(var(--audio-player-vu-segment-count, 12) * var(--audio-player-vu-cell) + (var(--audio-player-vu-segment-count, 12) - 1) * var(--audio-player-vu-segment-gap, 1px));
|
|
}
|
|
|
|
.audio-player-vu-meter[data-audio-player-vu-meter-orientation="horizontal"] {
|
|
flex-direction: column;
|
|
width: calc(var(--audio-player-vu-segment-count, 12) * var(--audio-player-vu-run) + (var(--audio-player-vu-segment-count, 12) - 1) * var(--audio-player-vu-segment-gap, 1px));
|
|
height: calc(var(--audio-player-vu-band-count, 24) * var(--audio-player-vu-row) + (var(--audio-player-vu-band-count, 24) - 1) * var(--audio-player-vu-segment-gap, 1px));
|
|
}
|
|
|
|
.audio-player-vu-channel {
|
|
position: relative;
|
|
display: flex;
|
|
flex: 0 0 auto;
|
|
gap: var(--audio-player-vu-segment-gap, 1px);
|
|
}
|
|
|
|
.audio-player-vu-meter[data-audio-player-vu-meter-orientation="vertical"] .audio-player-vu-channel {
|
|
flex-direction: column-reverse;
|
|
width: var(--audio-player-vu-cell);
|
|
}
|
|
|
|
.audio-player-vu-meter[data-audio-player-vu-meter-orientation="horizontal"] .audio-player-vu-channel {
|
|
flex-direction: row;
|
|
height: var(--audio-player-vu-row);
|
|
}
|
|
|
|
/* A segment is inactive until the level reaches it, and it takes its zone color only while it is active. The zone is
|
|
part of the markup, so a theme can give each of the three independently. */
|
|
.audio-player-vu-segment {
|
|
flex: 0 0 auto;
|
|
background-color: var(--audio-player-vu-inactive-color, transparent);
|
|
}
|
|
|
|
.audio-player-vu-meter[data-audio-player-vu-meter-orientation="vertical"] .audio-player-vu-segment {
|
|
width: var(--audio-player-vu-cell);
|
|
height: var(--audio-player-vu-cell);
|
|
}
|
|
|
|
.audio-player-vu-meter[data-audio-player-vu-meter-orientation="horizontal"] .audio-player-vu-segment {
|
|
width: var(--audio-player-vu-run);
|
|
height: var(--audio-player-vu-row);
|
|
}
|
|
|
|
.audio-player-vu-segment[data-audio-player-vu-segment-state="active"][data-audio-player-vu-segment-zone="normal"] {
|
|
background-color: var(--audio-player-vu-normal-color, #0099FF);
|
|
}
|
|
|
|
.audio-player-vu-segment[data-audio-player-vu-segment-state="active"][data-audio-player-vu-segment-zone="medium"] {
|
|
background-color: var(--audio-player-vu-medium-color, #FFD166);
|
|
}
|
|
|
|
.audio-player-vu-segment[data-audio-player-vu-segment-state="active"][data-audio-player-vu-segment-zone="high"] {
|
|
background-color: var(--audio-player-vu-high-color, #FF5D5D);
|
|
}
|
|
|
|
/* The peak marker spans the short axis of its channel and is placed on the long axis from the custom property, so the
|
|
same markup serves both orientations: a theme only maps the property to whichever edge its own layout grows from. */
|
|
.audio-player-vu-peak {
|
|
position: absolute;
|
|
background-color: var(--audio-player-vu-peak-color, #F4F7FA);
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.audio-player-vu-peak[data-audio-player-vu-peak-state="active"] {
|
|
opacity: 1;
|
|
}
|
|
|
|
.audio-player-vu-meter[data-audio-player-vu-meter-orientation="vertical"] .audio-player-vu-peak {
|
|
left: 0px;
|
|
right: 0px;
|
|
bottom: var(--audio-player-vu-peak-position, 0%);
|
|
height: 2px;
|
|
transform: translateY(50%);
|
|
}
|
|
|
|
.audio-player-vu-meter[data-audio-player-vu-meter-orientation="horizontal"] .audio-player-vu-peak {
|
|
top: 0px;
|
|
bottom: 0px;
|
|
left: var(--audio-player-vu-peak-position, 0%);
|
|
width: 2px;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.audio-player-time {
|
|
flex: 0 0 auto;
|
|
font-size: 12px;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.audio-player-progress {
|
|
position: relative;
|
|
flex: 2 1 40%;
|
|
min-width: 40px;
|
|
height: 6px;
|
|
background-color: transparent;
|
|
cursor: pointer;
|
|
/* A touch drag is claimed by the control instead of the browser, which would otherwise cancel the gesture. */
|
|
touch-action: none;
|
|
}
|
|
|
|
/* The bar exposes three distinct states a theme can style independently: the not yet downloaded track
|
|
('audio-player-progress-undownloaded'), the downloaded but not played part ('audio-player-progress-downloaded'),
|
|
and the played part ('audio-player-progress-played'). The player publishes the start and the width of each state as
|
|
the custom properties below, and this stylesheet consumes them; a theme overrides these rules, or consumes the same
|
|
properties itself, to give each state its own look and the bar its own shape or orientation. */
|
|
.audio-player-progress-played,
|
|
.audio-player-progress-downloaded,
|
|
.audio-player-progress-undownloaded {
|
|
position: absolute;
|
|
top: 0px;
|
|
height: 100%;
|
|
}
|
|
|
|
.audio-player-progress-played {
|
|
left: var(--audio-player-progress-played-start, 0%);
|
|
width: var(--audio-player-progress-played-width, 0%);
|
|
background-color: #6DCBFE;
|
|
}
|
|
|
|
.audio-player-progress-downloaded {
|
|
left: var(--audio-player-progress-downloaded-start, 0%);
|
|
width: var(--audio-player-progress-downloaded-width, 0%);
|
|
background-color: #5A6B78;
|
|
}
|
|
|
|
.audio-player-progress-undownloaded {
|
|
left: var(--audio-player-progress-undownloaded-start, 0%);
|
|
width: var(--audio-player-progress-undownloaded-width, 100%);
|
|
background-color: #333333;
|
|
}
|
|
|
|
/* While a seek waits for the range of its target position the bar pulses, so the loading state is visible without a
|
|
separate element. A theme restyles it through the 'is-buffering' class. The pulse is a decoration, so it is dropped
|
|
when the visitor asked for reduced motion; the 'is-buffering' class and the state attribute still mark the state. */
|
|
.audio-player-progress.is-buffering {
|
|
animation: audio-player-progress-buffering 1s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes audio-player-progress-buffering {
|
|
0% {
|
|
opacity: 1;
|
|
}
|
|
|
|
50% {
|
|
opacity: 0.45;
|
|
}
|
|
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.audio-player-progress.is-buffering {
|
|
animation: none;
|
|
}
|
|
}
|
|
|
|
.audio-player-progress.is-scrubbing {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
.audio-player-volume.is-scrubbing {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
/* The queue controls hold the skip controls and the repeat toggle. They sit next to the play control, so the bar reads as one transport row. */
|
|
.audio-player-queue-controls {
|
|
position: relative;
|
|
flex: 0 0 auto;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
}
|
|
|
|
/* The button class is the current hook; the play-pause and mute class names are kept as aliases so a theme that targets
|
|
those older hooks directly still gets the same box. */
|
|
.audio-player-button,
|
|
.audio-player-play-pause,
|
|
.audio-player-mute {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
padding: 0px;
|
|
background-color: transparent;
|
|
border: 0px;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.audio-player-button:disabled,
|
|
.audio-player-button.is-disabled,
|
|
.audio-player-play-pause:disabled,
|
|
.audio-player-play-pause.is-disabled,
|
|
.audio-player-mute:disabled,
|
|
.audio-player-mute.is-disabled {
|
|
opacity: 0.4;
|
|
cursor: default;
|
|
}
|
|
|
|
/* The favorite toggle of the condensed bar is icon only, with no rectangle of its own: it reuses the transparent box of a transport button, and the stylesheet draws the heart. */
|
|
.audio-player-favorite[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
.audio-player-favorite-icon {
|
|
display: block;
|
|
font-size: 16px;
|
|
line-height: 1;
|
|
color: #E6E6E6;
|
|
}
|
|
|
|
.audio-player-favorite-icon::after {
|
|
content: '\2665';
|
|
}
|
|
|
|
.audio-player-favorite:hover .audio-player-favorite-icon {
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
.audio-player-favorite.is-favorite .audio-player-favorite-icon {
|
|
color: #FF5D5D;
|
|
}
|
|
|
|
.audio-player-favorite[data-favorite-state="loading"] {
|
|
opacity: 0.5;
|
|
cursor: progress;
|
|
}
|
|
|
|
/* The skip icons are drawn with CSS, so a theme restyles them without an image. */
|
|
.audio-player-previous-icon,
|
|
.audio-player-next-icon {
|
|
display: block;
|
|
width: 0px;
|
|
height: 0px;
|
|
border-style: solid;
|
|
border-width: 5px 8px 5px 0px;
|
|
border-color: transparent #E6E6E6 transparent transparent;
|
|
}
|
|
|
|
.audio-player-previous-icon {
|
|
box-shadow: -3px 0px 0px #E6E6E6;
|
|
}
|
|
|
|
.audio-player-next-icon {
|
|
border-width: 5px 0px 5px 8px;
|
|
border-color: transparent transparent transparent #E6E6E6;
|
|
box-shadow: 3px 0px 0px #E6E6E6;
|
|
}
|
|
|
|
/* The repeat glyph is text, so a theme can replace it with its own imagery while keeping the hook. */
|
|
.audio-player-repeat-icon {
|
|
display: block;
|
|
font-size: 17px;
|
|
line-height: 1;
|
|
color: #E6E6E6;
|
|
}
|
|
|
|
.audio-player-repeat.is-active .audio-player-repeat-icon {
|
|
color: #6DCBFE;
|
|
}
|
|
|
|
.audio-player-repeat {
|
|
position: relative;
|
|
}
|
|
|
|
.audio-player-repeat-one-badge {
|
|
display: none;
|
|
position: absolute;
|
|
right: 3px;
|
|
bottom: 2px;
|
|
font-size: 9px;
|
|
line-height: 1;
|
|
color: #6DCBFE;
|
|
}
|
|
|
|
.audio-player-repeat.is-one .audio-player-repeat-one-badge {
|
|
display: block;
|
|
}
|
|
|
|
/* The play affordance is a right pointing triangle, and the pause affordance two bars, both drawn with CSS
|
|
so that a theme can restyle them without an image. */
|
|
.audio-player-play-pause-icon {
|
|
display: block;
|
|
width: 0px;
|
|
height: 0px;
|
|
border-style: solid;
|
|
border-width: 6px 0px 6px 10px;
|
|
border-color: transparent transparent transparent #E6E6E6;
|
|
}
|
|
|
|
.audio-player-play-pause.is-playing .audio-player-play-pause-icon {
|
|
width: 10px;
|
|
height: 12px;
|
|
border-width: 0px;
|
|
border-right: 3px solid #E6E6E6;
|
|
border-left: 3px solid #E6E6E6;
|
|
}
|
|
|
|
/* The stop affordance is a filled square, drawn with CSS so a theme can restyle it without an image. */
|
|
.audio-player-stop-icon {
|
|
display: block;
|
|
width: 10px;
|
|
height: 10px;
|
|
background-color: #E6E6E6;
|
|
}
|
|
|
|
.audio-player-volume-control {
|
|
flex: 0 0 auto;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
/* The speaker cone of the mute toggle is drawn with CSS, so that a theme restyles it without an image. */
|
|
.audio-player-mute-icon {
|
|
display: block;
|
|
width: 0px;
|
|
height: 0px;
|
|
border-style: solid;
|
|
border-width: 5px 8px 5px 0px;
|
|
border-color: transparent #E6E6E6 transparent transparent;
|
|
}
|
|
|
|
.audio-player-mute.is-muted .audio-player-mute-icon {
|
|
border-right-color: #8A8A8A;
|
|
}
|
|
|
|
/* The volume fill is positioned from the custom properties the player publishes, exactly like the progress bar, so a
|
|
theme restyles or reorients it without any inline geometry. touch-action is disabled on both sliders so a touch drag
|
|
is claimed by the control instead of the browser, which would otherwise cancel the gesture mid-drag. */
|
|
.audio-player-volume {
|
|
position: relative;
|
|
width: 80px;
|
|
height: 6px;
|
|
background-color: #333333;
|
|
cursor: pointer;
|
|
touch-action: none;
|
|
}
|
|
|
|
.audio-player-volume-level {
|
|
position: absolute;
|
|
top: 0px;
|
|
left: var(--audio-player-volume-start, 0%);
|
|
width: var(--audio-player-volume-width, 100%);
|
|
height: 100%;
|
|
background-color: #6DCBFE;
|
|
}
|
|
|
|
.audio-player-volume.is-muted .audio-player-volume-level {
|
|
background-color: #5A6B78;
|
|
}
|
|
|
|
.audio-player-controls {
|
|
flex: 0 0 auto;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.audio-player-controls button {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
padding: 0px;
|
|
background: none;
|
|
border: none;
|
|
color: inherit;
|
|
font: inherit;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* The expand control is a pair of chevrons: they point up while the bar is collapsed, because activating the
|
|
control expands the bar, and down while it is expanded, because activating it collapses the bar again. */
|
|
.audio-player-expand-icon {
|
|
position: relative;
|
|
display: block;
|
|
width: 12px;
|
|
height: 14px;
|
|
}
|
|
|
|
.audio-player-expand-icon::before,
|
|
.audio-player-expand-icon::after {
|
|
content: "";
|
|
position: absolute;
|
|
left: 1px;
|
|
width: 8px;
|
|
height: 8px;
|
|
border-top: 2px solid #E6E6E6;
|
|
border-left: 2px solid #E6E6E6;
|
|
transform: rotate(45deg);
|
|
}
|
|
|
|
.audio-player-expand-icon::before {
|
|
top: 0px;
|
|
}
|
|
|
|
.audio-player-expand-icon::after {
|
|
top: 5px;
|
|
}
|
|
|
|
.audio-player-container.expanded .audio-player-expand-icon::before,
|
|
.audio-player-container.expanded .audio-player-expand-icon::after {
|
|
transform: rotate(225deg);
|
|
}
|
|
|
|
/* Fallback layout only. The expanded area stays in the flex column so the condensed bar remains anchored to the bottom
|
|
while this area grows and shrinks above it. A theme can replace this with a vertical bar, a horizontal queue, an
|
|
overlay, or any other layout; the player only toggles the state classes. Its vertical padding is zero while collapsed,
|
|
because padding cannot shrink with the flex item and would otherwise push the bar out of the viewport during the
|
|
fallback collapse transition. */
|
|
.audio-player-expanded {
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
flex-direction: row;
|
|
min-height: 0px;
|
|
gap: 16px;
|
|
padding: 0px 16px;
|
|
overflow-y: auto;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
pointer-events: none;
|
|
transition:
|
|
opacity var(--audio-player-expanded-duration) ease,
|
|
visibility 0s linear var(--audio-player-expanded-duration),
|
|
padding-top var(--audio-player-expanded-duration) ease,
|
|
padding-bottom var(--audio-player-expanded-duration) ease;
|
|
}
|
|
|
|
.audio-player-container.expanded .audio-player-expanded {
|
|
padding-top: 16px;
|
|
padding-bottom: 16px;
|
|
opacity: 1;
|
|
visibility: visible;
|
|
pointer-events: auto;
|
|
transition-delay: 0s, 0s, 0s, 0s;
|
|
}
|
|
|
|
/* The expanded player presents the current track's cover, labels and stored album artwork in one column beside the queue. */
|
|
.audio-player-now-playing {
|
|
flex: 0 0 auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
width: 240px;
|
|
min-width: 0px;
|
|
}
|
|
|
|
.audio-player-cover-image {
|
|
display: block;
|
|
flex: 0 0 auto;
|
|
width: 240px;
|
|
height: 240px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.audio-player-now-playing .audio-player-cover-image {
|
|
width: 100%;
|
|
}
|
|
|
|
.audio-player-now-playing-labels {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
min-width: 0px;
|
|
}
|
|
|
|
.audio-player-now-playing-title {
|
|
min-width: 0px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: #E6E6E6;
|
|
}
|
|
|
|
.audio-player-now-playing-release-line {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 4px;
|
|
min-width: 0px;
|
|
}
|
|
|
|
.audio-player-now-playing-release,
|
|
.audio-player-now-playing-year,
|
|
.audio-player-now-playing-artist {
|
|
min-width: 0px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 12px;
|
|
color: #9AA7B0;
|
|
}
|
|
|
|
.audio-player-now-playing-release-type {
|
|
flex: 0 0 auto;
|
|
align-self: center;
|
|
padding: 1px 5px;
|
|
border: 1px solid #555555;
|
|
border-radius: 3px;
|
|
background-color: #2A2A2A;
|
|
color: #E6E6E6;
|
|
font-size: 10px;
|
|
line-height: 1.3;
|
|
letter-spacing: 0.04em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.audio-player-now-playing-release-type:empty {
|
|
display: none;
|
|
}
|
|
|
|
.audio-player-now-playing-release {
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.audio-player-now-playing-year {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.audio-player-now-playing-release:empty,
|
|
.audio-player-now-playing-year:empty,
|
|
.audio-player-now-playing-artist:empty {
|
|
display: none;
|
|
}
|
|
|
|
.audio-player-artwork-carousel {
|
|
max-width: 100%;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.audio-player-artwork-carousel[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
/* The queue area takes the flex slot of the queue itself, so the queue action row above the list never becomes a new
|
|
sibling column of the expanded layout. The queue keeps filling the remaining height inside the area. */
|
|
.audio-player-queue-area {
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
flex-direction: column;
|
|
min-width: 0px;
|
|
min-height: 0px;
|
|
}
|
|
|
|
.audio-player-queue-actions {
|
|
display: flex;
|
|
flex: 0 0 auto;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding-bottom: 8px;
|
|
}
|
|
|
|
.audio-player-queue-actions .enlightenment-combobox {
|
|
flex: 1 1 200px;
|
|
min-width: 160px;
|
|
}
|
|
|
|
.audio-player-queue-actions .enlightenment-combobox.is-disabled {
|
|
opacity: 0.6;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.audio-player-queue {
|
|
flex: 1 1 auto;
|
|
min-height: 0px;
|
|
margin: 0px;
|
|
padding: 0px;
|
|
overflow-y: auto;
|
|
list-style: none;
|
|
}
|
|
|
|
/* A queue item carries its album cover, so a queue built from a whole library shuffle stays readable when consecutive
|
|
entries come from different artists and releases. The row is slightly taller than the plain text rows it replaced. */
|
|
.audio-player-queue-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-height: 52px;
|
|
padding: 8px;
|
|
box-sizing: border-box;
|
|
border-bottom: 1px solid #333333;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.audio-player-queue-item-cover {
|
|
display: block;
|
|
flex: 0 0 auto;
|
|
width: 36px;
|
|
height: 36px;
|
|
object-fit: cover;
|
|
background-color: #333333;
|
|
}
|
|
|
|
.audio-player-queue-item.is-played .audio-player-queue-item-title {
|
|
color: #8A8A8A;
|
|
}
|
|
|
|
.audio-player-queue-item.is-current .audio-player-queue-item-title {
|
|
color: #6DCBFE;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.audio-player-queue-item:focus {
|
|
outline: 1px solid #6DCBFE;
|
|
}
|
|
|
|
.audio-player-queue-item-title {
|
|
flex: 1 1 auto;
|
|
min-width: 0px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.audio-player-queue-item-duration {
|
|
flex: 0 0 auto;
|
|
font-size: 12px;
|
|
color: #9AA7B0;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
/* The favorite and add-to-playlist actions of a queue item sit after its duration, so a queued track can be saved without starting it. A queue item without a track renders the container empty. */
|
|
.audio-player-queue-item-actions {
|
|
display: flex;
|
|
flex: 0 0 auto;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.audio-player-queue-item-actions:empty {
|
|
display: none;
|
|
}
|
|
|
|
/* The shared playlist picker of the add-to-playlist card actions. It reuses the application dialog surface on its own
|
|
overlay, so it never takes part in the queue of the global dialog service. */
|
|
.playlist-picker-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 1000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 16px;
|
|
background-color: rgba(0, 0, 0, 0.6);
|
|
}
|
|
|
|
.playlist-picker-overlay .dialog {
|
|
width: 400px;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.playlist-picker-body {
|
|
padding-top: 4px;
|
|
}
|
|
|
|
.playlist-picker-scope {
|
|
margin: 0px 0px 12px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
color: #9AA7B0;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.playlist-picker-empty {
|
|
margin: 10px 0px 0px;
|
|
color: #9AA7B0;
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* The statistics page: filters, summary tiles, breakdown tables, tag and genre bars, and the history rows. */
|
|
.statistics-page {
|
|
display: grid;
|
|
grid-template-rows: auto 1fr;
|
|
min-height: 100%;
|
|
padding: 0 2.5rem 2.5rem;
|
|
}
|
|
|
|
.statistics-user-selector {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.statistics-filters {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: flex-end;
|
|
gap: 1rem;
|
|
margin: 1.5rem 0;
|
|
}
|
|
|
|
.statistics-filter-field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.statistics-filter-buttons {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.statistics-state {
|
|
color: #9AA7B0;
|
|
text-align: center;
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
.statistics-summary {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
gap: 1rem;
|
|
margin: 1.5rem 0;
|
|
}
|
|
|
|
.statistics-summary-tile {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
padding: 12px;
|
|
border: 1px solid #777777;
|
|
border-bottom-color: #000000;
|
|
border-right-color: #000000;
|
|
background: linear-gradient(to bottom, #505050 0%, #464646 35%, #404040 55%, #363636 100%);
|
|
}
|
|
|
|
.statistics-table-wrapper {
|
|
overflow-x: auto;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.statistics-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.statistics-table th,
|
|
.statistics-table td {
|
|
padding: 8px 10px;
|
|
text-align: left;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.statistics-table th {
|
|
color: #9AA7B0;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.statistics-media-kind-badge {
|
|
display: inline-block;
|
|
padding: 2px 8px;
|
|
border: 1px solid #777777;
|
|
border-radius: 3px;
|
|
background: rgba(0, 0, 0, 0.15);
|
|
color: #d8d8d8;
|
|
font-size: 12px;
|
|
line-height: 1.4;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.statistics-terms {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
|
|
gap: 2rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.statistics-terms-column {
|
|
min-width: 0;
|
|
}
|
|
|
|
.statistics-bars {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.statistics-bar-row {
|
|
display: grid;
|
|
grid-template-columns: minmax(90px, 1fr) minmax(80px, 2fr) auto;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.statistics-term-name {
|
|
color: #d8d8d8;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.statistics-bar-track {
|
|
height: 10px;
|
|
border: 1px solid #777777;
|
|
background: rgba(0, 0, 0, 0.25);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.statistics-bar-fill {
|
|
height: 100%;
|
|
background: #8fb5c9;
|
|
}
|
|
|
|
.statistics-term-meta {
|
|
color: #9AA7B0;
|
|
font-size: 12px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.statistics-history-section {
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
.statistics-history-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.statistics-item-list {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.statistics-item-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
padding: 0.5rem 0;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.statistics-item-cover {
|
|
width: 48px;
|
|
height: 48px;
|
|
object-fit: cover;
|
|
border-radius: 4px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.statistics-item-details {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
flex-grow: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.statistics-item-title {
|
|
color: #d8d8d8;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.statistics-item-meta {
|
|
color: #9AA7B0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.statistics-item-metrics {
|
|
display: flex;
|
|
flex: 0 0 auto;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
gap: 2px;
|
|
text-align: right;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.statistics-item-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.25rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.statistics-delete-button {
|
|
white-space: nowrap;
|
|
}
|