activity/comment-box: strip background so panel blends with form

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ali 2026-04-21 12:15:45 +00:00
parent 575b7a7168
commit 692dbb2b52
2 changed files with 18 additions and 6 deletions

View File

@ -1301,3 +1301,21 @@ textarea.form-control:focus,
stroke-linecap: round;
stroke-linejoin: round;
}
/* ==========================================================================
Activity panel & comment input transparent background
Frappe core paints .activity-title / .timeline-actions with var(--bg-color),
.frappe-control .ql-editor with var(--control-bg), and the form footer's
.comment-box wraps the input area; strip them all so the activity panel
and comment composer blend with the form background.
========================================================================== */
.new-timeline .activity-title,
.new-timeline .timeline-actions,
.comment-box,
.comment-input-wrapper,
.comment-input-wrapper .ql-container,
.comment-input-wrapper .frappe-control .ql-editor {
background: transparent !important;
border-color: transparent !important;
box-shadow: none !important;
}

View File

@ -889,12 +889,6 @@
box-shadow: 1px 1px 2px rgba(0,0,0,0.1), -1px -1px 1px rgba(255,255,255,0.3);
}
[data-jey-theme="chrome"] .comment-box {
background: linear-gradient(45deg, #c8c8c8 5%, #e5e5e5 20%, #d5d5d5 50%, #e5e5e5 80%, #c8c8c8 95%) !important;
border: 1px solid #aaa !important;
box-shadow: 1px 1px 3px rgba(0,0,0,0.08), -1px -1px 2px rgba(255,255,255,0.3);
}
/* ==========================================================================
Badges / Indicators