Merge branch 'develop' of https://github.com/ciderapp/Cider into develop
This commit is contained in:
commit
aebbf1cd51
6 changed files with 54 additions and 7 deletions
|
@ -452,7 +452,7 @@ const app = new Vue({
|
|||
history.forward()
|
||||
},
|
||||
getHTMLStyle() {
|
||||
document.querySelector("html").style.background = "#222";
|
||||
// document.querySelector("html").style.background = "#222";
|
||||
document.querySelector("body").classList.add("notransparency")
|
||||
},
|
||||
resetState() {
|
||||
|
|
17
src/renderer/less/macos.less
Normal file
17
src/renderer/less/macos.less
Normal file
|
@ -0,0 +1,17 @@
|
|||
body[platform="darwin"] {
|
||||
html {
|
||||
background: transparent!important;
|
||||
}
|
||||
|
||||
&.notransparency::before {
|
||||
display: none;
|
||||
}
|
||||
#app {
|
||||
&.simplebg {
|
||||
background: transparent;
|
||||
}
|
||||
&::before {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -3110,5 +3110,6 @@ body[platform='darwin'] {
|
|||
}
|
||||
|
||||
|
||||
@import url("less/macos.less");
|
||||
@import url("less/linux.less");
|
||||
@import url("less/compact.less");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue