285 lines
4.2 KiB
CSS
285 lines
4.2 KiB
CSS
|
|
.divider {
|
|
margin: 20px 0;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
margin-top: 50px;
|
|
}
|
|
|
|
.task-form {
|
|
padding: 20px;
|
|
}
|
|
|
|
.search-container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 20px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.deploy-container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 20px;
|
|
gap: 10px;
|
|
}
|
|
|
|
.script-container {
|
|
gap: 20px;
|
|
padding: 20px;
|
|
background-color: #eaeff6;
|
|
border-radius: 12px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.script-content {
|
|
flex: 2;
|
|
min-width: 60%;
|
|
}
|
|
|
|
.script-params {
|
|
flex: 1;
|
|
min-width: 35%;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.script-container {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.script-content, .script-params {
|
|
min-width: 100%;
|
|
}
|
|
}
|
|
|
|
.select-container {
|
|
margin-top: 20px;
|
|
align-items: center;
|
|
padding: 20px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.input-group {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 16px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.input-field {
|
|
flex: 1 1 calc(33.33% - 16px);
|
|
min-width: 250px;
|
|
}
|
|
|
|
.script-preview {
|
|
background-color: #f4f4f4;
|
|
border: 1px solid #ccc;
|
|
padding: 10px;
|
|
border-radius: 5px;
|
|
font-family: monospace;
|
|
white-space: pre-wrap;
|
|
min-height: 50px;
|
|
}
|
|
|
|
.custom-width {
|
|
width: 50%;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.search-string {
|
|
flex: 2;
|
|
padding: 5px;
|
|
}
|
|
|
|
.search-boolean {
|
|
flex: 1;
|
|
padding: 5px;
|
|
}
|
|
|
|
.header-container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 10px 10px;
|
|
border-bottom: 1px solid #ddd;
|
|
}
|
|
|
|
.mat-elevation-z8 {
|
|
box-shadow: 0px 0px 0px rgba(0,0,0,0.2);
|
|
}
|
|
|
|
.paginator-container {
|
|
display: flex;
|
|
justify-content: end;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.clients-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
|
|
gap: 8px;
|
|
}
|
|
|
|
.client-item {
|
|
position: relative;
|
|
}
|
|
|
|
.client-card {
|
|
background: #ffffff;
|
|
border-radius: 6px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
overflow: hidden;
|
|
position: relative;
|
|
padding: 8px;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s, transform 0.2s;
|
|
|
|
&:hover {
|
|
background-color: #f0f0f0;
|
|
transform: scale(1.02);
|
|
}
|
|
}
|
|
|
|
.client-details {
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.client-name {
|
|
font-size: 0.9em;
|
|
font-weight: 600;
|
|
color: #333;
|
|
margin-bottom: 5px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
max-width: 150px;
|
|
display: inline-block;
|
|
}
|
|
|
|
.client-ip {
|
|
display: block;
|
|
font-size: 0.9em;
|
|
color: #666;
|
|
}
|
|
|
|
.header-container-title {
|
|
flex-grow: 1;
|
|
text-align: left;
|
|
padding-left: 1em;
|
|
}
|
|
|
|
.button-row {
|
|
display: flex;
|
|
padding-right: 1em;
|
|
}
|
|
|
|
.client-card {
|
|
background: #ffffff;
|
|
border-radius: 6px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
overflow: hidden;
|
|
position: relative;
|
|
padding: 8px;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s, transform 0.2s;
|
|
|
|
&:hover {
|
|
background-color: #f0f0f0;
|
|
transform: scale(1.02);
|
|
}
|
|
}
|
|
|
|
::ng-deep .custom-tooltip {
|
|
white-space: pre-line !important;
|
|
max-width: 200px;
|
|
background: rgba(0, 0, 0, 0.8);
|
|
color: white;
|
|
padding: 8px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.selected-client {
|
|
background-color: #a0c2e5 !important;
|
|
color: white !important;
|
|
}
|
|
|
|
.button-row {
|
|
display: flex;
|
|
padding-right: 1em;
|
|
}
|
|
|
|
.disabled-client {
|
|
pointer-events: none;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.action-button {
|
|
margin-top: 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.action-container {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 1em;
|
|
padding: 1.5em;
|
|
}
|
|
|
|
.mat-expansion-panel-header-description {
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.new-command-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
padding: 15px;
|
|
background-color: #eaeff6;
|
|
border: 1px solid #ddd;
|
|
border-radius: 8px;
|
|
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.new-command-container mat-form-field {
|
|
width: 100%;
|
|
}
|
|
|
|
.new-command-container textarea {
|
|
font-family: monospace;
|
|
resize: vertical;
|
|
}
|
|
|
|
.new-command-container .action-button {
|
|
align-self: flex-end;
|
|
color: white;
|
|
padding: 8px 16px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.full-width {
|
|
width: 100%;
|
|
}
|
|
|
|
.script-selector-card {
|
|
margin: 20px 20px;
|
|
padding: 16px;
|
|
}
|
|
|
|
.toggle-options {
|
|
display: flex;
|
|
justify-content: start;
|
|
margin: 16px 0;
|
|
}
|
|
|
|
|