fix(botones): verde en Aparto (oportunidades) y Firma Cliente (apartados)
- Aparto en Mis oportunidades: botón verde (bg-green-600) - Firma Cliente en Mis apartados: botón verde (bg-green-600) - Los demás botones mantienen su estilo actual
This commit is contained in:
@@ -305,7 +305,9 @@ function FilaOportunidad({
|
||||
type="button"
|
||||
disabled={enviando}
|
||||
onClick={() => onEtapa(f)}
|
||||
className={CLASE_BOTON_ACCION}
|
||||
className={f === 'Aparto'
|
||||
? 'rounded-lg bg-green-600 px-3 py-1.5 text-xs font-medium text-white shadow-sm transition-all duration-100 ease-out hover:bg-green-700 disabled:opacity-50'
|
||||
: CLASE_BOTON_ACCION}
|
||||
>
|
||||
{ETIQUETA_FASE_OPORTUNIDAD[f]}
|
||||
</button>
|
||||
@@ -378,11 +380,13 @@ function FilaApartado({
|
||||
className={
|
||||
fase === 'Cancelacion Apartado'
|
||||
? 'rounded-lg border border-red-200 bg-white px-3 py-1.5 text-xs font-medium text-red-600 shadow-sm transition-all duration-100 ease-out hover:bg-red-50 disabled:opacity-50 dark:bg-[#0F172A] dark:border-red-800 dark:text-red-400'
|
||||
: fase === 'Alta Enkontrol'
|
||||
? 'rounded-lg bg-accent px-3 py-1.5 text-xs font-medium text-white shadow-sm transition-all duration-100 ease-out hover:bg-accent-hover disabled:opacity-50'
|
||||
: fase === apartado.estado
|
||||
? 'rounded-lg border border-accent bg-accent/5 px-3 py-1.5 text-xs font-medium text-accent shadow-sm disabled:opacity-50'
|
||||
: CLASE_BOTON_ACCION
|
||||
: fase === 'Firma Cliente'
|
||||
? 'rounded-lg bg-green-600 px-3 py-1.5 text-xs font-medium text-white shadow-sm transition-all duration-100 ease-out hover:bg-green-700 disabled:opacity-50'
|
||||
: fase === 'Alta Enkontrol'
|
||||
? 'rounded-lg bg-accent px-3 py-1.5 text-xs font-medium text-white shadow-sm transition-all duration-100 ease-out hover:bg-accent-hover disabled:opacity-50'
|
||||
: fase === apartado.estado
|
||||
? 'rounded-lg border border-accent bg-accent/5 px-3 py-1.5 text-xs font-medium text-accent shadow-sm disabled:opacity-50'
|
||||
: CLASE_BOTON_ACCION
|
||||
}
|
||||
>
|
||||
{fase === 'Alta Enkontrol' ? 'Alta Enkontrol →' : ETIQUETA_FASE_APARTADO[fase]}
|
||||
|
||||
Reference in New Issue
Block a user