aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionSchema
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2025-02-25 01:03:25 -0500
committerbobzel <zzzman@gmail.com>2025-02-25 01:03:25 -0500
commit515707c4561eb526426b8fa07dd50bd499fb91cc (patch)
treef4cbc69387da19add6dbc88acecbcdbdca575039 /src/client/views/collections/collectionSchema
parent30b07ed24fbe5e6d49741bc63031807408cd4a0c (diff)
added a hideUI option to hide buttons. fixed a mess of runtime warnings mostly related to how scss files can be included in each other
Diffstat (limited to 'src/client/views/collections/collectionSchema')
-rw-r--r--src/client/views/collections/collectionSchema/CollectionSchemaView.scss40
1 files changed, 19 insertions, 21 deletions
diff --git a/src/client/views/collections/collectionSchema/CollectionSchemaView.scss b/src/client/views/collections/collectionSchema/CollectionSchemaView.scss
index 817ceac97..0bf78f57c 100644
--- a/src/client/views/collections/collectionSchema/CollectionSchemaView.scss
+++ b/src/client/views/collections/collectionSchema/CollectionSchemaView.scss
@@ -1,4 +1,4 @@
-@import '../../global/globalCssVariables.module.scss';
+@use '../../global/globalCssVariables.module.scss' as global;
.collectionSchemaView {
cursor: default;
@@ -7,7 +7,7 @@
flex-direction: row;
.schema-table {
- background-color: $white;
+ background-color: global.$white;
cursor: grab;
width: 100%;
@@ -49,10 +49,10 @@
.schema-column-menu,
.schema-filter-menu {
- background: $light-gray;
+ background: global.$light-gray;
position: absolute;
- border: 1px solid $medium-gray;
- border-bottom: 2px solid $medium-gray;
+ border: 1px solid global.$medium-gray;
+ border-bottom: 2px solid global.$medium-gray;
max-height: 201px;
display: flex;
overflow: hidden;
@@ -66,7 +66,7 @@
width: 100%;
&:hover {
- background-color: $medium-gray;
+ background-color: global.$medium-gray;
}
.schema-search-result-type {
font-family: 'Courier New', Courier, monospace;
@@ -74,8 +74,8 @@
.schema-search-result-type,
.schema-search-result-desc {
- color: $dark-gray;
- font-size: $body-text;
+ color: global.$dark-gray;
+ font-size: global.$body-text;
}
.schema-search-result-desc {
font-style: italic;
@@ -120,9 +120,9 @@
.schema-column-menu-button {
cursor: pointer;
padding: 2px 5px;
- background: $medium-blue;
+ background: global.$medium-blue;
border-radius: 9999px;
- color: $white;
+ color: global.$white;
width: fit-content;
margin: 5px;
align-self: center;
@@ -141,7 +141,7 @@
}
.schema-column-header {
- background-color: $light-gray;
+ background-color: global.$light-gray;
font-weight: bold;
display: flex;
flex-direction: row;
@@ -149,7 +149,7 @@
align-items: center;
padding: 0;
z-index: 1;
- border: 1px solid $medium-gray;
+ border: 1px solid global.$medium-gray;
.schema-column-title {
flex-grow: 2;
@@ -175,7 +175,7 @@
cursor: ew-resize;
&:hover {
- background-color: $light-blue;
+ background-color: global.$light-blue;
}
}
@@ -188,7 +188,7 @@
min-width: 5px;
transform: translate(-3px, 0px);
align-self: flex-start;
- background-color: $medium-gray;
+ background-color: global.$medium-gray;
}*/ // creates awkward thick gray borders between colheaders
}
@@ -202,7 +202,7 @@
}
.schema-header-row {
- background-color: $light-gray;
+ background-color: global.$light-gray;
overflow: hidden;
}
@@ -226,7 +226,7 @@
.schema-table-cell,
.row-menu {
- border: 1px solid $medium-gray;
+ border: 1px solid global.$medium-gray;
overflow-x: hidden;
overflow-y: auto;
display: inline-flex;
@@ -264,7 +264,7 @@
.row-menu-infos {
position: absolute;
top: 3;
- left: 3;
+ left: 3;
z-index: 1;
display: flex;
justify-content: flex-end;
@@ -278,7 +278,7 @@
.schema-row-button,
.schema-header-button {
- color: $dark-gray;
+ color: global.$dark-gray;
margin: 3px;
cursor: pointer;
display: flex;
@@ -294,7 +294,7 @@
width: 17px;
height: 17px;
border-radius: 30%;
- background-color: $dark-gray;
+ background-color: global.$dark-gray;
color: white;
margin: 3px;
cursor: pointer;
@@ -311,5 +311,3 @@
outline: none;
height: 100%;
}
-
-