folder rename

This commit is contained in:
gsinghpal
2026-04-16 20:53:53 -04:00
parent 3f3ddcbab4
commit 7c7ef06057
634 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,66 @@
// =============================================================================
// Fusion Plating — Controlled Goods Program
// Copyright 2026 Nexa Systems Inc.
// License OPL-1 (Odoo Proprietary License v1.0)
//
// THEME AWARENESS
// ---------------
// Same rule as the rest of the Fusion Plating product family: NO hardcoded
// backgrounds or text colours. Everything hangs off Bootstrap / Odoo CSS
// custom properties and `color-mix()` so light and dark modes share one
// set of rules.
//
// background: var(--bs-body-bg) // main surface
// surface: var(--o-view-background-color) // view canvas
// foreground: var(--bs-body-color) // main text
// muted text: var(--bs-secondary-color)
// border: var(--bs-border-color)
// warning: var(--bs-warning) // used for "classified" tint
// danger: var(--bs-danger) // used for restricted badge
//
// The CGP pack deals with sensitive records — we tint classified forms with
// a soft warning wash so they are visually distinct from routine records
// without being loud enough to interfere with reading the form.
// =============================================================================
// -----------------------------------------------------------------------------
// Classified form surface
// -----------------------------------------------------------------------------
// Applied to the <form> of PSA, Security Incident, Registration, Controlled
// Good, and Receipt/Shipment views. It puts a subtle amber left border and a
// light warning tint behind the sheet so the user knows this record is under
// CGP control without needing to read the title.
.o_fp_cgp_classified {
.o_form_sheet,
.o_form_sheet_bg {
border-left: 4px solid color-mix(in srgb, var(--bs-warning) 60%, transparent);
background-color: color-mix(in srgb, var(--bs-warning) 3%, var(--o-view-background-color, var(--bs-body-bg)));
}
// The restricted badge (see below) gets a little breathing room below
// the title when placed at the top of the sheet.
.o_fp_cgp_restricted_badge {
margin-bottom: 8px;
}
}
// -----------------------------------------------------------------------------
// Restricted badge — "CGP", "Restricted — PSA", etc.
// -----------------------------------------------------------------------------
// Uses the danger token tinted to the current surface so it reads the same on
// light and dark without any media queries.
.o_fp_cgp_restricted_badge {
display: inline-block;
padding: 3px 10px;
font-size: 0.72rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.04em;
border-radius: 4px;
background-color: color-mix(in srgb, var(--bs-danger) 15%, transparent);
color: var(--bs-danger);
border: 1px solid color-mix(in srgb, var(--bs-danger) 40%, transparent);
}