style: remodelagem menu mobile

This commit is contained in:
2025-06-26 13:19:27 -03:00
parent 52ccb7801b
commit 0911483e62
4 changed files with 89 additions and 3038 deletions

View File

@@ -43,7 +43,7 @@
}
@keyframes jump {
@keyframes jump {
0% {
transform: scale(0.0);
}
@@ -53,7 +53,7 @@
100% {
transform: scale(1);
}
}
}
@@ -76,7 +76,6 @@ input, textarea, select {
width: 95%;
max-width: 95%;
max-height: 300px;
/* padding: 8px; */
margin-top: 5px;
border-radius: 8px;
border: 1px solid #cccccc52;
@@ -93,14 +92,14 @@ input, textarea, select {
line-height: 20px;
padding: 15px 30px 15px 30px;
transition: box-shadow 0.4s;
}
}
.btn-primary:hover {
.btn-primary:hover {
box-shadow: 0px 0px 15px rgba(86, 187, 255, 0.815);
text-align: left;
line-height: 20px;
padding: 15px 30px 15px 30px;
}
}
.btn-secondary {
align-items: center;
@@ -112,14 +111,14 @@ input, textarea, select {
line-height: 20px;
padding: 15px 30px 15px 30px;
transition: box-shadow 0.4s;
}
}
.btn-secondary:hover {
.btn-secondary:hover {
box-shadow: 0px 0px 15px rgb(53, 241, 62);
text-align: left;
line-height: 20px;
padding: 15px 30px 15px 30px;
}
}
.btn-cancel {
align-items: center;
@@ -131,14 +130,14 @@ input, textarea, select {
line-height: 20px;
padding: 15px 30px 15px 30px;
transition: box-shadow 0.4s;
}
}
.btn-cancel:hover {
box-shadow: 0px 0px 15px rgba(255, 86, 86, 0.815);
text-align: left;
line-height: 20px;
padding: 15px 30px 15px 30px;
}
.btn-cancel:hover {
box-shadow: 0px 0px 15px rgba(255, 86, 86, 0.815);
text-align: left;
line-height: 20px;
padding: 15px 30px 15px 30px;
}
* {
padding: 0;
@@ -238,121 +237,54 @@ input, textarea, select {
}
.dropdown {
.dropdown {
position: relative;
display: inline-block;
color: #fff;
cursor: pointer;
transition: display 0.9s, animation 0.9s;
}
}
.dropdown-content {
.dropdown-content {
display: none;
position: absolute;
border-radius: 5px;
background-color: #313238;
min-width: 160px;
box-shadow: 0px 3px 10px #464646;
}
}
.dropdown-content a {
.dropdown-content a {
color: rgb(255, 255, 255);
padding: 12px 16px;
text-decoration: none;
display: block;
animation: jump 0.7s;
}
}
.dropdown-content a:hover {
.dropdown-content a:hover {
background-color: #7a7a7a;
border-radius: 5px;
display: block;
/* animation: jump 0.7s; */
}
}
.img-drop {
.img-drop {
width: 35px;
transition: transform 0.3s ease-in-out;
}
}
.dropdown:hover .img-drop {
.dropdown:hover .img-drop {
transform: rotate(180deg);
}
}
.dropdown:hover .dropdown-content {
display: block;
animation: jump 0.7s;
}
.navigation {
position: fixed;
bottom: 0;
width: 100%;
height: 60px;
background: var(--main-gradient);
display: none;
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: #add7ff;
.dropdown:hover .dropdown-content {
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;
animation: jump 0.7s;
}
.navigation ul li a .icon:hover {
background: #222327;
color: #fff;
transform: translateY(-10px);
}
.toast {
position: fixed;
@@ -372,12 +304,7 @@ input, textarea, select {
transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
z-index: 999 ;
}
@media screen and (max-width: 730px) {
.toast-add {
width: 90%;
}
}
.toast p {
color: #000000;
}
@@ -388,100 +315,25 @@ input, textarea, select {
}
@media screen and (max-width: 730px) {
.dropdown-content {
display: none;
margin-top: 40px;
position: relative;
border-radius: 0px;
min-width: 160px;
}
.nav-bar {
padding: 0.1rem 2rem;
}
.nav-item {
display: none;
}
.logout-button {
display: none;
}
.mobile-menu-icon {
display: block;
}
.mobile-menu-icon button {
background-color: transparent;
border: none;
cursor: pointer;
}
.mobile-menu ul {
display: flex;
flex-direction: column;
text-align: center;
padding-bottom: 1rem;
}
.mobile-menu .nav-item {
display: block;
padding-top: 1.2rem;
}
.mobile-menu .logout-button {
display: block;
justify-items: center;
justify-self: center;
padding: 1rem 2rem;
}
.mobile-menu .logout-button button {
width: 100%;
}
.open {
display: block;
transition: transform 0.2s;
}
.navigation {
display: flex;
}
}
.header-mobile {
display: none;
justify-content: space-between;
justify-content: flex-start;
align-items: center;
background-color: #171525;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
/* backdrop-filter: blur(5px); */
padding: 1rem;
padding-right: 50px;
padding-left: 10px;
border-radius: 25px;;
position: fixed;
top: 0;
width: 100%;
top: 50%;
right: 0%;
width: 55px;
height: 55px;
z-index: 9999;
}
.header-mobile .logo {
display: flex;
align-items: center;
margin-left: 25px;
}
.header-mobile .logo i {
color: #fbbf24;
font-size: 2rem;
}
.header-mobile .logo span {
font-size: 1.25rem;
font-weight: bold;
margin-left: .5rem;
}
.header-mobile .nav-toggle {
display: block;
@@ -500,10 +352,10 @@ input, textarea, select {
.header-mobile .nav-links {
max-width: 70%;
position: fixed;
top: 83px;
top: 0px;
left: -100%;
width: 100%;
height: 100vh;
height: 100%;
background-color: #222033b9;
box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);
backdrop-filter: blur(5px);
@@ -532,7 +384,7 @@ input, textarea, select {
font-size: 1.2rem;
margin: 1rem 0;
display: block;
width: 90%;
width: 100%;
text-align: center;
padding: 1rem;
transition: all 0.3s;
@@ -540,19 +392,29 @@ input, textarea, select {
.header-mobile .nav-links a:hover {
color: white;
scale: 1.1;
background-color: #373543;
box-shadow: 0 0px 10px rgba(0, 0, 0, 0.5);
scale: 1.3;
transition: all 0.3s ;
}
@media screen and (max-width: 768px) {
.background .bg1 {
max-height: 21.5%;
.toast-add {
width: 90%;
}
.dropdown-content {
display: none;
}
.header-mobile {
display: flex;
display: flex;
}
.nav-bar {
display:none;
}
body {
margin: 8px 0px 0px 0px;
}
}

File diff suppressed because it is too large Load Diff