Traducción fiel del diseño firmado, que esta vez llegó como CSS real y no como maqueta, así que cada color, degradado, radio, blur, sombra y duración está copiado en vez de reconstruido. Sigue siendo el desplegable de aplicaciones nativo, restilado: la navegación (DropdownItem, hotkeys, filtrado por grupos) no se toca. Qué cambia más allá de la pintura: - Los bloques de color plano pasan a ser vidrio: un degradado blanco sobre el tinte del módulo sobre $beyond-surface, con blur(16px), filo blanco y sombra del color del módulo. Hover y pulsado ya no cambian de hex, ahora profundizan el mismo tinte. Va en un mixin porque los cinco comparten estructura; Tableros pasa 0.20/0.30/0.38 en vez de 0.15/0.24/0.30 porque el dorado es el más claro de los cinco y lo necesita para leerse. - Se va el título "MENÚ PRINCIPAL": la cabecera es la casa y la barra. - Contactos deja los bloques grandes y se junta con Empleados en una fila nueva de control maestro. La fila 2 queda en dos bloques. - Tableros pasa de gris a dorado. - Desaparece el foco, en :focus y en :focus-visible. Es decisión de diseño y está comentada como tal en el SCSS, con su costo escrito: la pantalla se sigue pudiendo manejar con teclado, pero no se ve dónde estás. Y desaparece la franja de sobrantes de v3, que era por donde la cuenta técnica llegaba a Facturación, Ajustes, Aplicaciones y Asistencias. Ahora solo se llega por URL. Es lo que pide el diseño —las siete puertas y nada más— pero queda escrito en la plantilla y en el SCSS porque es de las cosas que se descubren en el peor momento. De paso, un fallo que venía de v3: `overflow: hidden` no llegaba a aplicarse. El servicio de popover escribe `overflow-y: auto` inline, junto al top y el max-height que también escribe; el resto de la geometría ya llevaba !important por eso mismo y a overflow se le había olvidado. La pantalla estaba a un viewport bajo de hacer scroll en vez de comprimirse. Paleta: nada promovió. El azul, los dos dorados y los tres beiges son el código de color y el suelo de una sola pantalla, así que se quedan locales según la regla de beyond_variables.scss, documentado en los dos archivos. Mueren dos locales de v3: el gris de Tableros y el dorado de Contactos. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
75 lines
4.1 KiB
SCSS
75 lines
4.1 KiB
SCSS
// =============================================================================
|
||
// Beyond — visual identity v1 (defined by Collina Systems)
|
||
//
|
||
// This is no longer a placeholder waiting on the client: Beyond never handed
|
||
// over a brand manual (BRIEF §3, risk R2), so Collina defined the identity and
|
||
// signed it off through the launcher v2 design (ADR-005 / tickets C-005–C-006).
|
||
// Every value below is taken from that design. If the client ever delivers a
|
||
// brand of their own, this file is the single place to swap it.
|
||
//
|
||
// This file is prepended to web._assets_primary_variables, so it colours both
|
||
// the backend and the POS: Odoo's own variables are declared with !default and
|
||
// therefore respect whatever is defined here.
|
||
//
|
||
// SCOPE — only cross-cutting brand tokens live here. A colour graduates to a
|
||
// token when a second screen needs it, not before.
|
||
// · The purple graduated (18-aug-2026): it started as the launcher's "QR"
|
||
// block and now also paints the kiosk page and the "Abrir código QR"
|
||
// dialog, so it is the checador's colour and lives here as
|
||
// $beyond-kiosco.
|
||
// · The launcher's orange (#C55A22) did NOT: it is still the colour-coding
|
||
// of one block on one screen and means nothing outside it. It stays a
|
||
// local variable in webclient/beyond_launcher.scss. Publishing it in this
|
||
// bundle would push it into the backend and POS and invite its use as a
|
||
// semantic colour. The login v1 error text is that same #C55A22 and it
|
||
// STILL did not graduate: one hex, two unrelated meanings ("Panel General"
|
||
// and "something went wrong") is not one token. If a second screen ever
|
||
// needs an ERROR colour, that is what graduates, under its own name.
|
||
// · The rule colour graduated (login v1): #DCD8CE was the launcher's
|
||
// decorative rule under the title and is now also the login's field
|
||
// borders, so it left beyond_launcher.scss as $beyond-line.
|
||
// · Launcher v4 added a blue (#3D6A8A, Inventario), two golds (#C69B3A and
|
||
// #A87F22, Tableros) and three beiges (#F2EEE4/#EAE4D6/#DFD6C2, the radial
|
||
// ground). NONE graduated: all five are the colour-coding and the ground of
|
||
// one screen. The login and the kiosk bring their own surfaces; no second
|
||
// screen has asked for a beige. They stay local in beyond_launcher.scss.
|
||
//
|
||
// TYPOGRAPHY — the designs use Manrope. The @font-face rules and the
|
||
// $beyond-font-family token live in scss/beyond_fonts.scss, which is listed in
|
||
// web.assets_backend AND web.assets_frontend (the login screen renders before
|
||
// the session, from the frontend bundle only). They are deliberately NOT here:
|
||
// this file is prepended to web._assets_primary_variables, which also feeds
|
||
// bundles that do not serve the woff2 — the POS — and a family token there
|
||
// would promise a face that cannot resolve. Ask beyond_fonts.scss for the
|
||
// family; it ships the face that backs it.
|
||
// =============================================================================
|
||
|
||
// Brand green. The launcher's "Venta" block and its hover/pressed states.
|
||
$beyond-primary: #0E6B57;
|
||
$beyond-primary-dark: #0A5B49;
|
||
$beyond-primary-darker: #084C3D;
|
||
|
||
// Checador purple. The launcher's "QR" block, the kiosk page background and
|
||
// the "Abrir código QR" dialog, with its hover/pressed states.
|
||
$beyond-kiosco: #8C4A72;
|
||
$beyond-kiosco-dark: #7C3E64;
|
||
$beyond-kiosco-darker: #6B3556;
|
||
|
||
// Lines. The launcher's rule under the title and the login's field borders.
|
||
$beyond-line: #DCD8CE;
|
||
|
||
// Surfaces
|
||
$beyond-surface: #F6F5F1; // warm page background
|
||
$beyond-surface-hover: #ECEAE3; // hover on a surface-coloured control
|
||
$beyond-surface-active: #E2DFD6; // pressed/hover on an already-tinted control
|
||
|
||
// Ink
|
||
$beyond-ink: #23201D; // primary text, icon strokes, focus ring
|
||
$beyond-ink-soft: #4A453E; // secondary labels
|
||
$beyond-ink-softer: #7A736A; // body copy, table cells, muted icon strokes
|
||
$beyond-ink-muted: #A39C91; // supporting text (signature, metadata)
|
||
|
||
// Web client brand colour: $o-brand-primary, $o-action and Bootstrap's
|
||
// $primary derive from this in both the backend and POS bundles.
|
||
$o-community-color: $beyond-primary;
|