267 lines
4.8 KiB
CSS
267 lines
4.8 KiB
CSS
.queue-empty {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 15px;
|
|
padding: 80px 20px;
|
|
color: var(--text2);
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.queue-item {
|
|
background-color: var(--bg2);
|
|
border: 1px solid var(--border);
|
|
border-left-width: 4px;
|
|
margin-bottom: 20px;
|
|
padding: 20px;
|
|
}
|
|
|
|
.queue-item--pending {
|
|
border-left-color: var(--rhpz-orange);
|
|
}
|
|
.queue-item--rejected {
|
|
position: relative;
|
|
overflow: hidden;
|
|
border-left-color: var(--error);
|
|
|
|
&::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
height: 2px;
|
|
background-color: var(--error);
|
|
width: var(--reject-progress, 100%);
|
|
opacity: 0.5;
|
|
transition: width 0.3s;
|
|
}
|
|
}
|
|
|
|
.queue-item-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
gap: 15px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.queue-item-title {
|
|
font-size: 1.15rem;
|
|
font-weight: 600;
|
|
color: var(--text);
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.queue-item-meta {
|
|
font-size: 0.85rem;
|
|
color: var(--text2);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.queue-item-actions-header {
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.timeline-container {
|
|
padding: 15px 20px;
|
|
background-color: var(--bg);
|
|
border: 1px solid var(--border);
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.timeline {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
position: relative;
|
|
|
|
&::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 15px;
|
|
left: 30px;
|
|
right: 30px;
|
|
height: 2px;
|
|
background-color: var(--border);
|
|
z-index: 0;
|
|
}
|
|
|
|
}
|
|
|
|
.timeline-step {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
position: relative;
|
|
z-index: 1;
|
|
width: 100px;
|
|
}
|
|
|
|
.timeline-dot {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 50%;
|
|
background-color: var(--bg);
|
|
border: 2px solid var(--border);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--text2);
|
|
margin-bottom: 10px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.timeline-step--active .timeline-dot {
|
|
border-color: var(--rhpz-orange);
|
|
background-color: var(--rhpz-orange);
|
|
color: #111;
|
|
}
|
|
|
|
.timeline-step--validated .timeline-dot {
|
|
border-color: var(--success);
|
|
background-color: var(--success);
|
|
color: #111;
|
|
}
|
|
|
|
.timeline-step--rejected .timeline-dot {
|
|
border-color: var(--error);
|
|
background-color: var(--error);
|
|
color: #fff;
|
|
}
|
|
|
|
.timeline-label {
|
|
font-size: 0.78rem;
|
|
text-align: center;
|
|
color: var(--text2);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.timeline-step--active .timeline-label { color: var(--rhpz-orange); font-weight: 600; }
|
|
.timeline-step--validated .timeline-label { color: var(--success); }
|
|
.timeline-step--rejected .timeline-label { color: var(--error); }
|
|
|
|
.queue-reject-reason {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: flex-start;
|
|
padding: 12px 15px;
|
|
background-color: rgba(229, 115, 115, 0.08);
|
|
border-left: 2px solid var(--error);
|
|
color: var(--text);
|
|
font-size: 0.88rem;
|
|
margin-bottom: 15px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.queue-mod-zone {
|
|
border-top: 1px solid var(--border);
|
|
padding-top: 15px;
|
|
margin-top: 5px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
}
|
|
|
|
.queue-mod-separator {
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
.queue-mod-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
justify-content: flex-end;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.queue-reject-form {
|
|
margin-top: 12px;
|
|
padding: 15px;
|
|
background-color: var(--bg3);
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.queue-item {
|
|
padding: 15px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.queue-item-header {
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.queue-item-title {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.queue-item-meta {
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.queue-item-actions-header {
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
width: 100%;
|
|
}
|
|
|
|
.timeline {
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.timeline-container {
|
|
padding: 12px 15px;
|
|
}
|
|
|
|
.queue-mod-actions {
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.queue-empty {
|
|
padding: 60px 15px;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.queue-item {
|
|
padding: 12px;
|
|
border-left-width: 3px;
|
|
}
|
|
|
|
.queue-item-title {
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.queue-item-meta {
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.queue-item-actions-header {
|
|
width: 100%;
|
|
}
|
|
|
|
.timeline {
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.timeline-container {
|
|
padding: 10px 12px;
|
|
}
|
|
|
|
.queue-mod-actions {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.queue-mod-actions .btn {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|