orchard/oldshit/resources/css/custom-stylesheet.css
2021-12-04 00:04:04 -06:00

778 lines
No EOL
16 KiB
CSS

:root {
--backButtonBar-height: 40px;
}
body[platform="Linux x86_64"],
body[platform="Linux"],
body[platform="Linux x86"],
body[platform="Linux ARM"]
{
font-family: -apple-system,BlinkMacSystemFont,"SF Pro","SF Pro Icons","Helvetica Neue",Helvetica,Arial,sans-serif;
}
/* Back Button CSS */
body[back-button] .playlist .songs-list__header-col, .room .songs-list__header-col {
top: var(--backButtonBar-height)!important;
}
#backButtonBar {
position: absolute;
width: calc(100vw - var(--web-navigation-width));
top: 0;
height: var(--backButtonBar-height);
transition: 0.2s;
background-color: transparent;
padding: 5px 10px;
z-index: 9902;
opacity: 0.95;
top: 55px;
}
#backButtonBar .button-area {
position: relative;
width: 50px;
height: 30px;
max-height: 30px;
cursor: pointer;
background-color: rgba(0, 0, 0, 0);
border-radius: 7px;
opacity: 1;
transition: 0.2s;
}
#backButtonBar .button-area:active {
background-color: var(--segmentedControlSelectedBG) !important;
backdrop-filter: saturate(0%) blur(25px) !important;
box-shadow: 0 0 0.5px var(--segmentedControlSelectedBorder),
0 3px 8px var(--segmentedControlSelectedShadow1),
0 3px 1px var(--segmentedControlSelectedShadow2);
}
#backButtonBar .button-area img:active {
opacity: 1 !important;
}
#backButtonBar .button-area img {
display: block;
margin: auto;
width: auto;
height: auto;
opacity: 0.5;
z-index: 10000;
transition: 0.2s;
}
#backButtonBar .button-area img:hover {
opacity: 1;
}
@media only screen and (max-width: 483px) {
#backButtonBar {
width: 100%;
top: 44px;
}
}
@media (prefers-color-scheme: dark) {
#backButtonBar .button-area img {
filter: brightness(0) invert(1);
}
}
/* Settings Menu CSS */
.application-preferences {
width: 100%;
height: 100%;
padding-top: 50px;
display: grid;
grid-template-rows: auto auto auto auto;
grid-template-columns: auto;
}
.app-prefs-section {
width: 100%;
height: auto;
}
.app-prefs-section .settings-list {
padding: 0 10%
}
span.app-prefs-title {
height: 10px !important;
}
.settings-list {
margin: 50px 10px 50px 10px;
}
.settings-list li {
margin: 30px 0 30px 10px;
}
.settings-list li .list-element {
position: relative;
float: right;
}
.application-preferences .app-prefs-section .header-nav-image {
width: auto;
height: 30px;
margin-right: 20px;
}
@media (prefers-color-scheme: dark) {
.application-preferences .app-prefs-section .header-nav-image {
filter: invert(100%);
}
}
.application-preferences .app-prefs-section #advanced {
transform: translateY(-2000px) translateZ(0);
visibility: hidden;
opacity: 0;
transition: opacity .3s ease 0s, transform 0s linear .9s;
position: absolute;
}
.application-preferences .app-prefs-section .revealed {
transform: translateY(0px) !important;
visibility: visible !important;
opacity: 1 !important;
transition: top 0s linear 0s, opacity .3s ease .01s !important;
position: relative !important;
}
/* Credits Section */
.app-prefs-credits {
margin-top: 20px;
}
.app-prefs-credits .dt-footer__list .dt-footer__item {
margin-top: 20px;
display: grid;
grid-template-rows: 15px auto;
grid-template-columns: auto;
}
.app-prefs-credits .dt-footer__list .dt-footer__item ul {
margin-top: 10px;
}
.app-prefs-credits .dt-footer__list {
display: flex;
max-width: 800px;
}
.app-prefs-credits .dt-footer__list .dt-footer__item .dt-footer__link {
grid-row: 1;
margin-bottom: 10px;
}
.app-prefs-credits .dt-footer__list .dt-footer__item .dt-footer__list-item {
grid-row: 2;
color: var(--systemSecondary);
margin: 5px 0;
}
.app-prefs-credits .dt-footer__list .dt-footer__item .dt-footer__list-item a {
color: var(--systemSecondary) !important;
}
/* Help */
.settings-list .app-prefs-help {
color: #808080;
margin: 0 0;
font-size: 12px;
display: block;
}
.header-nav-content .app-prefs-help {
position: relative;
float: right;
color: #808080;
display: block;
font-size: 12px;
margin-bottom: 6px;
-webkit-margin-end: 25px;
margin-inline-end: 25px;
}
.settings-list .app-prefs-divider .app-prefs-help {
font-size: 10px !important;
margin-left: 20px !important;
}
/* Divider */
.settings-list .app-prefs-divider {
margin: 0 0;
}
/* Buttons */
.settings-list li .list-button {
color: var(--systemPrimary);
padding: 5px 10px;
margin-left: 20px;
border-radius: 5px;
cursor: pointer;
font-size: 15px;
font-family: SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif;
border-color: #424245;
background-color: hsla(0, 0%, 100%, .04);
border-style: solid;
border-width: 1px;
transition: 0.7s;
}
.success {
background-color: #57F287 !important;
color: #ffffff !important;
border-color: #57F287 !important;
}
.failure {
background-color: #ED4245 !important;
color: #ffffff !important;
border-color: #ED4245 !important;
}
/*LastFM Connect Button*/
.settings-list li #lfmConnect {
background-color: #E4141E !important;
color: #ffffff !important;
border-color: #E4141E !important;
}
/* Toggle Slider */
.settings-list li .slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
-webkit-transition: 0.4s;
transition: 0.4s;
border-radius: 28px;
}
.settings-list li .slider:before {
border-radius: 50%;
position: absolute;
content: "";
height: 20px;
width: 20px;
background-color: white;
-webkit-transition: 0.4s;
transition: 0.4s;
}
.settings-list li .toggle-element {
position: relative;
display: inline-block;
width: 40px;
height: 20px;
grid-column: 3;
margin: 5px 20px 0 20px;
}
.settings-list li .toggle-element input {
opacity: 0;
width: 0;
height: 0;
}
.settings-list li .toggle-element input:checked + .slider {
background-color: var(--keyColor);
}
.settings-list li .toggle-element input:focus + .slider {
box-shadow: 0 0 1px var(--keyColor);
}
.settings-list li .toggle-element input:checked + .slider:before {
-webkit-transform: translateX(20px);
-ms-transform: translateX(20px);
transform: translateX(20px);
}
/* Dropdown */
.settings-list li .form-dropdown-select {
color: var(--systemPrimary);
border-color: #424245;
background-color: hsla(0, 0%, 100%, .04);
padding: 5px 10px;
margin: 10px 0 10px 20px;
border-radius: 5px;
font-size: 15px;
font-family: SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif;
border-style: solid;
border-width: 1px;
}
.settings-list li .form-dropdown-select option {
color: black;
}
.settings-list li .form-dropdown-select option:disabled {
color: #808080;
}
/* Artwork CSS (for miniPlayer) */
.web-chrome-playback-lcd #ember13.media-artwork-v2--downloaded::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
}
.web-chrome-playback-lcd #ember13.media-artwork-v2--downloaded:hover::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
background-image: url("ameres://icons/webui/MiniPlayer_hover.svg");
background-size: contain;
background-position: center;
z-index: 1;
pointer-events: none;
}
/* Mini Player Context Menu */
@media only screen and (max-width: 400px) {
body[data-miniplayer] #web-main > .loading-inner,
body[data-miniplayer] #backButtonBar,
body[data-miniplayer] #web-navigation-container,
body[data-miniplayer] .web-chrome {
display: none;
}
body[data-miniplayer] .menuicon {
display: none !important;
}
body[data-miniplayer] li.context-menu__option {
font-size: 12px;
min-height: auto;
}
body[data-miniplayer] .miniPlayerArtwork {
height: 100%;
width: 100%;
position: absolute;
top: 0;
left: 0;
background: black var(--musicKit-artwork) center;
background-size: cover;
z-index: 800;
}
}
/* Buttons */
#airplayButton, #lyricsButton, button[aria-label="My Account"] {
cursor: pointer;
}
/* Lyrics CSS */
:root {
--appleEase: cubic-bezier(0.42, 0, 0.58, 1);
--panel-width: 300px;
}
body {
background: black;
transition: background var(--appleEase) .10s;
}
body.no-acrylic {
background: var(--pageBG) !important;
}
.appleSidebar {
width: var(--panelWidth);
animation: 3s lyricsSlideOut forwards;
}
@keyframes lyricsSlideOut {
0% {
transform: translateX(-300px);
}
100% {
transform: translateX(0px);
}
}
#backgroundImage {
width: 100%;
height: 100%;
filter: blur(16px) saturate(180%);
background-repeat: no-repeat;
object-fit: cover;
object-position: center center;
position: absolute;
}
#lyricer {
width: 90%;
font-weight: 700;
font-family: SF Pro JP, SF Pro KR, SF Pro, "M PLUS 1p", "Hiragino Sans GB W6", Tahoma, Arial, sans-serif;
text-shadow: rgb(238, 238, 238) 0 0 1px;
color: rgb(102, 102, 102);
overflow: hidden scroll;
z-index: 2;
position: absolute;
margin-right: 20px;
margin-left: 5%;
height: 90%;
--lyricBlur: 1px;
font-size: 1.6rem;
-webkit-mask-image: -webkit-gradient(linear, left 95%, left bottom, from(rgba(0, 0, 0, 1)), to(rgba(0, 0, 0, 0)));
transition: all 1s var(--appleEase) !important;
}
#lyricer:hover {
--lyricBlur: 0px;
}
#lyricer > ul li:not(.lyricer-current-line) {
filter: blur(var(--lyricBlur));
}
#lyricer::-webkit-scrollbar {
display: none;
}
#lyricer ul {
list-style-type: none;
padding: 10px;
}
#lyricer ul li {
opacity: 0.9;
color: var(--systemQuaternary);
transform: scale(0.85);
transform-origin: left center;
margin-bottom: 14px;
-webkit-backface-visibility: hidden;
overflow: visible;
transition: all .25s var(--appleEase) !important;
}
#lyricer ul li:hover::after {
content: ' ';
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
transform: scale(1.06);
background: rgba(200, 200, 200, 0.1);
pointer-events: none;
border-radius: 10px;
-webkit-backface-visibility: hidden;
}
#lyricer .lyricer-current-line {
color: var(--systemPrimary);
/* text-shadow: rgb(169, 169, 169) 1.5px 1.5px 1.5px; */
opacity: 1;
font-weight: 700;
transform: scale(1) !important;
transform-origin: left center;
filter: blur(0px) !important;
transition: all .25s var(--appleEase) !important;
}
#lyricer ul li .lyrics-translation {
font-size: 1.3rem;
font-weight: 300;
}
.lyricWaiting {
margin-top: 8px;
display: none;
}
.lyricer-current-line .lyricWaiting {
display: inline-flex;
animation: lyricWaitingLine 6s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}
.lyricWaiting > div {
width: 10px;
height: 10px;
background: var(--systemPrimary);
border-radius: 50%;
margin: 3px;
}
@keyframes lyricWaitingLine {
0% {
opacity: 0;
transform: scale(0.85);
}
50% {
opacity: 1;
transform: scale(1);
}
100% {
opacity: 0;
transform: scale(0.85);
}
}
#unsynced {
font-weight: 600;
padding: 8px;
}
#unsynced > div > p {
margin-top: 10px;
}
#MVLyricsBox {
display: none;
font-size: 1rem;
position: absolute;
top: 80%;
text-align: center;
width: auto;
align-self: center;
left: 50%;
transform: translate(-50%, -50%);
}
.ameModal-Backdrop {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 9999;
background: rgba(0, 0, 0, 0.45);
display: flex;
justify-content: center;
align-items: center;
transition: all .25s;
}
.ameModal {
width: 80%;
height: 80%;
padding: 16px;
border-radius: 10px;
background: var(--modalBGColor);
overflow: overlay;
position: relative;
animation: ameModalIn 0.10s var(--appleEase);
will-change: opacity, transform;
box-shadow: 0 8px 40px var(--dialogShadowColor);
}
/*.ameModal::after {*/
/* content: '';*/
/* width:100%;*/
/* height:100%;*/
/* box-shadow: inset 0 0.35px 0 1px rgba(255,255,255,0.1);*/
/* overflow: hidden;*/
/* position: absolute;*/
/* top:0px;*/
/* left:0px;*/
/* border-radius: inherit;*/
/* z-index:1;*/
/* pointer-events: none;*/
/*}*/
.ameModal-closing {
animation: ameModalOut 0.10s var(--appleEase) forwards;
}
/* @media (prefers-color-scheme: light) {
.ameModal {
background: rgb(255 255 255 / 92%);
}
}
@media (prefers-color-scheme: dark) {
.ameModal {
background: rgb(31 31 31 / 85%);
}
} */
.ameUserMenu {
border-radius: 6px;
border: .5px solid rgba(0, 0, 0, .2);
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 8px 40px var(--dialogShadowColor);
animation: unset;
background-color: var(--systemStandardThickMaterialSover);
-webkit-backdrop-filter: blur(60px) saturate(210%);
backdrop-filter: blur(60px) saturate(210%);
font-size: 1.0em;
padding: 0px;
overflow: hidden;
}
@keyframes ameEQIn {
0% {
top: 46px;
right: 142px;
width: 178px;
opacity: 0;
}
100% {
top: 46px;
right: 42px;
width: 306px;
opacity: 1;
}
}
@keyframes ameModalIn {
0% {
transform: scale(0.85);
opacity: 0;
}
100% {
transform: scale(1.0);
opacity: 1;
}
}
@keyframes ameModalOut {
0% {
transform: scale(1.0);
opacity: 1;
}
100% {
transform: scale(0.85);
opacity: 0;
}
}
.ameModal-Close {
position: absolute;
top: 24px;
left: 24px;
z-index: 2;
-webkit-mask-image: url("ameres://icons/webui/close.svg");
-webkit-mask-repeat: no-repeat;
-webkit-mask-position: center;
background-color: white;
opacity: 0.75;
-webkit-mask-size: contain;
height: 18px;
width: 18px;
}
.micaBackground {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
pointer-events: none;
z-index: -1;
background: var(--user-wallpaper);
background-repeat: cover;
/*background-repeat: repeat;*/
filter: blur(180px) saturate(180%) brightness(0.25);
}
#lyrics_none {
height: 100%;
width: 100%;
text-align: center;
vertical-align: middle;
line-height: 100%;
display: flex;
align-items: center;
justify-content: center;
font-weight: 500;
font-size: 14px;
}
#lyrics_none.lyrics_none_hidden {
display: none;
height: 0;
}
/* Switch Checkbox */
input[type=checkbox][switch] {
width: 38px;
appearance: none;
border-radius: 32px;
height: 24px;
zoom: 1;
top: 0;
cursor: pointer;
left: 0;
position: relative;
transform: scale(1);
background: var(--systemGray);
mix-blend-mode: screen;
padding: 0;
margin: 0;
}
input[type=checkbox][switch]:focus,
input[type=checkbox][switch]:active {
outline: none;
}
input[type=checkbox][switch]:checked {
background: var(--keyColor);
border: 0 solid var(--keyColor);
mix-blend-mode: unset;
}
input[type=checkbox][switch]::before {
background: white;
width: 26px;
height: 26px;
top: -1px;
left: -1px;
position: absolute;
content: ' ';
border-radius: 32px;
transition: .10s left var(--appleEase);
transform: scale(.75);
}
input[type=checkbox][switch]:checked::before {
background: white;
top: -1px;
left: 13px;
transition: .10s left var(--appleEase);
transform: scale(.75);
}
input[type=checkbox][switch]:disabled::before {
opacity: .5;
}
input[type=checkbox][switch]:active::before {
left: 13px;
}
input[type=checkbox][switch]:checked:active::before {
left: -1px;
}
/* End Switch Checkbox */