projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add Discord link on footer
[vchess.git]
/
client
/
src
/
App.vue
diff --git
a/client/src/App.vue
b/client/src/App.vue
index
e9ece04
..
312f324
100644
(file)
--- a/
client/src/App.vue
+++ b/
client/src/App.vue
@@
-34,6
+34,7
@@
.col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
footer
router-link.menuitem(to="/about") {{ st.tr["About"] }}
.col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
footer
router-link.menuitem(to="/about") {{ st.tr["About"] }}
+ a.menuitem(href="https://discord.gg/a9ZFKBe") Discord
router-link.menuitem(to="/news") {{ st.tr["News"] }}
p.clickable(onClick="window.doClick('modalContact')")
| {{ st.tr["Contact"] }}
router-link.menuitem(to="/news") {{ st.tr["News"] }}
p.clickable(onClick="window.doClick('modalContact')")
| {{ st.tr["Contact"] }}
@@
-64,7
+65,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
+112,9
@@
header
.text-center
text-align: center
.text-center
text-align: center
+.bold
+ font-weight: bold
+
.clearer
clear: both
.clearer
clear: both
@@
-193,11
+196,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
+212,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