Skip to content

Commit 1cc9400

Browse files
committed
更新2022-02-06 修正UI 增加录像(电脑可用)键位设置快捷键
1 parent 1bfa3d8 commit 1cc9400

8 files changed

+115
-54
lines changed

css/style.css

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
padding: 0px;
33
margin: 0px;
44
}
5-
65
.gba-body {
76
width: 100vw;
87
height: 100vh;
@@ -16,9 +15,11 @@
1615
left: 0px;
1716
top: 0px;
1817
z-index: 10000;
18+
touch-action: none;
1919
}
2020

2121
.gba-pic {
22+
aspect-ratio: 240/160;
2223
max-height: 100%;
2324
width: 100%;
2425
z-index: 9999;
@@ -63,8 +64,6 @@
6364
.gba-list-title {
6465
list-style: auto;
6566
font-size: 16px;
66-
margin: 5px;
67-
padding: 10px;
6867
background-color: #ffffffdc;
6968
word-break: break-all;
7069
}
@@ -77,15 +76,21 @@
7776

7877
.gba-list-title {
7978
margin: 0px;
79+
padding: 15px;
8080
width: 10px;
8181
font-size: 12px;
8282
writing-mode: vertical-lr;
8383
align-items: stretch;
84+
touch-action: none;
8485
}
8586

8687
.gba-result {
88+
margin: 0px 5px 0px 0px;
89+
padding: 10px 35px 10px 5px;
8790
flex-grow: 1;
8891
overflow: auto !important;
92+
width: calc(100% - 80px);
93+
overflow-x: hidden !important;
8994
font-size: 12px;
9095
}
9196

@@ -107,6 +112,7 @@
107112
margin: 10px 0px;
108113
font-weight: 400;
109114
color: #FFF;
115+
touch-action: none;
110116
border: #000 1px solid;
111117
}
112118

@@ -328,9 +334,21 @@
328334
background: #ffffff14;
329335
}
330336

331-
.gba-ctrl.hideui .vk {
332-
display: none !important;
337+
.gba-ctrl.hideui .vk,
338+
.gba-ctrl.hideui .gba-menu-btn{
339+
display: none;
340+
}
341+
.gba-ctrl.hideui .gba-menu-btn[data-btn="do-settings"]{
342+
display: block;
343+
position: absolute;
344+
left: 20px;
345+
top: 20px;
333346
}
347+
.gba-ctrl.hideui .gba-ctrl-menu{
348+
position: static !important;
349+
display: inline-block;
350+
}
351+
334352

335353
.vk {
336354
position: absolute;
@@ -343,6 +361,7 @@
343361
border: 1px #fff solid;
344362
border-radius: 25%;
345363
line-height: 150%;
364+
touch-action: none;
346365
}
347366

348367
.vk.active {

css/style.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)