MTG button redesign
This commit is contained in:
parent
6bb2b02920
commit
690edd01b9
@ -24,8 +24,13 @@
|
|||||||
<div id="nav_menu">
|
<div id="nav_menu">
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
<div id="full" onclick="fullscreen()">
|
<div id="buttonWrapper">
|
||||||
<i class="fas fa-expand"></i>
|
<div onclick="removePlayer()" id="removePlayer" class="buttons"><i class="fas fa-minus-circle"></i></div>
|
||||||
|
<div onclick="reset()" id="reset" class="buttons"><i class="fas fa-undo-alt"></i><span class="buttonText"></span></div>
|
||||||
|
<!-- <div onclick="resetName()" id="reset" class="buttons">↻<span class="buttonText">reset name</span></div> -->
|
||||||
|
<div onclick="addPlayer()" id="addPlayer" class="buttons"><i class="fas fa-plus-circle"></i></div>
|
||||||
|
<div class="buttons"><i id="full" onclick="fullscreen()" class="fas fa-expand"></i></div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script src="/menu/menu.js"></script>
|
<script src="/menu/menu.js"></script>
|
||||||
<main>
|
<main>
|
||||||
@ -150,12 +155,7 @@
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="buttonWrapper">
|
|
||||||
<div onclick="removePlayer()" id="removePlayer" class="buttons"><i class="fas fa-minus-circle"></i></div>
|
|
||||||
<div onclick="reset()" id="reset" class="buttons"><i class="fas fa-undo-alt"></i><span class="buttonText"></span></div>
|
|
||||||
<!-- <div onclick="resetName()" id="reset" class="buttons">↻<span class="buttonText">reset name</span></div> -->
|
|
||||||
<div onclick="addPlayer()" id="addPlayer" class="buttons"><i class="fas fa-plus-circle"></i></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
|
|||||||
@ -18,10 +18,7 @@ background: radial-gradient(circle, rgba(2,0,36,1) 0%, rgba(137,137,194,1) 47%,
|
|||||||
/* align-items: center */
|
/* align-items: center */
|
||||||
}
|
}
|
||||||
#full{
|
#full{
|
||||||
position: absolute;
|
|
||||||
top: 5px;
|
|
||||||
right: 0;
|
|
||||||
z-index: 100;
|
|
||||||
color:rgb(165, 162, 162);
|
color:rgb(165, 162, 162);
|
||||||
font-size: 3rem;
|
font-size: 3rem;
|
||||||
margin-right:5px;
|
margin-right:5px;
|
||||||
@ -105,41 +102,40 @@ main {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.player {
|
.player {
|
||||||
/* padding: 20px; */
|
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
/* flex-grow: 1; */
|
|
||||||
margin: 1.5rem;
|
margin: 1.5rem;
|
||||||
gap: 0;
|
|
||||||
max-height: 300px !important;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.buttons {
|
.buttons {
|
||||||
font-size: 3em;
|
font-size: 3em;
|
||||||
line-height: 1.3em;
|
|
||||||
text-align: center;
|
|
||||||
height: 65px;
|
|
||||||
width: 100%;
|
|
||||||
font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva,
|
font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva,
|
||||||
Verdana, sans-serif;
|
Verdana, sans-serif;
|
||||||
color: #333;
|
/* color: #333; */
|
||||||
|
color:rgb(141, 140, 140);
|
||||||
|
|
||||||
text-shadow: 0 1px 0 #eee;
|
text-shadow: 0 1px 0 #eee;
|
||||||
opacity: 0.6;
|
|
||||||
background-color: #eee;
|
|
||||||
user-select: none;
|
user-select: none;
|
||||||
border-radius: 30px;
|
|
||||||
align-content: center;
|
|
||||||
}
|
}
|
||||||
#buttonWrapper {
|
#buttonWrapper {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: space-between;
|
justify-content:space-evenly;
|
||||||
width: 100%;
|
/* z-index: 100; */
|
||||||
|
width: 70%;
|
||||||
|
border-radius: 30px;
|
||||||
|
opacity: 0.6;
|
||||||
|
background-color: #eee;
|
||||||
position:absolute;
|
position:absolute;
|
||||||
bottom: 0;
|
top: 5px;
|
||||||
height:fit-content;
|
right: 0;
|
||||||
|
padding-right: 5px;
|
||||||
align-content: center;
|
align-content: center;
|
||||||
}
|
}
|
||||||
.buttonText {
|
.buttonText {
|
||||||
@ -153,14 +149,7 @@ main {
|
|||||||
z-index: 10;
|
z-index: 10;
|
||||||
/* font-size: 3rem; */
|
/* font-size: 3rem; */
|
||||||
}
|
}
|
||||||
.fiveLife::after{
|
|
||||||
content: '5';
|
|
||||||
display: inline-block;
|
|
||||||
position: absolute;
|
|
||||||
font-size: 10px;
|
|
||||||
color: #aaa;
|
|
||||||
z-index: -1;
|
|
||||||
}
|
|
||||||
.lifeUp{
|
.lifeUp{
|
||||||
color: #00cc00
|
color: #00cc00
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user