gitoria

layouts

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Main branchmain4099e64aMerge branch 'font-segoe-ui' into mainAtlasmain/theme/theme.hl

20.2 KB

  1. // theme/theme.hl — THE WORLDAPI THEME: how WorldAPI makes the black/white components of components.hybriel.worldapi.org
  2. // look for itself. A styles file (hl:web): an app inherits it from its own styles.hl and sets its accent and type colours:
  3. //
  4. // inherit './theme/theme.hl'
  5. // import { var } from 'hl:web/css'
  6. // import { purple, yellow } from './shared/tokens.hl'
  7. // colorAccent = var(purple)
  8. // colorType1 = var(yellow)
  9. //
  10. // What is in here, in this order:
  11. // 1. layout tokens and the type-colour slots (the palette and the semantic roles are shared/tokens.hl)
  12. // 2. plain HTML elements: text, links, buttons, fields, foldables, drop zones, tables, pills
  13. // 3. the components of components.hybriel.worldapi.org, themed WITHOUT forking them: every rule repeats the component's
  14. // own selector with `html ` in front, so it wins over the component's Style (which comes later in the one stylesheet)
  15. // and never emits the same selector twice (hl:web refuses that)
  16. // The shells (header, sidebar, content-first, list-first, three-pane) carry their own Style in theme/shell/*.hl.
  17. //
  18. // Design rules (docs/design-rules.md): borderless — a border only where it means something (foldables, drop zones,
  19. // focus); no boxed cards, no grey frames; colours only through the named tokens; titles white; mobile first, wider
  20. // layouts in `@media (min-width: 60rem)` (the one breakpoint of the theme, also used by theme/shell/*.hl).
  21. import { var } from 'hl:web/css'
  22. import { yellow, greenDark, purple, blueDark, orange, blueLight, colorBackground, colorBackgroundSunken, colorSurface, colorBorder, colorText, colorTextStrong, colorTextMuted, colorSuccess, colorWarning, colorDanger, colorAccent, colorAccentText } from '../shared/tokens.hl'
  23. // ---- 1. tokens -------------------------------------------------------------------------------------------------
  24. // the type colours: an app names what each slot means (tracker: 1 Movie, 2 Series, 3 Show, 4 Genre, 5 Person) and may
  25. // point a slot at another palette colour in its styles.hl (`colorType1 = var(yellow)`)
  26. colorType1 = var(yellow)
  27. colorType2 = var(greenDark)
  28. colorType3 = var(purple)
  29. colorType4 = var(blueDark)
  30. colorType5 = var(orange)
  31. colorType6 = var(blueLight)
  32. // the layout: the centred content column (header contents end flush with it), the side gutter, the header height, the
  33. // sidebar and list-pane widths of the shells
  34. layoutColumn = var('72rem')
  35. layoutGutter = var('1rem')
  36. layoutHeader = var('3.25rem')
  37. layoutSidebar = var('16rem')
  38. layoutList = var('24rem')
  39. // the tap size: every button, icon button, link in a menu or list, tab, crumb and field is at least this tall and wide (44 px, the
  40. // minimum touch target); mobile first — only the buttons and menu links of the desktop (min-width 60rem) go denser, on purpose
  41. layoutTap = var('2.75rem')
  42. // the corner radii — exactly two (docs/design-rules.md "Corner radius"): radiusSmall for every small item (buttons, pills,
  43. // fields, tags, menu items, chips, day cells), radiusLarge for everything else that is rounded (panels, modals, popovers,
  44. // dropdowns, foldables, tiles/posters); '50%' only for round things (avatars, the check circle). check-theme flags any other
  45. radiusSmall = var('5px')
  46. radiusLarge = var('10px')
  47. // ---- 2. plain elements -----------------------------------------------------------------------------------------
  48. // Keep the whole selector for the selector list.
  49. '*,
  50. *::before,
  51. *::after' { boxSizing = 'border-box' }
  52. body {
  53. margin = '0'
  54. minHeight = '100dvh'
  55. font = '16px/1.5 "Segoe UI", system-ui, -apple-system, sans-serif'
  56. color = colorText
  57. background = colorBackground
  58. overflowWrap = 'anywhere'
  59. }
  60. // Keep the whole selector for the pseudo-element.
  61. '::selection' {
  62. color = colorAccentText
  63. background = colorAccent
  64. }
  65. // Keep the attribute-only selector; no bare form exists.
  66. '[hidden]' { display = 'none !important' }
  67. h1 {
  68. margin = '0 0 1rem'
  69. fontSize = '1.6rem'
  70. lineHeight = '1.25'
  71. color = colorTextStrong
  72. }
  73. h2 {
  74. margin = '1.5rem 0 .6rem'
  75. fontSize = '1.25rem'
  76. lineHeight = '1.3'
  77. color = colorTextStrong
  78. }
  79. h3 {
  80. margin = '1.25rem 0 .5rem'
  81. fontSize = '1.05rem'
  82. lineHeight = '1.3'
  83. color = colorTextStrong
  84. }
  85. h4 {
  86. margin = '1rem 0 .4rem'
  87. fontSize = '1rem'
  88. color = colorTextStrong
  89. }
  90. p { margin = '0 0 1rem' }
  91. strong { color = colorTextStrong }
  92. small { fontSize = '.85rem' }
  93. // Keep the class-only selector; no bare class form exists in a styles file.
  94. '.muted' { color = colorTextMuted }
  95. 'p.empty' {
  96. color = colorTextMuted
  97. fontStyle = 'italic'
  98. }
  99. // Keep the class-only selector; no bare class form exists in a styles file.
  100. '.visually-hidden' {
  101. position = 'absolute'
  102. width = '1px'
  103. height = '1px'
  104. margin = '-1px'
  105. padding = '0'
  106. overflow = 'hidden'
  107. clip = 'rect(0 0 0 0)'
  108. whiteSpace = 'nowrap'
  109. border = '0'
  110. }
  111. ul {
  112. margin = '0 0 1rem'
  113. paddingLeft = '1.25rem'
  114. }
  115. ol {
  116. margin = '0 0 1rem'
  117. paddingLeft = '1.5rem'
  118. }
  119. li { margin = '.15rem 0' }
  120. hr {
  121. height = '1px'
  122. margin = '1.5rem 0'
  123. border = '0'
  124. background = colorSurface
  125. }
  126. img {
  127. maxWidth = '100%'
  128. height = 'auto'
  129. }
  130. a {
  131. color = colorAccent
  132. textDecoration = 'none'
  133. textUnderlineOffset = '.2em'
  134. hover { textDecoration = 'underline' }
  135. }
  136. // Keep the whole selector for the selector list.
  137. 'li > a:first-child,
  138. .links a,
  139. .row > a,
  140. .crumbs a' {
  141. display = 'inline-flex'
  142. alignItems = 'center'
  143. minHeight = layoutTap
  144. }
  145. // Keep the standalone pseudo-class; there is no enclosing element.
  146. ':focus-visible' {
  147. outline = '2px solid ' + colorAccent
  148. outlineOffset = '2px'
  149. }
  150. // Keep the whole selector for the selector list.
  151. code {
  152. padding = '.05rem .3rem'
  153. font = '.9em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace'
  154. background = colorSurface
  155. borderRadius = radiusSmall
  156. }
  157. kbd {
  158. padding = '.05rem .3rem'
  159. font = '.9em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace'
  160. background = colorSurface
  161. borderRadius = radiusSmall
  162. }
  163. samp {
  164. padding = '.05rem .3rem'
  165. font = '.9em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace'
  166. background = colorSurface
  167. borderRadius = radiusSmall
  168. }
  169. pre {
  170. margin = '0 0 1rem'
  171. padding = '.75rem 1rem'
  172. overflow = 'auto'
  173. font = '.9rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace'
  174. background = colorBackgroundSunken
  175. borderRadius = radiusLarge
  176. code {
  177. padding = '0'
  178. background = 'transparent'
  179. }
  180. }
  181. // Keep the whole selector for the selector list.
  182. 'button,
  183. .button' {
  184. display = 'inline-flex'
  185. alignItems = 'center'
  186. justifyContent = 'center'
  187. gap = '.4rem'
  188. minWidth = layoutTap
  189. minHeight = layoutTap
  190. padding = '.4rem .9rem'
  191. font = 'inherit'
  192. fontWeight = '600'
  193. lineHeight = '1.2'
  194. color = colorText
  195. textDecoration = 'none'
  196. background = 'transparent'
  197. border = '0'
  198. borderRadius = radiusSmall
  199. cursor = 'pointer'
  200. }
  201. // Keep the whole selector for the selector list.
  202. 'button:hover,
  203. .button:hover' {
  204. textDecoration = 'none'
  205. background = colorSurface
  206. }
  207. // Keep the whole selector for the selector list.
  208. 'button.primary,
  209. .button.primary,
  210. button[type="submit"]' {
  211. color = colorAccentText
  212. background = colorAccent
  213. }
  214. // Keep the whole selector for the selector list.
  215. 'button.primary:hover,
  216. .button.primary:hover,
  217. button[type="submit"]:hover' {
  218. background = colorAccent
  219. filter = 'brightness(1.1)'
  220. }
  221. // Keep the whole selector for the selector list.
  222. 'button.danger,
  223. .button.danger' { color = colorDanger }
  224. @media {
  225. minWidth = '60rem'
  226. // Keep the whole selector for the selector list.
  227. 'button,
  228. .button' { minHeight = '2.25rem' }
  229. }
  230. button {
  231. disabled {
  232. opacity = '.45'
  233. cursor = 'default'
  234. filter = 'none'
  235. }
  236. }
  237. // Keep the whole selector for the selector list.
  238. 'button svg,
  239. .button svg' {
  240. flex = 'none'
  241. width = '1.25rem'
  242. height = '1.25rem'
  243. }
  244. label {
  245. display = 'block'
  246. marginBottom = '.25rem'
  247. fontWeight = '600'
  248. color = colorTextStrong
  249. }
  250. // Keep the whole selector for the selector list.
  251. input {
  252. maxWidth = '100%'
  253. minHeight = layoutTap
  254. padding = '.5rem .7rem'
  255. font = 'inherit'
  256. fontSize = '1rem'
  257. color = colorText
  258. background = colorBackgroundSunken
  259. border = '0'
  260. borderRadius = radiusSmall
  261. focus {
  262. outline = '2px solid ' + colorAccent
  263. outlineOffset = '0'
  264. }
  265. }
  266. select {
  267. maxWidth = '100%'
  268. minHeight = layoutTap
  269. padding = '.5rem .7rem'
  270. font = 'inherit'
  271. fontSize = '1rem'
  272. color = colorText
  273. background = colorBackgroundSunken
  274. border = '0'
  275. borderRadius = radiusSmall
  276. focus {
  277. outline = '2px solid ' + colorAccent
  278. outlineOffset = '0'
  279. }
  280. }
  281. textarea {
  282. maxWidth = '100%'
  283. minHeight = layoutTap
  284. padding = '.5rem .7rem'
  285. font = 'inherit'
  286. fontSize = '1rem'
  287. color = colorText
  288. background = colorBackgroundSunken
  289. border = '0'
  290. borderRadius = radiusSmall
  291. focus {
  292. outline = '2px solid ' + colorAccent
  293. outlineOffset = '0'
  294. }
  295. width = '100%'
  296. minHeight = '6rem'
  297. resize = 'vertical'
  298. }
  299. // Keep the whole selector for the selector list.
  300. // Keep the whole selector for the selector list.
  301. 'input[aria-invalid="true"],
  302. textarea[aria-invalid="true"]' {
  303. outline = '2px solid ' + colorDanger
  304. outlineOffset = '0'
  305. }
  306. // Keep the whole selector for the selector list.
  307. 'input[type="checkbox"],
  308. input[type="radio"]' {
  309. width = '1.25rem'
  310. height = '1.25rem'
  311. minHeight = '0'
  312. padding = '0'
  313. accentColor = colorAccent
  314. }
  315. // Keep the whole selector for the selector list.
  316. 'label:has(> input[type="checkbox"]),
  317. label:has(> input[type="radio"])' {
  318. display = 'flex'
  319. alignItems = 'center'
  320. gap = '.6rem'
  321. minHeight = layoutTap
  322. }
  323. // Keep the whole selector for the selector list.
  324. 'input::placeholder,
  325. textarea::placeholder' { color = colorTextMuted }
  326. fieldset {
  327. margin = '0 0 1rem'
  328. padding = '0'
  329. border = '0'
  330. }
  331. legend {
  332. padding = '0'
  333. marginBottom = '.5rem'
  334. fontWeight = '600'
  335. color = colorTextStrong
  336. }
  337. form {
  338. p { margin = '0 0 1rem' }
  339. }
  340. progress { accentColor = colorAccent }
  341. details {
  342. margin = '0 0 .75rem'
  343. border = '1px solid ' + colorBorder // functional: foldable boundary
  344. borderRadius = radiusLarge
  345. '> summary' {
  346. '+ *' { marginTop = '.75rem' }
  347. }
  348. }
  349. summary {
  350. display = 'block'
  351. minHeight = layoutTap
  352. padding = '.6rem .9rem'
  353. fontWeight = '600'
  354. color = colorTextStrong
  355. cursor = 'pointer'
  356. hover { background = colorSurface }
  357. }
  358. 'details[open]' {
  359. '> summary' { borderBottom = '1px solid ' + colorBorder }
  360. }
  361. // Keep the whole selector for the functional condition.
  362. 'details > :not(summary)' {
  363. marginLeft = '.9rem'
  364. marginRight = '.9rem'
  365. }
  366. // Keep the whole selector for the functional condition.
  367. 'details > :last-child:not(summary)' { marginBottom = '.75rem' }
  368. // Keep the selector list; its dashed border marks the functional drop zone.
  369. 'drop-zone,
  370. .drop-zone' {
  371. display = 'block'
  372. padding = '1.25rem'
  373. textAlign = 'center'
  374. color = colorTextMuted
  375. border = '2px dashed ' + colorBorder // functional: drop-zone boundary
  376. borderRadius = radiusLarge
  377. }
  378. // Keep the whole selector for the selector list.
  379. 'drop-zone.over,
  380. .drop-zone.over' {
  381. color = colorText
  382. borderColor = colorAccent // functional: active drop-zone boundary
  383. background = colorSurface
  384. }
  385. table {
  386. width = '100%'
  387. margin = '0 0 1rem'
  388. borderCollapse = 'collapse'
  389. }
  390. th {
  391. padding = '.4rem .6rem'
  392. fontSize = '.85rem'
  393. fontWeight = '600'
  394. textAlign = 'left'
  395. color = colorTextMuted
  396. overflowWrap = 'break-word'
  397. }
  398. td {
  399. padding = '.5rem .6rem'
  400. verticalAlign = 'top'
  401. overflowWrap = 'break-word'
  402. }
  403. // Keep the whole selector for the selector list.
  404. tbody {
  405. 'tr:nth-child(odd)' { background = colorBackgroundSunken }
  406. tr {
  407. hover { background = colorSurface }
  408. }
  409. }
  410. // Keep the class-only selector; no bare class form exists in a styles file.
  411. '.type-1' { color = colorType1 }
  412. // Keep the class-only selector; no bare class form exists in a styles file.
  413. '.type-2' { color = colorType2 }
  414. // Keep the class-only selector; no bare class form exists in a styles file.
  415. '.type-3' { color = colorType3 }
  416. // Keep the class-only selector; no bare class form exists in a styles file.
  417. '.type-4' { color = colorType4 }
  418. // Keep the class-only selector; no bare class form exists in a styles file.
  419. '.type-5' { color = colorType5 }
  420. // Keep the class-only selector; no bare class form exists in a styles file.
  421. '.type-6' { color = colorType6 }
  422. // Keep the class-only selector; no bare class form exists in a styles file.
  423. '.success' { color = colorSuccess }
  424. // Keep the class-only selector; no bare class form exists in a styles file.
  425. '.warning' { color = colorWarning }
  426. // Keep the class-only selector; no bare class form exists in a styles file.
  427. '.danger' { color = colorDanger }
  428. // Keep the class-only selector; no bare class form exists in a styles file.
  429. '.pill' {
  430. display = 'inline-block'
  431. padding = '.1rem .55rem'
  432. fontSize = '.8rem'
  433. fontWeight = '700'
  434. lineHeight = '1.5'
  435. color = colorAccentText
  436. background = colorAccent
  437. borderRadius = radiusSmall
  438. whiteSpace = 'nowrap'
  439. }
  440. // Keep the class-only selector; no bare class form exists in a styles file.
  441. '.pill.type-1' {
  442. color = colorAccentText
  443. background = colorType1
  444. }
  445. // Keep the class-only selector; no bare class form exists in a styles file.
  446. '.pill.type-2' {
  447. color = colorAccentText
  448. background = colorType2
  449. }
  450. // Keep the class-only selector; no bare class form exists in a styles file.
  451. '.pill.type-3' {
  452. color = colorAccentText
  453. background = colorType3
  454. }
  455. // Keep the class-only selector; no bare class form exists in a styles file.
  456. '.pill.type-4' {
  457. color = colorAccentText
  458. background = colorType4
  459. }
  460. // Keep the class-only selector; no bare class form exists in a styles file.
  461. '.pill.type-5' {
  462. color = colorAccentText
  463. background = colorType5
  464. }
  465. // Keep the class-only selector; no bare class form exists in a styles file.
  466. '.pill.type-6' {
  467. color = colorAccentText
  468. background = colorType6
  469. }
  470. // Keep the class-only selector; no bare class form exists in a styles file.
  471. '.pill.success' {
  472. color = colorAccentText
  473. background = colorSuccess
  474. }
  475. // Keep the class-only selector; no bare class form exists in a styles file.
  476. '.pill.warning' {
  477. color = colorAccentText
  478. background = colorWarning
  479. }
  480. // Keep the class-only selector; no bare class form exists in a styles file.
  481. '.pill.danger' {
  482. color = colorAccentText
  483. background = colorDanger
  484. }
  485. // Keep the class-only selector; no bare class form exists in a styles file.
  486. '.pill.quiet' {
  487. color = colorText
  488. background = colorSurface
  489. }
  490. // ---- 3. the components of components.hybriel.worldapi.org --------------------------------------------------------
  491. // Plain html declarations share this single root; repeating html overwrites them on day35.
  492. html {
  493. colorScheme = 'dark'
  494. scrollbarColor = colorBorder + ' transparent'
  495. pagination {
  496. button {
  497. border = '0'
  498. borderRadius = radiusSmall
  499. minWidth = layoutTap
  500. }
  501. 'li.current' {
  502. button { border = '0' }
  503. }
  504. }
  505. modalDialog {
  506. '> dialog' {
  507. background = colorSurface
  508. border = '0'
  509. borderRadius = radiusLarge
  510. boxShadow = '0 1rem 3rem ' + colorBackgroundSunken
  511. }
  512. header { borderBottom = '0' }
  513. modalBody {
  514. '> footer' {
  515. background = colorSurface
  516. borderTop = '0'
  517. }
  518. }
  519. button {
  520. borderRadius = radiusSmall
  521. hover { background = colorBackground }
  522. }
  523. }
  524. monthView {
  525. ol { gap = '.25rem' }
  526. button {
  527. border = '0'
  528. borderRadius = radiusSmall
  529. }
  530. }
  531. '#month-days' {
  532. li {
  533. border = '0'
  534. borderRadius = radiusLarge
  535. }
  536. }
  537. datePicker {
  538. input {
  539. border = '0'
  540. borderRadius = radiusSmall
  541. }
  542. 'input[aria-invalid="true"]' {
  543. outline = '2px solid ' + colorDanger
  544. outlineOffset = '-2px'
  545. }
  546. monthView {
  547. background = colorSurface
  548. border = '0'
  549. borderRadius = radiusLarge
  550. boxShadow = '0 .75rem 2rem ' + colorBackgroundSunken
  551. ol { gap = '.2rem' }
  552. }
  553. button {
  554. border = '0'
  555. borderRadius = radiusSmall
  556. }
  557. 'ol.days' {
  558. li {
  559. background = colorBackground
  560. border = '0'
  561. borderRadius = radiusSmall
  562. }
  563. 'li.outside' { background = 'transparent' }
  564. 'li.selected' { background = colorAccent }
  565. }
  566. }
  567. rangePicker {
  568. input {
  569. border = '0'
  570. borderRadius = radiusSmall
  571. }
  572. 'input[aria-invalid="true"]' {
  573. outline = '2px solid ' + colorDanger
  574. outlineOffset = '-2px'
  575. }
  576. monthView {
  577. background = colorSurface
  578. border = '0'
  579. borderRadius = radiusLarge
  580. boxShadow = '0 .75rem 2rem ' + colorBackgroundSunken
  581. ol { gap = '.2rem' }
  582. }
  583. button {
  584. border = '0'
  585. borderRadius = radiusSmall
  586. }
  587. 'ol.days' {
  588. li {
  589. background = colorBackground
  590. border = '0'
  591. borderRadius = radiusSmall
  592. }
  593. 'li.outside' { background = 'transparent' }
  594. 'li.selected' { background = colorAccent }
  595. 'li.between' {
  596. background = colorBackgroundSunken
  597. outline = '0'
  598. time { color = colorAccent }
  599. }
  600. }
  601. }
  602. fileUpload {
  603. dropZone { borderRadius = radiusLarge }
  604. 'label.choose' {
  605. display = 'inline-flex'
  606. alignItems = 'center'
  607. minHeight = layoutTap
  608. fontWeight = '600'
  609. border = '0'
  610. borderRadius = radiusSmall
  611. hover {
  612. color = colorTextStrong
  613. filter = 'brightness(1.15)'
  614. }
  615. }
  616. }
  617. filesUpload {
  618. dropZone { borderRadius = radiusLarge }
  619. pickArea { borderRadius = radiusLarge }
  620. 'label.camera' { borderRadius = radiusSmall }
  621. 'label.choose' {
  622. display = 'inline-flex'
  623. alignItems = 'center'
  624. minHeight = layoutTap
  625. fontWeight = '600'
  626. border = '0'
  627. borderRadius = radiusSmall
  628. hover {
  629. color = colorTextStrong
  630. filter = 'brightness(1.15)'
  631. }
  632. }
  633. }
  634. mdEditor {
  635. border = '0'
  636. borderRadius = radiusLarge
  637. nav {
  638. borderBottom = '0'
  639. borderRadius = radiusLarge + ' ' + radiusLarge + ' 0 0'
  640. button {
  641. minWidth = layoutTap
  642. minHeight = layoutTap
  643. borderRadius = radiusSmall
  644. }
  645. }
  646. @media {
  647. minWidth = '60.01rem'
  648. nav {
  649. button { minWidth = '2.5rem' }
  650. }
  651. }
  652. 'ul.files' { borderBottom = '0' }
  653. linkForm {
  654. borderBottom = '0'
  655. background = colorSurface
  656. input {
  657. border = '0'
  658. borderRadius = radiusSmall
  659. }
  660. button {
  661. border = '0'
  662. borderRadius = radiusSmall
  663. }
  664. }
  665. article {
  666. img { borderRadius = radiusLarge }
  667. code { borderRadius = radiusSmall }
  668. pre {
  669. border = '0'
  670. borderRadius = radiusLarge
  671. }
  672. }
  673. footer {
  674. borderTop = '0'
  675. button {
  676. border = '0'
  677. borderRadius = radiusSmall
  678. }
  679. }
  680. }
  681. commentsBlock {
  682. @media {
  683. maxWidth = '59.99rem'
  684. 'details.comment-history' {
  685. summary {
  686. display = 'inline-flex'
  687. alignItems = 'center'
  688. justifyContent = 'center'
  689. minWidth = layoutTap
  690. minHeight = layoutTap
  691. margin = '-1rem -.2rem'
  692. }
  693. }
  694. }
  695. }
  696. codeEditor {
  697. border = '0'
  698. borderRadius = radiusLarge
  699. codeGutter { borderRight = '0' }
  700. }
  701. mediaPlayer {
  702. video {
  703. borderRadius = radiusLarge
  704. background = colorBackgroundSunken
  705. }
  706. // Keep the class-only selector; no bare class form exists in a styles file.
  707. '.mp-cover' {
  708. img {
  709. borderRadius = radiusLarge
  710. background = colorSurface
  711. }
  712. }
  713. mpSeek {
  714. // Keep the class-only selector; no bare class form exists in a styles file.
  715. '.mp-track' {
  716. background = colorBackgroundSunken
  717. borderRadius = radiusSmall
  718. }
  719. // Keep the class-only selector; no bare class form exists in a styles file.
  720. '.mp-buffered' {
  721. background = colorBorder
  722. opacity = '.6'
  723. }
  724. // Keep the class-only selector; no bare class form exists in a styles file.
  725. '.mp-played' { background = colorAccent }
  726. // Keep the class-only selector; no bare class form exists in a styles file.
  727. '.mp-thumb' { background = colorAccent }
  728. }
  729. mpButtons {
  730. button {
  731. borderRadius = radiusSmall
  732. hover { background = colorSurface }
  733. }
  734. // Keep the class-only selector; no bare class form exists in a styles file.
  735. '.mp-times' { color = colorTextMuted }
  736. }
  737. 'ol.mp-queue' {
  738. button { borderRadius = radiusSmall }
  739. 'li.current' {
  740. button {
  741. color = colorAccent
  742. background = colorSurface
  743. }
  744. // Keep the class-only selector; no bare class form exists in a styles file.
  745. '.mp-q-dur' { color = colorAccent }
  746. }
  747. // Keep the class-only selector; no bare class form exists in a styles file.
  748. '.mp-q-dur' { color = colorTextMuted }
  749. }
  750. }
  751. }
  752. // Keep the whole selector for the selector list.
  753. 'html files-upload ul.files img.thumb, html files-upload ul.files .kind, html files-upload button.remove' { borderRadius = radiusSmall }
  754. // Keep the selector list; the functional borders separate the user's table cells.
  755. 'html md-editor article th,
  756. html md-editor article td' { border = '1px solid ' + colorBorder } // functional: table cell grid
  757. // Keep the whole selector for the selector list.
  758. 'h1 code,
  759. h2 code,
  760. h3 code,
  761. html md-editor article h1 code,
  762. html md-editor article h2 code,
  763. html md-editor article h3 code' {
  764. fontSize = '.65em'
  765. overflowWrap = 'anywhere'
  766. }
  767. // Keep the whole selector for the selector list.
  768. 'html md-editor td a,
  769. html md-editor th a' {
  770. display = 'inline-flex'
  771. alignItems = 'center'
  772. minHeight = layoutTap
  773. }

