// ──────────────────────────────────────────────────────────────── // Widget · Notizen (Schnellliste) · aus j3-landing // ──────────────────────────────────────────────────────────────── .notes-form { display: flex; gap: 8px; margin-bottom: 10px; } .notes-input { flex: 1 1 auto; min-width: 0; padding: 8px 10px; font: inherit; font-size: var(--fs-sm); color: var(--fg); background: color-mix(in srgb, var(--bg) 50%, transparent); border: 1px solid var(--line); border-radius: var(--r-sm); &::placeholder { color: var(--faint); } &:focus { outline: none; border-color: color-mix(in srgb, var(--accent) 45%, transparent); } } .notes-add { flex: 0 0 auto; display: grid; width: 34px; place-items: center; font-size: 18px; line-height: 1; color: var(--fg); background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); border-radius: var(--r-sm); cursor: pointer; transition: background var(--dur-base) var(--ease); &:hover { background: color-mix(in srgb, var(--accent) 22%, transparent); } } .notes-list { display: flex; flex-direction: column; gap: 6px; } .note-row { display: flex; align-items: center; gap: 8px; padding: 7px 9px; font-size: var(--fs-sm); color: var(--fg); border: 1px solid var(--line); border-radius: var(--r-sm); background: color-mix(in srgb, var(--bg) 40%, transparent); input { flex: 0 0 auto; accent-color: var(--accent); } &__text { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } &.is-done .note-row__text { color: var(--faint); text-decoration: line-through; } &__del { flex: 0 0 auto; font-size: 16px; line-height: 1; color: var(--dim); background: transparent; border: 0; cursor: pointer; &:hover { color: var(--off); } } } .notes-empty { font-size: var(--fs-sm); color: var(--faint); }