gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitc4a60ef2c4a60ef2Log: RT52 retest passed, AP52 startedmrec4a60ef2/components/styles.hl

6.7 KB

  1. // Site-wide tokens and vocabulary shared by independent components.
  2. inherit '../theme/theme.hl'
  3. import { var } from 'hl:web/css'
  4. import { greenDark, yellow, purple, blueDark, orange, blueLight, greenLight, colorText, colorBackground, colorTextStrong, colorBackgroundSunken, colorTextMuted, colorAccentText, colorBorder, colorDanger, colorSuccess, colorWarning, colorSurface } from '../shared/tokens.hl'
  5. colorAccent = var(greenDark) // the app's accent
  6. colorType1 = var(yellow) // Movie
  7. colorType2 = var(greenDark) // Series
  8. colorType3 = var(purple) // Show
  9. colorType4 = var(blueDark) // Genre
  10. colorType5 = var(orange) // Person (cast and crew links)
  11. colorType6 = var(blueLight) // Franchise
  12. colorTimeline = var(greenLight) // tracker#19's timelines
  13. 'button.inverted' {
  14. color = colorAccent
  15. background = colorSurface
  16. }
  17. 'button.checkicon' {
  18. flex = 'none'
  19. display = 'grid'
  20. placeItems = 'center'
  21. width = '2.75rem'
  22. height = '2.75rem'
  23. minHeight = '0'
  24. padding = '0'
  25. background = 'transparent'
  26. border = '0'
  27. borderRadius = '50%'
  28. cursor = 'pointer'
  29. svg {
  30. width = '22px'
  31. height = '22px'
  32. }
  33. }
  34. '.message' {
  35. color = colorDanger
  36. }
  37. '.message.banner' {
  38. margin = '0'
  39. padding = '.5rem .75rem'
  40. background = colorBackgroundSunken
  41. }
  42. 'p.message' {
  43. empty {
  44. display = 'none'
  45. }
  46. }
  47. '.type-movie' {
  48. color = colorType1
  49. }
  50. '.type-series' {
  51. color = colorType2
  52. }
  53. '.type-show' {
  54. color = colorType3
  55. }
  56. '.type-genre' {
  57. color = colorType4
  58. }
  59. '.type-person' {
  60. color = colorType5
  61. }
  62. '.type-franchise' {
  63. color = colorType6
  64. }
  65. '.type-timeline' {
  66. color = colorTimeline
  67. }
  68. 'h1.typed' {
  69. display = 'flex'
  70. alignItems = 'baseline'
  71. columnGap = '.4em'
  72. }
  73. typeWord {
  74. flex = 'none'
  75. fontWeight = '600'
  76. }
  77. 'a.type-word' {
  78. display = 'inline-flex'
  79. alignItems = 'center'
  80. minHeight = '2.75rem'
  81. }
  82. typeSep {
  83. flex = 'none'
  84. fontWeight = '300'
  85. color = colorTextMuted
  86. }
  87. typeName {
  88. minWidth = '0'
  89. color = colorTextStrong
  90. overflowWrap = 'anywhere'
  91. }
  92. shortIdLabel {
  93. display = 'block'
  94. marginTop = '.3rem'
  95. font = '400 .8rem/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace'
  96. letterSpacing = '.05em'
  97. color = colorTextMuted
  98. textAlign = 'center'
  99. userSelect = 'all'
  100. }
  101. 'a.pill[href]' {
  102. boxSizing = 'content-box'
  103. border = '0 solid transparent' // functional: the pill's 44 px tap area
  104. borderWidth = '.6875rem 0' // functional: enlarge the pill's tap area
  105. margin = '-.6875rem 0'
  106. backgroundClip = 'padding-box'
  107. hover {
  108. textDecoration = 'none'
  109. }
  110. }
  111. 'a.pill.extlink[href]' {
  112. hover {
  113. color = colorAccentText
  114. background = colorAccent
  115. backgroundClip = 'padding-box'
  116. }
  117. }
  118. '.checkicon' {
  119. circle {
  120. fill = 'transparent'
  121. stroke = colorTextMuted
  122. strokeWidth = '1.5'
  123. }
  124. path {
  125. fill = 'none'
  126. stroke = colorTextMuted
  127. strokeWidth = '2'
  128. strokeLinecap = 'round'
  129. strokeLinejoin = 'round'
  130. }
  131. }
  132. 'button.checkicon.regular' {
  133. hover {
  134. circle {
  135. stroke = colorAccent
  136. }
  137. path {
  138. stroke = colorAccent
  139. }
  140. }
  141. }
  142. '.checkicon.solid' {
  143. circle {
  144. fill = colorAccent
  145. stroke = colorAccent
  146. }
  147. path {
  148. stroke = colorAccentText
  149. }
  150. }
  151. myShowsRows {
  152. display = 'block'
  153. }
  154. myShowRow {
  155. display = 'flex'
  156. alignItems = 'center'
  157. gap = '.8rem'
  158. padding = '.5rem 0'
  159. }
  160. 'img.myshow-poster' {
  161. flex = 'none'
  162. display = 'block'
  163. width = '2.5rem'
  164. height = 'auto'
  165. aspectRatio = '2 / 3'
  166. objectFit = 'cover'
  167. borderRadius = radiusSmall
  168. background = colorSurface
  169. }
  170. '.myshow-title' {
  171. flex = '1'
  172. minWidth = '0'
  173. fontWeight = '600'
  174. overflowWrap = 'anywhere'
  175. padding = '.7rem 0'
  176. margin = '-.7rem 0'
  177. }
  178. franchisesHead {
  179. display = 'flex'
  180. alignItems = 'center'
  181. gap = '.6rem'
  182. marginBottom = '.8rem'
  183. h1 {
  184. flex = '1'
  185. minWidth = '0'
  186. margin = '0'
  187. overflowWrap = 'anywhere'
  188. }
  189. 'a.button' {
  190. flex = 'none'
  191. padding = '.3rem .8rem'
  192. fontSize = '.9rem'
  193. }
  194. }
  195. timelineList {
  196. display = 'grid'
  197. gridTemplateColumns = 'minmax(0, 1fr)'
  198. gap = '0 1.2rem'
  199. @media {
  200. minWidth = '40rem'
  201. gridTemplateColumns = 'repeat(2, minmax(0, 1fr))'
  202. }
  203. }
  204. 'a.timeline-link' {
  205. display = 'flex'
  206. alignItems = 'center'
  207. gap = '.6rem'
  208. minHeight = '2.75rem'
  209. padding = '.35rem 0'
  210. color = colorText
  211. }
  212. timelineLinkName {
  213. flex = '1'
  214. minWidth = '0'
  215. overflowWrap = 'anywhere'
  216. }
  217. timelineLinkCount {
  218. flex = 'none'
  219. fontSize = '.8rem'
  220. color = colorTextMuted
  221. }
  222. editSection {
  223. display = 'flex'
  224. flexDirection = 'column'
  225. gap = '.5rem'
  226. marginBottom = '1.4rem'
  227. input {
  228. display = 'block'
  229. width = '100%'
  230. padding = '.55rem .75rem'
  231. font = 'inherit'
  232. color = colorTextStrong
  233. background = colorSurface
  234. border = '0'
  235. borderRadius = radiusSmall
  236. outline = 'none'
  237. focus {
  238. boxShadow = '0 0 0 2px ' + colorAccent
  239. }
  240. }
  241. textarea {
  242. display = 'block'
  243. width = '100%'
  244. padding = '.55rem .75rem'
  245. font = 'inherit'
  246. color = colorTextStrong
  247. background = colorSurface
  248. border = '0'
  249. borderRadius = radiusSmall
  250. outline = 'none'
  251. focus {
  252. boxShadow = '0 0 0 2px ' + colorAccent
  253. }
  254. }
  255. '>' {
  256. button {
  257. alignSelf = 'flex-start'
  258. }
  259. }
  260. }
  261. listPage {
  262. display = 'block'
  263. }
  264. '.list-count' {
  265. margin = '-.4rem 0 .8rem'
  266. fontSize = '.9rem'
  267. }
  268. pagerBox {
  269. display = 'block'
  270. margin = '1rem 0'
  271. pagination {
  272. ol {
  273. gap = '.1rem'
  274. @media {
  275. minWidth = '40rem'
  276. gap = '.3rem'
  277. }
  278. }
  279. button {
  280. padding = '.3rem .3rem'
  281. fontSize = '.95rem'
  282. @media {
  283. minWidth = '40rem'
  284. padding = '.35rem .6rem'
  285. fontSize = '1rem'
  286. }
  287. }
  288. }
  289. }
  290. 'a.tile' {
  291. display = 'block'
  292. minWidth = '0'
  293. color = colorText
  294. hover {
  295. textDecoration = 'none'
  296. tileTitle {
  297. color = colorAccent
  298. }
  299. }
  300. }
  301. 'img.tile-poster' {
  302. display = 'block'
  303. width = '100%'
  304. height = 'auto'
  305. aspectRatio = '2 / 3'
  306. objectFit = 'cover'
  307. borderRadius = radiusLarge
  308. background = colorSurface
  309. }
  310. tileTitle {
  311. display = '-webkit-box'
  312. marginTop = '.3rem'
  313. fontSize = '.85rem'
  314. fontWeight = '600'
  315. lineHeight = '1.25'
  316. overflow = 'hidden'
  317. overflowWrap = 'anywhere'
  318. '-webkit-line-clamp' = '2'
  319. '-webkit-box-orient' = 'vertical'
  320. }
  321. tileYear {
  322. display = 'block'
  323. fontSize = '.8rem'
  324. color = colorTextMuted
  325. fontVariantNumeric = 'tabular-nums'
  326. }
  327. 'button.add' {
  328. flex = 'none'
  329. padding = '.3rem .8rem'
  330. fontSize = '.9rem'
  331. }
  332. 'h2.film-heading' {
  333. margin = '.4rem 0 .2rem'
  334. fontSize = '.85rem'
  335. fontWeight = '600'
  336. letterSpacing = '.04em'
  337. textTransform = 'uppercase'
  338. color = colorTextMuted
  339. }
  340. '@keyframes tracker-person-tick' {
  341. 'from' {
  342. opacity = '0'
  343. }
  344. to {
  345. opacity = '0'
  346. }
  347. }
  348. 'img.film-poster' {
  349. flex = 'none'
  350. display = 'block'
  351. width = '2.5rem'
  352. height = 'auto'
  353. aspectRatio = '2 / 3'
  354. objectFit = 'cover'
  355. borderRadius = radiusSmall
  356. background = colorSurface
  357. }
  358. filmText {
  359. flex = '1'
  360. minWidth = '0'
  361. display = 'flex'
  362. flexDirection = 'column'
  363. }
  364. filmTitle {
  365. fontWeight = '600'
  366. color = colorTextStrong
  367. overflowWrap = 'anywhere'
  368. }
  369. filmMeta {
  370. display = 'flex'
  371. alignItems = 'center'
  372. gap = '.5rem'
  373. fontSize = '.8rem'
  374. color = colorTextMuted
  375. fontVariantNumeric = 'tabular-nums'
  376. }

