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
e9ece04
..
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,11
+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: 5px
- line-height: 1em
+ top: 0
+ left: 5px
+ line-height: 42px
+ height: 42px
padding: 0
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
@@
-206,14
+211,14
@@
nav
[type=checkbox].drawer+* .drawer-close
top: 0
[type=checkbox].drawer+* .drawer-close
top: 0
- left:
10
px
+ left:
5
px
padding: 0
padding: 0
- width: 42px
- height: 42px
+ 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
- line-height: 1em
@media screen and (max-width: 767px)
.button-group
@media screen and (max-width: 767px)
.button-group