Files
python-tdd/src/static_src/scss/_dashboard.scss
Disco DeDisco 473e6bc45a rename: Note→Post/Line (dashboard); Recognition→Note (drama); new-post/my-posts to billboard
- dashboard: Note→Post, Item→Line across models, forms, views, API, urls & tests
- new-post (9×3) & my-posts (3×3) applets migrate from dashboard→billboard context; billboard view passes form & recent_posts
- drama: Recognition→Note, related_name notes; billboard URL /recognition/→/my-notes/, set-palette at /note/<slug>/set-palette
- recognition.js→note.js (module Note, data.note key); recognition-page.js→note-page.js; .recog-*→.note-*
- _recognition.scss→_note.scss; BillNotes page header; applet slug billboard-recognition→billboard-notes (My Notes)
- NoteSpec.js replaces RecognitionSpec.js; test_recognition.py→test_applet_my_notes.py
- 4 migrations applied: dashboard 0004, applets 0011+0012, drama 0005; 683 ITs green

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 22:32:34 -04:00

147 lines
3.1 KiB
SCSS

html:has(body.page-dashboard) {
overflow: hidden;
}
body.page-dashboard {
overflow: hidden;
.container {
overflow: hidden;
display: flex;
flex-direction: column;
flex: 1;
min-height: 0;
}
.row {
flex-shrink: 0;
margin-bottom: -1rem;
}
}
#id_dash_content {
flex: 1;
min-width: 425px;
overflow: hidden;
display: flex;
flex-direction: column;
position: relative;
}
#id_applets_container {
#id_applet_wallet {
display: flex;
flex-direction: column;
gap: 0.25rem;
}
#id_applet_palette {
padding: 0 0 0 2rem;
.palette-scroll {
display: flex;
gap: 1rem;
align-items: center;
overflow-x: auto;
padding: 0.75rem 2rem;
height: 100%;
scrollbar-width: none;
&::-webkit-scrollbar { display: none; }
mask-image: linear-gradient(
to right,
transparent 0%,
black 2%,
black 98%,
transparent 100%
);
}
}
#id_applet_username {
display: flex;
align-items: center;
overflow: hidden;
form {
min-width: 0;
width: 100%;
overflow: hidden;
display: flex;
flex-direction: column;
.save-btn {
align-self: left;
}
}
.username-field {
display: flex;
align-items: baseline;
gap: 0.1em;
min-width: 0;
overflow: hidden;
.username-at{
user-select: none;
pointer-events: none;
font-size: 1.8rem;
font-weight: bold;
color: rgba(var(--secUser), 0.875);
margin-left: 0.3rem;
}
input {
background: transparent;
border: none;
outline: none;
font-size: 1.8rem;
font-weight: bold;
color: rgba(var(--secUser), 0.875);;
font-family: inherit;
padding: 0;
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
}
}
}
}
@media (max-width: 550px) {
#id_dash_content {
min-width: 0;
overflow: hidden;
}
}
@media (min-width: 738px) {
#id_dash_content {
min-width: 666px;
overflow: hidden;
}
}
@media (orientation: landscape) {
// Reset the 666px min-width so #id_dash_content shrinks to fit within the
// sidebar-bounded container rather than overflowing into the footer sidebar.
#id_dash_content {
min-width: 0;
}
}
@media (max-height: 500px) {
body.page-dashboard {
.container {
.row {
padding: 0.25rem 0;
.col-lg-6 h2 {
margin-bottom: 0.5rem;
}
}
}
}
}