This commit is contained in:
libccy 2016-04-09 12:10:03 +08:00
parent 8d91a715f9
commit cb6d86509e
3 changed files with 8 additions and 7 deletions

View File

@ -17492,6 +17492,7 @@
ui.system2=ui.create.div('#system2',ui.system); ui.system2=ui.create.div('#system2',ui.system);
ui.replay=ui.create.system('重来',game.reload,true); ui.replay=ui.create.system('重来',game.reload,true);
ui.replay.id='restartbutton';
ui.config2=ui.create.system('选项',ui.click.config); ui.config2=ui.create.system('选项',ui.click.config);
ui.pause=ui.create.system('暂停',ui.click.pause); ui.pause=ui.create.system('暂停',ui.click.pause);
ui.pause.id='pausebutton'; ui.pause.id='pausebutton';

View File

@ -82,28 +82,28 @@ table{table-layout: fixed;}
} }
#shortcut>div[data-position="1"]{ #shortcut>div[data-position="1"]{
left:calc(50% - 50px); left:calc(50% - 50px);
top: calc(50% - 200px); top: calc(50% - 190px);
} }
#shortcut.hidden>div[data-position="1"]{ #shortcut.hidden>div[data-position="1"]{
transform: scale(1) translateY(150px); transform: scale(1) translateY(150px);
} }
#shortcut>div[data-position="2"]{ #shortcut>div[data-position="2"]{
left:calc(50% + 100px); left:calc(50% + 100px);
top: calc(50% - 50px); top: calc(50% - 40px);
} }
#shortcut.hidden>div[data-position="2"]{ #shortcut.hidden>div[data-position="2"]{
transform: scale(1) translateX(-150px); transform: scale(1) translateX(-150px);
} }
#shortcut>div[data-position="3"]{ #shortcut>div[data-position="3"]{
left:calc(50% - 50px); left:calc(50% - 50px);
top: calc(50% + 100px); top: calc(50% + 110px);
} }
#shortcut.hidden>div[data-position="3"]{ #shortcut.hidden>div[data-position="3"]{
transform: scale(1) translateY(-150px); transform: scale(1) translateY(-150px);
} }
#shortcut>div[data-position="4"]{ #shortcut>div[data-position="4"]{
left:calc(50% - 200px); left:calc(50% - 200px);
top: calc(50% - 50px); top: calc(50% - 40px);
} }
#shortcut.hidden>div[data-position="4"]{ #shortcut.hidden>div[data-position="4"]{
transform: scale(1) translateX(150px); transform: scale(1) translateX(150px);

View File

@ -54,7 +54,7 @@
#system>div:not(.shown)>div{ #system>div:not(.shown)>div{
pointer-events: none; pointer-events: none;
} }
#pausebutton,#autobutton{ #pausebutton,#autobutton,#restartbutton{
display: none !important; display: none !important;
} }
/*#system1>div:first-child{ /*#system1>div:first-child{
@ -85,9 +85,9 @@
transform:scale(1.3) rotate(90deg); transform:scale(1.3) rotate(90deg);
} }
br.finish_game{ /*br.finish_game{
display: inline !important; display: inline !important;
} }*/
div:not(.shown)>div.finish_game{ div:not(.shown)>div.finish_game{
opacity: 0 !important; opacity: 0 !important;
} }