Da al colaborador sus tokens: paleta, Manrope, tarjetas y pastillas
Las cuatro pantallas del colaborador —panel, checada, confirmación y contraseña— son documentos <html> completos servidos por controladores: no montan el layout del portal ni llaman a ningún bundle, así que hoy no reciben una sola regla de Odoo, ni la fuente de la casa. La hoja va EN LÍNEA, y esa es la decisión que este commit toma: - web.assets_frontend exigiría un t-call-assets que arrastra Bootstrap y la hoja del sitio web a una página de celular, y entonces habría que pelear con especificidad lo que aquí se escribe (ADR-022). - Un bundle propio evitaría eso, pero mete un paso de compilación —que falla en silencio sirviendo el bundle viejo— delante de la pantalla que tiene que abrir en menos de cinco segundos con la señal de un salón. - La objeción real al CSS en línea es la repetición, y se resuelve sin bundle: la hoja vive UNA vez y las cuatro plantillas la llaman con t-call. Es el camino que ya tomó el kiosco, y estaba escrito en beyond_fonts.scss. El fondo son las tres beiges del lanzador, no las de la maqueta: el tono de en medio es idéntico en las dos, así que los otros dos son deriva de la herramienta de diseño y no un suelo nuevo. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
613b68b8bb
commit
25ea489f15
2 files changed
+409
No files matched your search
@@ -29,6 +29,9 @@ calcada del sistema Taboada de Collina:
|
||||
'data/arranque_personal.xml',
|
||||
'data/menu_cleanup.xml',
|
||||
'data/personal.xml',
|
||||
# La hoja compartida de las pantallas del colaborador va
|
||||
# primero: las otras tres plantillas la llaman con t-call.
|
||||
'views/colaborador_estilos.xml',
|
||||
'views/checada_templates.xml',
|
||||
'views/hr_employee_views.xml',
|
||||
'views/personal_views.xml',
|
||||
|
||||
@@ -0,0 +1,406 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<!-- La piel de las cuatro pantallas del colaborador: /beyond/mi,
|
||||
/beyond/checada/<token>, su confirmación y /beyond/clave.
|
||||
|
||||
POR QUÉ VA EN LÍNEA Y NO EN UN BUNDLE. Estas plantillas son
|
||||
documentos <html> completos servidos por controladores: no montan el
|
||||
layout del portal ni llaman a ningún bundle, así que hoy no reciben
|
||||
una sola regla de Odoo. Meterlas en web.assets_frontend obligaría a
|
||||
un t-call-assets que arrastra Bootstrap y la hoja del sitio web a una
|
||||
página de celular, y entonces habría que pelear con especificidad lo
|
||||
que aquí se escribe (ADR-022: una pieza visual del core trae su
|
||||
paleta y su espaciado). Un bundle propio evitaría eso pero mete un
|
||||
paso de compilación —que falla en silencio sirviendo el bundle
|
||||
viejo— delante de la pantalla que tiene que abrir en menos de cinco
|
||||
segundos en el celular de alguien, con la señal de un salón.
|
||||
|
||||
La objeción real al CSS en línea es la repetición, y esa se resuelve
|
||||
sin bundle: la hoja vive UNA vez, aquí, y las cuatro plantillas la
|
||||
llaman con t-call. Es el mismo camino que ya tomó la pantalla del
|
||||
kiosco, y está escrito en beyond_base/static/src/scss/beyond_fonts.scss.
|
||||
|
||||
SIN ENVOLTORIO DE PANTALLA (excepción a ADR-027, argumentada): esa
|
||||
regla existe para que una pantalla no le escriba las clases al
|
||||
vecino DENTRO de un bundle compartido. Aquí no hay vecino por
|
||||
construcción — estas páginas sirven esta hoja y ninguna otra.
|
||||
|
||||
Colores y tipografía: fuente de verdad en
|
||||
beyond_base/static/src/scss/beyond_variables.scss. Se repiten aquí
|
||||
como propiedades personalizadas porque esta página no recibe SCSS.
|
||||
El fondo son las tres beiges del lanzador (beyond_launcher.scss); la
|
||||
maqueta traía dos de los tres tonos movidos dos o tres puntos, y se
|
||||
usa el canónico: el tono de en medio es idéntico en las dos, así que
|
||||
es el mismo suelo con deriva de la herramienta de diseño.
|
||||
Manrope se sirve del woff2 alojado en beyond_base (nunca de Google
|
||||
Fonts: el celular de una sucursal puede no tener internet) y solo
|
||||
viajan los rangos latinos, que es lo que el español necesita. -->
|
||||
<template id="colaborador_estilos" name="Colaborador · hoja de estilo">
|
||||
<style>
|
||||
@font-face {
|
||||
font-family: 'Manrope';
|
||||
font-style: normal;
|
||||
font-weight: 500 800;
|
||||
font-display: swap;
|
||||
src: url('/beyond_base/static/fonts/manrope-latin-ext.woff2') format('woff2');
|
||||
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Manrope';
|
||||
font-style: normal;
|
||||
font-weight: 500 800;
|
||||
font-display: swap;
|
||||
src: url('/beyond_base/static/fonts/manrope-latin.woff2') format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
|
||||
:root {
|
||||
--b-tinta: #23201D;
|
||||
--b-tinta-suave: #7E7669;
|
||||
--b-tinta-tenue: #A39C91;
|
||||
--b-vino: #8C4A72;
|
||||
--b-vino-oscuro: #7C3E64;
|
||||
--b-vino-hondo: #6B3556;
|
||||
--b-vino-noche: #63304F;
|
||||
--b-vino-velo: #F4EAF0;
|
||||
--b-vino-velo-fuerte: #E8D8E3;
|
||||
--b-tarjeta: #FFFFFF;
|
||||
--b-borde: #E7E3DA;
|
||||
--b-borde-interior: #F0EDE6;
|
||||
--b-hueco: #FAF8F4;
|
||||
--b-linea: #E2DFD6;
|
||||
--b-verde: #0E6B57;
|
||||
--b-verde-velo: #EEF3F0;
|
||||
--b-verde-borde: #9CC4B4;
|
||||
--b-rojo: #B4453B;
|
||||
--b-rojo-tinta: #9C4239;
|
||||
--b-rojo-velo: #F6EAE9;
|
||||
--b-rojo-borde: #E5B4AF;
|
||||
--b-ambar: #FBF1DC;
|
||||
--b-ambar-tinta: #7A5A12;
|
||||
--b-inerte: #E7E3DA;
|
||||
--b-inerte-tinta: #B5AEA3;
|
||||
--b-apagado: #CFC8BC;
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; margin: 0; }
|
||||
html, body { padding: 0; }
|
||||
body {
|
||||
font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
background: #EAE4D6;
|
||||
background: radial-gradient(120% 80% at 50% 0%, #F2EEE4 0%, #EAE4D6 55%, #DFD6C2 100%);
|
||||
background-attachment: fixed;
|
||||
color: var(--b-tinta);
|
||||
min-height: 100vh;
|
||||
}
|
||||
a { color: var(--b-vino); text-decoration: none; }
|
||||
button { font-family: inherit; }
|
||||
|
||||
/* La maqueta se dibujó a 520 de ancho y es de celular; en un
|
||||
escritorio la columna se queda centrada en vez de estirarse. */
|
||||
.beyond_lienzo {
|
||||
width: 100%; max-width: 520px; margin: 0 auto;
|
||||
padding: 20px 14px 44px;
|
||||
display: flex; flex-direction: column; gap: 16px;
|
||||
}
|
||||
/* Las pantallas de una sola tarjeta (checada, clave) se centran
|
||||
a lo alto; el panel, que es largo, empieza arriba. */
|
||||
.beyond_lienzo.beyond_centrado { min-height: 100vh; justify-content: center; }
|
||||
|
||||
/* ---------- encabezado ---------- */
|
||||
.beyond_encabezado { display: flex; align-items: center; gap: 12px; }
|
||||
.beyond_avatar {
|
||||
flex: none; width: 48px; height: 48px; border-radius: 17px;
|
||||
background: var(--b-vino); color: #FFFFFF;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
font-size: 17px; font-weight: 800; letter-spacing: 0.01em;
|
||||
}
|
||||
.beyond_avatar.beyond_chico {
|
||||
width: 40px; height: 40px; border-radius: 14px; font-size: 14.5px;
|
||||
}
|
||||
.beyond_identidad { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
|
||||
.beyond_nombre {
|
||||
font-size: 21px; font-weight: 800; letter-spacing: -0.02em;
|
||||
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
|
||||
}
|
||||
.beyond_nombre.beyond_chico { font-size: 15.5px; letter-spacing: -0.01em; }
|
||||
.beyond_sub { font-size: 13px; font-weight: 700; color: var(--b-tinta-tenue); }
|
||||
.beyond_sub.beyond_chico { font-size: 12.5px; }
|
||||
.beyond_icono {
|
||||
flex: none; width: 44px; height: 44px; border-radius: 15px;
|
||||
background: var(--b-tarjeta); border: 1.5px solid var(--b-linea);
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
transition: background 140ms ease, border-color 140ms ease;
|
||||
}
|
||||
.beyond_icono:hover { background: var(--b-vino-velo); border-color: var(--b-vino-velo-fuerte); }
|
||||
|
||||
/* ---------- tarjeta de horas ---------- */
|
||||
.beyond_hero {
|
||||
position: relative; overflow: hidden; border-radius: 30px;
|
||||
padding: 24px 24px 22px; color: #FFFFFF;
|
||||
background: linear-gradient(155deg, #9C5480 0%, #8C4A72 42%, #63304F 100%);
|
||||
box-shadow: 0 20px 44px rgba(107,53,86,0.28);
|
||||
display: flex; flex-direction: column; gap: 20px;
|
||||
}
|
||||
.beyond_hero::before {
|
||||
content: ""; position: absolute; top: -70px; right: -50px;
|
||||
width: 210px; height: 210px; border-radius: 50%;
|
||||
background: rgba(255,255,255,0.07);
|
||||
}
|
||||
.beyond_hero_fila {
|
||||
position: relative; display: flex; align-items: flex-start;
|
||||
justify-content: space-between; gap: 12px;
|
||||
}
|
||||
.beyond_hero_rotulo {
|
||||
font-size: 11px; font-weight: 800; letter-spacing: 0.1em;
|
||||
text-transform: uppercase; color: rgba(255,255,255,0.62);
|
||||
}
|
||||
.beyond_hero_pila { display: flex; flex-direction: column; gap: 6px; }
|
||||
.beyond_hero_cifra { display: flex; align-items: baseline; gap: 8px; }
|
||||
.beyond_hero_cifra b { font-size: 54px; line-height: 1; font-weight: 800; letter-spacing: -0.035em; }
|
||||
.beyond_hero_cifra span { font-size: 20px; font-weight: 800; color: rgba(255,255,255,0.65); }
|
||||
.beyond_estado {
|
||||
flex: none; display: flex; align-items: center; gap: 7px;
|
||||
padding: 9px 14px; border-radius: 999px; font-size: 13px; font-weight: 800;
|
||||
background: rgba(255,255,255,0.14); color: rgba(255,255,255,0.85);
|
||||
}
|
||||
.beyond_estado i { display: block; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.55); }
|
||||
.beyond_estado.beyond_viva { background: rgba(255,255,255,0.95); color: var(--b-vino-hondo); }
|
||||
.beyond_estado.beyond_viva i { background: var(--b-vino); }
|
||||
.beyond_barra { position: relative; display: flex; flex-direction: column; gap: 9px; }
|
||||
.beyond_riel { height: 8px; border-radius: 999px; background: rgba(255,255,255,0.18); overflow: hidden; }
|
||||
.beyond_riel span { display: block; height: 100%; border-radius: 999px; background: #FFFFFF; }
|
||||
.beyond_barra_pie {
|
||||
display: flex; align-items: center; justify-content: space-between;
|
||||
gap: 10px; font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.75);
|
||||
}
|
||||
|
||||
/* ---------- bloque y tarjeta ---------- */
|
||||
.beyond_bloque { display: flex; flex-direction: column; gap: 9px; }
|
||||
.beyond_rotulo.beyond_pegado { padding-left: 0; }
|
||||
.beyond_rotulo {
|
||||
padding-left: 6px; font-size: 11px; font-weight: 800;
|
||||
letter-spacing: 0.1em; text-transform: uppercase; color: var(--b-tinta-tenue);
|
||||
}
|
||||
.beyond_tarjeta {
|
||||
background: var(--b-tarjeta); border: 1.5px solid var(--b-borde);
|
||||
border-radius: 26px; overflow: hidden;
|
||||
}
|
||||
.beyond_cabecera {
|
||||
display: flex; align-items: center; gap: 10px; padding: 14px 18px;
|
||||
border-bottom: 1.5px solid var(--b-borde-interior);
|
||||
}
|
||||
.beyond_cabecera_titulo { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 800; }
|
||||
.beyond_cabecera_dato { flex: none; font-size: 12.5px; font-weight: 700; color: var(--b-tinta-tenue); }
|
||||
.beyond_cuerpo { padding: 20px 18px 18px; display: flex; flex-direction: column; gap: 16px; }
|
||||
.beyond_punto { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--b-apagado); }
|
||||
.beyond_punto.beyond_viva { background: var(--b-vino); }
|
||||
.beyond_vacio { padding: 18px; font-size: 13.5px; font-weight: 700; color: var(--b-tinta-tenue); text-align: center; }
|
||||
|
||||
/* ---------- ventas ---------- */
|
||||
.beyond_mes {
|
||||
display: flex; align-items: center; justify-content: space-between;
|
||||
gap: 8px; padding: 14px 14px 14px 18px;
|
||||
border-bottom: 1.5px solid var(--b-borde-interior);
|
||||
}
|
||||
.beyond_mes_nombre { font-size: 15.5px; font-weight: 800; letter-spacing: -0.01em; }
|
||||
.beyond_flechas { display: flex; gap: 6px; }
|
||||
.beyond_flecha {
|
||||
width: 36px; height: 36px; border-radius: 13px; background: var(--b-vino-velo);
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
transition: background 140ms ease;
|
||||
}
|
||||
.beyond_flecha:hover { background: var(--b-vino-velo-fuerte); }
|
||||
.beyond_flecha.beyond_apagada { background: #F5F3EE; }
|
||||
.beyond_atribuido { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
|
||||
.beyond_pila_cifra { display: flex; flex-direction: column; gap: 3px; }
|
||||
.beyond_monto { font-size: 38px; line-height: 1; font-weight: 800; letter-spacing: -0.035em; }
|
||||
.beyond_propina_chip {
|
||||
flex: none; padding: 7px 13px; border-radius: 999px;
|
||||
background: var(--b-vino-velo); color: var(--b-vino-oscuro);
|
||||
font-size: 13px; font-weight: 800;
|
||||
}
|
||||
.beyond_reja { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
|
||||
.beyond_casilla {
|
||||
padding: 13px 15px; border-radius: 18px; background: var(--b-hueco);
|
||||
border: 1.5px solid var(--b-borde-interior);
|
||||
display: flex; flex-direction: column; gap: 2px;
|
||||
}
|
||||
.beyond_casilla b { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
|
||||
.beyond_casilla span { font-size: 12.5px; font-weight: 700; color: var(--b-tinta-tenue); }
|
||||
|
||||
/* Desplegable nativo: sin una línea de JavaScript, accesible por
|
||||
teclado, y la etiqueta y el galón cambian con CSS. */
|
||||
.beyond_detalle summary {
|
||||
list-style: none; cursor: pointer; user-select: none;
|
||||
display: flex; align-items: center; justify-content: center; gap: 7px;
|
||||
padding: 13px; border-radius: 16px; background: var(--b-vino-velo);
|
||||
color: var(--b-vino-oscuro); font-size: 14.5px; font-weight: 800;
|
||||
transition: background 140ms ease;
|
||||
}
|
||||
.beyond_detalle summary::-webkit-details-marker { display: none; }
|
||||
.beyond_detalle summary:hover { background: var(--b-vino-velo-fuerte); }
|
||||
.beyond_detalle .beyond_ocultar { display: none; }
|
||||
.beyond_detalle[open] .beyond_ver { display: none; }
|
||||
.beyond_detalle[open] .beyond_ocultar { display: inline; }
|
||||
.beyond_detalle summary svg { transition: transform 200ms ease; }
|
||||
.beyond_detalle[open] summary svg { transform: rotate(180deg); }
|
||||
|
||||
/* ---------- renglones ---------- */
|
||||
.beyond_lista { display: flex; flex-direction: column; }
|
||||
.beyond_renglon {
|
||||
display: flex; align-items: flex-start; gap: 12px; padding: 12px 2px;
|
||||
border-top: 1.5px solid var(--b-borde-interior);
|
||||
}
|
||||
.beyond_renglon.beyond_suma { border-top: 1.5px solid var(--b-borde); }
|
||||
.beyond_fecha { flex: none; width: 46px; padding-top: 2px; font-size: 12.5px; font-weight: 800; color: var(--b-tinta-tenue); }
|
||||
.beyond_pila { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
|
||||
.beyond_titulo { font-size: 14.5px; font-weight: 800; }
|
||||
.beyond_nota { font-size: 12.5px; font-weight: 600; color: var(--b-tinta-tenue); }
|
||||
.beyond_cifra { flex: none; text-align: right; font-size: 14.5px; font-weight: 800; }
|
||||
.beyond_jornada {
|
||||
display: flex; align-items: center; gap: 12px; padding: 15px 18px;
|
||||
border-bottom: 1.5px solid var(--b-borde-interior);
|
||||
}
|
||||
/* Sin pie de tarjeta, el borde del último renglón queda colgando. */
|
||||
.beyond_tarjeta > .beyond_jornada:last-child { border-bottom: 0; }
|
||||
.beyond_jornada .beyond_titulo { font-size: 15px; }
|
||||
.beyond_jornada .beyond_nota { font-size: 13px; }
|
||||
.beyond_jornada .beyond_cifra { font-size: 15px; }
|
||||
.beyond_pie_tarjeta {
|
||||
display: flex; align-items: center; justify-content: space-between;
|
||||
gap: 10px; padding: 13px 18px; font-size: 13.5px; font-weight: 700;
|
||||
color: var(--b-tinta-tenue);
|
||||
}
|
||||
|
||||
/* ---------- pastillas ---------- */
|
||||
.beyond_pastilla {
|
||||
flex: none; text-align: center; white-space: nowrap;
|
||||
padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800;
|
||||
background: var(--b-borde-interior); color: var(--b-tinta-suave);
|
||||
}
|
||||
.beyond_pastilla.beyond_ancha { min-width: 74px; }
|
||||
.beyond_pastilla.beyond_abierta { background: var(--b-vino-velo); color: var(--b-vino-oscuro); }
|
||||
.beyond_pastilla.beyond_cerrada,
|
||||
.beyond_pastilla.beyond_autorizada { background: var(--b-verde-velo); color: var(--b-verde); }
|
||||
.beyond_pastilla.beyond_rechazada { background: var(--b-rojo-velo); color: var(--b-rojo-tinta); }
|
||||
.beyond_pastilla.beyond_cierre_automatico,
|
||||
.beyond_pastilla.beyond_ajuste,
|
||||
.beyond_pastilla.beyond_pendiente { background: var(--b-ambar); color: var(--b-ambar-tinta); }
|
||||
.beyond_pastilla.beyond_compartido {
|
||||
display: inline-block; margin-left: 6px; padding: 3px 9px; font-size: 11px;
|
||||
background: var(--b-vino-velo); color: var(--b-vino-oscuro);
|
||||
}
|
||||
|
||||
/* ---------- checador ---------- */
|
||||
.beyond_movimiento { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
|
||||
.beyond_saludo { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
|
||||
.beyond_cual { font-size: 30px; line-height: 1; font-weight: 800; letter-spacing: -0.03em; margin-top: 3px; }
|
||||
.beyond_reloj { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
|
||||
.beyond_reloj b {
|
||||
font-size: 26px; line-height: 1; font-weight: 800; letter-spacing: -0.03em;
|
||||
font-variant-numeric: tabular-nums; color: var(--b-vino);
|
||||
}
|
||||
.beyond_reloj span { font-size: 11.5px; font-weight: 700; color: var(--b-tinta-tenue); }
|
||||
.beyond_salida .beyond_reloj b { color: var(--b-vino-noche); }
|
||||
.beyond_registrar {
|
||||
display: block; width: 100%; text-align: center; padding: 17px;
|
||||
border: 0; border-radius: 18px; cursor: pointer; color: #FFFFFF;
|
||||
background: var(--b-vino); box-shadow: 0 12px 26px rgba(140,74,114,0.26);
|
||||
font-size: 16.5px; font-weight: 800; letter-spacing: -0.01em;
|
||||
transition: transform 120ms ease;
|
||||
}
|
||||
.beyond_registrar:active { transform: translateY(1px); }
|
||||
.beyond_salida .beyond_registrar { background: var(--b-vino-noche); box-shadow: 0 12px 26px rgba(99,48,79,0.28); }
|
||||
.beyond_tira {
|
||||
display: flex; align-items: center; gap: 10px; padding: 13px 16px;
|
||||
border-radius: 18px; background: var(--b-hueco); border: 1.5px solid var(--b-borde-interior);
|
||||
}
|
||||
.beyond_tira_texto { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 700; color: var(--b-tinta-suave); }
|
||||
.beyond_tira b { flex: none; font-size: 15px; font-weight: 800; }
|
||||
.beyond_curso {
|
||||
flex: none; padding: 5px 10px; border-radius: 999px; white-space: nowrap;
|
||||
background: var(--b-ambar); color: var(--b-ambar-tinta); font-size: 12px; font-weight: 800;
|
||||
}
|
||||
|
||||
/* ---------- confirmación / aviso ---------- */
|
||||
.beyond_confirma {
|
||||
position: relative; overflow: hidden; background: var(--b-tarjeta);
|
||||
border: 1.5px solid var(--b-borde); border-radius: 26px;
|
||||
padding: 22px 20px 18px; display: flex; flex-direction: column; gap: 14px;
|
||||
box-shadow: 0 16px 34px rgba(35,32,29,0.06);
|
||||
}
|
||||
.beyond_confirma::before {
|
||||
content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
|
||||
background: var(--b-vino);
|
||||
}
|
||||
.beyond_confirma.beyond_salida::before { background: var(--b-verde); }
|
||||
.beyond_confirma.beyond_aviso::before { background: var(--b-ambar-tinta); }
|
||||
.beyond_confirma.beyond_alto::before { background: var(--b-rojo); }
|
||||
.beyond_sello {
|
||||
flex: none; width: 44px; height: 44px; border-radius: 50%;
|
||||
background: var(--b-vino); display: flex; align-items: center; justify-content: center;
|
||||
}
|
||||
.beyond_salida .beyond_sello { background: var(--b-verde); }
|
||||
.beyond_aviso .beyond_sello { background: var(--b-ambar-tinta); }
|
||||
.beyond_alto .beyond_sello { background: var(--b-rojo); }
|
||||
.beyond_confirma_titulo { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
|
||||
.beyond_cuerpo_texto { font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--b-tinta-suave); text-wrap: pretty; }
|
||||
.beyond_liga {
|
||||
flex: none; display: inline-flex; align-items: center; gap: 7px;
|
||||
padding: 11px 16px; border-radius: 999px; background: var(--b-vino-velo);
|
||||
color: var(--b-vino-oscuro); font-size: 13.5px; font-weight: 800;
|
||||
transition: background 140ms ease;
|
||||
}
|
||||
.beyond_liga:hover { background: var(--b-vino-velo-fuerte); }
|
||||
|
||||
/* ---------- formulario de contraseña ---------- */
|
||||
.beyond_intro { display: flex; flex-direction: column; gap: 12px; }
|
||||
.beyond_marca {
|
||||
display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
|
||||
padding: 8px 14px 8px 11px; border-radius: 999px; background: var(--b-vino-velo);
|
||||
font-size: 11px; font-weight: 800; letter-spacing: 0.1em;
|
||||
text-transform: uppercase; color: var(--b-vino-oscuro);
|
||||
}
|
||||
.beyond_titular { font-size: 27px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
|
||||
.beyond_formulario { display: flex; flex-direction: column; gap: 16px; padding: 20px 18px; }
|
||||
.beyond_campo { display: flex; flex-direction: column; gap: 8px; }
|
||||
.beyond_etiqueta { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--b-tinta-tenue); }
|
||||
.beyond_caja {
|
||||
display: flex; align-items: center; gap: 8px; background: var(--b-hueco);
|
||||
border: 1.5px solid var(--b-borde); border-radius: 16px; padding: 0 6px 0 16px;
|
||||
}
|
||||
.beyond_caja:focus-within { border-color: #C99BB6; background: var(--b-tarjeta); }
|
||||
.beyond_caja input {
|
||||
flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
|
||||
padding: 15px 0; font-family: inherit; font-size: 16px; font-weight: 700;
|
||||
letter-spacing: 0.02em; color: var(--b-tinta);
|
||||
}
|
||||
.beyond_ojo {
|
||||
flex: none; border: 0; background: transparent; cursor: pointer;
|
||||
padding: 8px 12px; border-radius: 12px; font-size: 12.5px; font-weight: 800;
|
||||
color: var(--b-vino); transition: background 140ms ease;
|
||||
}
|
||||
.beyond_ojo:hover { background: var(--b-vino-velo); }
|
||||
.beyond_guardar {
|
||||
width: 100%; padding: 16px; border: 0; border-radius: 18px; cursor: pointer;
|
||||
background: var(--b-vino); color: #FFFFFF; font-size: 16px; font-weight: 800;
|
||||
transition: background 140ms ease;
|
||||
}
|
||||
.beyond_guardar:hover { background: var(--b-vino-oscuro); }
|
||||
.beyond_alerta {
|
||||
display: flex; gap: 10px; padding: 13px 16px; border-radius: 16px;
|
||||
background: var(--b-rojo-velo); border: 1.5px solid var(--b-rojo-borde);
|
||||
color: var(--b-rojo-tinta); font-size: 13.5px; font-weight: 700; line-height: 1.4;
|
||||
}
|
||||
.beyond_apunte { text-align: center; font-size: 12.5px; font-weight: 700; line-height: 1.5; color: var(--b-tinta-tenue); }
|
||||
.beyond_volver {
|
||||
align-self: center; padding: 10px 16px; border-radius: 999px;
|
||||
font-size: 14px; font-weight: 800; color: var(--b-vino);
|
||||
transition: background 140ms ease;
|
||||
}
|
||||
.beyond_volver:hover { background: rgba(140,74,114,0.10); }
|
||||
</style>
|
||||
</template>
|
||||
</odoo>
|
||||
Reference in new issue
Block a user