Branches

Latest commits

  • 4099e64aMerge branch 'font-segoe-ui' into mainAtlas
  • e14fb795|||PR Theme font: Segoe UI first (his choice 2026-11-19)Atlas
  • 44071d2cMerge branch 'hl-standard-5' into mainAtlas
  • 5ea64202|||PR Gate: count the new-tab check's console errors tooAtlas
  • 2752ceddMerge branch 'hl-standard-4' into mainAtlas
  • ac552b81|||PR Gate: keyboard (Tab/Enter/Space) and Back/Forward/reload/new-tab checks (HL-STANDARD F5, F21)Atlas
  • 8cddcaa9Merge branch 'hl-standard-2' into mainAtlas
  • 2b480a64|||PR Type the route parameter of main-menu build (HL-STANDARD L10)Atlas
  • ab54a39dMerge branch 'hl-standard' into mainAtlas
  • 04d36fcf|||PR Type function parameters and drop unneeded let (HL-STANDARD L2, L10)Atlas
  • 220c8fa4Merge branch 'readme-audit' into mainAtlas
  • b78fb85a|||PR README matches the codemre
  • 9f351699Preserve comments and nest supported selectors without changing rendered outputmre
  • 97110ad9WIP: nest accepted layout selectors; stopped at startup parse failuremre
  • ce4a0baeKeep caller slot styles whole so minimal shell apps startmre
  • 12cd3992Re-vendor complete Hybriel plugins and runtime to day44mre
  • b05c20feBackup tar: --hard-dereference, so mpackdb sidecars are never stored as hard links (Tracker's finding)mre
  • 8d9ed0b8Re-vendor complete Hybriel plugins and runtime to day39mre
  • ebd00b6cNest caller slot styles in three-panemre
  • 009991efNest caller slot styles in list-firstmre