597 lines
9.1 KiB
CSS
597 lines
9.1 KiB
CSS
|
|
.header-container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 20px;
|
|
background-color: #f5f5f5;
|
|
border-bottom: 1px solid #ddd;
|
|
}
|
|
|
|
.header-container-title {
|
|
flex-grow: 1;
|
|
text-align: left;
|
|
margin-left: 1em;
|
|
}
|
|
|
|
.groups-button-row {
|
|
display: flex;
|
|
gap: 15px;
|
|
}
|
|
|
|
.button-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
button[mat-raised-button] {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 16px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
mat-card {
|
|
background-color: #ffffff;
|
|
border-radius: 10px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
transition: transform 0.2s, box-shadow 0.2s;
|
|
overflow: hidden;
|
|
align-items: center;
|
|
}
|
|
|
|
mat-card:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.unidad-card {
|
|
cursor: pointer;
|
|
padding: 16px;
|
|
font-size: 14px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.unidad-card.selected-item {
|
|
border: 2px solid #1976d2;
|
|
}
|
|
|
|
mat-card-title {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
color: #333;
|
|
margin: 0;
|
|
}
|
|
|
|
mat-card-title mat-icon {
|
|
font-size: 20px;
|
|
margin-right: 8px;
|
|
color: #1976d2;
|
|
}
|
|
|
|
mat-card-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.actions mat-icon {
|
|
color: #757575;
|
|
cursor: pointer;
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
.actions mat-icon:hover {
|
|
color: #1976d2;
|
|
}
|
|
|
|
.empty-list {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 200px;
|
|
font-size: 16px;
|
|
color: #777;
|
|
}
|
|
|
|
.search-container {
|
|
display: flex;
|
|
gap: 20px;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.search-container mat-form-field {
|
|
flex: 1;
|
|
}
|
|
|
|
.filters {
|
|
padding: 20px;
|
|
background-color: #f9f9f9;
|
|
border: 1px solid #ddd;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.details-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
padding: 20px;
|
|
align-items: center;
|
|
text-align: center;
|
|
}
|
|
|
|
.details-wrapper {
|
|
width: 95%;
|
|
padding: 20px;
|
|
display: block;
|
|
}
|
|
|
|
.details-placeholder {
|
|
width: 100%;
|
|
}
|
|
|
|
button[mat-raised-button] {
|
|
align-self: flex-start;
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
.card-container {
|
|
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
|
gap: 15px;
|
|
}
|
|
|
|
.header-container {
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.groups-button-row {
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
mat-card {
|
|
padding: 12px;
|
|
}
|
|
|
|
.unidad-card {
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
|
|
.details-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 20px;
|
|
padding: 30px;
|
|
background-color: #f9f9f9;
|
|
border-radius: 12px;
|
|
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
|
|
max-width: 1200px;
|
|
margin: 20px auto;
|
|
}
|
|
|
|
mat-tree {
|
|
background-color: #f9f9f9;
|
|
padding: 10px;
|
|
}
|
|
|
|
mat-tree mat-tree-node {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 10px;
|
|
border-radius: 6px;
|
|
transition: background-color 0.2s, color 0.2s;
|
|
cursor: pointer;
|
|
}
|
|
|
|
mat-tree mat-tree-node:hover {
|
|
background-color: #e3f2fd;
|
|
}
|
|
|
|
mat-tree mat-tree-node button.mat-icon-button {
|
|
margin-left: auto;
|
|
color: #757575;
|
|
}
|
|
|
|
mat-tree mat-tree-node button.mat-icon-button:hover {
|
|
color: #1976d2;
|
|
}
|
|
|
|
mat-tree mat-tree-node span {
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
color: #555;
|
|
}
|
|
|
|
mat-tree mat-tree-node mat-icon {
|
|
margin-right: 10px;
|
|
color: #757575;
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
mat-tree mat-tree-node.expandable mat-icon {
|
|
color: black;
|
|
cursor: pointer;
|
|
}
|
|
|
|
mat-tree mat-tree-node.expandable.disabled mat-icon {
|
|
color: grey;
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
mat-tree mat-tree-node:hover mat-icon {
|
|
color: black;
|
|
}
|
|
|
|
mat-tree mat-tree-node mat-icon.node-icon {
|
|
color: #757575;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
mat-tree mat-tree-node mat-icon.node-icon.organizational-unit {
|
|
color: #1976d2;
|
|
}
|
|
|
|
mat-tree mat-tree-node mat-icon.node-icon.classroom {
|
|
color: #757575;
|
|
}
|
|
|
|
mat-tree mat-tree-node mat-icon.node-icon.client {
|
|
color: #757575;
|
|
}
|
|
|
|
mat-tree mat-tree-node mat-icon.node-icon.group {
|
|
color: #757575;
|
|
}
|
|
|
|
mat-tree mat-tree-node button.mat-icon-button {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
mat-tree mat-tree-node button.mat-icon-button.disabled-toggle {
|
|
color: grey;
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
mat-tree mat-tree-node button.mat-icon-button.disabled-toggle:hover {
|
|
background-color: transparent;
|
|
}
|
|
|
|
mat-tree mat-tree-node:hover {
|
|
background-color: #e3f2fd;
|
|
cursor: pointer;
|
|
}
|
|
|
|
mat-tree mat-tree-node.disabled {
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
mat-tree mat-tree-node.disabled:hover {
|
|
background-color: transparent;
|
|
}
|
|
|
|
.selected-node {
|
|
background-color: #e0f7fa;
|
|
border-left: 4px solid #3F51B5;
|
|
padding-left: calc(16px - 4px);
|
|
}
|
|
|
|
.mat-menu-item .mat-menu-item-submenu-icon {
|
|
display: none;
|
|
}
|
|
|
|
.filters-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 16px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.filters-container mat-form-field {
|
|
flex: 1 1 100%;
|
|
max-width: 300px;
|
|
}
|
|
|
|
.filter-container {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.chip-busy {
|
|
background-color: indianred !important;
|
|
color: black;
|
|
}
|
|
|
|
.chip-og-live {
|
|
background-color: yellow !important;
|
|
color: black;
|
|
}
|
|
|
|
.chip-windows,
|
|
.chip-windows-session,
|
|
.chip-macos {
|
|
background-color: cornflowerblue !important;
|
|
color: white;
|
|
}
|
|
|
|
.chip-linux,
|
|
.chip-linux-session {
|
|
background-color: mediumpurple !important;
|
|
color: white;
|
|
}
|
|
|
|
.chip-off {
|
|
background-color: darkgrey !important;
|
|
color: white;
|
|
}
|
|
|
|
|
|
.clients-card-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 16px;
|
|
padding: 16px;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.classroom-item {
|
|
flex: 1 1 calc(25% - 16px);
|
|
max-width: calc(25% - 16px);
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.classroom-pc {
|
|
border: 1px solid #ccc;
|
|
border-radius: 8px;
|
|
padding: 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
}
|
|
|
|
.classroom-pc .pc-image {
|
|
width: 64px;
|
|
height: 64px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.pc-details {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.pc-details .client-name,
|
|
.pc-details .client-ip,
|
|
.pc-details .client-mac {
|
|
display: block;
|
|
font-size: 14px;
|
|
color: #666;
|
|
}
|
|
|
|
.pc-actions button {
|
|
margin: 0 4px;
|
|
}
|
|
|
|
.main-container {
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.tree-container {
|
|
width: 25%;
|
|
padding: 16px;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.clients-container {
|
|
width: 75%;
|
|
padding: 16px;
|
|
box-sizing: border-box;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.clients-container h3 {
|
|
margin-bottom: 15px;
|
|
font-size: 1.5em;
|
|
color: #333;
|
|
}
|
|
|
|
.client-item {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.client-card {
|
|
background-color: #fff;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
width: 100%;
|
|
max-width: 300px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
padding: 2px;
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
}
|
|
|
|
.client-card:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.client-image {
|
|
width: 60px;
|
|
height: 60px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.client-name {
|
|
display: block;
|
|
font-size: 1.2em;
|
|
font-weight: 600;
|
|
color: #333;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.client-ip {
|
|
display: block;
|
|
font-size: 0.9em;
|
|
color: #666;
|
|
}
|
|
|
|
button[mat-raised-button] {
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.clients-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
|
|
gap: 8px; /* Espaciado reducido entre cards */
|
|
}
|
|
|
|
.clients-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.client-item-list {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 8px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.client-details-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.clients-grid {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.clients-list .list-item-content {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
align-items: center;
|
|
}
|
|
|
|
.client-card, .list-item-content {
|
|
border: 1px solid #ccc;
|
|
padding: 1rem;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.client-image {
|
|
width: 50px;
|
|
height: 50px;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.back-button {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.filters-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 16px;
|
|
margin: 16px 0;
|
|
padding: 0 16px;
|
|
}
|
|
|
|
.mat-elevation-z8 {
|
|
box-shadow: 0px 0px 0px rgba(0,0,0,0.2);
|
|
}
|
|
|
|
.filters-container mat-form-field {
|
|
flex: 1 1 300px;
|
|
max-width: 300px;
|
|
}
|
|
|
|
.client-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
margin: 5px;
|
|
}
|
|
|
|
.client-name {
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.flex {
|
|
display: flex;
|
|
justify-self: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.client-image {
|
|
max-width: 100%;
|
|
height: auto;
|
|
margin-top: 10px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.client-details {
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.clients-view-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 1rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.clients-title-name {
|
|
font-size: x-large;
|
|
display: block;
|
|
padding: 1rem 1rem 1rem 15px;
|
|
}
|
|
|
|
.no-clients-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-top: 1.5rem;
|
|
} |