added bootstrap-vue

This commit is contained in:
booploops 2022-03-02 23:04:20 -08:00
parent 08be08a9ff
commit 19b4e1f73c
8 changed files with 9246 additions and 5462 deletions

View file

@ -15,7 +15,15 @@ export class Store {
"update_branch": "main", "update_branch": "main",
"resumeOnStartupBehavior": "local", "resumeOnStartupBehavior": "local",
"privateEnabled": false, "privateEnabled": false,
"themeUpdateNotification": true "themeUpdateNotification": true,
"sidebarItems": {
"recentlyAdded": true,
"songs": true,
"albums": true,
"artists": true,
"videos": true,
"podcasts": true
}
}, },
"home": { "home": {
"followedArtists": [], "followedArtists": [],

2637
src/renderer/less/bootstrap-vue.min.css vendored Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

11
src/renderer/lib/bootstrap-vue.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View file

@ -2,6 +2,7 @@ import {store} from './vuex-store.js';
Vue.use(VueHorizontal); Vue.use(VueHorizontal);
Vue.use(VueObserveVisibility); Vue.use(VueObserveVisibility);
Vue.use(BootstrapVue)
const app = new Vue({ const app = new Vue({
store: store, store: store,
@ -552,6 +553,7 @@ const app = new Vue({
if (this.cfg.visual.theme != "default.less" && this.cfg.visual.theme != "") { if (this.cfg.visual.theme != "default.less" && this.cfg.visual.theme != "") {
this.setTheme(this.cfg.visual.theme) this.setTheme(this.cfg.visual.theme)
} }
this.setLz(this.cfg.general.language) this.setLz(this.cfg.general.language)
this.setLzManual() this.setLzManual()
clearTimeout(this.hangtimer) clearTimeout(this.hangtimer)

View file

@ -4,6 +4,7 @@
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+HK:wght@100;300;400;500;700;900&display=swap"); @import url("https://fonts.googleapis.com/css2?family=Noto+Sans+HK:wght@100;300;400;500;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap"); @import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap"); @import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap");
@import url("less/bootstrap-vue.min.css");
@import url("less/ameframework.less"); @import url("less/ameframework.less");
@import url("less/codicon.css"); @import url("less/codicon.css");
@import url("less/bootstrap.less"); @import url("less/bootstrap.less");
@ -2669,22 +2670,15 @@ input[type="range"].web-slider.display--small::-webkit-slider-thumb {
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
overflow: hidden; overflow: hidden;
filter: drop-shadow(0px 4px 6px rgb(0 0 0 / 70%));
.lyric-line { .lyric-line {
pointer-events: none; pointer-events: none;
font-weight: 500; font-weight: 600;
font-size: 2em; font-size: 2em;
transform-origin: center; transform-origin: center;
animation: fsLyricIn var(--appleEase) .2s; animation: fsLyricIn var(--appleEase) .2s;
opacity: 0.9; opacity: 0.9;
text-shadow: -1px -1px 0 #000,
0 -1px 0 #000,
1px -1px 0 #000,
1px 0 0 #000,
1px 1px 0 #000,
0 1px 0 #000,
-1px 1px 0 #000,
-1px 0 0 #000;
&:not(.active) { &:not(.active) {
display: none; display: none;

View file

@ -11,7 +11,7 @@
</div> </div>
<div class="menu-header-body" v-if="Object.keys(content.headerItems).length != 0"> <div class="menu-header-body" v-if="Object.keys(content.headerItems).length != 0">
<template v-for="item in content.headerItems"> <template v-for="item in content.headerItems">
<button class="menu-option-header" :class="getClasses(item)" :title="item.name" <button class="menu-option-header" :class="getClasses(item)" v-b-tooltip.hover :title="item.name"
v-if="canDisplay(item)" :style="getItemStyle(item)" @click="action(item)"> v-if="canDisplay(item)" :style="getItemStyle(item)" @click="action(item)">
<div class="sidebar-icon" style="margin: 0;" v-if="item.icon"> <div class="sidebar-icon" style="margin: 0;" v-if="item.icon">
<div class="svg-icon" :style="{'--url': 'url(' + item.icon + ')'}"></div> <div class="svg-icon" :style="{'--url': 'url(' + item.icon + ')'}"></div>

View file

@ -30,6 +30,7 @@
<script src="hlscider.js"></script> <script src="hlscider.js"></script>
<script src="./lib/jquery-3.2.1.slim.min.js"></script> <script src="./lib/jquery-3.2.1.slim.min.js"></script>
<script src="./lib/popper.min.js"></script> <script src="./lib/popper.min.js"></script>
<script src="./lib/bootstrap-vue.min.js"></script>
<script src="./lib/bootstrap.min.js"></script> <script src="./lib/bootstrap.min.js"></script>
<script src="./lib/bootbox.min.js"></script> <script src="./lib/bootbox.min.js"></script>
<script src="./lib/notyf.min.js"></script> <script src="./lib/notyf.min.js"></script>