oggui/ogWebconsole/src/app/components/commands/commands-task/create-task/create-task.component.css

219 lines
3.1 KiB
CSS

.dialog-title {
font-weight: bold;
}
.task-form {
padding: 20px;
}
.select-task {
padding: 20px;
margin-bottom: 16px;
}
.full-width {
width: 100%;
}
mat-form-field {
margin-bottom: 16px;
}
mat-form-field.mat-form-field-disabled {
opacity: 0.7;
}
mat-form-field.mat-form-field-disabled .mat-form-field-label {
color: #666;
}
.loading-spinner {
display: block;
margin: 0 auto;
align-items: center;
justify-content: center;
}
.section-title {
margin-top: 24px;
margin-bottom: 8px;
font-weight: 500;
}
.summary-section {
background-color: #f9f9f9;
border-bottom: 1px solid #ddd;
margin-bottom: 10px;
}
.summary-block {
margin-top: 10px;
}
.date-time-row {
display: flex;
gap: 16px;
margin-top: 12px;
}
.half-width {
flex: 1;
min-width: 0;
}
.full-width {
width: 100%;
}
.action-container {
display: flex;
justify-content: flex-end;
gap: 1em;
padding: 1.5em;
}
/* Estilos para la selección de clientes */
.clients-selection {
margin-bottom: 16px;
}
.clients-selection h4 {
margin-bottom: 16px;
color: #333;
font-weight: 500;
}
.pre-selected-info {
display: flex;
align-items: center;
gap: 8px;
padding: 12px;
background-color: #e3f2fd;
border: 1px solid #2196f3;
border-radius: 4px;
margin-bottom: 16px;
color: #1976d2;
font-size: 14px;
}
.pre-selected-info mat-icon {
color: #2196f3;
font-size: 20px;
}
.loading-clients {
display: flex;
align-items: center;
gap: 8px;
padding: 16px;
color: #666;
}
.clients-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
padding: 8px 0;
border-bottom: 1px solid #eee;
}
.selected-count {
font-weight: 500;
color: #1976d2;
}
.clients-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 12px;
max-height: 300px;
overflow-y: auto;
padding: 8px 0;
}
.client-card {
transition: all 0.2s ease;
border: 2px solid transparent;
position: relative;
}
.client-card.pre-selected {
border-color: #4caf50;
background-color: #e8f5e8;
}
.client-card.pre-selected:hover {
border-color: #45a049;
background-color: #d4edda;
}
.client-card mat-card-content {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px;
}
.client-info {
flex: 1;
}
.client-name {
font-weight: 500;
margin-bottom: 4px;
color: #333;
}
.client-details {
display: flex;
gap: 8px;
font-size: 12px;
color: #666;
}
.client-ip {
font-family: monospace;
}
.client-status {
padding: 2px 6px;
border-radius: 4px;
font-size: 10px;
text-transform: uppercase;
font-weight: 500;
}
.status-og-live {
background-color: #4caf50;
color: white;
}
.status-offline {
background-color: #f44336;
color: white;
}
.status-unknown {
background-color: #ff9800;
color: white;
}
.selected-icon {
color: #1976d2;
font-size: 20px;
}
/* Responsive design */
@media (max-width: 768px) {
.clients-grid {
grid-template-columns: 1fr;
}
.clients-header {
flex-direction: column;
align-items: flex-start;
gap: 8px;
}
}