frontend/src/assets/css/ListResource.css
.configmaps-container {
display: flex;
flex-direction: column;
height: 100%;
position: relative;
overflow: hidden;
width: 100%;
box-sizing: border-box;
}
.search-bar-container {
flex-shrink: 0;
width: 100%;
background-color: #2a2a2a;
border-bottom: 1px solid #444;
z-index: 10;
box-sizing: border-box;
padding: 0;
}
.table-scroll-container {
flex: 1;
overflow-y: auto;
overflow-x: hidden;
width: 100%;
box-sizing: border-box;
}
.table-container {
height: 100%;
overflow-y: auto;
}
table {
width: 100%;
border-collapse: collapse;
font-size: 13px;
}
th, td {
padding: 8px 16px;
text-align: left;
border-bottom: 1px solid #333333;
}
th {
position: sticky;
top: 0;
font-weight: 500;
color: #858585;
background-color: #252526;
z-index: 1;
}
td {
color: #cccccc;
}
tr:hover td {
background-color: #2a2d2e;
}
tr.selected td {
background-color: #37373d;
}
.empty-state {
padding: 24px;
text-align: center;
color: #666;
background-color: #f9f9f9;
border-radius: 4px;
margin-top: 16px;
}
.context-menu {
position: fixed;
background-color: #252526;
border: 1px solid #333333;
border-radius: 4px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
z-index: 1000;
min-width: 150px;
}
.menu-item {
padding: 8px 12px;
cursor: pointer;
display: flex;
align-items: center;
gap: 8px;
color: #cccccc;
font-size: 13px;
text-align: left;
}
.menu-item:hover {
background-color: #2a2d2e;
}
.menu-icon {
font-size: 16px;
}
.menu-item.disabled {
opacity: 0.6;
cursor: not-allowed;
}
.menu-text {
font-size: 14px;
}
.menu-error {
padding: 8px 12px;
color: #f44336;
font-size: 12px;
border-top: 1px solid #3c3c3c;
max-width: 200px;
word-break: break-word;
}
.empty-state {
padding: 24px;
text-align: center;
color: #666;
background-color: #f9f9f9;
border-radius: 4px;
margin-top: 16px;
}
.status-active {
color: #4caf50;
}
.status-terminating {
color: #f44336;
}
.status-unknown {
color: #9e9e9e;
}
.status-failed {
color: #f44336;
}
.status-unknown {
color: #9e9e9e;
}