Branches

Latest commits

  • c4a60ef2Log: RT52 retest passed, AP52 startedmre
  • 7c051eddLog: hybriel#338 answermre
  • d049b8b8Log: HM50 live, #52 donemre
  • 6d05fa37Log: HM50 Part A mergedmre
  • 1c7dab74HM50: the shell reads the framework's online state, netProbe removed (tracker#55)mre
  • e8b91697HM50: search address follows the text via navigate(path, replace = true) (tracker#52)mre
  • 6fe1896cHM50: re-vendor Hybriel set day50 (source 0ae38232, bin d3ef9d16)mre
  • 2f391aa9Log: HM50 startedmre
  • 4b59c03dHM50 mission: doc pathmre
  • ed526d67HM50 missionmre
  • 2f986ca3Log: RT50 passmre
  • 1c4715a4RT50 mission: day50 repro retestmre
  • 57d1c0dcLog: day50 retest requestmre
  • 60b1f419Log: Anton #336 result, wake checkmre
  • 919a18aalog: scratchmre
  • 6b504440status tidymre
  • 9332bd10log: DP70 livemre
  • be11daa0DP70 brief fixmre
  • 886a7028DP70 brief, HM67 mergedmre
  • b41cdd6dMerge hm67-searchids: packed search IDsmre