aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionSchema/CollectionSchemaView.scss
diff options
context:
space:
mode:
authormehekj <mehek.jethani@gmail.com>2023-03-15 18:15:18 -0400
committermehekj <mehek.jethani@gmail.com>2023-03-15 18:15:18 -0400
commit61ce7b4d434aff7e642d2af17b8643297f99e4a3 (patch)
tree0562ddcab46ef1c10996baaada7001c083dea820 /src/client/views/collections/collectionSchema/CollectionSchemaView.scss
parent504c8046c13dfe77316e42943e48c017d67c2ad8 (diff)
column drag in progress
Diffstat (limited to 'src/client/views/collections/collectionSchema/CollectionSchemaView.scss')
-rw-r--r--src/client/views/collections/collectionSchema/CollectionSchemaView.scss112
1 files changed, 58 insertions, 54 deletions
diff --git a/src/client/views/collections/collectionSchema/CollectionSchemaView.scss b/src/client/views/collections/collectionSchema/CollectionSchemaView.scss
index 5eb5cc86d..1853fb589 100644
--- a/src/client/views/collections/collectionSchema/CollectionSchemaView.scss
+++ b/src/client/views/collections/collectionSchema/CollectionSchemaView.scss
@@ -8,6 +8,7 @@
.schema-table {
background-color: $white;
+ cursor: default;
.schema-column-menu,
.schema-filter-menu {
@@ -80,68 +81,70 @@
align-self: center;
}
}
+ }
- .schema-header-row {
- justify-content: flex-end;
+ .schema-preview-divider {
+ height: 100%;
+ background: black;
+ cursor: ew-resize;
+ }
+}
- .row-menu {
- display: flex;
- justify-content: flex-end;
- }
+.schema-header-row {
+ cursor: grab;
+ justify-content: flex-end;
- .schema-column-header {
- font-weight: bold;
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- align-items: center;
- padding: 0;
- z-index: 1;
-
- .schema-column-title {
- flex-grow: 2;
- margin: 5px;
- }
+ .row-menu {
+ display: flex;
+ justify-content: flex-end;
+ }
+}
- .schema-header-menu {
- margin: 5px;
- }
+.schema-column-header {
+ background-color: $light-gray;
+ font-weight: bold;
+ display: flex;
+ flex-direction: row;
+ justify-content: space-between;
+ align-items: center;
+ padding: 0;
+ z-index: 1;
- .schema-column-resizer {
- height: 100%;
- width: 3px;
- cursor: ew-resize;
+ .schema-column-title {
+ flex-grow: 2;
+ margin: 5px;
+ }
- &:hover {
- background-color: $light-blue;
- }
- }
+ .schema-header-menu {
+ margin: 5px;
+ }
- .schema-column-resizer.right {
- margin-left: 5px;
- align-self: flex-end;
- }
+ .schema-column-resizer {
+ height: 100%;
+ width: 3px;
+ cursor: ew-resize;
- .schema-column-resizer.left {
- margin-right: 5px;
- align-self: flex-start;
- }
- }
+ &:hover {
+ background-color: $light-blue;
}
+ }
- .schema-header-menu {
- display: flex;
- flex-direction: row;
- }
+ .schema-column-resizer.right {
+ margin-left: 5px;
+ align-self: flex-end;
}
- .schema-preview-divider {
- height: 100%;
- background: black;
- cursor: ew-resize;
+ .schema-column-resizer.left {
+ margin-right: 5px;
+ align-self: flex-start;
}
}
+.schema-header-menu {
+ display: flex;
+ flex-direction: row;
+}
+
.schema-row-wrapper {
// max-height: 70px;
overflow: hidden;
@@ -158,17 +161,18 @@
height: 100%;
// max-height: 70px;
overflow: auto;
+}
- .schema-column-header,
- .schema-table-cell,
- .row-menu {
- border: 1px solid $medium-gray;
- padding: 5px;
- overflow: hidden;
- }
+.schema-column-header,
+.schema-table-cell,
+.row-menu {
+ border: 1px solid $medium-gray;
+ padding: 5px;
+ overflow: hidden;
}
.schema-row {
+ cursor: default;
justify-content: flex-end;
background: white;