@nanocollective/roster 0.1.0-beta.5 → 0.1.0-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/worker/assets/assets/css/base.css +4 -2
- package/dist/worker/assets/assets/css/home.css +10 -2
- package/dist/worker/assets/assets/css/layout.css +6 -0
- package/dist/worker/index.js +1 -1
- package/docs/commands.md +29 -8
- package/docs/getting-started.md +5 -2
- package/package.json +1 -1
- package/templates/portal/css/base.css +4 -2
- package/templates/portal/css/home.css +10 -2
- package/templates/portal/css/layout.css +6 -0
|
@@ -300,9 +300,11 @@ dialog.sheet.side .sheetbody{max-height:100vh;height:100%;box-sizing:border-box;
|
|
|
300
300
|
.sidebar-x{position:sticky;top:0;display:flex;justify-content:flex-end;margin:-6px -6px 4px;z-index:1}
|
|
301
301
|
dialog.sheet.side .viewer{border:0;box-shadow:none;padding:0;min-height:0;background:none}
|
|
302
302
|
/* The title and its actions stay in view while a long thread scrolls under them. The close
|
|
303
|
-
button floats over the header's right
|
|
303
|
+
button floats over the header's top right, so the lines beside it leave room for it; the
|
|
304
|
+
actions below it run to the edge, so Open in GitHub lines up with the close button. */
|
|
304
305
|
dialog.sheet.side .thead{position:sticky;top:-18px;z-index:1;background:var(--bg);
|
|
305
|
-
padding-top:18px;margin-top:-18px
|
|
306
|
+
padding-top:18px;margin-top:-18px}
|
|
307
|
+
dialog.sheet.side .thead > :not(.tacts){padding-right:44px}
|
|
306
308
|
dialog.sheet.side .sidebar-x{position:sticky;top:0;height:0;margin:0;z-index:2;overflow:visible}
|
|
307
309
|
dialog.sheet.side .sidebar-x .iconbtn{margin-top:-4px}
|
|
308
310
|
.sheettitle{margin:0 0 14px;font:600 18px var(--sans);letter-spacing:-.02em}
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
.homerunlog .ghbtn{min-height:28px;padding:3px 12px}
|
|
68
68
|
@media (max-width:640px){
|
|
69
69
|
.homerun{grid-template-columns:1fr auto;grid-template-areas:"who state" "what what" "log log"}
|
|
70
|
-
.homewho2{grid-area:who}.homestate{grid-area:state;justify-self:end}
|
|
71
|
-
.homerunwhat{grid-area:what}.homerunlog{grid-area:log}
|
|
70
|
+
.homerun .homewho2{grid-area:who}.homerun .homestate{grid-area:state;justify-self:end}
|
|
71
|
+
.homerun .homerunwhat{grid-area:what}.homerun .homerunlog{grid-area:log}
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
.homerest{margin-top:26px}
|
|
@@ -102,3 +102,11 @@
|
|
|
102
102
|
.homeline:hover .homerowtitle{text-decoration:underline}
|
|
103
103
|
.homeline:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}
|
|
104
104
|
.homerowtitle{font-weight:600;color:var(--ink)}
|
|
105
|
+
|
|
106
|
+
/* On a phone the lists use the width: last in the file, so it wins over each list's own padding. */
|
|
107
|
+
@media (max-width:640px){
|
|
108
|
+
.homelist,.homeworking,.homereports{padding-left:14px;padding-right:14px}
|
|
109
|
+
.homeline{grid-template-columns:8px minmax(0,1fr)}
|
|
110
|
+
.homeline .homerunlog{grid-column:2}
|
|
111
|
+
.homeline .homerunlog:empty{display:none}
|
|
112
|
+
}
|
|
@@ -150,6 +150,12 @@ main{padding:36px 44px 96px;max-width:1220px;overflow-x:clip}
|
|
|
150
150
|
.side{position:static;height:auto;border-right:none;border-bottom:1px solid var(--line)}
|
|
151
151
|
.sidefoot{margin-top:0}
|
|
152
152
|
}
|
|
153
|
+
/* A phone: the page uses its width. 44px a side was a desktop gutter, and on a phone it took
|
|
154
|
+
a quarter of the screen, with a card's own padding inside it again. */
|
|
155
|
+
@media (max-width:640px){
|
|
156
|
+
main{padding:20px 16px 64px}
|
|
157
|
+
.card{padding:14px}
|
|
158
|
+
}
|
|
153
159
|
|
|
154
160
|
/* A staff member who cannot run yet (readiness.js). */
|
|
155
161
|
.readydot{width:7px;height:7px;border-radius:50%;background:var(--warn);flex:none;margin-left:4px}
|