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

View File

@@ -97,4 +97,31 @@
<script src="{% static 'htmx_base.js' %}"></script>
<script src="{% static 'base.js' %}"></script>
</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>

View File

@@ -231,6 +231,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;} */

View File

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

View File

@@ -2,9 +2,9 @@
0% {
transform: scale(0.0);
}
70% {
/* 70% {
transform: scale(1.2);
}
} */
100% {
transform: scale(1);
}
@@ -64,7 +64,7 @@
font-weight: bold;
color: #333;
transition: transform 0.2s;
animation: jump 0.7s;
animation: jump 0.5s;
}
.popover div {
@@ -101,11 +101,16 @@
#drop {
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;
padding: 15px;
min-height: 300px;
margin-bottom: 20px;
width: 80%;
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