Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* ═══════════════════════════════════════════════
- REGISTRO DE EVENTO — CSS
- ═══════════════════════════════════════════════ */
- /* ── TIPOGRAFÍA (edita aquí para cambiar fuentes) ── */
- :root {
- --ov-re-font-body: 'DM Sans', sans-serif;
- --ov-re-font-display: 'DM Serif Display', serif;
- }
- /* ── VARIABLES DE COLOR Y DISEÑO ── */
- .ov-re-spots-bar,
- .ov-re-form-zone,
- .ov-re-preloader {
- --ov-re-ink: #0f0e0d;
- --ov-re-ink-soft: #4a4744;
- --ov-re-ink-muted: #8a8581;
- --ov-re-cream: #f7f4ef;
- --ov-re-cream-dark: #edeae3;
- --ov-re-accent: #D42A2A;
- --ov-re-accent-light: #f0c4b4;
- --ov-re-white: #ffffff;
- --ov-re-border: rgba(15,14,13,0.12);
- --ov-re-radius: 14px;
- }
- /* ── DOT ANIMADO ── */
- .ov-re-dot {
- display: inline-block;
- width: 6px;
- height: 6px;
- border-radius: 50%;
- background: #D42A2A;
- animation: ovRePulse 2s ease infinite;
- vertical-align: middle;
- margin-right: 6px;
- }
- @keyframes ovRePulse {
- 0%, 100% { opacity: 1; transform: scale(1); }
- 50% { opacity: 0.5; transform: scale(0.7); }
- }
- /* ── PRECARGADOR ── */
- .ov-re-preloader {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- gap: 14px;
- padding: 4rem 0;
- font-family: var(--ov-re-font-body);
- font-size: 15px;
- color: var(--ov-re-ink-muted);
- text-align: center;
- }
- .ov-re-preloader-spinner {
- width: 36px;
- height: 36px;
- border: 3px solid var(--ov-re-cream-dark);
- border-top-color: var(--ov-re-accent);
- border-radius: 50%;
- animation: ovReSpin 0.7s linear infinite;
- flex-shrink: 0;
- }
- .ov-re-preloader.ov-re-oculto {
- display: none;
- }
- /* ── BARRA DE CUPOS ── */
- .ov-re-spots-bar {
- margin-bottom: 2rem;
- }
- .ov-re-spots-label {
- display: flex;
- justify-content: space-between;
- font-family: var(--ov-re-font-body);
- font-size: 13px;
- color: var(--ov-re-ink-soft);
- margin-bottom: 8px;
- }
- .ov-re-spots-label strong {
- color: var(--ov-re-accent);
- font-weight: 500;
- }
- .ov-re-bar-track {
- height: 5px;
- background: rgba(255, 255, 255, 0.1);
- border-radius: 3px;
- overflow: hidden;
- }
- .ov-re-bar-fill {
- height: 100%;
- background: var(--ov-re-accent);
- border-radius: 3px;
- width: 0;
- transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
- }
- /* ── ZONA DEL FORMULARIO ── */
- .ov-re-form-zone {
- font-family: var(--ov-re-font-body);
- color: var(--ov-re-ink);
- }
- /* ── ENCABEZADO ── */
- .ov-re-form-header {
- margin-bottom: 1.75rem;
- animation: ovReFadeUp 0.5s ease both;
- }
- .ov-re-form-header h2 {
- font-family: var(--ov-re-font-display);
- font-size: 1.8rem;
- margin-bottom: 0.35rem;
- color: var(--ov-re-ink);
- }
- .ov-re-form-header p {
- font-size: 14px;
- color: var(--ov-re-ink-soft);
- line-height: 1.6;
- margin: 0;
- }
- /* ── FORMULARIO ── */
- .ov-re-form {
- display: flex;
- flex-direction: column;
- gap: 1rem;
- animation: ovReFadeUp 0.5s 0.1s ease both;
- }
- /* ── CAMPO ── */
- .ov-re-field {
- display: flex;
- flex-direction: column;
- gap: 6px;
- margin-bottom: 16px;
- }
- .ov-re-field label {
- font-size: 11px;
- font-weight: 600;
- color: var(--ov-re-ink-soft);
- text-transform: uppercase;
- letter-spacing: 0.07em;
- font-family: var(--ov-re-font-body);
- }
- .ov-re-field input,
- .ov-re-field select,
- .ov-re-field textarea {
- font-family: var(--ov-re-font-body);
- font-size: 15px;
- color: var(--ov-re-ink);
- background: var(--ov-re-white);
- border: 1.5px solid var(--ov-re-border);
- border-radius: var(--ov-re-radius);
- padding: 13px 16px;
- outline: none;
- transition: border-color 0.2s, box-shadow 0.2s;
- appearance: none;
- -webkit-appearance: none;
- width: 100%;
- box-sizing: border-box;
- margin-bottom: 0;
- }
- /* ── SELECT WRAPPER + ÍCONO ETmodules (flecha abajo) ── */
- .ov-re-field-select-wrap {
- position: relative;
- }
- .ov-re-field-select-wrap::after {
- content: '\33';
- font-family: 'ETmodules';
- font-size: 18px;
- color: var(--ov-re-ink-muted);
- position: absolute;
- right: 14px;
- top: 50%;
- transform: translateY(-50%);
- pointer-events: none;
- line-height: 1;
- }
- .ov-re-field select {
- background-color: var(--ov-re-white);
- background-image: none;
- padding-right: 42px;
- cursor: pointer;
- width: 100%;
- }
- .ov-re-field textarea {
- resize: vertical;
- min-height: 100px;
- }
- .ov-re-field input:focus,
- .ov-re-field select:focus,
- .ov-re-field textarea:focus {
- border-color: var(--ov-re-accent);
- box-shadow: 0 0 0 4px rgba(212,82,42,0.1);
- }
- .ov-re-field input::placeholder,
- .ov-re-field textarea::placeholder {
- color: var(--ov-re-ink-muted);
- }
- .ov-re-field input.ov-re-error,
- .ov-re-field select.ov-re-error,
- .ov-re-field textarea.ov-re-error {
- border-color: #c0392b;
- }
- /* ── MENSAJES DE ERROR ── */
- .ov-re-field-error {
- font-size: 11px;
- color: #c0392b;
- display: none;
- font-family: var(--ov-re-font-body);
- }
- .ov-re-field-error.ov-re-show {
- display: block;
- }
- /* ── CHECKBOX ── */
- .ov-re-check-group {
- display: flex;
- align-items: flex-start;
- gap: 10px;
- margin-top: 4px;
- }
- .ov-re-check-group input[type="checkbox"] {
- width: 18px;
- height: 18px;
- min-width: 18px;
- accent-color: var(--ov-re-accent);
- margin-top: 2px;
- cursor: pointer;
- }
- .ov-re-check-group span {
- font-size: 13px;
- color: var(--ov-re-ink-soft);
- line-height: 1.5;
- font-family: var(--ov-re-font-body);
- }
- /* ── BOTÓN SUBMIT ── */
- .ov-re-btn-submit {
- font-family: var(--ov-re-font-body);
- font-size: 15px;
- font-weight: 500;
- color: var(--ov-re-white);
- background: var(--ov-re-ink);
- border: none;
- border-radius: var(--ov-re-radius);
- padding: 15px 28px;
- cursor: pointer;
- display: flex;
- align-items: center;
- justify-content: center;
- gap: 10px;
- transition: background 0.2s, transform 0.15s;
- margin-top: 0.5rem;
- width: 100%;
- }
- .ov-re-btn-submit:hover { background: var(--ov-re-accent); }
- .ov-re-btn-submit:active { transform: scale(0.98); }
- .ov-re-btn-submit:disabled {
- background: var(--ov-re-ink-muted);
- cursor: not-allowed;
- transform: none;
- }
- .ov-re-btn-arrow {
- width: 20px;
- height: 20px;
- background: rgba(255,255,255,0.2);
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 12px;
- transition: transform 0.2s;
- }
- .ov-re-btn-submit:hover .ov-re-btn-arrow {
- transform: translateX(3px);
- }
- /* ── SPINNER SUBMIT ── */
- .ov-re-spinner {
- width: 18px;
- height: 18px;
- border: 2px solid rgba(255,255,255,0.3);
- border-top-color: #fff;
- border-radius: 50%;
- animation: ovReSpin 0.7s linear infinite;
- display: none;
- }
- @keyframes ovReSpin {
- to { transform: rotate(360deg); }
- }
- /* ── ESTADOS ── */
- .ov-re-estado {
- display: none;
- flex-direction: column;
- align-items: flex-start;
- gap: 1rem;
- animation: ovReFadeUp 0.5s ease both;
- }
- .ov-re-estado.ov-re-visible {
- display: flex;
- }
- .ov-re-estado-icon {
- width: 56px;
- height: 56px;
- border-radius: 14px;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 26px;
- }
- .ov-re-estado-success .ov-re-estado-icon { background: #e8f5e9; }
- .ov-re-estado-error .ov-re-estado-icon { background: #fdecea; }
- .ov-re-estado-full .ov-re-estado-icon { background: #fff8e1; }
- .ov-re-estado h3 {
- font-family: var(--ov-re-font-display);
- font-size: 1.5rem;
- color: var(--ov-re-ink);
- margin: 0;
- }
- .ov-re-estado p {
- font-size: 14px;
- color: var(--ov-re-ink-soft);
- line-height: 1.6;
- margin: 0;
- font-family: var(--ov-re-font-body);
- }
- .ov-re-estado-detail {
- background: var(--ov-re-cream-dark);
- border-radius: var(--ov-re-radius);
- padding: 1rem 1.25rem;
- font-size: 13px;
- color: var(--ov-re-ink-soft);
- line-height: 1.8;
- width: 100%;
- box-sizing: border-box;
- font-family: var(--ov-re-font-body);
- }
- .ov-re-estado-detail strong {
- color: var(--ov-re-ink);
- font-weight: 500;
- }
- /* ── BOTÓN VOLVER ── */
- .ov-re-btn-back {
- font-family: var(--ov-re-font-body);
- font-size: 13px;
- color: var(--ov-re-ink-soft);
- background: none;
- border: 1.5px solid var(--ov-re-border);
- border-radius: var(--ov-re-radius);
- padding: 10px 20px;
- cursor: pointer;
- transition: border-color 0.2s, color 0.2s;
- }
- .ov-re-btn-back:hover {
- border-color: var(--ov-re-ink);
- color: var(--ov-re-ink);
- }
- /* ── ANIMACIONES ── */
- @keyframes ovReFadeUp {
- from { opacity: 0; transform: translateY(14px); }
- to { opacity: 1; transform: translateY(0); }
- }
- /* ── RESPONSIVE ── */
- @media (max-width: 600px) {
- .ov-re-form-zone {
- max-width: 100%;
- }
- .ov-re-form-header h2 {
- font-size: 1.5rem;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment