9 .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
10 // Menu (top of page):
11 // Left: hall, variants, mygames, problems
12 // Right: usermenu, settings, flag
14 label.drawer-toggle(for="drawerControl")
15 input#drawerControl.drawer(type="checkbox")
17 label.drawer-close(for="drawerControl")
21 router-link(to="/variants")
22 | {{ st.tr["Variants"] }}
23 router-link(to="/mygames")
24 | {{ st.tr["My games"] }}
25 router-link(to="/problems")
26 | {{ st.tr["Problems"] }}
28 .clickable(onClick="doClick('modalUser')")
29 | {{ st.user.id > 0 ? "Update" : "Login" }}
30 .clickable(onClick="doClick('modalSettings')")
31 | {{ st.tr["Settings"] }}
32 .clickable#flagContainer(onClick="doClick('modalLang')")
33 img(v-if="!!st.lang" :src="flagImage")
36 .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
38 router-link.menuitem(to="/about") {{ st.tr["About"] }}
39 p.clickable(onClick="doClick('modalContact')")
40 | {{ st.tr["Contact"] }}
41 // TODO: add only the necessary icons to mini-css custom build
42 //script(src="//unpkg.com/feather-icons")
46 // See https://stackoverflow.com/a/35417159
47 import ContactForm from "@/components/ContactForm.vue";
48 import Language from "@/components/Language.vue";
49 import Settings from "@/components/Settings.vue";
50 import UpsertUser from "@/components/UpsertUser.vue";
51 import { store } from "./store.js";
65 flagImage: function() {
66 return `/images/flags/${this.st.lang}.svg`;
74 font-family: "Avenir", Helvetica, Arial, sans-serif
75 -webkit-font-smoothing: antialiased
76 -moz-osx-font-smoothing: grayscale
79 @media screen and (max-width: 767px)
92 justify-content: center
113 justify-content: flex-start
115 display: inline-block
117 &.router-link-exact-active
124 justify-content: flex-end
126 display: inline-block
134 // TODO: drawer, until 600px wide OK (seemingly)
135 // After, zone where left and right just go on top of another
136 // Then, on narrow screen put everything on one line
137 [type="checkbox"].drawer+*
141 //background-color: #000033
148 justify-content: center
150 display: inline-block
155 text-decoration: none
157 display: inline-block