From 6fdaebdaf77be86133c640c52f465a7e7499cac4 Mon Sep 17 00:00:00 2001 From: sawka Date: Mon, 4 Mar 2024 23:33:00 -0800 Subject: [PATCH] terminal background images --- public/themes/term-dark.css | 2 +- src/app/workspace/workspace.less | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/public/themes/term-dark.css b/public/themes/term-dark.css index 3479ca996..164332b43 100644 --- a/public/themes/term-dark.css +++ b/public/themes/term-dark.css @@ -23,5 +23,5 @@ --term-gray: #8b918a; --term-cmdtext: #f0f0f0; --term-foreground: #c1c1c1; - --term-background: #000000; + --term-background: #00000000; } diff --git a/src/app/workspace/workspace.less b/src/app/workspace/workspace.less index f0eae8c22..c96d83697 100644 --- a/src/app/workspace/workspace.less +++ b/src/app/workspace/workspace.less @@ -1,5 +1,19 @@ .session-view { overflow: hidden; + position: relative; + + &:before { + content: " "; + display: block; + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + opacity: var(--tab-bg-image-opacity, 0.5); + background-image: var(--tab-bg-image-url, none); + background-size: cover; + } .center-message { display: flex;