mirror of
https://github.com/lana-k/sqliteviz.git
synced 2025-12-07 02:28:54 +08:00
86 lines
1.7 KiB
CSS
86 lines
1.7 KiB
CSS
.rounded-bg {
|
|
padding: 40px 5px 5px;
|
|
background-color: white;
|
|
border-radius: 5px;
|
|
position: relative;
|
|
border: 1px solid var(--color-border-light);
|
|
box-sizing: border-box;
|
|
}
|
|
.header-container {
|
|
overflow: hidden;
|
|
position: absolute;
|
|
top: -1px;
|
|
left: -1px;
|
|
width: calc(100% + 2px);
|
|
padding-left: 7px;
|
|
box-sizing: border-box;
|
|
background-color: var(--color-bg-dark);
|
|
border-radius: 5px 5px 0 0;
|
|
}
|
|
|
|
@supports (-moz-appearance:none) {
|
|
.header-container {
|
|
top: 0;
|
|
padding-left: 6px;
|
|
}
|
|
}
|
|
|
|
.header-container > div {
|
|
display: flex;
|
|
width: fit-content;
|
|
padding-right: 30px;
|
|
}
|
|
.table-container {
|
|
width: 100%;
|
|
overflow: auto;
|
|
}
|
|
table {
|
|
min-width: 100%;
|
|
margin-top: -40px;
|
|
border-collapse: collapse;
|
|
}
|
|
thead th, .fixed-header {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
box-sizing: border-box;
|
|
background-color: var(--color-bg-dark);
|
|
color: var(--color-text-light);
|
|
border-right: 1px solid var(--color-border-light);
|
|
}
|
|
tbody td {
|
|
font-size: 13px;
|
|
background-color:white;
|
|
color: var(--color-text-base);
|
|
box-sizing: border-box;
|
|
border-bottom: 1px solid var(--color-border-light);
|
|
border-right: 1px solid var(--color-border-light);
|
|
}
|
|
td, th, .fixed-header {
|
|
padding: 12px 24px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
tbody tr td:last-child,
|
|
thead tr th:last-child,
|
|
.header-container div .fixed-header:last-child {
|
|
border-right: none;
|
|
}
|
|
|
|
td > div.cell-data {
|
|
width: -webkit-max-content;
|
|
width: -moz-max-content;
|
|
width: max-content;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.table-footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 6px 12px;
|
|
}
|
|
.table-footer-count {
|
|
font-size: 11px;
|
|
color: var(--color-text-base);
|
|
}
|