8 .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
10 // Left: hall, variants, problems, mygames
11 // Right: usermenu, settings
13 label.drawer-toggle(for="drawerControl")
14 input#drawerControl.drawer(type="checkbox")
15 #menuBar(@click="hideDrawer($event)")
16 label.drawer-close(for="drawerControl")
20 router-link(to="/mygames")
21 | {{ st.tr["My games"] }}
22 router-link(to="/variants")
23 | {{ st.tr["Variants"] }}
24 router-link(to="/problems")
25 | {{ st.tr["Problems"] }}
27 .clickable(onClick="window.doClick('modalUser')")
28 | {{ st.user.id > 0 ? (st.user.name || "@nonymous") : "Login" }}
29 #divSettings.clickable(onClick="window.doClick('modalSettings')")
30 span {{ st.tr["Settings"] }}
31 img(src="/images/icons/settings.svg")
34 .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
36 router-link.menuitem(to="/about") {{ st.tr["About"] }}
37 a.menuitem(href="https://discord.gg/a9ZFKBe") Discord
38 router-link.menuitem(to="/news") {{ st.tr["News"] }}
39 p.clickable(onClick="window.doClick('modalContact')")
40 | {{ st.tr["Contact"] }}
44 import ContactForm from "@/components/ContactForm.vue";
45 import Settings from "@/components/Settings.vue";
46 import UpsertUser from "@/components/UpsertUser.vue";
47 import { store } from "@/store.js";
60 hideDrawer: function(e) {
61 e.preventDefault(); //TODO: why is this needed?
62 document.getElementsByClassName("drawer")[0].checked = false;
70 font-family: "Open Sans", Arial, sans-serif
72 --a-visited-color: black
77 --fore-color: #1c1e10 //#2c3e50
78 //--back-color: #f2f2f2
79 background-image: radial-gradient(white, #e6e6ff) //lavender)
82 -webkit-font-smoothing: antialiased
83 -moz-osx-font-smoothing: grayscale
86 // 45px is footer height
87 min-height: calc(100vh - 45px)
99 justify-content: center
117 input[type="checkbox"]:focus
120 input[type=checkbox]:checked:before
136 vertical-align: middle
140 vertical-align: middle
142 @media screen and (max-width: 767px)
154 @media screen and (min-width: 768px)
160 justify-content: flex-start
162 display: inline-block
164 &.router-link-exact-active
171 justify-content: flex-end
173 display: inline-block
174 @media screen and (max-width: 767px)
180 &.router-link-exact-active
184 border-top: 1px solid darkgrey
186 @media screen and (max-width: 767px)
190 & > label.drawer-toggle
198 & > label.drawer-toggle:before
201 z-index: 5000 //to hide currently selected piece if any
203 [type="checkbox"].drawer+*
206 [type=checkbox].drawer+* .drawer-close
214 [type=checkbox].drawer+* .drawer-close:before
217 @media screen and (max-width: 767px)
220 button:not(:first-child)
221 border-left: 1px solid var(--button-group-border-color)
226 border: 1px solid #ddd
227 box-sizing: border-box
228 //background-color: #000033
234 justify-content: center
235 & > .router-link-exact-active
236 color: #42b983 !important
237 text-decoration: none
239 display: inline-block
245 text-decoration: none
247 display: inline-block
250 @media screen and (max-width: 767px)
254 // Styles for diagrams and board (partial).
255 // TODO: where to put that ?
258 background-color: #e5e5ca
261 background-color: #6f8f57
266 display: inline-block
271 padding-bottom: 12.5%
284 img.piece, img.mark-square
298 filter: brightness(50%)