Files
roi-theme/wp-content/plugins/advanced-ads/assets/scss/partials/switch.scss
root a22573bf0b Commit inicial - WordPress Análisis de Precios Unitarios
- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 21:04:30 -06:00

40 lines
658 B
SCSS
Executable File

.#{$namespace}-ui-switch {
@apply inline-flex relative items-center cursor-pointer;
&-list {
@apply space-y-4;
}
input {
@apply sr-only;
&:checked ~ div {
@apply bg-primary after:left-auto after:right-[2px] after:border-white;
}
&:disabled ~ div {
@apply after:bg-gray-100 after:border-gray-200;
}
}
div {
@apply relative w-11 h-6 bg-gray-200 rounded-full border;
&::after {
@apply content-[""] absolute top-0.5 left-[2px] bg-white border-gray-300 border rounded-full h-5 w-5 transition-all;
}
}
span {
@apply ml-4;
}
span.muted {
@apply block text-gray-400 ml-0;
}
em.muted {
@apply text-gray-400;
}
}