Midnight teme adaptation

This commit is contained in:
mrilyew 2024-12-01 22:12:40 +03:00
parent 67bc9c1bcb
commit 5cda3e58be
2 changed files with 15 additions and 10 deletions

View file

@ -276,16 +276,16 @@ u(document).on('submit', 'form', async (e) => {
return false return false
} }
e.preventDefault()
u('#ajloader').addClass('shown') u('#ajloader').addClass('shown')
const form = e.target const form = e.target
const method = form.method ?? 'get' const method = form.method ?? 'get'
const url = form.action const url = form.action
if(form.onsubmit) { if(form.onsubmit || url.indexOf('/settings?act=interface') != -1) {
u('#ajloader').removeClass('shown') u('#ajloader').removeClass('shown')
return false return false
} }
e.preventDefault()
const url_object = new URL(url) const url_object = new URL(url)
if(method == 'get' || method == 'GET') { if(method == 'get' || method == 'GET') {

View file

@ -490,7 +490,7 @@ input[type="radio"] {
border-top: #b9b9b9 1px solid !important; border-top: #b9b9b9 1px solid !important;
} }
.bigPlayer .paddingLayer .slider, .bigPlayer .slider,
.audioEmbed .track .slider { .audioEmbed .track .slider {
background: #b9b9b9 !important; background: #b9b9b9 !important;
} }
@ -500,11 +500,11 @@ input[type="radio"] {
outline: 1px solid #645a86 !important; outline: 1px solid #645a86 !important;
} }
.preformer { .preformer, .trackPerformers a {
color: #b7b7b7 !important; color: #b7b7b7 !important;
} }
.bigPlayer .paddingLayer .trackPanel .track .timeTip { .tip_result {
background: #b9b9b9 !important; background: #b9b9b9 !important;
color: black !important; color: black !important;
} }
@ -518,7 +518,7 @@ input[type="radio"] {
} }
.audioEntry .performer a, .audioEntry .performer a,
.bigPlayer .paddingLayer .trackInfo a { .bigPlayer .trackInfo a {
color: #a2a1a1 !important; color: #a2a1a1 !important;
} }
@ -526,10 +526,6 @@ input[type="radio"] {
opacity: 49%; opacity: 49%;
} }
.bigPlayer .paddingLayer .bigPlayerTip {
color: black !important;
}
.verticalGrayTabs a { .verticalGrayTabs a {
color: #bbb !important; color: #bbb !important;
} }
@ -547,6 +543,15 @@ input[type="radio"] {
filter: invert(81%); filter: invert(81%);
} }
.load_bar {
background: #2c2839 !important;
border-bottom-color: #151418 !important;
}
#ajax_audio_player {
box-shadow: rgb(58 53 73) 0px 0px 2px 3px;
}
img[src$='/assets/packages/static/openvk/img/camera_200.png'], img[src$='/assets/packages/static/openvk/img/camera_200.png'],
img[src$='/assets/packages/static/openvk/img/song.jpg'] { img[src$='/assets/packages/static/openvk/img/song.jpg'] {
filter: invert(100%); filter: invert(100%);