131 lines
2.5 KiB
CSS
131 lines
2.5 KiB
CSS
/* Styles for the 21121 Response Creation UI */
|
|
|
|
.creation-status {
|
|
margin-bottom: 20px;
|
|
padding: 15px;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--border-color);
|
|
background-color: var(--bg-secondary);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.creation-status h4 {
|
|
margin-top: 0;
|
|
margin-bottom: 10px;
|
|
color: var(--accent-color);
|
|
font-size: 16px;
|
|
}
|
|
|
|
.creation-status p {
|
|
margin-bottom: 15px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.creation-status.info {
|
|
border-left: 4px solid var(--accent-color);
|
|
}
|
|
|
|
.creation-status.loading {
|
|
border-left: 4px solid var(--accent-color);
|
|
background-color: var(--bg-tertiary);
|
|
position: relative;
|
|
}
|
|
|
|
.creation-status.loading::after {
|
|
content: '';
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: 0;
|
|
height: 3px;
|
|
width: 50%;
|
|
background-color: var(--accent-color);
|
|
animation: loading-bar 1.5s infinite ease-in-out;
|
|
}
|
|
|
|
@keyframes loading-bar {
|
|
0% { width: 0; left: 0; }
|
|
50% { width: 70%; left: 15%; }
|
|
100% { width: 0; left: 100%; }
|
|
}
|
|
|
|
.creation-status.success {
|
|
border-left: 4px solid var(--button-success);
|
|
background-color: rgba(40, 167, 69, 0.1);
|
|
}
|
|
|
|
.creation-status.error {
|
|
border-left: 4px solid #e74c3c;
|
|
background-color: rgba(231, 76, 60, 0.1);
|
|
color: #e74c3c;
|
|
}
|
|
|
|
.response-label {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 15px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.response-label input[type="checkbox"] {
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.relay-selection {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.relay-selection label {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.relay-selection input {
|
|
width: 100%;
|
|
padding: 8px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 4px;
|
|
background-color: var(--bg-secondary);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.creation-buttons {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.view-response-event-btn {
|
|
display: inline-block;
|
|
margin-top: 10px;
|
|
padding: 8px 15px;
|
|
background-color: var(--button-success);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-weight: 500;
|
|
transition: background-color 0.2s ease;
|
|
}
|
|
|
|
.view-response-event-btn:hover {
|
|
background-color: var(--button-success-hover);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.create-21121-btn {
|
|
padding: 5px 10px;
|
|
background-color: var(--button-primary);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
margin-left: 10px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.create-21121-btn:hover {
|
|
background-color: var(--button-hover);
|
|
transform: translateY(-2px);
|
|
} |