better titlebar ui
This commit is contained in:
@@ -381,4 +381,71 @@ html.electron::-webkit-scrollbar-track {
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
/* Nuevo estilo para la parte derecha */
|
||||
.title-right {
|
||||
display: flex;
|
||||
height: 100%;
|
||||
align-items: center;
|
||||
-webkit-app-region: no-drag;
|
||||
gap: 0; /* Quitamos gap general para controlar mejor los botones */
|
||||
}
|
||||
|
||||
/* Botones de acción (Settings, etc) */
|
||||
.title-action-btn {
|
||||
width: 40px; /* Un poco más estrechos que los controles de ventana */
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: #a1a1aa;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.title-action-btn:hover {
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.title-action-btn svg {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
/* Contenedor del Avatar */
|
||||
.title-avatar-link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
padding: 0 10px; /* Espacio a los lados */
|
||||
cursor: pointer;
|
||||
transition: background 0.2s;
|
||||
/* Quitamos el borde por defecto de los links */
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.title-avatar-link:hover {
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
|
||||
.title-avatar-link img {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
border-radius: 50%;
|
||||
object-fit: cover;
|
||||
border: 1px solid rgba(139, 92, 246, 0.4); /* Borde morado sutil */
|
||||
}
|
||||
|
||||
/* Separador visual antes de los controles de ventana */
|
||||
.title-sep {
|
||||
width: 1px;
|
||||
height: 16px;
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
margin: 0 4px;
|
||||
}
|
||||
Reference in New Issue
Block a user