"Give up" dialog improvement
This commit is contained in:
parent
c125e9a712
commit
730d5d23fe
@ -255,7 +255,7 @@ $('#skip').click(function() {
|
|||||||
|
|
||||||
$('#giveup').click(function() {
|
$('#giveup').click(function() {
|
||||||
dialog.children(".header").html('你放棄人生了,SAD');
|
dialog.children(".header").html('你放棄人生了,SAD');
|
||||||
dialog.children(".content").html('<img src="./lose.png"><p class="result enemy name">'+eneName+'</p><p class="result player name">'+curName+'</p>');
|
dialog.children(".content").html('<div style="display: flex; justify-content: center;"><img src="./thinking.png" style="max-height: 60vh"></div>');
|
||||||
dialog.children(".actions").html('<button id="close" class="ts button">關閉視窗</button><button id="restart" class="ts primary button">重啟對戰</button><button id="returnIndex" class="ts positive button">返回主畫面</button>');
|
dialog.children(".actions").html('<button id="close" class="ts button">關閉視窗</button><button id="restart" class="ts primary button">重啟對戰</button><button id="returnIndex" class="ts positive button">返回主畫面</button>');
|
||||||
timerInitialize(); // also remember to stop the timer
|
timerInitialize(); // also remember to stop the timer
|
||||||
modalOpen();
|
modalOpen();
|
||||||
|
@ -71,7 +71,7 @@ label {
|
|||||||
max-height: 60vh;
|
max-height: 60vh;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
}
|
}
|
||||||
.modal .content img {
|
.modal .content > img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
p.result.name {
|
p.result.name {
|
||||||
|
BIN
web/thinking.png
Normal file
BIN
web/thinking.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 136 KiB |
Loading…
x
Reference in New Issue
Block a user