style: botton menubar mobile

This commit is contained in:
2025-01-29 15:46:30 -03:00
parent 0534b896ad
commit a0a898caee
9 changed files with 114 additions and 7 deletions

Binary file not shown.

View File

@@ -18,10 +18,11 @@ RRB&C - Mapa de Mesas
<style> <style>
#mapa { #mapa {
justify-self: center;
width: 1400px; width: 1400px;
height: 800px; height: 800px;
border-radius: 15px; border-radius: 15px;
margin-left: 30px; margin-bottom: 20px;
background-image: url("{% static 'midia/mapMesa.webp' %}" ); background-image: url("{% static 'midia/mapMesa.webp' %}" );
background-size: cover; background-size: cover;
position: relative; position: relative;
@@ -45,7 +46,7 @@ RRB&C - Mapa de Mesas
</div> </div>
</div> </div>
<h2>Depósito</h2> <h2 style="justify-self: center;" >Depósito</h2>
<div id="drop" > <div id="drop" >
{% for mesa in mesas %} {% for mesa in mesas %}
@@ -54,6 +55,7 @@ RRB&C - Mapa de Mesas
<div <div
id="{{mesa.id}}" id="{{mesa.id}}"
class="m-card" class="m-card"
ondragend="saveLocal()" ondragend="saveLocal()"
draggable="true"> draggable="true">
<button <button

View File

@@ -97,4 +97,31 @@
<script src="{% static 'htmx_base.js' %}"></script> <script src="{% static 'htmx_base.js' %}"></script>
<script src="{% static 'base.js' %}"></script> <script src="{% static 'base.js' %}"></script>
</body> </body>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<div class="navigation">
<ul>
<li><a href="#"><span onclick="openFullscreen()" class="icon"><i class="fas fa-home"></i></span></a></li>
<li><a href="#"><span class="icon"><i class="fas fa-user"></i></span></a></li>
<li><a href="#"><span class="icon"><i class="fas fa-cog"></i></span></a></li>
<li><a href="#"><span class="icon"><i class="fas fa-envelope"></i></span></a></li>
<li><a href="#"><span class="icon"><i class="fas fa-sign-out-alt"></i></span></a></li>
</ul>
</div>
<footer>
</footer>
</html> </html>

View File

@@ -232,6 +232,78 @@ input, textarea, select {
} }
/* .p-header {
background-color: #24252a;
box-shadow: 0px 3px 10px #464646;
position: fixed;
top: 0;
width: 100%;
z-index: 100;
} */
.navigation {
position: fixed;
bottom: 0;
width: 100%;
height: 60px;
background: white;
display: flex;
justify-content: center;
align-items: center;
border-radius: 10px 10px 0px 0px;
box-shadow: 10px 0px 8px rgb(255, 255, 255);
}
.navigation ul {
width: 350px;
display: flex;
justify-content: space-around;
padding: 0;
margin: 0;
}
.navigation ul li {
list-style: none;
position: relative;
width: 70px;
height: 60px;
z-index: 2;
}
.navigation ul li a {
text-decoration: none;
color: #555;
position: relative;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
}
.navigation ul li a .icon {
position: fixed;
background: #fff;
display: block;
width: 55px;
height: 55px;
text-align: center;
line-height: 65px;
border-radius: 50%;
color: #222327;
font-size: 1.5em;
transition: 0.5s;
transition-delay: 0s;
z-index: 100;
}
.navigation ul li a .icon:hover {
background: #222327;
color: #fff;
transform: translateY(-10px);
}
/* .dropdown:hover .dropbtn {background-color: #3e8e41;} */ /* .dropdown:hover .dropbtn {background-color: #3e8e41;} */
@media screen and (max-width: 730px) { @media screen and (max-width: 730px) {

View File

@@ -22,3 +22,4 @@ function openFullscreen() {
elem.msRequestFullscreen(); elem.msRequestFullscreen();
} }
} }
// openFullscreen()

View File

@@ -2,9 +2,9 @@
0% { 0% {
transform: scale(0.0); transform: scale(0.0);
} }
70% { /* 70% {
transform: scale(1.2); transform: scale(1.2);
} } */
100% { 100% {
transform: scale(1); transform: scale(1);
} }
@@ -64,7 +64,7 @@
font-weight: bold; font-weight: bold;
color: #333; color: #333;
transition: transform 0.2s; transition: transform 0.2s;
animation: jump 0.7s; animation: jump 0.5s;
} }
.popover div { .popover div {
@@ -101,11 +101,16 @@
#drop { #drop {
display: flex; display: flex;
background-color: rgb(75, 75, 75); gap: 15px;
justify-self: center;
background: var(--main-gradient);
/* background-color: rgb(75, 75, 75); */
border-radius: 15px; border-radius: 15px;
padding: 15px; padding: 15px;
min-height: 300px; margin-bottom: 20px;
width: 80%;
max-width: 1400px; max-width: 1400px;
min-height: 300px;
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB