summaryrefslogtreecommitdiffstats
path: root/g4f/gui/client/static/css
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-05-20 01:28:08 +0200
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-05-20 01:28:08 +0200
commit80b2e9b80774c558cb863841e7e8214fbc0eca67 (patch)
tree449863877c368037c5951697d37e9bd997cf679a /g4f/gui/client/static/css
parentCreate windows release, improve styling (diff)
downloadgpt4free-80b2e9b80774c558cb863841e7e8214fbc0eca67.tar
gpt4free-80b2e9b80774c558cb863841e7e8214fbc0eca67.tar.gz
gpt4free-80b2e9b80774c558cb863841e7e8214fbc0eca67.tar.bz2
gpt4free-80b2e9b80774c558cb863841e7e8214fbc0eca67.tar.lz
gpt4free-80b2e9b80774c558cb863841e7e8214fbc0eca67.tar.xz
gpt4free-80b2e9b80774c558cb863841e7e8214fbc0eca67.tar.zst
gpt4free-80b2e9b80774c558cb863841e7e8214fbc0eca67.zip
Diffstat (limited to 'g4f/gui/client/static/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