forked from Marverlises/ChatGPT-To-Markdown-google-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
47 lines (44 loc) · 1.24 KB
/
popup.html
File metadata and controls
47 lines (44 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!DOCTYPE html>
<html>
<head>
<title>ChatGPT Exporter</title>
<style>
/* 公用按钮样式 */
button {
background-color: #4CAF50; /* 绿色背景 */
border: 2px solid #4CAF50;
color: white;
padding: 10px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
font-family: Arial, sans-serif;
box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2),
0 6px 20px 0 rgba(0, 0, 0, 0.19);
transition-duration: 0.4s;
}
/* Export 按钮的圆角 */
#exportButton {
border-radius: 12px;
}
/* Copy 按钮的圆角 */
#copyButton {
border-radius: 12px;
}
/* 悬停效果 */
button:hover {
background-color: #45a049;
border: 2px solid #45a049;
}
</style>
</head>
<body>
<button id="exportButton">Export as Markdown</button>
<!-- 添加一个按钮,实现点击弹出对话框进行选择复制 -->
<button id="copyButton">Copy to Clipboard</button>
<script src="popup.js"></script>
</body>
</html>