Spaces:
Sleeping
Sleeping
Junhui Ji
commited on
Commit
Β·
7aceada
1
Parent(s):
f95ce23
update user_key dialogue
Browse files- static/feedback.html +1 -1
- static/styles.css +62 -0
static/feedback.html
CHANGED
@@ -141,7 +141,7 @@
|
|
141 |
<!-- User Key Input Dialog -->
|
142 |
<div class="user-key-dialog" id="userKeyDialog">
|
143 |
<div class="dialog-content">
|
144 |
-
<h3
|
145 |
<p class="dialog-description">θ―·θΎε
₯ζ¨ηη½εεη¨ζ·ε―ι₯γ</p>
|
146 |
<input type="password" id="userKeyInput" placeholder="θΎε
₯ζ¨ηη¨ζ·ε―ι₯">
|
147 |
<div class="dialog-buttons">
|
|
|
141 |
<!-- User Key Input Dialog -->
|
142 |
<div class="user-key-dialog" id="userKeyDialog">
|
143 |
<div class="dialog-content">
|
144 |
+
<h3>ζζ―η½εεη¨ζ·</h3>
|
145 |
<p class="dialog-description">θ―·θΎε
₯ζ¨ηη½εεη¨ζ·ε―ι₯γ</p>
|
146 |
<input type="password" id="userKeyInput" placeholder="θΎε
₯ζ¨ηη¨ζ·ε―ι₯">
|
147 |
<div class="dialog-buttons">
|
static/styles.css
CHANGED
@@ -943,6 +943,23 @@ footer {
|
|
943 |
color: #b26bff;
|
944 |
}
|
945 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
946 |
/* API Key Dialog */
|
947 |
.api-key-dialog {
|
948 |
display: none;
|
@@ -1038,4 +1055,49 @@ footer {
|
|
1038 |
|
1039 |
#cancelApiKey:hover {
|
1040 |
background: rgba(255, 255, 255, 0.2);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1041 |
}
|
|
|
943 |
color: #b26bff;
|
944 |
}
|
945 |
|
946 |
+
/* User Key Link */
|
947 |
+
.user-key-link {
|
948 |
+
margin-bottom: 20px;
|
949 |
+
margin-left: 0;
|
950 |
+
}
|
951 |
+
|
952 |
+
.user-key-link a {
|
953 |
+
color: #9747FF;
|
954 |
+
font-size: 14px;
|
955 |
+
text-decoration: underline;
|
956 |
+
cursor: pointer;
|
957 |
+
}
|
958 |
+
|
959 |
+
.user-key-link a:hover {
|
960 |
+
color: #b26bff;
|
961 |
+
}
|
962 |
+
|
963 |
/* API Key Dialog */
|
964 |
.api-key-dialog {
|
965 |
display: none;
|
|
|
1055 |
|
1056 |
#cancelApiKey:hover {
|
1057 |
background: rgba(255, 255, 255, 0.2);
|
1058 |
+
}
|
1059 |
+
|
1060 |
+
/* User Key Dialog */
|
1061 |
+
.user-key-dialog {
|
1062 |
+
display: none;
|
1063 |
+
position: fixed;
|
1064 |
+
top: 50%;
|
1065 |
+
left: 50%;
|
1066 |
+
transform: translate(-50%, -50%);
|
1067 |
+
width: 100%;
|
1068 |
+
height: 100%;
|
1069 |
+
background: rgba(0, 0, 0, 0.7);
|
1070 |
+
z-index: 1000;
|
1071 |
+
justify-content: center;
|
1072 |
+
align-items: center;
|
1073 |
+
}
|
1074 |
+
|
1075 |
+
#userKeyInput {
|
1076 |
+
width: 100%;
|
1077 |
+
padding: 12px;
|
1078 |
+
border: 1px solid rgba(255, 255, 255, 0.2);
|
1079 |
+
border-radius: 8px;
|
1080 |
+
background: rgba(255, 255, 255, 0.05);
|
1081 |
+
color: #fff;
|
1082 |
+
font-size: 14px;
|
1083 |
+
margin-bottom: 20px;
|
1084 |
+
}
|
1085 |
+
|
1086 |
+
#saveUserKey {
|
1087 |
+
background: linear-gradient(to right, #5E33F1, #BA9EF7);
|
1088 |
+
color: white;
|
1089 |
+
}
|
1090 |
+
|
1091 |
+
#saveUserKey:hover {
|
1092 |
+
transform: translateY(-2px);
|
1093 |
+
box-shadow: 0 5px 15px rgba(94, 51, 241, 0.3);
|
1094 |
+
}
|
1095 |
+
|
1096 |
+
#cancelUserKey {
|
1097 |
+
background: rgba(255, 255, 255, 0.1);
|
1098 |
+
color: #ccc;
|
1099 |
+
}
|
1100 |
+
|
1101 |
+
#cancelUserKey:hover {
|
1102 |
+
background: rgba(255, 255, 255, 0.2);
|
1103 |
}
|