Bento, the office suite that fits in a file
TypeScript mit-licenseofficeoffice-365office-suiteoffice-toolsoffice365open-sourcepowerpointself-hostedsingle-page-appslidesslideshareslideshowslideshow-galleryslideshow-makerslideshows
/* SPDX-License-Identifier: MIT */
/* Copyright (c) 2026 The Bento authors */
/* Author identity + comment edit/delete — the feature-local styles for
comments.ts (thread edit/delete controls) and about.ts (the "You" name
field). Kept out of styles.css because that file is owned by other work
happening on this app in parallel; this file is imported directly from
comments.ts, and vite folds it into the single shipped <style> tag same as
every other app stylesheet. */
/* ---- "You" name field, About dialog ------------------------------------ */
.t-about-name-input { width: 100%; max-width: 220px; }
/* ---- per-message edit/delete -------------------------------------------
Small ghost buttons beside a message's byline, shown only on a message
whose author matches the name currently in localStorage — see
comments.ts buildMessage() for why that is an honour-system check, not
access control. */
.t-cmt-msgtools {
float: inline-end;
display: inline-flex;
gap: 4px;
margin-inline-start: 6px;
}
.t-cmt-msgbtn {
font: inherit;
font-size: 10px;
line-height: 1.4;
padding: 1px 5px;
border-radius: 4px;
border: 1px solid transparent;
background: transparent;
color: var(--muted);
cursor: pointer;
}
.t-cmt-msgbtn:hover { background: var(--chrome-2); color: var(--ink); border-color: var(--line); }
/* In-place edit box — the suite's field look (styles.css THE FIELD), sized
like the reply textarea so a message being edited doesn't look like a
different control from the one you'd reply with. */
.t-cmt-edit {
display: block;
width: 100%;
margin-top: 3px;
}