add comment

This commit is contained in:
2026-01-15 23:26:34 +09:00
parent 9980e596ca
commit dde75acf0c
16 changed files with 708 additions and 135 deletions

View File

@@ -436,6 +436,110 @@ body {
cursor: not-allowed;
}
/* Discussion Section */
.discussion-section {
margin-top: 48px;
padding-top: 24px;
border-top: 1px solid #eee;
}
.discussion-section h3 {
font-size: 18px;
margin-bottom: 16px;
}
.discuss-link {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 10px 16px;
background: var(--btn-color);
color: #fff;
border-radius: 20px;
text-decoration: none;
font-size: 14px;
font-weight: 500;
}
.discuss-link:hover {
background: var(--btn-color);
filter: brightness(0.85);
}
.discuss-link svg {
width: 18px;
height: 18px;
}
.discussion-posts {
margin-top: 20px;
}
.loading-small {
color: #888;
font-size: 14px;
}
.no-discussion {
color: #888;
font-size: 14px;
}
.discussion-post {
display: block;
padding: 16px;
margin-bottom: 12px;
background: #f9f9f9;
border-radius: 8px;
text-decoration: none;
color: inherit;
}
.discussion-post:hover {
background: #f0f0f0;
}
.discussion-author {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 8px;
}
.discussion-avatar {
width: 32px;
height: 32px;
border-radius: 50%;
}
.discussion-author-info {
flex: 1;
display: flex;
flex-direction: column;
}
.discussion-name {
font-weight: 600;
font-size: 14px;
}
.discussion-handle {
font-size: 12px;
color: #888;
}
.discussion-date {
font-size: 12px;
color: #888;
}
.discussion-text {
font-size: 14px;
line-height: 1.5;
white-space: pre-wrap;
word-break: break-word;
}
.post-content {
font-size: 16px;
line-height: 1.8;
@@ -729,7 +833,111 @@ body {
color: #fff;
}
/* PDS Selector */
.pds-selector {
position: relative;
margin-left: auto;
}
.pds-dropdown {
display: none;
position: absolute;
top: 100%;
right: 0;
margin-top: 4px;
background: #fff;
border: 1px solid #ddd;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
min-width: 180px;
z-index: 100;
overflow: hidden;
}
.pds-dropdown.show {
display: block;
}
.pds-option {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 16px;
cursor: pointer;
font-size: 14px;
transition: background 0.15s;
}
.pds-option:hover {
background: #f5f5f5;
}
.pds-option.selected {
background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
}
.pds-name {
color: #333;
font-weight: 500;
}
.pds-check {
width: 18px;
height: 18px;
border-radius: 50%;
border: 2px solid #ccc;
display: flex;
align-items: center;
justify-content: center;
font-size: 10px;
transition: all 0.2s;
}
.pds-option.selected .pds-check {
background: var(--btn-color);
border-color: var(--btn-color);
color: #fff;
}
.pds-option:not(.selected) .pds-check {
color: transparent;
}
/* AT Browser */
.server-info {
padding: 16px 0;
border-bottom: 1px solid #eee;
margin-bottom: 8px;
}
.server-info h3 {
font-size: 18px;
margin-bottom: 12px;
}
.server-details {
font-size: 13px;
}
.server-row {
display: flex;
gap: 12px;
padding: 6px 0;
}
.server-row dt {
font-weight: 600;
min-width: 40px;
color: #666;
}
.server-row dd {
font-family: 'SF Mono', Monaco, monospace;
font-size: 12px;
word-break: break-all;
color: #333;
}
.services-list,
.collections,
.records,
@@ -802,6 +1010,38 @@ body {
border-bottom: 1px solid #eee;
}
.record-item {
display: flex;
align-items: center;
gap: 8px;
}
.record-item .record-link {
flex: 1;
}
.delete-btn-small {
width: 28px;
height: 28px;
display: flex;
align-items: center;
justify-content: center;
background: transparent;
border: 1px solid #ddd;
border-radius: 4px;
color: #999;
cursor: pointer;
font-size: 16px;
flex-shrink: 0;
margin-right: 8px;
}
.delete-btn-small:hover {
background: #fee;
border-color: #f88;
color: #c00;
}
.collection-link,
.record-link {
display: flex;
@@ -838,11 +1078,14 @@ body {
.record-link {
display: flex;
gap: 16px;
overflow: hidden;
min-width: 0;
}
.record-rkey {
color: var(--btn-color);
min-width: 120px;
flex-shrink: 0;
}
.record-preview {
@@ -850,6 +1093,8 @@ body {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
flex: 1;
min-width: 0;
}
.record-count {