summaryrefslogtreecommitdiffstats
path: root/g4f/gui/client
diff options
context:
space:
mode:
authorkqlio67 <kqlio67@users.noreply.github.com>2024-10-25 19:12:39 +0200
committerkqlio67 <kqlio67@users.noreply.github.com>2024-10-25 19:12:39 +0200
commit1b492f42b9973d516c176fbba1a55ff473ef1968 (patch)
tree6b4db0a443d69e9c9ac6e5c7c548df4cade0668e /g4f/gui/client
parentfeat(g4f/gui/client/index.html): add image album and enhance model/provider options (diff)
downloadgpt4free-1b492f42b9973d516c176fbba1a55ff473ef1968.tar
gpt4free-1b492f42b9973d516c176fbba1a55ff473ef1968.tar.gz
gpt4free-1b492f42b9973d516c176fbba1a55ff473ef1968.tar.bz2
gpt4free-1b492f42b9973d516c176fbba1a55ff473ef1968.tar.lz
gpt4free-1b492f42b9973d516c176fbba1a55ff473ef1968.tar.xz
gpt4free-1b492f42b9973d516c176fbba1a55ff473ef1968.tar.zst
gpt4free-1b492f42b9973d516c176fbba1a55ff473ef1968.zip
Diffstat (limited to 'g4f/gui/client')
-rw-r--r--g4f/gui/client/static/css/style.css87
1 files changed, 86 insertions, 1 deletions
diff --git a/g4f/gui/client/static/css/style.css b/g4f/gui/client/static/css/style.css
index 441e2042..72f3ec4f 100644
--- a/g4f/gui/client/static/css/style.css
+++ b/g4f/gui/client/static/css/style.css
@@ -474,7 +474,6 @@ body {
.stop_generating, .toolbar .regenerate {
position: absolute;
- z-index: 1000000;
top: 0;
right: 0;
}
@@ -1118,6 +1117,92 @@ a:-webkit-any-link {
display: none;
}
+.album-image {
+ width: 100px;
+ height: auto;
+ margin: 5px;
+ display: inline-block;
+}
+
+.modal {
+ display: none;
+ position: fixed;
+ z-index: 1;
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ overflow: hidden;
+ background-color: rgba(0,0,0,0.9);
+}
+
+.modal-content {
+ margin: auto;
+ display: block;
+ max-width: 80%;
+ max-height: 80%;
+ transition: transform 0.2s;
+}
+
+.close {
+ position: absolute;
+ top: 15px;
+ right: 35px;
+ color: #f1f1f1;
+ font-size: 40px;
+ font-weight: bold;
+ transition: 0.3s;
+}
+
+.close:hover,
+.close:focus {
+ color: #bbb;
+ text-decoration: none;
+ cursor: pointer;
+}
+
+
+.image-counter {
+ color: #fff;
+ font-size: 18px;
+ margin: auto 10px;
+ user-select: none;
+}
+
+.nav-button {
+ background-color: #555;
+ color: #fff;
+ border: none;
+ padding: 10px;
+ font-size: 20px;
+ cursor: pointer;
+}
+
+.nav-button:hover {
+ background-color: #777;
+}
+
+.nav-button {
+ position: relative;
+}
+
+.nav-button.left {
+ left: 0;
+}
+
+.nav-button.right {
+ right: 0;
+}
+
+.navigation-controls {
+ position: absolute;
+ bottom: 20px;
+ left: 50%;
+ transform: translateX(-50%);
+ display: flex;
+ gap: 10px;
+}
+
.blink {
animation: blinker 1s step-start infinite;
}