Tokens and layout rules

Web values live in admin.css (:root) and mirror the Kokolog design system, group “Desktop web”.

TokenValueUse
--act / --act-hover / --act-press#EE648A / #F07798 / #E05E82Primary button, selected segment, current page, checkbox. Text on it is --on-act #111111.
--nav-ground / --nav-sel#FFF6F7 / #FEE5EESidebar ground and selected item. No darker pinks anywhere.
--link / --link-line#111111 / #EE648ALinks: dark text, pink underline 2 px.
--ink / --ink-2#171719 / #626269Text and secondary text.
--line / --line-2 / --field#E0E0E0 / #EBEBEF / #8A8A92Hairlines; control borders (3:1).
--ground / --surface / --subtle / --hover#F5F5F7 / #FFFFFF / #FAFAFB / #F0F0F3Page ground is white; --ground only behind dialogs and sign-in.
--ok / --warn / --info / --bad / --neu (+ -bg)#126F59 / #9A5B00 / #1565C0 / #B3261E / #4A4A50State only. Never for decoration, never near the pink.
--font-sans / --font-monoBIZ UDPGothic / BIZ UDGothicOnly through these two variables. See フォント候補.
--t-12 … --t-2412 / 13 / 14 / 16 / 20 / 24 pxBody 14/1.6. Page title 24. Section title 16. Captions 12.

Spacing scale

4
8
12
16
24
32
48
  • Inside a control 8–12. Between label and control 6. Between fields 16. Between sections 32. Page padding 32 (24 below 1280).
  • Radius: 4 status tags, 8 controls and notes, 12 panels and dialogs.

Layout grid

  • Top bar 56 px. Sidebar 220 px (fixed). Content: fluid, max 1280 px, left aligned.
  • 1440: sidebar + content with 32 px padding. 1280: the same, tables keep all columns. 1024: page padding 24, filter bars wrap, tables scroll inside their box and the action column stays pinned on the right.
  • Below 760 px the menu moves above the content (support only; not a target size).
  • Tables: hairline rows on white, 13 px header, 14 px cells, row height 48 (56 with two-line cells). Numbers and IDs right-aligned or mono.
  • Dialogs: 560 px (600–640 for Kokoromil changes), title → consequences → inputs → buttons right-aligned, destructive button last.
  • Few cards: panels only for the code display and compose forms.
一覧へ戻る