Files
SDG-DRIFT/Ax_Shell/styles/buttons.css
T
2026-06-03 21:26:54 +02:00

158 lines
3.2 KiB
CSS

/* === Botones Base === */
#network-button,
#bluetooth-button,
#night-mode-button,
#caffeine-button {
min-height: 52px;
border-radius: 16px;
transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
/* Tamaños y estilos específicos */
#network-button,
#bluetooth-button {
background-color: unset;
padding: 0;
}
#night-mode-button,
#caffeine-button {
background-color: var(--primary);
padding: 0 10px;
}
#night-mode-button.disabled,
#caffeine-button.disabled {
background-color: var(--surface);
border-radius: 26px;
}
/* Botones internos (status y menú) */
#network-status-button,
#network-menu-button,
#bluetooth-status-button,
#bluetooth-menu-button {
background-color: var(--primary);
padding: 0 8px;
transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
#network-menu-button,
#bluetooth-menu-button {
border-left: 1px solid var(--outline);
min-width: 24px;
}
/* Estados Hover para todos los botones relevantes */
#network-status-button:hover,
#network-menu-button:hover,
#bluetooth-status-button:hover,
#bluetooth-menu-button:hover,
#bluetooth-button:hover,
#night-mode-button:hover,
#caffeine-button:hover {
background-color: var(--foreground);
}
#network-menu-button:active,
#bluetooth-menu-button:active {
border-radius: 0 26px 26px 0;
}
/* Estados Disabled */
#network-status-button.disabled,
#network-menu-button.disabled,
#bluetooth-status-button.disabled,
#bluetooth-menu-button.disabled {
background-color: var(--surface);
border-radius: 26px 0 0 26px;
}
#network-menu-button.disabled,
#bluetooth-menu-button.disabled {
border-left: 1px solid var(--surface-bright);
border-radius: 0 26px 26px 0;
}
#network-status-button.disabled:hover,
#network-menu-button.disabled:hover,
#bluetooth-status-button.disabled:hover,
#bluetooth-menu-button.disabled:hover,
#night-mode-button.disabled:hover,
#caffeine-button.disabled:hover {
background-color: var(--surface-bright);
}
/* Bordes diferenciados para botones compuestos */
#network-status-button,
#bluetooth-status-button {
border-radius: 16px 0 0 16px;
}
#network-menu-button,
#bluetooth-menu-button {
border-radius: 0 16px 16px 0;
}
/* === Estilos de Iconos === */
#network-icon,
#bluetooth-icon,
#night-mode-icon,
#caffeine-icon {
color: var(--shadow);
font-size: 24px;
}
#network-icon.disabled,
#bluetooth-icon.disabled,
#night-mode-icon.disabled,
#caffeine-icon.disabled {
color: var(--outline);
}
/* === Estilos de Etiquetas de Menú === */
#network-menu-label,
#bluetooth-menu-label {
color: var(--shadow);
font-size: 16px;
}
#network-menu-label.disabled,
#bluetooth-menu-label.disabled {
color: var(--outline);
}
/* === Estilos de Etiquetas Principales === */
#network-label,
#bluetooth-label,
#night-mode-label,
#caffeine-label {
color: var(--shadow);
font-size: 14px;
font-weight: bold;
/* margin-bottom: -4px; */
}
#network-label.disabled,
#bluetooth-label.disabled,
#night-mode-label.disabled,
#caffeine-label.disabled {
color: var(--outline);
}
/* === Estilos de Texto de Estado === */
#network-ssid,
#bluetooth-status,
#night-mode-status,
#caffeine-status {
color: var(--surface-bright);
font-size: 12px;
}
#network-ssid.disabled,
#bluetooth-status.disabled,
#night-mode-status.disabled,
#caffeine-status.disabled {
color: var(--outline);
}