UNPKG

@jackiemacklein/nettz-utils

Version:

Serviços de imagem, e-mail, códigos de barras, utilitários numéricos e componentes React para apps Node.js com TypeScript

114 lines (94 loc) 1.59 kB
.nettz-form { display: flex; flex-wrap: wrap; gap: 16px; } .nettz-form-group { flex: 1; min-width: 200px; } .nettz-label { display: block; margin-bottom: 8px; font-weight: 500; color: #495057; font-size: 14px; } .nettz-input { width: 100%; padding: 12px 16px; border: 1px solid #ced4da; border-radius: 6px; font-size: 14px; transition: border-color 0.2s, box-shadow 0.2s; background-color: white; box-sizing: border-box; } .nettz-input:focus { outline: none; border-color: #4361ee; box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1); } .nettz-input::placeholder { color: #6c757d; } .nettz-checkbox { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 8px 0; } .nettz-checkbox input[type="checkbox"] { width: auto; margin: 0; cursor: pointer; } .nettz-checkbox-label { margin: 0; cursor: pointer; font-size: 14px; color: #495057; } /* Responsividade */ @media (max-width: 768px) { .nettz-form { flex-direction: column; gap: 12px; } .nettz-form-group { min-width: 100%; } .nettz-label { font-size: 13px; } .nettz-input { padding: 10px 14px; font-size: 13px; } .nettz-checkbox { padding: 6px 0; } .nettz-checkbox-label { font-size: 13px; } } @media (max-width: 480px) { .nettz-form { gap: 10px; } .nettz-label { font-size: 12px; margin-bottom: 6px; } .nettz-input { padding: 8px 12px; font-size: 12px; } .nettz-checkbox { padding: 4px 0; } .nettz-checkbox-label { font-size: 12px; } }