aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections
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
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')
-rw-r--r--src/client/views/collections/CollectionCardDeckView.scss2
-rw-r--r--src/client/views/collections/CollectionCarousel3DView.scss12
-rw-r--r--src/client/views/collections/CollectionDockingView.scss22
-rw-r--r--src/client/views/collections/CollectionMenu.scss6
-rw-r--r--src/client/views/collections/CollectionNoteTakingView.scss22
-rw-r--r--src/client/views/collections/CollectionStackedTimeline.scss26
-rw-r--r--src/client/views/collections/CollectionStackingView.scss22
-rw-r--r--src/client/views/collections/CollectionTreeView.scss10
-rw-r--r--src/client/views/collections/CollectionView.scss6
-rw-r--r--src/client/views/collections/TabDocView.scss2
-rw-r--r--src/client/views/collections/TreeView.scss6
-rw-r--r--src/client/views/collections/collectionFreeForm/CollectionFreeFormView.scss16
-rw-r--r--src/client/views/collections/collectionFreeForm/ImageLabelHandler.tsx14
-rw-r--r--src/client/views/collections/collectionLinear/CollectionLinearView.scss22
-rw-r--r--src/client/views/collections/collectionSchema/CollectionSchemaView.scss40
15 files changed, 112 insertions, 116 deletions
diff --git a/src/client/views/collections/CollectionCardDeckView.scss b/src/client/views/collections/CollectionCardDeckView.scss
index 79c53db08..06dd4627f 100644
--- a/src/client/views/collections/CollectionCardDeckView.scss
+++ b/src/client/views/collections/CollectionCardDeckView.scss
@@ -1,5 +1,3 @@
-@import '../global/globalCssVariables.module.scss';
-
.collectionCardView-outer {
height: 100%;
width: 100%;
diff --git a/src/client/views/collections/CollectionCarousel3DView.scss b/src/client/views/collections/CollectionCarousel3DView.scss
index 42e112906..13e6b54c2 100644
--- a/src/client/views/collections/CollectionCarousel3DView.scss
+++ b/src/client/views/collections/CollectionCarousel3DView.scss
@@ -1,4 +1,4 @@
-@import '../global/globalCssVariables.module.scss';
+@use '../global/globalCssVariables.module.scss' as global;
.collectionCarousel3DView-outer {
height: 100%;
position: relative;
@@ -10,8 +10,8 @@
.carousel-wrapper {
display: flex;
position: absolute;
- top: $CAROUSEL3D_TOP * 1%;
- height: ($CAROUSEL3D_SIDE_SCALE * 100) * 1%;
+ top: global.$CAROUSEL3D_TOP * 1%;
+ height: (global.$CAROUSEL3D_SIDE_SCALE * 100) * 1%;
align-items: center;
transition: transform 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
@@ -24,7 +24,7 @@
pointer-events: none;
opacity: 0.5;
z-index: 1;
- transform: scale($CAROUSEL3D_SIDE_SCALE);
+ transform: scale(global.$CAROUSEL3D_SIDE_SCALE);
user-select: none;
}
@@ -32,7 +32,7 @@
pointer-events: unset;
opacity: 1;
z-index: 2;
- transform: scale($CAROUSEL3D_CENTER_SCALE);
+ transform: scale(global.$CAROUSEL3D_CENTER_SCALE);
}
}
@@ -80,7 +80,7 @@
.carousel3DView-back {
top: 0;
background: transparent;
- width: calc((1 - #{$CAROUSEL3D_CENTER_SCALE} * 0.33) / 2 * 100%);
+ width: calc((1 - #{global.$CAROUSEL3D_CENTER_SCALE} * 0.33) / 2 * 100%);
height: 100%;
}
diff --git a/src/client/views/collections/CollectionDockingView.scss b/src/client/views/collections/CollectionDockingView.scss
index a747ef45f..7c19d39da 100644
--- a/src/client/views/collections/CollectionDockingView.scss
+++ b/src/client/views/collections/CollectionDockingView.scss
@@ -1,4 +1,4 @@
-@import '../global/globalCssVariables.module.scss';
+@use '../global/globalCssVariables.module.scss' as global;
.lm_root {
position: relative;
@@ -285,7 +285,7 @@
background: transparent;
border: solid 0px transparent;
cursor: grab;
- color: $black;
+ color: global.$black;
}
.collectiondockingview-container .lm_splitter {
opacity: 0.2;
@@ -378,7 +378,7 @@ ul.lm_tabs::before {
z-index: 1;
text-align: center;
font-size: 18;
- color: $dark-gray;
+ color: global.$dark-gray;
img {
position: relative;
@@ -491,7 +491,7 @@ ul.lm_tabs::before {
}
.lm_content {
- background: $white;
+ background: global.$white;
}
.lm_controls {
@@ -557,7 +557,7 @@ ul.lm_tabs::before {
}
.flexlayout__splitter {
- background-color: $dark-gray;
+ background-color: global.$dark-gray;
}
.flexlayout__splitter:hover {
@@ -626,7 +626,7 @@ ul.lm_tabs::before {
position: absolute;
box-sizing: border-box;
background-color: #222;
- color: $dark-gray;
+ color: global.$dark-gray;
}
.flexlayout__tab_button {
@@ -709,7 +709,7 @@ ul.lm_tabs::before {
}
.flexlayout__tab_header_outer {
- background-color: $dark-gray;
+ background-color: global.$dark-gray;
position: absolute;
left: 0;
right: 0;
@@ -769,28 +769,28 @@ ul.lm_tabs::before {
}
.flexlayout__border_top {
- background-color: $dark-gray;
+ background-color: global.$dark-gray;
border-bottom: 1px solid #ddd;
box-sizing: border-box;
overflow: hidden;
}
.flexlayout__border_bottom {
- background-color: $dark-gray;
+ background-color: global.$dark-gray;
border-top: 1px solid #333;
box-sizing: border-box;
overflow: hidden;
}
.flexlayout__border_left {
- background-color: $dark-gray;
+ background-color: global.$dark-gray;
border-right: 1px solid #333;
box-sizing: border-box;
overflow: hidden;
}
.flexlayout__border_right {
- background-color: $dark-gray;
+ background-color: global.$dark-gray;
border-left: 1px solid #333;
box-sizing: border-box;
overflow: hidden;
diff --git a/src/client/views/collections/CollectionMenu.scss b/src/client/views/collections/CollectionMenu.scss
index 45d9394ed..11fce720c 100644
--- a/src/client/views/collections/CollectionMenu.scss
+++ b/src/client/views/collections/CollectionMenu.scss
@@ -1,13 +1,13 @@
-@import '../global/globalCssVariables.module.scss';
+@use '../global/globalCssVariables.module.scss' as global;
.collectionMenu-container {
display: flex;
position: relative;
align-content: center;
justify-content: space-between;
- background-color: $dark-gray;
+ background-color: global.$dark-gray;
height: 40px;
- border-bottom: $standard-border;
+ border-bottom: global.$standard-border;
padding: 0 10px;
align-items: center;
overflow-x: auto;
diff --git a/src/client/views/collections/CollectionNoteTakingView.scss b/src/client/views/collections/CollectionNoteTakingView.scss
index 95fda7b0a..0d24a56b5 100644
--- a/src/client/views/collections/CollectionNoteTakingView.scss
+++ b/src/client/views/collections/CollectionNoteTakingView.scss
@@ -1,4 +1,4 @@
-@import '../global/globalCssVariables.module.scss';
+@use '../global/globalCssVariables.module.scss' as global;
.collectionNoteTakingView-DocumentButtons {
opacity: 0;
@@ -58,7 +58,7 @@
.documentButtonMenu {
position: relative;
height: fit-content;
- border-bottom: $standard-border;
+ border-bottom: global.$standard-border;
display: flex;
justify-content: center;
flex-direction: column;
@@ -70,11 +70,11 @@
width: 90%;
margin: 5px;
font-size: 11px;
- background-color: $light-blue;
- color: $medium-blue;
+ background-color: global.$light-blue;
+ color: global.$medium-blue;
padding: 10px;
border-radius: 10px;
- border: solid 2px $medium-blue;
+ border: solid 2px global.$medium-blue;
}
}
@@ -146,9 +146,9 @@
padding: 10px;
height: 2vw;
width: 100%;
- font-family: $sans-serif;
- background: $dark-gray;
- color: $white;
+ font-family: global.$sans-serif;
+ background: global.$dark-gray;
+ color: global.$white;
}
.collectionNoteTakingView-columnDragger {
@@ -206,7 +206,7 @@
margin-left: 2px;
margin-right: 2px;
margin-top: 2px;
- background: $medium-gray;
+ background: global.$medium-gray;
height: 5px;
&.active {
@@ -258,7 +258,7 @@
text-align: center;
margin: auto;
margin-bottom: 10px;
- background: $medium-gray;
+ background: global.$medium-gray;
// overflow: hidden; overflow is visible so the color menu isn't hidden -ftong
.editableView-input:hover,
@@ -279,7 +279,7 @@
display: flex;
align-items: center;
justify-content: center;
- color: $dark-gray;
+ color: global.$dark-gray;
.editableView-container-editing-oneLine,
.editableView-container-editing {
diff --git a/src/client/views/collections/CollectionStackedTimeline.scss b/src/client/views/collections/CollectionStackedTimeline.scss
index 0ced3f9e3..d05c0ffde 100644
--- a/src/client/views/collections/CollectionStackedTimeline.scss
+++ b/src/client/views/collections/CollectionStackedTimeline.scss
@@ -1,4 +1,4 @@
-@import '../global/globalCssVariables.module.scss';
+@use '../global/globalCssVariables.module.scss' as global;
.collectionStackedTimeline-timelineContainer {
height: 100%;
@@ -6,7 +6,7 @@
overflow-x: auto;
overflow-y: hidden;
border: none;
- background-color: $white;
+ background-color: global.$white;
border-width: 0 2px 0 2px;
&:hover {
@@ -28,7 +28,7 @@
.collectionStackedTimeline {
position: absolute;
- background: $off-white;
+ background: global.$off-white;
z-index: 1000;
height: 100%;
overflow: hidden;
@@ -36,7 +36,7 @@
.collectionStackedTimeline-trim-shade {
position: absolute;
height: 100%;
- background-color: $dark-gray;
+ background-color: global.$dark-gray;
opacity: 0.3;
top: 0;
}
@@ -45,7 +45,7 @@
height: 100%;
position: absolute;
box-sizing: border-box;
- border: 2px solid $medium-blue;
+ border: 2px solid global.$medium-blue;
display: flex;
justify-content: space-between;
max-width: 100%;
@@ -53,7 +53,7 @@
left: 0;
.collectionStackedTimeline-trim-handle {
- background-color: $medium-blue;
+ background-color: global.$medium-blue;
height: 100%;
width: 5px;
cursor: ew-resize;
@@ -65,12 +65,12 @@
width: 10px;
top: 2.5%;
height: 95%;
- background: $light-blue;
+ background: global.$light-blue;
border-radius: 3px;
opacity: 0.3;
z-index: 500;
border-style: solid;
- border-color: $medium-blue;
+ border-color: global.$medium-blue;
border-width: 1px;
}
@@ -84,12 +84,12 @@
}
.collectionStackedTimeline-current {
- background-color: $pink;
+ background-color: global.$pink;
}
.collectionStackedTimeline-hover {
display: none;
- background-color: $medium-blue;
+ background-color: global.$medium-blue;
}
.collectionStackedTimeline-marker-timeline {
@@ -97,14 +97,14 @@
top: 2.5%;
height: 95%;
border-radius: 4px;
- //background: $light-gray;
+ //background: global.$light-gray;
&:hover {
opacity: 1;
}
.collectionStackedTimeline-left-resizer,
.collectionStackedTimeline-resizer {
- background: $dark-gray;
+ background: global.$dark-gray;
position: absolute;
top: 0;
height: 100%;
@@ -141,7 +141,7 @@
.hoverTime {
position: absolute;
- color: $dark-gray;
+ color: global.$dark-gray;
transform: translate(0, -100%);
font-weight: bold;
diff --git a/src/client/views/collections/CollectionStackingView.scss b/src/client/views/collections/CollectionStackingView.scss
index 6400a0a8e..5237bdffb 100644
--- a/src/client/views/collections/CollectionStackingView.scss
+++ b/src/client/views/collections/CollectionStackingView.scss
@@ -1,4 +1,4 @@
-@import '../global/globalCssVariables.module.scss';
+@use '../global/globalCssVariables.module.scss' as global;
.collectionMasonryView {
display: inline;
@@ -18,7 +18,7 @@
.documentButtonMenu {
position: relative;
height: fit-content;
- border-bottom: $standard-border;
+ border-bottom: global.$standard-border;
display: flex;
justify-content: center;
flex-direction: column;
@@ -30,10 +30,10 @@
width: 90%;
margin: 5px;
font-size: 11px;
- color: $medium-blue;
+ color: global.$medium-blue;
padding: 10px;
border-radius: 5px;
- border: solid 0.5px $medium-blue;
+ border: solid 0.5px global.$medium-blue;
}
}
@@ -115,9 +115,9 @@
padding: 10px;
height: 2vw;
width: 100%;
- font-family: $sans-serif;
- background: $dark-gray;
- color: $white;
+ font-family: global.$sans-serif;
+ background: global.$dark-gray;
+ color: global.$white;
}
.collectionStackingView-columnDragger {
@@ -149,7 +149,7 @@
.collectionStackingView-collapseBar {
margin-top: 2px;
- background: $medium-gray;
+ background: global.$medium-gray;
height: 5px;
width: 100%;
display: none;
@@ -207,11 +207,11 @@
text-align: center;
margin: auto;
margin-bottom: 10px;
- background: $medium-gray;
+ background: global.$medium-gray;
// overflow: hidden; overflow is visible so the color menu isn't hidden -ftong
.editableView-input {
- color: $dark-gray;
+ color: global.$dark-gray;
}
.editableView-input:hover,
@@ -232,7 +232,7 @@
display: flex;
align-items: center;
justify-content: center;
- color: $dark-gray;
+ color: global.$dark-gray;
.editableView-container-editing-oneLine,
.editableView-container-editing {
diff --git a/src/client/views/collections/CollectionTreeView.scss b/src/client/views/collections/CollectionTreeView.scss
index bbbef78b4..2a03ea708 100644
--- a/src/client/views/collections/CollectionTreeView.scss
+++ b/src/client/views/collections/CollectionTreeView.scss
@@ -1,4 +1,4 @@
-@import '../global/globalCssVariables.module.scss';
+@use '../global/globalCssVariables.module.scss' as global;
.collectionTreeView-container {
transform-origin: top left;
@@ -12,7 +12,7 @@
width: 100%;
position: relative;
top: 0;
- // background: $light-gray;
+ // background: global.$light-gray;
font-size: 13px;
overflow: auto;
user-select: none;
@@ -21,7 +21,7 @@
ul {
list-style: none;
- padding-left: $TREE_BULLET_WIDTH;
+ padding-left: global.$TREE_BULLET_WIDTH;
margin-bottom: 1px; // otherwise vertical scrollbars may pop up for no apparent reason....
> .contentFittingDocumentView {
width: unset;
@@ -47,7 +47,7 @@
}
.delete-button {
- color: $medium-gray;
+ color: global.$medium-gray;
// float: right;
margin-left: 15px;
// margin-top: 3px;
@@ -90,7 +90,7 @@
.collectionTreeView-subtitle {
font-style: italic;
font-size: 8pt;
- color: $medium-gray;
+ color: global.$medium-gray;
}
.docContainer {
diff --git a/src/client/views/collections/CollectionView.scss b/src/client/views/collections/CollectionView.scss
index de53a2c62..06c324bd0 100644
--- a/src/client/views/collections/CollectionView.scss
+++ b/src/client/views/collections/CollectionView.scss
@@ -1,10 +1,10 @@
-@import '../global/globalCssVariables.module.scss';
+@use '../global/globalCssVariables.module.scss' as global;
.collectionView {
border-width: 0;
- border-color: $light-gray;
+ border-color: global.$light-gray;
border-style: solid;
- border-radius: 0 0 $border-radius $border-radius;
+ border-radius: 0 0 global.$border-radius global.$border-radius;
box-sizing: border-box;
border-radius: inherit;
width: 100%;
diff --git a/src/client/views/collections/TabDocView.scss b/src/client/views/collections/TabDocView.scss
index dd4c0b881..397e35ca9 100644
--- a/src/client/views/collections/TabDocView.scss
+++ b/src/client/views/collections/TabDocView.scss
@@ -1,4 +1,4 @@
-@import '../global/globalCssVariables.module.scss';
+@use '../global/globalCssVariables.module.scss' as global;
.tabDocView-content {
height: 100%;
diff --git a/src/client/views/collections/TreeView.scss b/src/client/views/collections/TreeView.scss
index 2ab1a5ac1..78794d112 100644
--- a/src/client/views/collections/TreeView.scss
+++ b/src/client/views/collections/TreeView.scss
@@ -1,4 +1,4 @@
-@import '../global/globalCssVariables.module.scss';
+@use '../global/globalCssVariables.module.scss' as global;
.treeView-label {
max-height: 1.5em;
@@ -14,7 +14,7 @@
.bullet-outline {
position: relative;
width: fit-content;
- color: $medium-gray;
+ color: global.$medium-gray;
transform: scale(0.5);
display: inline-flex;
align-items: center;
@@ -66,7 +66,7 @@
min-height: 20px;
min-width: 15px;
margin-right: 3px;
- color: $medium-gray;
+ color: global.$medium-gray;
border: #80808030 1px solid;
border-radius: 5px;
z-index: 1;
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.scss b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.scss
index 46bd37f6d..cce0ff684 100644
--- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.scss
+++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.scss
@@ -1,4 +1,4 @@
-@import '../../global/globalCssVariables.module.scss';
+@use '../../global/globalCssVariables.module.scss' as global;
.collectionfreeformview-none {
position: inherit;
@@ -32,9 +32,9 @@
.collectionfreeformview-mask-empty,
.collectionfreeformview-mask {
z-index: 5000;
- width: $INK_MASK_SIZE;
- height: $INK_MASK_SIZE;
- transform: translate($INK_MASK_SIZE_HALF, $INK_MASK_SIZE_HALF);
+ width: global.$INK_MASK_SIZE;
+ height: global.$INK_MASK_SIZE;
+ transform: translate(global.$INK_MASK_SIZE_HALF, global.$INK_MASK_SIZE_HALF);
pointer-events: none;
position: absolute;
background-color: transparent;
@@ -211,11 +211,11 @@
//nested freeform views
// .collectionfreeformview-container {
- // background-image: linear-gradient(to right, $light-color-secondary 1px, transparent 1px),
- // linear-gradient(to bottom, $light-color-secondary 1px, transparent 1px);
+ // background-image: linear-gradient(to right, global.$light-color-secondary 1px, transparent 1px),
+ // linear-gradient(to bottom, global.$light-color-secondary 1px, transparent 1px);
// background-size: 30px 30px;
// }
- border: 0px solid $light-gray;
+ border: 0px solid global.$light-gray;
border-radius: inherit;
box-sizing: border-box;
position: absolute;
@@ -233,7 +233,7 @@
box-sizing: border-box;
width: 98%;
height: 98%;
- border-radius: $border-radius;
+ border-radius: global.$border-radius;
}
//this is an animation for the blinking cursor!
diff --git a/src/client/views/collections/collectionFreeForm/ImageLabelHandler.tsx b/src/client/views/collections/collectionFreeForm/ImageLabelHandler.tsx
index f050b9846..1a44e094d 100644
--- a/src/client/views/collections/collectionFreeForm/ImageLabelHandler.tsx
+++ b/src/client/views/collections/collectionFreeForm/ImageLabelHandler.tsx
@@ -9,7 +9,8 @@ import { MarqueeOptionsMenu } from './MarqueeOptionsMenu';
import './ImageLabelHandler.scss';
@observer
-export class ImageLabelHandler extends ObservableReactComponent<{}> {
+export class ImageLabelHandler extends ObservableReactComponent<object> {
+ // eslint-disable-next-line no-use-before-define
static Instance: ImageLabelHandler;
@observable _display: boolean = false;
@@ -19,11 +20,10 @@ export class ImageLabelHandler extends ObservableReactComponent<{}> {
@observable _currentLabel: string = '';
@observable _labelGroups: string[] = [];
- constructor(props: any) {
+ constructor(props: object) {
super(props);
makeObservable(this);
ImageLabelHandler.Instance = this;
- console.log('Instantiated label handler!');
}
@action
@@ -41,8 +41,8 @@ export class ImageLabelHandler extends ObservableReactComponent<{}> {
};
@action
- addLabel = (label: string) => {
- label = label.toUpperCase().trim();
+ addLabel = (labelIn: string) => {
+ const label = labelIn.toUpperCase().trim();
if (label.length > 0) {
if (!this._labelGroups.includes(label)) {
this._labelGroups = [...this._labelGroups, label];
@@ -96,10 +96,10 @@ export class ImageLabelHandler extends ObservableReactComponent<{}> {
<div>
{this._labelGroups.map(group => {
return (
- <div>
+ <div key={group}>
<p>{group}</p>
<IconButton
- tooltip={'Remove Label'}
+ tooltip="Remove Label"
onPointerDown={() => {
this.removeLabel(group);
}}
diff --git a/src/client/views/collections/collectionLinear/CollectionLinearView.scss b/src/client/views/collections/collectionLinear/CollectionLinearView.scss
index b8ceec139..0dfaed38a 100644
--- a/src/client/views/collections/collectionLinear/CollectionLinearView.scss
+++ b/src/client/views/collections/collectionLinear/CollectionLinearView.scss
@@ -1,12 +1,12 @@
-@import '../../global/globalCssVariables.module.scss';
-@import '../../_nodeModuleOverrides';
+@use '../../global/globalCssVariables.module.scss' as global;
+// bcz fix @import '../../_nodeModuleOverrides';
.collectionLinearView {
width: 100%;
}
.collectionLinearView-label {
color: black;
- background-color: $light-gray;
+ background-color: global.$light-gray;
width: 100%;
}
.collectionLinearView-outer {
@@ -32,8 +32,8 @@
}
> span {
- background: $dark-gray;
- color: $white;
+ background: global.$dark-gray;
+ color: global.$white;
border-radius: 18px;
margin-right: 6px;
cursor: pointer;
@@ -44,7 +44,7 @@
}
.bottomPopup-background {
- background: $medium-blue;
+ background: global.$medium-blue;
display: flex;
border-radius: 10px;
height: 35;
@@ -55,7 +55,7 @@
}
.bottomPopup-text {
- color: $white;
+ color: global.$white;
display: inline;
white-space: nowrap;
padding-left: 8px;
@@ -72,7 +72,7 @@
padding-left: 8px;
padding-right: 8px;
vertical-align: middle;
- background-color: $light-gray;
+ background-color: global.$light-gray;
border-radius: 3px;
color: black;
margin-right: 5px;
@@ -86,7 +86,7 @@
padding-left: 8px;
padding-right: 8px;
vertical-align: middle;
- background-color: $close-red;
+ background-color: global.$close-red;
border-radius: 3px;
color: black;
}
@@ -94,13 +94,13 @@
> label {
pointer-events: all;
cursor: pointer;
- background-color: $medium-blue;
+ background-color: global.$medium-blue;
padding: 5;
border-radius: 2px;
height: 100%;
min-width: 25;
margin: 0;
- color: $white;
+ color: global.$white;
display: flex;
font-weight: 100;
transition: transform 0.2s;
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%;
}
-
-