mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-21 21:51:08 -05:00
Add comment and reply functionality with preview and notification templates
This commit is contained in:
@@ -142,6 +142,115 @@
|
||||
margin: 0.25rem;
|
||||
}
|
||||
|
||||
/* Branch Lock Status */
|
||||
.lock-status {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.25rem 0.75rem;
|
||||
border-radius: 0.375rem;
|
||||
font-size: 0.875rem;
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
|
||||
.lock-status.locked {
|
||||
background-color: rgba(239, 68, 68, 0.1);
|
||||
color: var(--vcs-error);
|
||||
}
|
||||
|
||||
.lock-status.unlocked {
|
||||
background-color: rgba(16, 185, 129, 0.1);
|
||||
color: var(--vcs-success);
|
||||
}
|
||||
|
||||
.lock-status .lock-icon {
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
}
|
||||
|
||||
.lock-info {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font-size: 0.75rem;
|
||||
color: var(--vcs-gray);
|
||||
}
|
||||
|
||||
.lock-info .user {
|
||||
font-weight: 500;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.lock-info .expiry {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
/* Lock Controls */
|
||||
.lock-controls {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
.lock-button {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
padding: 0.375rem 0.75rem;
|
||||
border-radius: 0.375rem;
|
||||
font-size: 0.875rem;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.lock-button.lock {
|
||||
background-color: var(--vcs-error);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.lock-button.unlock {
|
||||
background-color: var(--vcs-success);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.lock-button:hover {
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
.lock-button:disabled {
|
||||
opacity: 0.5;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
/* Lock History */
|
||||
.lock-history {
|
||||
margin-top: 1rem;
|
||||
border-top: 1px solid #e5e7eb;
|
||||
padding-top: 1rem;
|
||||
}
|
||||
|
||||
.lock-history-item {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 1rem;
|
||||
padding: 0.5rem 0;
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.lock-history-item .action {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.lock-history-item .timestamp {
|
||||
color: var(--vcs-gray);
|
||||
}
|
||||
|
||||
.lock-history-item .reason {
|
||||
margin-top: 0.25rem;
|
||||
color: var(--vcs-gray);
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* Loading States */
|
||||
.vcs-loading {
|
||||
position: relative;
|
||||
|
||||
Reference in New Issue
Block a user