projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Draft rematch (not working yet) + fix Crazyhouse getPromotedFen()
[vchess.git]
/
client
/
src
/
App.vue
diff --git
a/client/src/App.vue
b/client/src/App.vue
index
18425c0
..
3839976
100644
(file)
--- a/
client/src/App.vue
+++ b/
client/src/App.vue
@@
-64,7
+64,6
@@
export default {
},
methods: {
hideDrawer: function(e) {
},
methods: {
hideDrawer: function(e) {
- if (e.target.innerText == "Forum") return; //external link
e.preventDefault(); //TODO: why is this needed?
document.getElementsByClassName("drawer")[0].checked = false;
}
e.preventDefault(); //TODO: why is this needed?
document.getElementsByClassName("drawer")[0].checked = false;
}
@@
-112,6
+111,9
@@
header
.text-center
text-align: center
.text-center
text-align: center
+.bold
+ font-weight: bold
+
.clearer
clear: both
.clearer
clear: both
@@
-193,10
+195,14
@@
nav
border: none
& > label.drawer-toggle
cursor: pointer
border: none
& > label.drawer-toggle
cursor: pointer
- font-size: 32px
position: absolute
position: absolute
- top: -22px
- //padding: -5px 0 0 10px
+ top: 0
+ left: 5px
+ line-height: 42px
+ height: 42px
+ padding: 0
+ & > label.drawer-toggle:before
+ font-size: 42px
& > #menuBar
z-index: 5000 //to hide currently selected piece if any
& > #menuBar
z-index: 5000 //to hide currently selected piece if any
@@
-204,9
+210,12
@@
nav
right: -767px
[type=checkbox].drawer+* .drawer-close
right: -767px
[type=checkbox].drawer+* .drawer-close
- top: -10px
- left: var(--universal-margin)
- right: 0
+ top: 0
+ left: 5px
+ padding: 0
+ height: 50px
+ width: 50px
+ line-height: 50px
[type=checkbox].drawer+* .drawer-close:before
font-size: 50px
[type=checkbox].drawer+* .drawer-close:before
font-size: 50px