gitoria

layouts

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit97110ad997110ad9WIP: nest accepted layout selectors; stopped at startup parse failuremre97110ad9/components/styles.hl

1.9 KB

  1. // components/styles.hl — THE SITE'S styles file, as every app writes it: inherit the theme, set the accent (and type colours).
  2. // The showcase keeps the theme's defaults (accent = blue-dark, type slots 1–6), so the switcher in the sidebar shows what
  3. // an app's own `colorAccent = var(…)` does. Below: only what the showcase pages need beyond the theme.
  4. inherit '../theme/theme.hl'
  5. import { colorTextMuted } from '../shared/tokens.hl'
  6. // the page roots (one custom element per page) are blocks
  7. // This selector list includes forms without a nested equivalent (probe v12).
  8. 'home-page,
  9. elements-page,
  10. list-pages,
  11. search-page,
  12. show-month-view,
  13. show-date-picker,
  14. show-range-picker,
  15. show-pagination,
  16. show-md-editor,
  17. show-code-editor,
  18. show-file-upload,
  19. show-modal,
  20. show-comments,
  21. show-files-upload,
  22. show-files-upload-pick,
  23. show-media-player,
  24. tracker-demo,
  25. notes-demo,
  26. mail-demo' { display = 'block' }
  27. // a row of buttons or pills
  28. // Class rule would lose its ancestor or has no View reference (probe v03; hybriel#243).
  29. 'p.row' {
  30. display = 'flex'
  31. flexWrap = 'wrap'
  32. alignItems = 'center'
  33. gap = '.5rem'
  34. }
  35. // the overview lists (/components, /shells, /docs, search): title and one muted line, no frames
  36. // Class rule would lose its ancestor or has no View reference (probe v03; hybriel#243).
  37. 'ul.pages' {
  38. margin = '0'
  39. padding = '0'
  40. listStyle = 'none'
  41. }
  42. // Class rule would lose its ancestor or has no View reference (probe v03; hybriel#243).
  43. 'ul.pages li' {
  44. margin = '0'
  45. padding = '.6rem 0'
  46. }
  47. // Class rule would lose its ancestor or has no View reference (probe v03; hybriel#243).
  48. 'ul.pages a' { fontWeight = '600' }
  49. // Class rule would lose its ancestor or has no View reference (probe v03; hybriel#243).
  50. 'ul.pages span' {
  51. display = 'block'
  52. color = colorTextMuted
  53. }
  54. // the README link under a themed component
  55. // Class rule would lose its ancestor or has no View reference (probe v03; hybriel#243).
  56. 'p.readme' { marginTop = '1.5rem' }

Branches

Latest commits

  • 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
  • 494d75d4Nest caller slot styles in app-sidebarmre
  • e5571680Align all plugin sources with Hybriel day38bmre
  • 5d204c46Re-vendor layouts to Hybriel set day38bmre
  • 17e0f03eNest html-prefixed theme component overridesmre
  • e54e735eFormat plain theme elements with nested rules and bare mediamre
  • 547f834eRecord LY7 deployment and live verificationmre
  • fa4600b1Link caller-slot style exceptions to hybriel#270mre
  • 413b11e1Record corrected LY7 nesting, exact CSS and Chrome proofmre
  • b810453etracker-demo: nest child and compound selectors in Stylemre
  • 0b5b1d61notes-demo: nest child and compound selectors in Stylemre
  • ab22bdc2mail-demo: nest child and compound selectors in Stylemre
  • fe2d8de9home: nest child and compound selectors in Stylemre
  • e631791buser-menu: nest child and compound selectors in Stylemre