2024-01-28 02:06:27 +00:00
|
|
|
* {
|
|
|
|
|
box-sizing: border-box;
|
2024-02-04 21:22:11 +00:00
|
|
|
font-family: 'Mulish', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
2024-01-28 02:06:27 +00:00
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
|
|
|
|
body {
|
|
|
|
|
display: flex;
|
|
|
|
|
font-family: sans-serif;
|
|
|
|
|
height: 100vh;
|
2024-05-05 17:35:23 +00:00
|
|
|
width: 100vw;
|
2024-01-28 02:06:27 +00:00
|
|
|
}
|
2024-09-12 07:43:28 +00:00
|
|
|
|
2024-01-28 02:06:27 +00:00
|
|
|
h1 {
|
2024-09-12 07:43:28 +00:00
|
|
|
font-size: 22pt;
|
2024-01-28 02:06:27 +00:00
|
|
|
}
|
|
|
|
|
h2 {
|
2024-09-12 07:43:28 +00:00
|
|
|
margin-top: 10px;
|
2024-01-28 02:06:27 +00:00
|
|
|
font-size: 12pt;
|
|
|
|
|
}
|
|
|
|
|
p {
|
2024-09-12 07:43:28 +00:00
|
|
|
margin: 15px 0;
|
2024-01-28 02:06:27 +00:00
|
|
|
}
|
2024-09-12 07:43:28 +00:00
|
|
|
code {
|
|
|
|
|
font-family: monospace;
|
|
|
|
|
padding: 10px;
|
|
|
|
|
white-space: pre-wrap;
|
|
|
|
|
word-break: break-all;
|
|
|
|
|
}
|
|
|
|
|
|
2024-05-05 17:35:23 +00:00
|
|
|
.error {
|
|
|
|
|
color: #c11;
|
|
|
|
|
font-family: monospace;
|
|
|
|
|
white-space: pre-wrap;
|
|
|
|
|
}
|
|
|
|
|
|
2024-09-12 07:43:28 +00:00
|
|
|
/* dropzone */
|
|
|
|
|
.dropzone {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
.dropzone.hover .overlay {
|
|
|
|
|
display: flex;
|
|
|
|
|
}
|
|
|
|
|
.overlay {
|
2024-01-28 02:06:27 +00:00
|
|
|
align-items: center;
|
2024-05-05 17:35:23 +00:00
|
|
|
font-size: 125%;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
background-color: rgba(240, 240, 240, 0.6);
|
|
|
|
|
backdrop-filter: blur(4px);
|
|
|
|
|
display: none;
|
|
|
|
|
padding: 12px;
|
|
|
|
|
z-index: 40;
|
2024-01-28 02:06:27 +00:00
|
|
|
}
|
2024-05-05 17:35:23 +00:00
|
|
|
|
2024-09-12 07:43:28 +00:00
|
|
|
/* sidebar */
|
|
|
|
|
nav {
|
|
|
|
|
height: 100vh;
|
|
|
|
|
min-width: 48px;
|
|
|
|
|
background-image: linear-gradient(to bottom, #667, #585669);
|
|
|
|
|
box-shadow: 0 0 4px rgba(10, 10, 10, 0.5);
|
|
|
|
|
height: 100vh;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* brand logo */
|
|
|
|
|
.brand {
|
|
|
|
|
color: #fff;
|
2024-05-05 17:35:23 +00:00
|
|
|
display: flex;
|
2024-09-12 07:43:28 +00:00
|
|
|
align-items: center;
|
|
|
|
|
filter: drop-shadow(0 0 2px #444);
|
|
|
|
|
font-family: 'Century Gothic', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
|
|
|
font-size: 1.1em;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
text-orientation: mixed;
|
|
|
|
|
opacity: 0.85;
|
|
|
|
|
padding: 10px 12px;
|
|
|
|
|
user-select: none;
|
|
|
|
|
writing-mode: vertical-rl;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
.brand:hover {
|
|
|
|
|
color: #fff;
|
|
|
|
|
filter: drop-shadow(0 0 2px #333);
|
|
|
|
|
opacity: 0.9;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
.brand::before {
|
|
|
|
|
content: '';
|
|
|
|
|
background: url(logo.svg) no-repeat 0 center;
|
|
|
|
|
background-size: 26px;
|
|
|
|
|
height: 26px;
|
|
|
|
|
width: 26px;
|
|
|
|
|
margin-bottom: 10px;
|
2024-05-05 17:35:23 +00:00
|
|
|
}
|
|
|
|
|
|
2024-09-12 07:43:28 +00:00
|
|
|
/* content area */
|
|
|
|
|
main,
|
2024-05-05 17:35:23 +00:00
|
|
|
#content {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
flex: 1;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2024-09-12 07:43:28 +00:00
|
|
|
#content {
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#app {
|
|
|
|
|
flex: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* content area */
|
|
|
|
|
.content-container {
|
|
|
|
|
min-width: 0;
|
|
|
|
|
height: 100vh;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
flex: 1;
|
|
|
|
|
}
|
|
|
|
|
.content {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
flex: 1;
|
|
|
|
|
height: 100vh;
|
|
|
|
|
padding: 0;
|
|
|
|
|
/* no outer scrollbars */
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.top-header {
|
|
|
|
|
align-items: center;
|
|
|
|
|
background: linear-gradient(to right, #353540, #24202b);
|
|
|
|
|
color: #dde4ea;
|
|
|
|
|
display: flex;
|
|
|
|
|
height: 32px;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
min-height: 32px;
|
|
|
|
|
padding-left: 8px;
|
|
|
|
|
}
|
|
|
|
|
.top-header {
|
|
|
|
|
color: #f0f8ff;
|
|
|
|
|
font-family: 'Courier New', Courier, monospace;
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
text-decoration-thickness: 1px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.view-header {
|
|
|
|
|
align-items: center;
|
|
|
|
|
background-color: #ccc;
|
|
|
|
|
color: #444;
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 16px;
|
|
|
|
|
height: 24px;
|
|
|
|
|
padding: 0 8px;
|
|
|
|
|
/* all one line */
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
.viewer {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex: 1;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
white-space: pre-wrap;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#table {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex: 1;
|
|
|
|
|
min-height: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* welcome */
|
2024-05-05 17:35:23 +00:00
|
|
|
#welcome {
|
2024-09-12 07:43:28 +00:00
|
|
|
position: absolute;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
top: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
border: 2px #777;
|
2024-01-28 02:06:27 +00:00
|
|
|
border-radius: 10px;
|
2024-01-28 02:50:14 +00:00
|
|
|
color: #444;
|
2024-01-28 02:06:27 +00:00
|
|
|
margin: 10px;
|
2024-01-28 02:50:14 +00:00
|
|
|
padding: 10px;
|
2024-05-05 17:35:23 +00:00
|
|
|
cursor: pointer;
|
|
|
|
|
display: flex;
|
2024-09-12 07:43:28 +00:00
|
|
|
flex-direction: column;
|
2024-05-05 17:35:23 +00:00
|
|
|
flex: 1;
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
justify-content: center;
|
2024-09-12 07:43:28 +00:00
|
|
|
max-width: 640px;
|
|
|
|
|
margin: 0 auto;
|
2024-01-28 02:50:14 +00:00
|
|
|
}
|
2024-09-12 07:43:28 +00:00
|
|
|
#welcome ul {
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
margin-left: 30px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* file upload */
|
2024-01-28 02:50:14 +00:00
|
|
|
input[type="file"] {
|
|
|
|
|
display: none;
|
2024-01-28 02:06:27 +00:00
|
|
|
}
|
2024-09-12 07:43:28 +00:00
|
|
|
.overlay {
|
2024-05-05 17:35:23 +00:00
|
|
|
font-size: 125%;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
background-color: rgba(240, 240, 240, 0.6);
|
|
|
|
|
backdrop-filter: blur(4px);
|
|
|
|
|
display: none;
|
|
|
|
|
padding: 12px;
|
|
|
|
|
z-index: 40;
|
2024-01-28 02:06:27 +00:00
|
|
|
}
|
2024-09-12 07:43:28 +00:00
|
|
|
.over .overlay {
|
2024-05-05 17:35:23 +00:00
|
|
|
display: flex;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* table */
|
2024-06-05 23:22:47 +00:00
|
|
|
.table-container {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
min-height: 0;
|
|
|
|
|
flex: 1;
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
.table-scroll {
|
|
|
|
|
flex: 1;
|
|
|
|
|
overflow: auto;
|
|
|
|
|
}
|
|
|
|
|
.table-scroll > div {
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
.table-scroll .table {
|
|
|
|
|
position: absolute;
|
|
|
|
|
}
|
|
|
|
|
|
2024-05-05 17:35:23 +00:00
|
|
|
table {
|
|
|
|
|
border-collapse: separate;
|
|
|
|
|
border-spacing: 0;
|
|
|
|
|
}
|
|
|
|
|
table:focus-visible {
|
|
|
|
|
outline: none;
|
|
|
|
|
}
|
|
|
|
|
th {
|
|
|
|
|
background-color: #f8f8f8;
|
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
|
padding: 8px;
|
|
|
|
|
text-align: left;
|
|
|
|
|
background-color: #eaeaeb;
|
|
|
|
|
border: none;
|
|
|
|
|
border-top: 4px solid #706fb1;
|
|
|
|
|
border-bottom: 2px solid #c9c9c9;
|
|
|
|
|
box-sizing: content-box;
|
|
|
|
|
color: #444;
|
|
|
|
|
position: sticky;
|
|
|
|
|
top: -1px; /* fix 1px gap above thead */
|
|
|
|
|
user-select: none;
|
2024-01-28 02:06:27 +00:00
|
|
|
}
|
2024-05-05 17:35:23 +00:00
|
|
|
th, td {
|
|
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
|
|
border-right: 1px solid #ddd;
|
|
|
|
|
height: 32px;
|
|
|
|
|
max-width: 1000px; /* prevent columns expanding */
|
|
|
|
|
padding: 4px 12px;
|
|
|
|
|
text-align: left;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
white-space: pre-wrap;
|
|
|
|
|
}
|
2024-06-05 23:22:47 +00:00
|
|
|
|
|
|
|
|
/* column resize */
|
|
|
|
|
.table thead span {
|
|
|
|
|
position: absolute;
|
|
|
|
|
border-right: 1px solid #ddd;
|
|
|
|
|
top: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
width: 8px;
|
|
|
|
|
cursor: col-resize;
|
|
|
|
|
transition: background-color 0.2s ease;
|
|
|
|
|
}
|
|
|
|
|
.table thead span:hover {
|
|
|
|
|
background-color: #aab;
|
|
|
|
|
}
|
|
|
|
|
|
2024-06-14 06:49:03 +00:00
|
|
|
/* row numbers */
|
|
|
|
|
td:first-child {
|
|
|
|
|
background-color: #eaeaeb;
|
|
|
|
|
border-right: 1px solid #ddd;
|
|
|
|
|
color: #888;
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
padding: 0 2px;
|
|
|
|
|
position: sticky;
|
|
|
|
|
left: 0;
|
|
|
|
|
text-align: center;
|
|
|
|
|
user-select: none;
|
|
|
|
|
min-width: 32px;
|
|
|
|
|
max-width: none;
|
|
|
|
|
width: 32px;
|
|
|
|
|
}
|
2024-05-05 17:35:23 +00:00
|
|
|
|
2024-06-05 23:22:47 +00:00
|
|
|
/* table corner */
|
|
|
|
|
.table-corner {
|
|
|
|
|
background-color: #e4e4e6;
|
|
|
|
|
border-right: 1px solid #ccc;
|
|
|
|
|
position: absolute;
|
|
|
|
|
height: 44px;
|
|
|
|
|
width: 32px;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
z-index: 15;
|
|
|
|
|
box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.2);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* mock row numbers */
|
|
|
|
|
.mock-row-label {
|
|
|
|
|
content: "";
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
background: #eaeaeb;
|
|
|
|
|
z-index: -10;
|
|
|
|
|
}
|
|
|
|
|
|
2024-05-13 02:36:30 +00:00
|
|
|
#filename {
|
|
|
|
|
font-size: 10pt;
|
2024-01-28 02:06:27 +00:00
|
|
|
margin-top: 20px;
|
2024-05-13 02:36:30 +00:00
|
|
|
}
|
2024-06-01 02:40:44 +00:00
|
|
|
.sidebar {
|
2024-02-05 07:37:18 +00:00
|
|
|
word-break: break-all;
|
|
|
|
|
}
|
2024-06-01 02:40:44 +00:00
|
|
|
.sidebar a {
|
2024-02-05 07:37:18 +00:00
|
|
|
color: #445;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
2024-06-01 02:40:44 +00:00
|
|
|
.sidebar a:hover {
|
2024-02-05 07:37:18 +00:00
|
|
|
text-decoration: underline;
|
2024-01-28 02:06:27 +00:00
|
|
|
}
|
2024-09-06 21:38:27 +00:00
|
|
|
|
|
|
|
|
/* layout */
|
2024-09-12 07:43:28 +00:00
|
|
|
.layout {
|
|
|
|
|
margin: 10px;
|
|
|
|
|
max-width: 480px;
|
|
|
|
|
}
|
2024-06-01 02:40:44 +00:00
|
|
|
.layout,
|
2024-09-06 21:38:27 +00:00
|
|
|
.layout .group,
|
|
|
|
|
.layout .cell {
|
2024-05-13 06:59:11 +00:00
|
|
|
background-color: rgba(100, 80, 180, 0.05);
|
2024-01-28 02:06:27 +00:00
|
|
|
border: 1px solid #ccc;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
margin-top: 4px;
|
|
|
|
|
padding: 4px;
|
|
|
|
|
word-break: break-all;
|
|
|
|
|
}
|
2024-09-06 21:38:27 +00:00
|
|
|
.cell,
|
|
|
|
|
.group-header {
|
2024-01-28 02:06:27 +00:00
|
|
|
display: flex;
|
|
|
|
|
}
|
2024-09-06 21:38:27 +00:00
|
|
|
.group-header > label,
|
|
|
|
|
.cell > label {
|
|
|
|
|
display: flex;
|
2024-01-28 02:50:14 +00:00
|
|
|
flex: 1;
|
2024-01-28 02:06:27 +00:00
|
|
|
font-size: 12px;
|
|
|
|
|
font-weight: normal;
|
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
}
|
2024-09-06 21:38:27 +00:00
|
|
|
.group-header > span {
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
}
|
2024-01-28 02:50:14 +00:00
|
|
|
|
2024-01-28 03:29:21 +00:00
|
|
|
.layout div ul {
|
2024-01-28 02:06:27 +00:00
|
|
|
list-style: none;
|
|
|
|
|
}
|
2024-01-28 03:29:21 +00:00
|
|
|
.layout div li {
|
2024-01-28 02:06:27 +00:00
|
|
|
font-size: 10px;
|
|
|
|
|
padding: 2px 4px;
|
|
|
|
|
text-align: right;
|
|
|
|
|
}
|