SPB Git

Repository Public

templates.css 24.0 KB 307 lines css

1/* Studio de modèles : bibliothèque, création par IA, éditeur. Jetons de styles/tokens.css, clair et sombre. */2.tpl-root, .tpl-page { flex: 1; min-height: 0; min-width: 0; display: flex; flex-direction: column; }3.tpl-head { display: flex; align-items: center; gap: 8px; padding: 8px 12px; min-height: 57px; border-bottom: 1px solid var(--border); background: var(--surface); flex: none; }4.tpl-head h1 { font-size: 1.125rem; min-width: 0; flex: 0 1 auto; }5.tpl-head .btn { flex: none; }6.tpl-back { padding: 0 10px; }7.tpl-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 20px clamp(12px, 3vw, 32px) 48px; display: flex; flex-direction: column; gap: 18px; }8.tpl-center { flex: 1; display: grid; place-items: center; padding: 40px; }9.tpl-usage { display: flex; align-items: center; gap: 6px; margin: 0; flex-wrap: wrap; }10.tpl-usage .icon { color: var(--accent); }11.tpl-invalid, .tpl-hint-warn { color: var(--warn); }12.tpl-required { color: var(--danger); margin-left: 4px; font-weight: 700; }1314/* ---- bibliothèque */15.tpl-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }16.tpl-search { position: relative; flex: 1 1 240px; max-width: 420px; display: flex; align-items: center; }17.tpl-search .icon { position: absolute; left: 12px; color: var(--text-3); pointer-events: none; }18.tpl-search .input { padding-left: 36px; }19.tpl-select { flex: 0 1 200px; min-width: 150px; }20.tpl-count { margin-left: auto; }21.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 18px; }22.tpl-card { display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-1); transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease), border-color 0.16s var(--ease); }23.tpl-card:hover, .tpl-card:focus-within { border-color: var(--border-strong); box-shadow: var(--shadow-2); transform: translateY(-2px); }24.tpl-card[aria-busy="true"] { opacity: 0.6; }25.tpl-card-open { display: block; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }26.tpl-card-open:focus-visible { outline-offset: -2px; border-radius: var(--radius) var(--radius) 0 0; }27.tpl-thumb { position: relative; aspect-ratio: 5 / 5.4; overflow: hidden; background: #fff; border-bottom: 1px solid var(--border); }28.tpl-thumb::after { content: ""; position: absolute; inset: 0; }29.tpl-thumb-skel { position: absolute; inset: 0; border-radius: 0; }30.tpl-thumb-msg { position: absolute; inset: 0; display: grid; place-items: center; padding: 12px; text-align: center; background: var(--surface-2); }31.tpl-thumb .tpl-frame { animation: tpl-fade 0.25s var(--ease); }32.tpl-card-body { display: flex; flex-direction: column; gap: 4px; padding: 10px 6px 12px 14px; min-width: 0; }33.tpl-card-body h3 { font-size: 0.9375rem; }34.tpl-card-subject { padding-right: 8px; }35.tpl-card-meta { gap: 6px; padding-right: 8px; margin-top: 4px; }36@keyframes tpl-fade { from { opacity: 0; } to { opacity: 1; } }3738.tpl-empty { margin: auto; max-width: 560px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 24px 8px 40px; }39.tpl-empty h2 { font-size: 1.5rem; letter-spacing: -0.015em; }40.tpl-empty > p { color: var(--text-2); font-size: var(--fs-l); }41.tpl-empty-points { display: flex; flex-direction: column; gap: 8px; text-align: left; color: var(--text-2); }42.tpl-empty-points li { display: flex; gap: 10px; align-items: flex-start; }43.tpl-empty-points .icon { color: var(--accent); margin-top: 3px; }44.tpl-empty-actions { justify-content: center; margin-top: 6px; }45.tpl-empty-art { position: relative; width: 210px; height: 150px; margin-bottom: 6px; }46.tpl-empty-sheet { position: absolute; width: 120px; height: 140px; left: 45px; top: 6px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow-1); }47.tpl-empty-sheet.s1 { transform: rotate(-9deg) translateX(-38px); background: var(--surface-2); }48.tpl-empty-sheet.s2 { transform: rotate(8deg) translateX(38px); background: var(--surface-2); }49.tpl-empty-sheet.s3 { display: flex; flex-direction: column; gap: 8px; padding: 14px 12px; box-shadow: var(--shadow-2); }50.tpl-empty-sheet.s3 span { height: 7px; border-radius: 4px; background: var(--surface-3); }51.tpl-empty-sheet.s3 span:first-child { height: 34px; background: var(--accent-soft); }52.tpl-empty-sheet.s3 span:nth-child(3) { width: 70%; }53.tpl-empty-sheet.s3 i { width: 46px; height: 14px; border-radius: 7px; background: var(--accent); margin-top: 4px; }5455/* ---- pastilles */56.tpl-chips { display: flex; flex-wrap: wrap; gap: 6px; }57.tpl-chip { min-height: 32px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2); cursor: pointer; font-size: var(--fs-s); font-weight: 550; transition: background 0.12s var(--ease), border-color 0.12s var(--ease), color 0.12s var(--ease); }58.tpl-chip:hover { background: var(--surface-2); color: var(--text); }59.tpl-chip[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--text); }60.tpl-chip[disabled] { opacity: 0.55; cursor: not-allowed; }6162/* ---- création par IA */63.tpl-new { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr); gap: 20px; align-items: start; width: 100%; max-width: 1180px; margin: 0 auto; }64.tpl-new-form { display: flex; flex-direction: column; gap: 16px; min-width: 0; }65.tpl-new-form h2 { font-size: 1.375rem; letter-spacing: -0.01em; margin-bottom: 4px; }66.tpl-brief { min-height: 190px; font-size: var(--fs-l); line-height: 1.5; }67.tpl-starters { display: flex; flex-direction: column; gap: 8px; }68.tpl-new-options { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: end; }69.tpl-new-submit .btn { min-height: 44px; padding: 0 20px; }70.tpl-brand { border: 1px solid var(--border); border-radius: var(--radius-m); background: var(--surface); }71.tpl-brand summary { display: flex; align-items: center; gap: 8px; min-height: var(--tap); padding: 0 12px; cursor: pointer; font-weight: 600; list-style: none; border-radius: var(--radius-m); }72.tpl-brand summary::-webkit-details-marker { display: none; }73.tpl-brand summary .icon { transition: transform 0.15s var(--ease); transform: rotate(-90deg); }74.tpl-brand[open] summary .icon { transform: none; }75.tpl-brand-grid { border: 0; margin: 0; padding: 4px 12px 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; min-width: 0; }76.tpl-brand-note, .tpl-brand-wide { grid-column: 1 / -1; }77.tpl-color input[type="color"] { width: var(--tap); height: var(--tap); flex: none; padding: 3px; border: 1px solid var(--border-strong); border-radius: var(--radius-m); background: var(--surface); cursor: pointer; }78.tpl-new-side { position: sticky; top: 0; min-width: 0; }79.tpl-new-idle { display: flex; flex-direction: column; gap: 12px; }80.tpl-tips { display: flex; flex-direction: column; gap: 8px; color: var(--text-2); padding-left: 18px; list-style: disc; }8182/* ---- génération */83.tpl-gen { display: flex; flex-direction: column; gap: 14px; }84.tpl-gen-info { display: flex; flex-direction: column; gap: 10px; }85.tpl-gen-info h3 { display: flex; align-items: center; gap: 10px; font-size: 1rem; }86.tpl-gen-stats { display: flex; gap: 22px; margin: 0; flex-wrap: wrap; }87.tpl-gen-stats dt { font-size: 0.75rem; font-weight: 650; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.04em; }88.tpl-gen-stats dd { margin: 0; font-size: 1.25rem; font-weight: 650; font-variant-numeric: tabular-nums; }89.tpl-gen-stats dd.mono { font-size: var(--fs-s); font-weight: 500; padding-top: 6px; }90.tpl-gen-result { align-items: flex-start; flex-wrap: wrap; }91.tpl-gen-result p { margin-top: 2px; }92.tpl-skel { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; box-shadow: var(--shadow-1); }93.tpl-skel-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--border); background: var(--surface-2); }94.tpl-skel-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }95.tpl-skel-body { display: flex; flex-direction: column; gap: 12px; padding: 20px; }96.tpl-skel-hero { height: 84px; border-radius: 8px; background: var(--accent-soft); }97.tpl-skel-line { height: 10px; border-radius: 5px; background: var(--surface-3); width: 100%; transform-origin: left center; }98.tpl-skel-line.w90 { width: 90%; }99.tpl-skel-line.w75 { width: 75%; }100.tpl-skel-line.w60 { width: 60%; height: 16px; }101.tpl-skel-line.w40 { width: 40%; }102.tpl-skel-btn { width: 120px; height: 34px; border-radius: 8px; background: var(--accent); opacity: 0.55; }103.tpl-skel.active .tpl-skel-line, .tpl-skel.active .tpl-skel-btn, .tpl-skel.active .tpl-skel-hero { animation: tpl-write 3.2s var(--ease) infinite both; }104.tpl-skel.active .tpl-skel-body > :nth-child(2) { animation-delay: 0.2s; }105.tpl-skel.active .tpl-skel-body > :nth-child(3) { animation-delay: 0.4s; }106.tpl-skel.active .tpl-skel-body > :nth-child(4) { animation-delay: 0.6s; }107.tpl-skel.active .tpl-skel-body > :nth-child(5) { animation-delay: 0.8s; }108.tpl-skel.active .tpl-skel-body > :nth-child(6) { animation-delay: 1s; }109.tpl-skel.active .tpl-skel-body > :nth-child(7) { animation-delay: 1.2s; }110@keyframes tpl-write { 0% { opacity: 0.15; transform: scaleX(0.2); } 30%, 80% { opacity: 1; transform: none; } 100% { opacity: 0.15; transform: scaleX(0.2); } }111.tpl-skel.active .tpl-skel-hero, .tpl-skel.active .tpl-skel-btn { transform-origin: left center; }112.tpl-skel.active .tpl-skel-btn { animation-name: tpl-pulse; }113@keyframes tpl-pulse { 0%, 100% { opacity: 0.2; } 40%, 80% { opacity: 0.6; } }114@media (prefers-reduced-motion: reduce) { .tpl-skel.active * { animation: none !important; } .tpl-card:hover { transform: none; } }115116/* ---- éditeur */117.tpl-save-state { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-s); color: var(--text-3); white-space: nowrap; flex: none; }118.tpl-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }119.tpl-save-state.dirty { color: var(--warn); }120.tpl-save-state.dirty .tpl-dot { background: var(--warn); }121.tpl-work { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(340px, 460px) minmax(0, 1fr) 320px; }122.tpl-editor[data-layout="medium"] .tpl-work { grid-template-columns: minmax(320px, 400px) minmax(0, 1fr); }123.tpl-editor[data-layout="narrow"] .tpl-work { grid-template-columns: minmax(0, 1fr); }124.tpl-zone { min-height: 0; min-width: 0; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 12px; }125.tpl-zone[hidden] { display: none; }126.tpl-zone-content { border-right: 1px solid var(--border); background: var(--surface); }127.tpl-zone-vars { border-left: 1px solid var(--border); background: var(--surface); }128.tpl-zone-preview { background: var(--bg); overflow: hidden; }129.tpl-side { min-height: 0; min-width: 0; display: flex; flex-direction: column; border-right: 1px solid var(--border); background: var(--surface); }130.tpl-side > .tpl-tabs { margin: 10px 14px 0; }131.tpl-side .tpl-zone { flex: 1; border: 0; }132.tpl-zone-tabs { margin: 8px 12px 0; flex: none; }133.tpl-tabs { display: flex; gap: 2px; padding: 3px; border-radius: var(--radius-m); background: var(--surface-2); border: 1px solid var(--border); flex: none; }134.tpl-tabs [role="tab"] { flex: 1; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 4px 8px; border: 0; border-radius: 6px; background: transparent; color: var(--text-2); font-weight: 550; cursor: pointer; white-space: nowrap; }135.tpl-tabs [role="tab"][aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-1); }136.tpl-tabs [role="tab"]:hover { color: var(--text); }137.tpl-tabs [role="tab"][disabled] { opacity: 0.5; cursor: not-allowed; }138.tpl-tabpanel[hidden] { display: none; }139.tpl-tabpanel-code { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; }140.tpl-varfield { display: flex; gap: 4px; align-items: flex-start; }141.tpl-varfield .input, .tpl-varfield .textarea { flex: 1; min-width: 0; }142.tpl-preheader { min-height: 62px; }143.tpl-revise, .tpl-notes { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-m); background: var(--surface-2); }144.tpl-revise h3, .tpl-notes h3 { display: flex; align-items: center; gap: 6px; }145.tpl-revise h3 .icon { color: var(--accent); }146.tpl-revise .textarea { min-height: 62px; }147.tpl-notes p { color: var(--text-2); font-size: var(--fs-s); line-height: 1.5; }148.tpl-brief-shown summary { cursor: pointer; font-size: var(--fs-s); font-weight: 600; color: var(--text-2); min-height: 28px; }149.tpl-brief-shown p { color: var(--text-2); margin-top: 4px; }150.tpl-revise-run { display: flex; flex-direction: column; gap: 10px; }151.tpl-sanitize { align-items: flex-start; }152.tpl-sanitize ul { list-style: disc; padding-left: 18px; margin: 4px 0; }153.tpl-sanitize .icon { color: var(--info); }154.tpl-status { display: flex; align-items: center; gap: 14px; padding: 6px 14px; border-top: 1px solid var(--border); background: var(--surface); flex: none; min-height: 34px; flex-wrap: wrap; }155.tpl-size { color: var(--text-3); font-variant-numeric: tabular-nums; }156.tpl-size.near, .tpl-size.clipped, .tpl-size.over { color: var(--warn); font-weight: 600; }157158/* ---- variables */159.tpl-vars { display: flex; flex-direction: column; gap: 12px; }160.tpl-panel-head { flex-wrap: wrap; }161.tpl-panel-head h2 { font-size: 1rem; }162.tpl-var-list { display: flex; flex-direction: column; gap: 12px; }163.tpl-var-list label { display: flex; align-items: center; }164.tpl-var-list code { color: var(--text); font-weight: 600; }165.tpl-var-list .textarea { min-height: 62px; }166167/* ---- éditeur de source */168.tpl-code { flex: 1; min-height: 300px; display: flex; flex-direction: column; border: 1px solid var(--border-strong); border-radius: var(--radius-m); background: var(--surface); overflow: hidden; }169.tpl-code:focus-within { border-color: var(--focus); }170.tpl-code-bar, .tpl-find { display: flex; align-items: center; gap: 4px; padding: 2px 8px 2px 4px; border-bottom: 1px solid var(--border); background: var(--surface-2); flex: none; }171.tpl-code-bar .icon-btn, .tpl-find .icon-btn { width: 34px; height: 34px; }172.tpl-find { padding: 4px 4px 4px 8px; }173.tpl-find .input { min-height: 32px; padding: 4px 8px; flex: 1; min-width: 80px; }174.tpl-find-count { min-width: 56px; text-align: right; white-space: nowrap; }175.tpl-up .icon { transform: rotate(90deg); }176.tpl-down .icon { transform: rotate(-90deg); }177.tpl-code-body { flex: 1; min-height: 0; display: flex; position: relative; }178.tpl-code-gutter { flex: none; width: 46px; overflow: hidden; background: var(--surface-2); border-right: 1px solid var(--border); color: var(--text-3); user-select: none; }179.tpl-code-gutter pre { margin: 0; padding: 10px 8px 10px 0; text-align: right; will-change: transform; }180.tpl-code-area, .tpl-code-gutter pre { font: 13px/20px var(--mono); tab-size: 2; }181.tpl-code-area { flex: 1; min-width: 0; height: 100%; border: 0; margin: 0; padding: 10px; resize: none; background: transparent; color: var(--text); white-space: pre; overflow: auto; overscroll-behavior: contain; }182.tpl-code.wrap .tpl-code-area { white-space: break-spaces; line-break: anywhere; overflow-wrap: anywhere; overflow-x: hidden; }183.tpl-code-area:focus-visible { outline: none; }184185/* ---- aperçu */186.tpl-preview { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; }187.tpl-preview-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; flex: none; }188.tpl-preview-bar .segmented button { display: inline-flex; align-items: center; gap: 6px; }189.tpl-zoom { min-width: 44px; text-align: right; }190.tpl-preview-note { flex: none; }191.tpl-inbox { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-m); background: var(--surface); flex: none; min-width: 0; }192.tpl-inbox-avatar { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-strong); font-weight: 700; }193:root[data-theme="dark"] .tpl-inbox-avatar { color: var(--accent); }194@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tpl-inbox-avatar { color: var(--accent); } }195.tpl-inbox-text { flex: 1; min-width: 0; }196.tpl-inbox-subject { font-weight: 650; }197.tpl-stage { flex: 1; min-height: 0; overflow: hidden; display: grid; justify-items: center; align-items: start; padding: 16px; border-radius: var(--radius-m); border: 1px solid var(--border); background-color: var(--surface-2); background-image: radial-gradient(var(--border) 1px, transparent 1px); background-size: 14px 14px; transition: opacity 0.15s var(--ease); }198.tpl-stage.scroll { overflow: auto; justify-items: start; }199.tpl-stage-wait { width: min(100%, 640px); height: 100%; min-height: 240px; }200.tpl-stage-skel { width: 100%; height: 100%; min-height: 200px; border-radius: 8px; }201.tpl-device { flex: none; }202.tpl-device.desktop { border: 1px solid var(--border-strong); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-2); background: #fff; }203.tpl-device.mobile { background: #111214; box-shadow: var(--shadow-2), inset 0 0 0 2px #3a3b3e; position: relative; }204.tpl-device.mobile .tpl-frame { border-radius: 22px; }205.tpl-frame { position: relative; overflow: hidden; background: #fff; flex: none; }206.tpl-frame[data-scheme="dark"] { background: #121212; }207.tpl-frame iframe { display: block; border: 0; transform-origin: 0 0; background: transparent; }208.tpl-frame.thumb iframe { pointer-events: none; }209210/* ---- tiroir des versions */211.tpl-drawer-overlay { position: fixed; inset: 0; z-index: 60; background: var(--overlay); }212.tpl-drawer { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); display: flex; flex-direction: column; background: var(--surface); border-left: 1px solid var(--border); box-shadow: var(--shadow-2); animation: tpl-slide 0.2s var(--ease); }213@keyframes tpl-slide { from { transform: translateX(32px); } to { transform: none; } }214.tpl-drawer-body { flex: 1; min-height: 0; overflow-y: auto; padding: 4px 20px 20px; display: flex; flex-direction: column; gap: 12px; }215.tpl-version-list { display: flex; flex-direction: column; gap: 6px; }216.tpl-version-list > li.current { padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-m); background: var(--surface-2); display: flex; flex-direction: column; gap: 2px; }217.tpl-version { width: 100%; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; text-align: left; border: 1px solid var(--border); border-radius: var(--radius-m); background: var(--surface); color: var(--text); cursor: pointer; }218.tpl-version:hover { background: var(--surface-2); }219.tpl-version[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }220.tpl-version-note { color: var(--text-2); overflow-wrap: anywhere; }221.tpl-version-preview { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; border-top: 1px solid var(--border); }222.tpl-version-frame { border: 1px solid var(--border-strong); border-radius: var(--radius-m); overflow: hidden; background: #fff; min-height: 200px; }223224/* ---- utiliser */225.tpl-use h3 { font-size: 1rem; }226.tpl-api-code { margin: 0; padding: 12px; border-radius: var(--radius-m); background: var(--surface-2); border: 1px solid var(--border); overflow: auto; max-height: 240px; max-width: 100%; white-space: pre; }227.tpl-api, .tpl-api-block { min-width: 0; }228.tpl-api h3 { font-size: var(--fs); }229.tpl-api-notes { display: flex; flex-direction: column; gap: 6px; }230.tpl-api-notes li { display: flex; gap: 8px; align-items: flex-start; }231.tpl-api-notes .icon { flex: none; margin-top: 2px; }232.tpl-api a { color: var(--accent-strong); text-decoration: underline; }233:root[data-theme="dark"] .tpl-api a { color: var(--accent); }234@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tpl-api a { color: var(--accent); } }235236/* ---- définition d'une variable */237.tpl-var-def { border: 1px solid var(--border); border-radius: var(--radius-m); background: var(--surface); }238.tpl-var-def > summary { display: flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 10px; cursor: pointer; color: var(--text-2); font-size: var(--fs-s); list-style: none; border-radius: var(--radius-m); }239.tpl-var-def > summary::-webkit-details-marker { display: none; }240.tpl-var-def > summary:hover { background: var(--surface-2); }241.tpl-var-def[open] > summary { border-bottom: 1px solid var(--border); border-radius: var(--radius-m) var(--radius-m) 0 0; }242.tpl-var-def > summary .badge { margin-left: auto; }243.tpl-var-def-body { padding: 10px; }244.tpl-var-def-body label { font-weight: 600; }245.tpl-optional { margin-left: 6px; font-weight: 400; font-size: var(--fs-s); }246247/* ---- envoyer ce modèle */248.tpl-send { min-width: 0; }249.tpl-send h3 { font-size: 1rem; }250.tpl-send-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }251.tpl-send-form, .tpl-send-side { min-width: 0; }252.tpl-send-side { position: sticky; top: 0; }253.tpl-send-rcpt { border: 1px solid var(--border-strong); border-radius: var(--radius-m); padding: 0 10px; background: var(--surface); }254.tpl-send-rcpt:focus-within { border-color: var(--focus); }255.tpl-send-rcpt[data-invalid] { border-color: var(--danger); }256.tpl-send-vars { border: 0; padding: 0; margin: 0; min-width: 0; }257.tpl-send-vars > legend { padding: 0; margin-bottom: 8px; font-weight: 650; }258.tpl-send-vars label { display: flex; align-items: center; }259.tpl-send-vars code { color: var(--text); font-weight: 600; }260.tpl-send-frame { min-height: 160px; }261.tpl-send-subject { overflow-wrap: anywhere; }262.tpl-send-honest { display: flex; gap: 8px; align-items: flex-start; }263.tpl-send-honest .icon { flex: none; margin-top: 2px; }264.tpl-send .banner ul { display: flex; flex-direction: column; gap: 4px; }265.tpl-send .banner p { margin: 2px 0 0; }266.tpl-send-rcpts { display: flex; flex-direction: column; gap: 6px; }267.tpl-send-rcpts li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-m); background: var(--surface); }268.tpl-send-rcpts .badge { display: inline-flex; align-items: center; gap: 4px; }269.tpl-send-addr { font-weight: 600; overflow-wrap: anywhere; min-width: 0; }270.tpl-send-reply { flex-basis: 100%; overflow-wrap: anywhere; }271.tpl-send-api { border-top: 1px solid var(--border); padding-top: 10px; min-width: 0; }272.tpl-send-api > summary { display: flex; align-items: center; gap: 6px; min-height: 32px; cursor: pointer; font-weight: 600; list-style: none; }273.tpl-send-api > summary::-webkit-details-marker { display: none; }274.tpl-send-api[open] > summary { margin-bottom: 10px; }275276.shortcuts-title { margin: 4px 0 8px; color: var(--text-2); }277278/* ---- écrans moyens et étroits */279@media (max-width: 1100px) {280  .tpl-act-label { display: none; }281  .tpl-head .btn.tpl-act, .tpl-head .btn.primary[data-testid="save"] { padding: 0 10px; }282  .tpl-seg-label { display: none; }283}284@media (max-width: 900px) {285  .tpl-new { grid-template-columns: minmax(0, 1fr); }286  .tpl-new-side { position: static; }287}288@media (max-width: 760px) {289  .tpl-send-grid { grid-template-columns: minmax(0, 1fr); }290  .tpl-send-side { position: static; }291  .tpl-head { gap: 4px; padding: 8px; }292  .tpl-back-label, .tpl-hide-narrow { display: none; }293  .tpl-save-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }294  .tpl-scroll { padding: 14px 12px 40px; }295  .tpl-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }296  .tpl-toolbar .tpl-search { flex-basis: 100%; max-width: none; }297  .tpl-select { flex: 1 1 0; min-width: 0; }298  .tpl-count { flex-basis: 100%; }299  .tpl-new-options, .tpl-brand-grid { grid-template-columns: minmax(0, 1fr); }300  .tpl-zone { padding: 12px; }301  .tpl-zone-content, .tpl-zone-vars { border: 0; }302  .tpl-stage { padding: 10px; }303  .tpl-status { padding: 6px 12px; gap: 8px; }304  .tpl-drawer-body { padding: 4px 14px 16px; }305  .tpl-code { min-height: 52dvh; }306}307
Files main
Menu

Theme