summaryrefslogtreecommitdiffstats
path: root/g4f/gui/client/static/css/style.css
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2024-05-20 01:50:03 +0200
committerGitHub <noreply@github.com>2024-05-20 01:50:03 +0200
commit5115cf0e23e9abf2860161794a10e3a40055af4d (patch)
tree47c2a9f631c0ff4e47d8f34906705771164920b2 /g4f/gui/client/static/css/style.css
parentUpdate DeepInfra.py (diff)
parentAdd some options to messages in gui, saves generated images local (diff)
downloadgpt4free-5115cf0e23e9abf2860161794a10e3a40055af4d.tar
gpt4free-5115cf0e23e9abf2860161794a10e3a40055af4d.tar.gz
gpt4free-5115cf0e23e9abf2860161794a10e3a40055af4d.tar.bz2
gpt4free-5115cf0e23e9abf2860161794a10e3a40055af4d.tar.lz
gpt4free-5115cf0e23e9abf2860161794a10e3a40055af4d.tar.xz
gpt4free-5115cf0e23e9abf2860161794a10e3a40055af4d.tar.zst
gpt4free-5115cf0e23e9abf2860161794a10e3a40055af4d.zip
Diffstat (limited to 'g4f/gui/client/static/css/style.css')
-rw-r--r--g4f/gui/client/static/css/style.css42
1 files changed, 32 insertions, 10 deletions
diff --git a/g4f/gui/client/static/css/style.css b/g4f/gui/client/static/css/style.css
index 200a79d4..e8ed0a6f 100644
--- a/g4f/gui/client/static/css/style.css
+++ b/g4f/gui/client/static/css/style.css
@@ -265,6 +265,14 @@ body {
padding-bottom: 0;
}
+.message.print {
+ height: 100%;
+ position: absolute;
+ background-color: #fff;
+ z-index: 100;
+ top: 0;
+}
+
.message.regenerate {
opacity: 0.75;
}
@@ -339,14 +347,14 @@ body {
flex-wrap: wrap;
}
-.message .content,
-.message .content a:link,
-.message .content a:visited{
+.message .content_inner,
+.message .content_inner a:link,
+.message .content_inner a:visited{
font-size: 15px;
line-height: 1.3;
color: var(--colour-3);
}
-.message .content pre{
+.message .content_inner pre{
white-space: pre-wrap;
}
@@ -389,19 +397,19 @@ body {
.message .count .fa-clipboard,
.message .count .fa-volume-high,
-.message .count .fa-rotate {
+.message .count .fa-rotate,
+.message .count .fa-print {
z-index: 1000;
cursor: pointer;
}
-.message .count .fa-clipboard {
+.message .count .fa-clipboard,
+.message .count .fa-whatsapp {
color: var(--colour-3);
}
-.message .count .fa-clipboard.clicked {
- color: var(--accent);
-}
-
+.message .count .fa-clipboard.clicked,
+.message .count .fa-print.clicked,
.message .count .fa-volume-high.active {
color: var(--accent);
}
@@ -1121,4 +1129,18 @@ a:-webkit-any-link {
50% {
opacity: 0;
}
+}
+
+@media print {
+ #systemPrompt:placeholder-shown,
+ .conversations,
+ .conversation .user-input,
+ .conversation .buttons,
+ .conversation .toolbar,
+ .conversation .slide-systemPrompt,
+ .message .count i,
+ .message .assistant,
+ .message .user {
+ display: none;
+ }
} \ No newline at end of file