Browse Source

Fix style button

pull/497/head
Gregoire Parant 10 months ago
parent
commit
af89965db8
  1. 20
      front/dist/resources/html/gameMenu.html
  2. 10
      front/dist/resources/html/gameMenuIcon.html
  3. 10
      front/dist/resources/html/gameQualityMenu.html
  4. 4
      front/dist/resources/style/style.css
  5. 1
      front/dist/static/images/menu.svg

20
front/dist/resources/html/gameMenu.html

@ -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>

10
front/dist/resources/html/gameMenuIcon.html

@ -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;

10
front/dist/resources/html/gameQualityMenu.html

@ -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>

4
front/dist/resources/style/style.css

@ -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

@ -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

Loading…
Cancel
Save