This commit is contained in:
parent
da403503d2
commit
3bcd19fb03
16
game/game.js
16
game/game.js
|
@ -5796,10 +5796,13 @@
|
|||
game.saveConfig('low_performance',true);
|
||||
game.saveConfig('confirm_exit',true);
|
||||
game.saveConfig('touchscreen',true);
|
||||
game.saveConfig('fold_mode',true);
|
||||
game.saveConfig('fold_mode',false);
|
||||
if(ua.indexOf('ipad')==-1){
|
||||
game.saveConfig('phonelayout',true);
|
||||
}
|
||||
else if(lib.device=='ios'){
|
||||
game.saveConfig('show_statusbar_ios','overlay');
|
||||
}
|
||||
}
|
||||
else if(confirm('是否切换到触屏模式?(触屏模式可提高触屏设备的响应速度,但无法使用鼠标)')){
|
||||
game.saveConfig('touchscreen',true);
|
||||
|
@ -6243,11 +6246,9 @@
|
|||
if(lib.config.show_statusbar_ios!='off'){
|
||||
if(lib.config.show_statusbar_ios=='default'){
|
||||
window.StatusBar.overlaysWebView(false);
|
||||
ui.window.classList.remove('statusbar');
|
||||
}
|
||||
else{
|
||||
window.StatusBar.overlaysWebView(true);
|
||||
ui.window.classList.add('statusbar');
|
||||
}
|
||||
window.StatusBar.backgroundColorByName('black');
|
||||
window.StatusBar.show();
|
||||
|
@ -6312,6 +6313,11 @@
|
|||
}
|
||||
}
|
||||
game.metaZoom=zoom;
|
||||
var barHeight=Math.round(20/zoom);
|
||||
lib.init.sheet(
|
||||
'#window.statusbar{top:'+barHeight+'px;height:calc(100% - '+barHeight+'px)}',
|
||||
'#window.statusbar::before{top:-'+barHeight+'px;height:-'+barHeight+'px)}'
|
||||
);
|
||||
}
|
||||
}
|
||||
game.documentZoom=1;
|
||||
|
@ -33259,6 +33265,10 @@
|
|||
if(lib.config.blur_ui){
|
||||
ui.window.classList.add('blur_ui');
|
||||
}
|
||||
|
||||
if(lib.config.show_statusbar_ios=='overlay'){
|
||||
ui.window.classList.add('statusbar');
|
||||
}
|
||||
// var themeentry='background_color_'+lib.config.theme;
|
||||
// if(lib.config[themeentry]){
|
||||
// document.body.dataset[themeentry]=lib.config[themeentry];
|
||||
|
|
|
@ -21,7 +21,7 @@ window.noname_update={
|
|||
// 'mode/chess.js',
|
||||
// 'mode/tafang.js',
|
||||
'mode/stone.js',
|
||||
// 'theme/woodden/style.css',
|
||||
'theme/music/style.css',
|
||||
'layout/default/layout.css',
|
||||
'layout/default/phone.css',
|
||||
'layout/default/menu.css',
|
||||
|
|
|
@ -43,17 +43,16 @@ table {
|
|||
overflow: hidden
|
||||
}
|
||||
#window.statusbar {
|
||||
top: 30px;
|
||||
height: calc(100% - 30px);
|
||||
overflow: visible;
|
||||
top: 20px;
|
||||
height: calc(100% - 20px);
|
||||
}
|
||||
#window.statusbar::before{
|
||||
content:'';
|
||||
position:absolute;
|
||||
left: 0;
|
||||
top: -30px;
|
||||
top: -20px;
|
||||
width: 100%;
|
||||
height: 30px;
|
||||
height: 20px;
|
||||
background: rgba(0,0,0,0.4);
|
||||
}
|
||||
#window>.tutorial_tap {
|
||||
|
|
|
@ -15,12 +15,8 @@ html{
|
|||
background: linear-gradient(#4b4b4b, #464646) !important;
|
||||
}
|
||||
|
||||
.videonode.menubutton.extension.current>div:first-child{
|
||||
text-shadow: black 0 0 1px,rgba(255, 203, 0,1) 0 0 2px,rgba(255, 203, 0,1) 0 0 5px,rgba(255, 203, 0,1) 0 0 5px,
|
||||
rgba(255, 203, 0,1) 0 0 5px,black 0 0 1px
|
||||
}
|
||||
.videonode.menubutton.extension.current>div:first-child>div{
|
||||
text-shadow: black 0 0 2px;
|
||||
.videonode.menubutton.extension.current{
|
||||
box-shadow: rgba(0, 0, 0, 0.4) 0 0 0 1px, rgba(0, 133, 255, 0.4) 0 2px 5px, rgba(0, 133, 255, 0.5) 0 0 12px, rgba(0, 133, 255, 0.8) 0 0 15px;
|
||||
}
|
||||
body[data-background_color_music='blue'] #system>div>div,
|
||||
body[data-background_color_music='blue'] #mebg,
|
||||
|
|
Loading…
Reference in New Issue