Files
rodrigo a1beb6a2e0 Primeiro commit
Signed-off-by: Rodrigo Martins <rodrigo.sousa.577@gmail.com>
2025-01-01 21:15:15 -03:00

181 lines
2.9 KiB
CSS

.top-menu {
background: linear-gradient(to right, #2196F3, #1976D2);
padding: 10px;
display: flex;
justify-content: space-between;
align-items: center;
position: relative;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.logo {
margin-right: 20px;
width: 60px;
height: auto;
}
.logo img {
width: 50px;
height: 30px;
object-fit: cover;
}
.nav ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
}
.nav li {
margin-right: 20px;
}
.nav a {
color: #fff;
text-decoration: none;
padding: 10px;
transition: background-color 0.3s;
}
.nav a:hover {
background-color: rgba(255, 255, 255, 0.2);
border-radius: 5px;
}
.user-menu {
display: flex;
align-items: center;
position: relative;
}
.user-info {
display: flex;
align-items: center;
position: relative;
cursor: pointer;
}
.user-info span {
margin-left: 10px;
color: #fff;
}
.user-picture {
width: 40px;
height: 40px;
border-radius: 50%;
}
.user-info ul {
display: none;
position: absolute;
top: 100%;
right: 0;
background: #fff;
padding: 10px;
border: 1px solid #ddd;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
transition: opacity 0.3s ease-in-out;
z-index: 1000;
border-radius: 5px;
width: 200px;
}
.user-info ul.active {
display: block;
}
.user-info ul li {
list-style: none;
margin-bottom: 10px;
}
.user-info ul li a {
color: #333;
text-decoration: none;
display: flex;
align-items: center;
padding: 10px;
transition: background-color 0.3s;
border-radius: 5px;
}
.user-info ul li a:hover {
background-color: rgba(0, 0, 0, 0.05);
}
.user-info ul li a i {
margin-right: 10px;
}
.new-button, .search-button {
background: #2196F3;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
position: relative;
margin-left: 10px;
}
.new-menu-container, .search-bar-container {
position: relative;
}
.new-menu, .search-bar {
display: none;
position: absolute;
top: 100%;
left: 0;
background: #fff;
padding: 10px;
border: 1px solid #ddd;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
transition: opacity 0.3s ease-in-out;
width: 200px;
z-index: 1000;
border-radius: 5px;
}
.new-menu.active, .search-bar.active {
display: block;
}
.new-menu li, .search-bar ul li {
list-style: none;
margin-bottom: 10px;
}
.search-bar input {
width: calc(100% - 22px);
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
margin-bottom: 10px;
}
.search-bar button {
width: 100%;
padding: 10px;
background: #2196F3;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
}
.search-bar button:hover {
background: #1976D2;
}
@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}