Skip to content

Commit 1fc6e69

Browse files
committed
fix textbox transparency
1 parent 9c10cf1 commit 1fc6e69

File tree

2 files changed

+24
-6
lines changed

2 files changed

+24
-6
lines changed

calcit.cirru

Lines changed: 19 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

compact.cirru

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -672,8 +672,8 @@
672672
|style-message-box-panel $ %{} :CodeEntry (:doc |)
673673
:code $ quote
674674
defstyle style-message-box-panel $ {}
675-
"\"&" $ {} (:position :absolute) (:bottom 0) (:opacity 0.9) (:width "\"100%")
676-
:background-color $ hsl 0 0 100 0.9
675+
"\"&" $ {} (:position :absolute) (:bottom 0) (:opacity 1) (:width "\"100%")
676+
:background-color $ hsl 0 0 100 0.5
677677
:border-top $ str "\"1px solid " (hsl 0 0 80 0.5)
678678
|style-message-list $ %{} :CodeEntry (:doc |)
679679
:code $ quote
@@ -698,8 +698,10 @@
698698
|style-textbox $ %{} :CodeEntry (:doc |)
699699
:code $ quote
700700
defstyle style-textbox $ {}
701-
"\"&" $ {} (:border-radius 12) (:height "\"max(160px,20vh)") (:width "\"100%") (:transition-duration "\"320ms") (:border :none) (:background-color :transparent)
701+
"\"&" $ {} (:border-radius 12) (:height "\"max(160px,20vh)") (:width "\"100%") (:transition-duration "\"320ms") (:border :none)
702+
:background-color $ hsl 0 0 100 0.6
702703
"\"&.focus-within" $ {} (:height "\"max(240px,32vh)") (:border :none)
704+
:background-color $ hsl 0 0 100 0.84
703705
|submit-message! $ %{} :CodeEntry (:doc |)
704706
:code $ quote
705707
defn submit-message! (cursor state prompt-text search? think? model d!) (hint-fn async)

0 commit comments

Comments
 (0)