-
-
Select Export Data
-
-
- {Array.from(EXPORT_TYPE_DATA.entries())
- .sort()
- .map(([exportType, description]) => (
-
- ))}
-
-
-
-
-
- Continue
-
+
+ {Array.from(EXPORT_TYPE_DATA.entries())
+ .sort()
+ .map(([exportType, description]) => (
+
handleSelect(exportType)}
+ >
+ {description}
+
+ ))}
);
diff --git a/csm_web/frontend/src/css/data-export.scss b/csm_web/frontend/src/css/data-export.scss
index 54f3417c..cf7dcb04 100644
--- a/csm_web/frontend/src/css/data-export.scss
+++ b/csm_web/frontend/src/css/data-export.scss
@@ -4,38 +4,40 @@
.data-export-container {
display: flex;
flex-direction: column;
- gap: 40px;
align-items: stretch;
justify-content: center;
+
+ padding-right: 16px;
}
-.export-selector-container {
+.data-export-body {
display: flex;
- flex-direction: column;
+ flex-direction: row;
- gap: 50px;
+ gap: 40px;
}
-.export-selector-footer {
- display: flex;
- align-items: center;
- justify-content: center;
+.data-export-sidebar {
+ min-width: 150px;
}
-.export-selector-section,
-.export-page-section {
+.data-export-content {
+ flex: 1;
+}
+
+.export-selector-container {
display: flex;
flex-direction: column;
- justify-content: center;
+ gap: 50px;
+
+ padding-left: 24px;
+ margin-top: 16px;
}
-.export-selector-data-type-container {
+.export-selector-footer {
display: flex;
- flex-direction: column;
align-items: center;
justify-content: center;
-
- padding-top: 15px;
}
.export-page-sidebar-container {
@@ -52,7 +54,7 @@
.export-selector-data-type-options {
display: flex;
flex-direction: column;
- gap: 8px;
+ gap: 24px;
align-items: flex-start;
justify-content: center;
@@ -64,18 +66,27 @@
max-height: 25%;
}
-.export-selector-data-type-label,
-.export-page-input-label {
+.export-selector-data-type-label {
display: block;
width: 100%;
+
+ font-size: 1.1rem;
+
white-space: nowrap;
+
+ cursor: pointer;
user-select: none;
+
+ &.active {
+ color: $csm-green-darkened;
+ }
}
.export-page-container {
display: flex;
flex-direction: column;
gap: 16px;
+ align-items: stretch;
}
.export-page-config {
@@ -160,7 +171,7 @@
}
.export-preview-table-container {
- max-width: 90vw;
+ max-width: 80vw;
overflow-x: auto;
}