Repository navigation
Expand file tree
/
Copy pathresult.html
More file actions
87 lines (74 loc) · 1.96 KB
/
Copy pathresult.html
File metadata and controls
87 lines (74 loc) · 1.96 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Gemini 画像解析結果</title>
<style>
body {
font-family: "Helvetica Neue", Arial, sans-serif;
margin: 0;
padding: 20px;
background-color: #f9f9f9;
color: #333;
font-size: 14px;
line-height: 1.6;
}
h2 {
margin-top: 0;
color: #1a73e8;
font-size: 16px;
border-bottom: 1px solid #ddd;
padding-bottom: 10px;
}
#content {
white-space: pre-wrap;
/* 改行を反映 */
margin-bottom: 20px;
min-height: 100px;
}
.loading {
color: #666;
font-style: italic;
}
.error {
color: #d93025;
font-weight: bold;
}
button {
background-color: #fff;
border: 1px solid #dadce0;
padding: 8px 16px;
border-radius: 4px;
cursor: pointer;
font-size: 13px;
color: #3c4043;
transition: all 0.2s;
}
button:hover {
background-color: #f1f3f4;
}
#footer {
display: none;
/* 初期状態は非表示 */
border-top: 1px solid #ddd;
padding-top: 15px;
text-align: right;
}
/* コピー成功時のスタイル */
.copied {
background-color: #e6f4ea !important;
color: #137333 !important;
border-color: transparent !important;
}
</style>
</head>
<body>
<h2>Gemini AI 解析結果</h2>
<div id="content" class="loading">読み込み中...</div>
<div id="footer">
<button id="closeBtn">閉じる</button>
<button id="copyBtn">クリップボードにコピー</button>
</div>
<script src="result.js"></script>
</body>
</html>