hyparquet/demo.css

117 lines
1.7 KiB
CSS
Raw Normal View History

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;
}
nav {
2024-02-04 21:22:11 +00:00
width: 320px;
2024-01-28 02:06:27 +00:00
overflow-y: auto;
2024-01-28 02:50:14 +00:00
padding: 10px;
2024-01-28 02:06:27 +00:00
}
h1 {
font-size: 20pt;
}
h2 {
font-size: 12pt;
}
p {
margin: 10px 0;
2024-02-04 21:22:11 +00:00
width: 300px;
2024-01-28 02:06:27 +00:00
}
2024-01-28 02:50:14 +00:00
#welcome {
2024-01-28 02:06:27 +00:00
align-items: center;
2024-01-28 02:50:14 +00:00
cursor: pointer;
display: flex;
2024-01-28 02:06:27 +00:00
font-size: 20px;
2024-01-28 02:50:14 +00:00
height: 100%;
justify-content: center;
2024-01-28 02:06:27 +00:00
}
#dropzone {
border: 2px dashed #08e;
border-radius: 10px;
2024-01-28 02:50:14 +00:00
color: #444;
2024-01-28 02:06:27 +00:00
flex: 1;
margin: 10px;
overflow: auto;
2024-01-28 02:50:14 +00:00
padding: 10px;
}
input[type="file"] {
display: none;
2024-01-28 02:06:27 +00:00
}
.over {
background-color: lightblue;
}
.error {
color: #c11;
}
#layout {
margin-top: 20px;
}
2024-01-28 03:29:21 +00:00
.layout div {
background-color: rgba(0, 0, 0, 0.05);
border: 1px solid #ccc;
border-radius: 4px;
font-size: 12px;
margin-top: 4px;
padding: 4px;
word-break: break-all;
}
.layout div {
2024-01-28 02:06:27 +00:00
background-color: rgba(0, 0, 0, 0.05);
border: 1px solid #ccc;
border-radius: 4px;
font-size: 12px;
margin-top: 4px;
padding: 4px;
word-break: break-all;
}
.cell {
display: flex;
}
.cell label {
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-01-28 02:50:14 +00:00
nav ul,
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;
}
2024-01-28 02:55:34 +00:00
.collapsed > :not(:first-child) {
display: none;
}
2024-01-28 03:29:21 +00:00
.layout h2 {
2024-01-28 02:55:34 +00:00
cursor: pointer;
user-select: none;
}
2024-01-28 03:29:21 +00:00
.layout h2::before {
2024-01-28 02:55:34 +00:00
content: "▼";
display: inline-block;
font-size: 10px;
margin: 0 4px;
vertical-align: middle;
}
2024-01-28 03:29:21 +00:00
.layout .collapsed h2::before {
2024-01-28 02:55:34 +00:00
content: "▶";
}
2024-01-28 03:29:21 +00:00
#metadata pre {
white-space: pre-wrap;
break-word: break-all;
}