aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.scss
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2025-03-10 16:13:04 -0400
committerbobzel <zzzman@gmail.com>2025-03-10 16:13:04 -0400
commitb7989dded8bb001876de6cbca59bf77935f0daf7 (patch)
tree0dba0665674db7bb84770833df0a4100d0520701 /src/client/views/collections/collectionFreeForm/CollectionFreeFormView.scss
parent4979415d4604d280e81a162bf9a9d39c731d3738 (diff)
parent5bf944035c0ba94ad15245416f51ca0329a51bde (diff)
Merge branch 'master' into alyssa-starter
Diffstat (limited to 'src/client/views/collections/collectionFreeForm/CollectionFreeFormView.scss')
-rw-r--r--src/client/views/collections/collectionFreeForm/CollectionFreeFormView.scss78
1 files changed, 70 insertions, 8 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.scss b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.scss
index 2c94446fb..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!
@@ -304,3 +304,65 @@
display: none;
}
}
+
+.collectionFreeformView-aiView {
+ text-align: center;
+ font-weight: bold;
+ width: 100%;
+
+ .collectionfreeformview-aiView-prompt {
+ height: 25px;
+ width: 65%;
+ }
+
+ .collectionFreeFormView-aiView-strength {
+ text-align: center;
+ align-items: center;
+ display: flex;
+ width: 25%;
+ .collectionFreeFormView-aiView-similarity {
+ max-width: 65px;
+ width: 100%;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
+ }
+
+ .collectionFreeForView-aiView-send {
+ width: 10%;
+ .button-container {
+ width: 100% !important;
+ justify-content: left !important;
+ }
+ }
+
+ .collectionFreeformView-aiView-options-container,
+ .collectionFreeFormView-aiView-regenerate-container {
+ text-align: start;
+ font-weight: normal;
+ width: 100%;
+ display: flex;
+ .collectionFreeformView-aiView-subtitle {
+ margin: auto;
+ width: 40px;
+ }
+ }
+ .collectionFreeformView-aiView-options,
+ .collectionFreeFormView-aiView-regenerate {
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+ align-items: center;
+ width: 100%;
+ gap: 10px;
+ .collectionFreeformView-aiView-input {
+ width: 100%;
+ }
+ .collectionFreeFormView-aiView-regenBtn {
+ width: 10%;
+ .button-container {
+ width: 100% !important;
+ }
+ }
+ }
+}