aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionSchema/CollectionSchemaView.scss
diff options
context:
space:
mode:
authormehekj <mehek.jethani@gmail.com>2022-11-14 11:19:48 -0500
committermehekj <mehek.jethani@gmail.com>2022-11-14 11:19:48 -0500
commita58e71a9eea2717151e1a8c73e27068b02256390 (patch)
treecd14d180021a36e020b07c3ab4eb4e51c2cf6b2b /src/client/views/collections/collectionSchema/CollectionSchemaView.scss
parentc3d7e526247dd6225af5146e93a0001d56a84c29 (diff)
cleanup
Diffstat (limited to 'src/client/views/collections/collectionSchema/CollectionSchemaView.scss')
-rw-r--r--src/client/views/collections/collectionSchema/CollectionSchemaView.scss56
1 files changed, 55 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionSchema/CollectionSchemaView.scss b/src/client/views/collections/collectionSchema/CollectionSchemaView.scss
index 696bfd67c..99f49eb0e 100644
--- a/src/client/views/collections/collectionSchema/CollectionSchemaView.scss
+++ b/src/client/views/collections/collectionSchema/CollectionSchemaView.scss
@@ -51,7 +51,61 @@
position: absolute;
top: 35px;
min-width: 200px;
- padding: 10px;
+ display: flex;
+ flex-direction: column;
+ align-items: flex-start;
+
+ .schema-key-search-input {
+ width: calc(100% - 20px);
+ margin: 10px;
+ }
+
+ .schema-key-search-result {
+ cursor: pointer;
+ padding: 2px 10px;
+ width: 100%;
+
+ &:hover {
+ background-color: $medium-gray;
+ }
+ }
+
+ .schema-key-search,
+ .schema-new-key-options {
+ width: 100%;
+ display: flex;
+ flex-direction: column;
+ align-items: flex-start;
+ }
+
+ .schema-key-list {
+ width: 100%;
+ max-height: 300px;
+ overflow-y: auto;
+ }
+
+ .schema-key-type-option {
+ margin: 2px 10px;
+
+ input {
+ margin-right: 5px;
+ }
+ }
+
+ .schema-key-default-val {
+ margin: 5px 10px;
+ }
+
+ .schema-column-menu-button {
+ cursor: pointer;
+ padding: 2px 5px;
+ background: $medium-blue;
+ border-radius: 9999px;
+ color: $white;
+ width: fit-content;
+ margin: 5px;
+ align-self: center;
+ }
}
}
}