aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/chatbot/chatboxcomponents/ChatBox.scss
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2025-03-06 16:17:47 -0500
committerbobzel <zzzman@gmail.com>2025-03-06 16:17:47 -0500
commit5ad858090f3006631062877d90120e3cc505fada (patch)
tree9f87a8e1e7098a1025f6f4aac332dbc854db5be3 /src/client/views/nodes/chatbot/chatboxcomponents/ChatBox.scss
parent9c2a7c14fd9d0e44609aab30c6323583162009db (diff)
parentadaa107aac8558fa6f46e6ba1263c650c212d506 (diff)
Merge branch 'master' into aarav_edit
Diffstat (limited to 'src/client/views/nodes/chatbot/chatboxcomponents/ChatBox.scss')
-rw-r--r--src/client/views/nodes/chatbot/chatboxcomponents/ChatBox.scss11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/client/views/nodes/chatbot/chatboxcomponents/ChatBox.scss b/src/client/views/nodes/chatbot/chatboxcomponents/ChatBox.scss
index 9cf760a12..3d27fa887 100644
--- a/src/client/views/nodes/chatbot/chatboxcomponents/ChatBox.scss
+++ b/src/client/views/nodes/chatbot/chatboxcomponents/ChatBox.scss
@@ -1,3 +1,4 @@
+@use 'sass:color';
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');
$primary-color: #3f51b5;
@@ -68,7 +69,7 @@ $transition: all 0.2s ease-in-out;
&:focus {
outline: none;
border-color: $primary-color;
- box-shadow: 0 0 0 2px rgba($primary-color, 0.2);
+ box-shadow: 0 0 0 2px color.adjust($primary-color, $alpha: -0.8);
}
&:disabled {
@@ -92,11 +93,11 @@ $transition: all 0.2s ease-in-out;
transition: $transition;
&:hover {
- background-color: darken($primary-color, 10%);
+ background-color: color.adjust($primary-color, $lightness: -10%);
}
&:disabled {
- background-color: lighten($primary-color, 20%);
+ background-color: color.adjust($primary-color, $lightness: 20%);
cursor: not-allowed;
}
@@ -178,7 +179,7 @@ $transition: all 0.2s ease-in-out;
margin-bottom: 16px;
&:hover {
- background-color: rgba($primary-color, 0.1);
+ background-color: color.adjust($primary-color, $alpha: -0.9);
}
}
@@ -220,7 +221,7 @@ $transition: all 0.2s ease-in-out;
transition: $transition;
&:hover {
- background-color: rgba($primary-color, 0.2);
+ background-color: color.adjust($primary-color, $alpha: -0.8);
color: #fff;
}
}