Some small enhancements and fixes
[vchess.git] / client / src / App.vue
index b98618b..3839976 100644 (file)
@@ -28,7 +28,7 @@
                 | {{ st.user.id > 0 ? (st.user.name || "@nonymous") : "Login" }}
               #divSettings.clickable(onClick="window.doClick('modalSettings')")
                 span {{ st.tr["Settings"] }}
-                img(src="/images/settings.svg")
+                img(src="/images/icons/settings.svg")
     router-view
   .row
     .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
@@ -64,7 +64,6 @@ export default {
   },
   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;
     }
@@ -112,6 +111,9 @@ header
 .text-center
   text-align: center
 
+.bold
+  font-weight: bold
+
 .clearer
   clear: both
 
@@ -193,10 +195,14 @@ nav
     border: none
     & > label.drawer-toggle
       cursor: pointer
-      font-size: 32px
       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
 
@@ -204,9 +210,12 @@ nav
   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