412 lines
6.6 KiB
CSS
412 lines
6.6 KiB
CSS
.full-width {
|
|
width: 100%;
|
|
}
|
|
|
|
form {
|
|
padding: 20px;
|
|
}
|
|
|
|
.spacing-container {
|
|
margin-top: 20px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.list-item-content {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
}
|
|
|
|
.text-content {
|
|
flex-grow: 1;
|
|
margin-right: 16px;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.icon-container {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.right-icon {
|
|
margin-left: 8px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.action-container {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 1em;
|
|
padding: 1.5em;
|
|
}
|
|
|
|
.lists-container {
|
|
padding: 16px;
|
|
}
|
|
|
|
.search-container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
width: 100%;
|
|
margin: 1.5rem 0rem 1.5rem 0rem;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.search-string {
|
|
flex: 1;
|
|
padding: 5px;
|
|
}
|
|
|
|
.search-select {
|
|
flex: 1;
|
|
padding: 5px;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
}
|
|
|
|
.mat-elevation-z8 {
|
|
box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.paginator-container {
|
|
display: flex;
|
|
justify-content: end;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
mat-spinner {
|
|
margin: 0 auto;
|
|
align-self: center;
|
|
}
|
|
|
|
.subnets-button-row {
|
|
display: flex;
|
|
gap: 15px;
|
|
}
|
|
|
|
/* Estilos para el header de acciones */
|
|
.header-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
margin-bottom: 20px;
|
|
padding: 16px;
|
|
background: #f8f9fa;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.action-button {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 12px 24px;
|
|
background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 6px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
|
|
}
|
|
|
|
.action-button:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
|
|
background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
|
|
}
|
|
|
|
.action-button mat-icon {
|
|
font-size: 20px;
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
/* Estilos para el contenido del script */
|
|
.script-content {
|
|
background: #f8f9fa;
|
|
border: 1px solid #e9ecef;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.script-content:hover {
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
border-color: #4caf50;
|
|
}
|
|
|
|
.script-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 12px 16px;
|
|
background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
|
|
color: white;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.script-icon {
|
|
font-size: 18px;
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.script-title {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.script-body {
|
|
padding: 16px;
|
|
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
white-space: pre-wrap;
|
|
background: #ffffff;
|
|
color: #333;
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
/* Estilos para el botón de parámetros */
|
|
.parameters-button {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 16px;
|
|
background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 6px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 2px 6px rgba(33, 150, 243, 0.3);
|
|
}
|
|
|
|
.parameters-button:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
|
|
background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
|
|
}
|
|
|
|
.parameters-button mat-icon {
|
|
font-size: 16px;
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
.parameters-button span {
|
|
font-size: 13px;
|
|
}
|
|
|
|
/* Mejoras en la tabla */
|
|
.mat-table {
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.mat-header-cell {
|
|
background: #f5f5f5;
|
|
font-weight: 600;
|
|
color: #333;
|
|
}
|
|
|
|
.mat-row:hover {
|
|
background: #f8f9fa;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 768px) {
|
|
.search-container {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.search-string {
|
|
min-width: auto;
|
|
width: 100%;
|
|
}
|
|
|
|
.header-actions {
|
|
justify-content: center;
|
|
}
|
|
|
|
.action-button {
|
|
width: 100%;
|
|
}
|
|
|
|
.script-body {
|
|
max-height: 150px;
|
|
}
|
|
}
|
|
|
|
/* Estilos para los chips de tipo */
|
|
.type-chip {
|
|
font-weight: 500;
|
|
padding: 8px 12px;
|
|
border-radius: 16px;
|
|
font-size: 12px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.type-script {
|
|
background: #e8f5e8;
|
|
color: #2e7d32;
|
|
border: 1px solid #c8e6c9;
|
|
}
|
|
|
|
.type-command {
|
|
background: #fff3e0;
|
|
color: #f57c00;
|
|
border: 1px solid #ffcc80;
|
|
}
|
|
|
|
.type-python {
|
|
background: #e3f2fd;
|
|
color: #1976d2;
|
|
border: 1px solid #bbdefb;
|
|
}
|
|
|
|
.type-bash {
|
|
background: #f3e5f5;
|
|
color: #7b1fa2;
|
|
border: 1px solid #e1bee7;
|
|
}
|
|
|
|
.type-default {
|
|
background: #f5f5f5;
|
|
color: #616161;
|
|
border: 1px solid #e0e0e0;
|
|
}
|
|
|
|
/* Badge de paso */
|
|
.step-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.step-number {
|
|
background-color: #3f51b5;
|
|
color: white;
|
|
border-radius: 50%;
|
|
width: 32px;
|
|
height: 32px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: bold;
|
|
font-size: 15px;
|
|
box-shadow: 0 2px 4px rgba(63, 81, 181, 0.3);
|
|
}
|
|
|
|
/* Display de tipo de acción */
|
|
.type-display {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: #333;
|
|
}
|
|
|
|
.type-icon {
|
|
font-size: 18px;
|
|
width: 18px;
|
|
height: 18px;
|
|
color: #666;
|
|
}
|
|
|
|
/* Contenido del script en celda */
|
|
.script-content-cell {
|
|
background-color: #f5f5f5;
|
|
padding: 8px 12px;
|
|
border: 1px solid #e0e0e0;
|
|
border-radius: 4px;
|
|
font-family: 'Monaco', 'Menlo', monospace;
|
|
white-space: pre-wrap;
|
|
font-size: 12px;
|
|
max-width: 300px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.no-content-hint {
|
|
color: #999;
|
|
font-size: 13px;
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Hint secuencial */
|
|
.sequential-hint {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px 24px;
|
|
color: #1565c0;
|
|
background: #e3f2fd;
|
|
border-radius: 4px;
|
|
margin: 0 24px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.sequential-hint mat-icon {
|
|
font-size: 18px;
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
/* Timeline resumen */
|
|
.timeline-summary {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
padding: 16px 24px;
|
|
background: #fafafa;
|
|
border: 1px solid #e8e8e8;
|
|
border-radius: 8px;
|
|
margin-bottom: 16px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.timeline-step {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 6px 14px;
|
|
background: white;
|
|
border: 1px solid #d0d0d0;
|
|
border-radius: 20px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.timeline-number {
|
|
background: #3f51b5;
|
|
color: white;
|
|
border-radius: 50%;
|
|
width: 22px;
|
|
height: 22px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: bold;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.timeline-label {
|
|
color: #444;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.timeline-arrow {
|
|
color: #9e9e9e;
|
|
font-size: 20px;
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|