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 {
background-color: black;
color: white;
border-radius: 7px;
cursor: url('../logos/cursor_pointer.png'), pointer;
padding-bottom: 4px;
min-width: 100px;
}
#gameMenu section {
margin: 10px;
@ -16,9 +24,6 @@
<section>
<button id="shareButton">Share url</button>
</section>
<section>
<button id="sparkButton">Create map</button>
</section>
<section>
<button id="changeNameButton">Edit name</button>
</section>
@ -28,8 +33,11 @@
<section>
<button id="editGameSettingsButton">Settings</button>
</section>
<section>
<button id="sparkButton">Create map</button>
</section>
<section id="adminConsoleSection" hidden>
<button id="adminConsoleButton">Admin console</button>
<button id="adminConsoleButton">Admin con.</button>
</section>
</main>
</div>

View File

@ -1,10 +1,16 @@
<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 {
background-color: black;
color: white;
border-radius: 7px;
cursor: url('../logos/cursor_pointer.png'), pointer;
padding-bottom: 4px;
}
#menuIcon section {
margin: 10px;

View File

@ -1,4 +1,11 @@
<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 {
background: #eceeee;
border: 1px solid #42464b;
@ -34,7 +41,6 @@
height: 30px;
transition: box-shadow 0.3s;
width: 240px;
cursor: url('../logos/cursor_pointer.png'), pointer;
}
#gameQuality section {
margin: 10px;
@ -44,7 +50,7 @@
background-color: black;
color: white;
border-radius: 7px;
cursor: url('../logos/cursor_pointer.png'), pointer;
padding-bottom: 4px;
}
</style>

View File

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