mirror of
https://github.com/Casvt/MIND.git
synced 2026-02-19 11:54:46 -05:00
93 lines
1.5 KiB
CSS
93 lines
1.5 KiB
CSS
.table-container {
|
|
margin-top: 2rem;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
#add-service-button {
|
|
padding: .5rem 8rem;
|
|
background-color: var(--color-gray);
|
|
}
|
|
|
|
#add-service-button > svg {
|
|
height: 1rem;
|
|
width: 1rem;
|
|
}
|
|
|
|
.overflow-container {
|
|
margin-inline: auto;
|
|
width: 100%;
|
|
max-width: 50rem;
|
|
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.overflow-container > table {
|
|
border-spacing: 0px;
|
|
}
|
|
|
|
.overflow-container > table th,
|
|
.overflow-container > table td {
|
|
text-align: left;
|
|
}
|
|
|
|
.overflow-container > table th {
|
|
padding: .5rem;
|
|
}
|
|
|
|
#services-list > tr > td {
|
|
border-top: 1px solid var(--color-gray);
|
|
padding: .25rem;
|
|
}
|
|
|
|
.title-column {
|
|
min-width: 9.5rem;
|
|
width: 25%;
|
|
|
|
padding-left: 1.5rem;
|
|
padding-right: 1rem;
|
|
}
|
|
|
|
.url-column {
|
|
min-width: 26rem;
|
|
width: 65%;
|
|
}
|
|
|
|
#services-list input {
|
|
border-radius: 2px;
|
|
padding: .25rem;
|
|
box-shadow: none;
|
|
}
|
|
|
|
#services-list input:read-only {
|
|
border-color: transparent;
|
|
}
|
|
|
|
#services-list > tr > td.action-column {
|
|
min-width: 4rem;
|
|
width: 20%;
|
|
|
|
display: flex;
|
|
gap: .5rem;
|
|
|
|
padding: calc(.5rem + 2px);
|
|
padding-right: 1.5rem;
|
|
}
|
|
|
|
.action-column svg {
|
|
width: 1rem;
|
|
height: 1rem;
|
|
}
|
|
|
|
#services-list > tr:not(.edit) > td.action-column > button[data-type="edit"],
|
|
#services-list > tr.edit > td.action-column > button[data-type="save"] {
|
|
display: inline-block;
|
|
}
|
|
|
|
#services-list > tr.edit > td.action-column > button[data-type="edit"],
|
|
#services-list > tr:not(.edit):not(#add-row) > td.action-column > button[data-type="save"] {
|
|
display: none;
|
|
} |