trust-module-frontend/src/Style/SystemStatusTable.css

57 lines
856 B
CSS
Executable File

table {
width: 100%;
table-layout: fixed;
/* Фиксированная ширина столбцов */
}
th,
td {
width: 25%;
/* Равномерное распределение ширины для 4 столбцов */
padding: 10px;
text-align: left;
border-bottom: 1px solid #ddd;
color: #333;
}
.status {
padding: 5px 10px;
border-radius: 5px;
color: white;
}
.status.normal {
background-color: green;
}
.status.warning {
background-color: orange;
}
.status.critical {
background-color: red;
}
.details {
padding: 10px;
background-color: #f9f9f9;
border-radius: 5px;
}
button {
background-color: #007bff;
color: white;
border: none;
padding: 5px 10px;
border-radius: 5px;
cursor: pointer;
}
button:hover {
background-color: #000000;
}
caption {
position: relative;
margin-right: 100%;
}