Skip to content

Commit

Permalink
Midnight teme adaptation
Browse files Browse the repository at this point in the history
  • Loading branch information
mrilyew committed Dec 1, 2024
1 parent 67bc9c1 commit 5cda3e5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Web/static/js/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,16 +276,16 @@ u(document).on('submit', 'form', async (e) => {
return false
}

e.preventDefault()
u('#ajloader').addClass('shown')

const form = e.target
const method = form.method ?? 'get'
const url = form.action
if(form.onsubmit) {
if(form.onsubmit || url.indexOf('/settings?act=interface') != -1) {
u('#ajloader').removeClass('shown')
return false
}
e.preventDefault()

const url_object = new URL(url)
if(method == 'get' || method == 'GET') {
Expand Down
21 changes: 13 additions & 8 deletions themepacks/midnight/stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ input[type="radio"] {
border-top: #b9b9b9 1px solid !important;
}

.bigPlayer .paddingLayer .slider,
.bigPlayer .slider,
.audioEmbed .track .slider {
background: #b9b9b9 !important;
}
Expand All @@ -500,11 +500,11 @@ input[type="radio"] {
outline: 1px solid #645a86 !important;
}

.preformer {
.preformer, .trackPerformers a {
color: #b7b7b7 !important;
}

.bigPlayer .paddingLayer .trackPanel .track .timeTip {
.tip_result {
background: #b9b9b9 !important;
color: black !important;
}
Expand All @@ -518,18 +518,14 @@ input[type="radio"] {
}

.audioEntry .performer a,
.bigPlayer .paddingLayer .trackInfo a {
.bigPlayer .trackInfo a {
color: #a2a1a1 !important;
}

.musicIcon.lagged {
opacity: 49%;
}

.bigPlayer .paddingLayer .bigPlayerTip {
color: black !important;
}

.verticalGrayTabs a {
color: #bbb !important;
}
Expand All @@ -547,6 +543,15 @@ input[type="radio"] {
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/song.jpg'] {
filter: invert(100%);
Expand Down

0 comments on commit 5cda3e5

Please sign in to comment.