Fix style button

This commit is contained in:
Gregoire Parant 2020-12-16 16:32:28 +01:00
parent 8bf72e1ffd
commit af89965db8
5 changed files with 33 additions and 12 deletions

View File

@ -1,9 +1,17 @@
<style> <style>
*{
font-family: 'Open Sans', sans-serif;
cursor: url('../logos/cursor_normal.png'), auto !important;
}
* a, button, select{
cursor: url('../logos/cursor_pointer.png'), pointer !important;
}
#gameMenu button { #gameMenu button {
background-color: black; background-color: black;
color: white; color: white;
border-radius: 7px; border-radius: 7px;
cursor: url('../logos/cursor_pointer.png'), pointer; padding-bottom: 4px;
min-width: 100px;
} }
#gameMenu section { #gameMenu section {
margin: 10px; margin: 10px;
@ -16,9 +24,6 @@
<section> <section>
<button id="shareButton">Share url</button> <button id="shareButton">Share url</button>
</section> </section>
<section>
<button id="sparkButton">Create map</button>
</section>
<section> <section>
<button id="changeNameButton">Edit name</button> <button id="changeNameButton">Edit name</button>
</section> </section>
@ -28,8 +33,11 @@
<section> <section>
<button id="editGameSettingsButton">Settings</button> <button id="editGameSettingsButton">Settings</button>
</section> </section>
<section>
<button id="sparkButton">Create map</button>
</section>
<section id="adminConsoleSection" hidden> <section id="adminConsoleSection" hidden>
<button id="adminConsoleButton">Admin console</button> <button id="adminConsoleButton">Admin con.</button>
</section> </section>
</main> </main>
</div> </div>

View File

@ -1,10 +1,16 @@
<style> <style>
*{
font-family: 'Open Sans', sans-serif;
cursor: url('../logos/cursor_normal.png'), auto !important;
}
* a, button, select{
cursor: url('../logos/cursor_pointer.png'), pointer !important;
}
#menuIcon button { #menuIcon button {
background-color: black; background-color: black;
color: white; color: white;
border-radius: 7px; border-radius: 7px;
cursor: url('../logos/cursor_pointer.png'), pointer; padding-bottom: 4px;
} }
#menuIcon section { #menuIcon section {
margin: 10px; margin: 10px;

View File

@ -1,4 +1,11 @@
<style> <style>
*{
font-family: 'Open Sans', sans-serif;
cursor: url('../logos/cursor_normal.png'), auto !important;
}
* a, button, select{
cursor: url('../logos/cursor_pointer.png'), pointer !important;
}
#gameQuality { #gameQuality {
background: #eceeee; background: #eceeee;
border: 1px solid #42464b; border: 1px solid #42464b;
@ -34,7 +41,6 @@
height: 30px; height: 30px;
transition: box-shadow 0.3s; transition: box-shadow 0.3s;
width: 240px; width: 240px;
cursor: url('../logos/cursor_pointer.png'), pointer;
} }
#gameQuality section { #gameQuality section {
margin: 10px; margin: 10px;
@ -44,7 +50,7 @@
background-color: black; background-color: black;
color: white; color: white;
border-radius: 7px; border-radius: 7px;
cursor: url('../logos/cursor_pointer.png'), pointer; padding-bottom: 4px;
} }
</style> </style>

View File

@ -1,9 +1,9 @@
*{ *{
font-family: 'Open Sans', sans-serif; font-family: 'Open Sans', sans-serif;
cursor: url('../logos/cursor_normal.png'), auto; cursor: url('../logos/cursor_normal.png'), auto !important;
} }
* a, button, select{ * a, button, select{
cursor: url('../logos/cursor_pointer.png'), pointer; cursor: url('../logos/cursor_pointer.png'), pointer !important;
} }
body{ body{
overflow: hidden; overflow: hidden;

1
front/dist/static/images/menu.svg vendored Normal file
View File

@ -0,0 +1 @@
<svg height="384pt" viewBox="0 -53 384 384" width="384pt" xmlns="http://www.w3.org/2000/svg"><path d="m368 154.667969h-352c-8.832031 0-16-7.167969-16-16s7.167969-16 16-16h352c8.832031 0 16 7.167969 16 16s-7.167969 16-16 16zm0 0"/><path d="m368 32h-352c-8.832031 0-16-7.167969-16-16s7.167969-16 16-16h352c8.832031 0 16 7.167969 16 16s-7.167969 16-16 16zm0 0"/><path d="m368 277.332031h-352c-8.832031 0-16-7.167969-16-16s7.167969-16 16-16h352c8.832031 0 16 7.167969 16 16s-7.167969 16-16 16zm0 0"/></svg>

After

Width:  |  Height:  |  Size: 502 B