okami.mom/strata
git clone https://git.nkp.pet/okami.mom/strata
4fb068a8c
main
1/* The task board (Tasks > Board) and its sidebar count. Only the kit's tokens: no new colours. */ 2 3. navcount { display : inline-grid; place-items : center; min-width : 18 px ; height : 18 px ; margin-left : 8 px ; padding : 0 5 px ; border-radius : var ( --st-r-pill ); background : var ( --st-warn-tint ); color : var ( --st-warn-text ); font : 700 11 px/1var ( --st-font ); letter-spacing : 0 ; text-transform : none; } 4. navsession__dot { flex : none; width : 6 px ; height : 6 px ; border-radius : 50 % ; background : var ( --st-accent ); } 5. navsession__dot--warn { background : var ( --st-warn ); } 6 7. board-wrap { container-type : inline-size; min-width : 0 ; } 8. board { display : grid; grid-template-columns : repeat ( 4 , minmax ( 0 , 1 fr )); gap : 16 px ; align-items : start; } 9@container ( max-width : 1080 px ) { . board { grid-template-columns : repeat ( 2 , minmax ( 0 , 1 fr )); } } 10@container ( max-width : 560 px ) { . board { grid-template-columns : minmax ( 0 , 1 fr ); } } 11 12. bcol { background : var ( --st-surface-2 ); border : 1 px solidvar ( --st-line-soft ); border-radius : var ( --st-r-lg ); padding : 12 px 12 px 14 px ; display : flex; flex-direction : column; gap : 10 px ; min-width : 0 ; } 13[data-theme = 'dark' ]. bcol { background : var ( --st-surface ); } 14. bcol__head { display : flex; align-items : center; gap : 8 px ; padding : 2 px 4 px 4 px ; } 15. bcol__dot { width : 8 px ; height : 8 px ; border-radius : 50 % ; background : var ( --st-ink-muted ); flex : none; } 16. bcol [data-tone = 'run' ]. bcol__dot { background : var ( --st-accent ); box-shadow : 0 0 0 4 px var ( --st-accent-tint ); } 17. bcol [data-tone = 'wait' ]. bcol__dot { background : var ( --st-info ); box-shadow : 0 0 0 4 px var ( --st-info-tint ); } 18. bcol [data-tone = 'bad' ]. bcol__dot { background : var ( --st-warn ); box-shadow : 0 0 0 4 px var ( --st-warn-tint ); } 19. bcol__name { margin : 0 ; font-size : 11 px ; font-weight : 700 ; letter-spacing : 0.06 em ; text-transform : uppercase; color : var ( --st-ink-soft ); } 20. bcol__count { margin-left : auto; font-size : var ( --st-fs-xs ); font-weight : 700 ; color : var ( --st-ink-muted ); font-variant-numeric : tabular-nums; } 21. bcol__hint { margin : -4 px 4 px 2 px ; font-size : var ( --st-fs-xs ); color : var ( --st-ink-muted ); line-height : 1.4 ; } 22. bcol__empty { margin : 2 px 4 px 6 px ; font-size : var ( --st-fs-sm ); color : var ( --st-ink-muted ); } 23 24. bcard { position : relative; background : var ( --st-surface ); border : 1 px solidvar ( --st-line ); border-radius : var ( --st-r-md ); box-shadow : var ( --st-sh-card ); padding : 14 px 14 px 12 px ; display : flex; flex-direction : column; gap : 6 px ; min-width : 0 ; } 25[data-theme = 'dark' ]. bcard { background : var ( --st-surface-2 ); } 26. bcard__top { display : flex; align-items : center; flex-wrap : wrap; gap : 2 px 8 px ; font-size : var ( --st-fs-xs ); color : var ( --st-ink-muted ); } 27. bsrc { display : inline-flex; align-items : center; gap : 5 px ; font-weight : 700 ; color : var ( --st-ink-muted ); min-width : 0 ; white-space : nowrap; } 28. bsrc svg { flex : none; } 29. btime { margin-left : auto; font-variant-numeric : tabular-nums; text-align : right; white-space : nowrap; } 30. bcard__title { margin : 0 ; font-size : var ( --st-fs-base ); font-weight : 700 ; line-height : 1.3 ; overflow-wrap : anywhere; } 31. bcard__where { display : flex; align-items : center; gap : 6 px ; font-size : var ( --st-fs-xs ); color : var ( --st-ink-muted ); } 32. bcard__where svg { flex : none; } 33. bcard__line { margin : 2 px 0 0 ; font-size : var ( --st-fs-sm ); line-height : 1.45 ; color : var ( --st-ink-soft ); display : -webkit-box; -webkit-line-clamp : 2 ; line-clamp : 2 ; -webkit-box-orient : vertical; overflow : hidden; overflow-wrap : anywhere; } 34. bcard__why { display : flex; align-items : flex-start; gap : 6 px ; margin-top : 2 px ; padding : 8 px 10 px ; border-radius : 10 px ; font-size : var ( --st-fs-sm ); line-height : 1.4 ; overflow-wrap : anywhere; } 35. bcard__why > svg { flex : none; margin-top : 1 px ; } 36. bcard__why--bad { background : var ( --st-danger-tint ); color : var ( --st-danger-text ); } 37. bcard__why--warn { background : var ( --st-warn-tint ); color : var ( --st-warn-text ); } 38. bcard__why--ask { background : var ( --st-info-tint ); color : var ( --st-info-text ); } 39. bcard__detail { margin-top : 4 px ; font-size : var ( --st-fs-xs ); } 40. bcard__detail summary { cursor : pointer; } 41. bcard__detail pre { margin : 4 px 0 0 ; white-space : pre-wrap; overflow-wrap : anywhere; font : inherit; opacity : 0.85 ; } 42. bcard__bar { height : 4 px ; border-radius : var ( --st-r-pill ); background : var ( --st-line-soft ); overflow : hidden; margin-top : 4 px ; } 43. bcard__bar i { display : block; height : 100 % ; width : 38 % ; background : var ( --st-accent ); border-radius : inherit; animation : board-slide1.8 s ease-in-out infinite; } 44@keyframes board-slide{ 0 % { transform : translateX ( -110 % ); } 100 % { transform : translateX ( 270 % ); } } 45@media ( prefers-reduced-motion : reduce) { . bcard__bar i { animation : none; width : 100 % ; opacity : 0.45 ; } } 46html [data-motion = 'reduced' ]. bcard__bar i { animation : none; width : 100 % ; opacity : 0.45 ; } 47. bcard__actions { display : flex; align-items : center; flex-wrap : wrap; gap : 6 px ; margin-top : 8 px ; } 48. bcard__actions . spacer { flex : 1 ; } 49. bcard__actions . st-btn--icon { width : 32 px ; height : 32 px ; } 50. bchip { display : inline-flex; align-items : center; gap : 5 px ; height : 22 px ; padding : 0 8 px ; border-radius : var ( --st-r-pill ); font-size : 11 px ; font-weight : 700 ; background : var ( --st-surface-2 ); color : var ( --st-ink-muted ); border : 1 px solidvar ( --st-line ); } 51[data-theme = 'dark' ]. bchip { background : var ( --st-surface ); } 52. bchip--good { background : var ( --st-accent-tint ); color : var ( --st-accent-text ); border-color : transparent; } 53. bcol--done . bcard { opacity : 0.96 ; } 54. board-menu-sep { border : 0 ; border-top : 1 px solidvar ( --st-line-soft ); margin : 4 px 2 px ; } 55 56. upnext { margin-top : 16 px ; padding : 12 px 16 px ; display : flex; align-items : center; flex-wrap : wrap; gap : 8 px 14 px ; background : var ( --st-surface ); border : 1 px solidvar ( --st-line ); border-radius : var ( --st-r-md ); font-size : var ( --st-fs-sm ); color : var ( --st-ink-soft ); } 57. upnext > svg { color : var ( --st-icon ); flex : none; } 58. upnext . navgroup__label { padding : 0 ; } 59. upnext__item { display : inline-flex; align-items : center; gap : 6 px ; min-width : 0 ; } 60. upnext__item a { color : inherit; text-decoration : none; } 61. upnext__item a : hover { text-decoration : underline; } 62. upnext . i { color : var ( --st-ink-muted ); } 63. upnext . sep { width : 1 px ; height : 18 px ; background : var ( --st-line ); margin-right : 8 px ; } 64 65. tasks-actions . st-tabs { flex : none; } 66. bcol--done . bcard__actions { flex-wrap : nowrap; } 67. bcol--done . bcard__actions > . st-btn { flex : none; } 68. bchip { flex : 0 1 auto; min-width : 0 ; white-space : nowrap; overflow : hidden; text-overflow : ellipsis; } 69. bchip svg { flex : none; } 70. bcol--done . bcard__actions { gap : 4 px ; } 71. bcol--done . bcard__actions . st-btn--ghost { padding-inline : 8 px ; }