diff --git a/wp-content/themes/apus-theme/assets/css/theme.css b/wp-content/themes/apus-theme/assets/css/theme.css index acaf7852..3dac0f57 100644 --- a/wp-content/themes/apus-theme/assets/css/theme.css +++ b/wp-content/themes/apus-theme/assets/css/theme.css @@ -313,12 +313,14 @@ textarea { resize: vertical; } -/* Buttons */ -button, -.btn, -input[type="button"], -input[type="submit"], -input[type="reset"] { +/* Buttons + * ELIMINADO: Estas reglas globales sobrescriben Bootstrap btn-outline + * Bootstrap maneja los estilos de botones correctamente + * Solo mantener estilos para inputs que NO usan clases Bootstrap + */ +input[type="button"]:not([class*="btn"]), +input[type="submit"]:not([class*="btn"]), +input[type="reset"]:not([class*="btn"]) { display: inline-block; padding: 0.5rem 1rem; font-family: inherit; @@ -338,11 +340,9 @@ input[type="reset"] { transition: var(--transition-base); } -button:hover, -.btn:hover, -input[type="button"]:hover, -input[type="submit"]:hover, -input[type="reset"]:hover { +input[type="button"]:not([class*="btn"]):hover, +input[type="submit"]:not([class*="btn"]):hover, +input[type="reset"]:not([class*="btn"]):hover { background-color: #0b5ed7; text-decoration: none; }