swimmingArt/public/css/navbar.css

112 lines
2.2 KiB
CSS

body {
background-color: #f8f9fa;
}
.navbar {
background-color: #0d6efd;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.navbar a {
color: white !important;
transition: 0.2s ease-in-out;
}
.navbar a:hover {
color: #e6e6e6 !important;
background-color: rgba(255, 255, 255, 0.1);
border-radius: 6px;
padding: 0.3rem 0.5rem;
transform: scale(1.05);
transition: all 0.2s ease-in-out;
}
.form-section {
background: white;
padding: 2rem;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
max-width: 800px;
margin: auto;
}
.form-title {
font-weight: bold;
margin-bottom: 1.5rem;
}
/* ======== USER DROPDOWN ========= */
#userDropdown {
background-color: #0d6efd;
color: white;
border: none;
border-radius: 8px 8px 0 0;
font-weight: 500;
transition: background 0.2s;
}
#userDropdown:hover {
background-color: #0b5ed7;
}
/* Menú del dropdown azul continuo */
.dropdown-menu {
margin-top: 0;
padding: 0.75rem;
border: none;
border-radius: 0 0 8px 8px;
background-color: #0d6efd;
box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
min-width: 200px;
color: white;
}
/* Eliminar nombre superior */
.dropdown-menu strong {
display: none;
}
/* Selector de idioma estilizado */
.dropdown-menu select,
#langSelector {
width: 100%;
padding: 0.4rem 2rem 0.4rem 0.75rem;
font-size: 0.875rem;
border-radius: 6px;
background-color: white;
color: #212529;
border: none;
appearance: none;
margin-bottom: 0.75rem;
background-image: url("data:image/svg+xml,%3Csvg fill='gray' height='16' viewBox='0 0 20 20' width='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 7l5 5 5-5z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 0.6rem center;
background-size: 1rem;
box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
transition: all 0.2s ease-in-out;
}
#langSelector:hover {
background-color: #f1f1f1;
}
#langSelector:focus {
outline: none;
box-shadow: 0 0 0 0.15rem rgba(13,110,253,.25);
}
/* Botón de cerrar sesión rojo sólido */
.dropdown-menu .btn-danger {
width: 100%;
color: white;
background-color: #dc3545;
border: none;
font-weight: 500;
border-radius: 6px;
transition: background 0.2s;
}
.dropdown-menu .btn-danger:hover {
background-color: #b02a37;
}