GameSentenceMiner 2.15.11__py3-none-any.whl → 2.15.12__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- GameSentenceMiner/web/static/css/kanji-grid.css +107 -0
- GameSentenceMiner/web/static/css/search.css +14 -0
- GameSentenceMiner/web/static/css/shared.css +932 -0
- GameSentenceMiner/web/static/css/stats.css +499 -0
- GameSentenceMiner/web/static/js/anki_stats.js +84 -0
- GameSentenceMiner/web/static/js/database.js +541 -0
- GameSentenceMiner/web/static/js/kanji-grid.js +203 -0
- GameSentenceMiner/web/static/js/search.js +273 -0
- GameSentenceMiner/web/static/js/shared.js +506 -0
- GameSentenceMiner/web/static/js/stats.js +1427 -0
- GameSentenceMiner/web/templates/components/navigation.html +16 -0
- GameSentenceMiner/web/templates/components/theme-styles.html +128 -0
- {gamesentenceminer-2.15.11.dist-info → gamesentenceminer-2.15.12.dist-info}/METADATA +1 -1
- {gamesentenceminer-2.15.11.dist-info → gamesentenceminer-2.15.12.dist-info}/RECORD +18 -6
- {gamesentenceminer-2.15.11.dist-info → gamesentenceminer-2.15.12.dist-info}/WHEEL +0 -0
- {gamesentenceminer-2.15.11.dist-info → gamesentenceminer-2.15.12.dist-info}/entry_points.txt +0 -0
- {gamesentenceminer-2.15.11.dist-info → gamesentenceminer-2.15.12.dist-info}/licenses/LICENSE +0 -0
- {gamesentenceminer-2.15.11.dist-info → gamesentenceminer-2.15.12.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,107 @@
|
|
1
|
+
/* Shared Kanji Grid Component Styles */
|
2
|
+
|
3
|
+
/* Kanji Grid Container */
|
4
|
+
.kanji-counter {
|
5
|
+
text-align: center;
|
6
|
+
font-size: 18px;
|
7
|
+
font-weight: bold;
|
8
|
+
color: #495057;
|
9
|
+
margin-bottom: 20px;
|
10
|
+
}
|
11
|
+
|
12
|
+
.kanji-grid {
|
13
|
+
display: grid;
|
14
|
+
grid-template-columns: repeat(auto-fill, minmax(30px, 1fr));
|
15
|
+
gap: 3px;
|
16
|
+
margin-bottom: 20px;
|
17
|
+
max-width: 100%;
|
18
|
+
}
|
19
|
+
|
20
|
+
/* Individual Kanji Cell */
|
21
|
+
.kanji-cell {
|
22
|
+
width: 30px;
|
23
|
+
height: 30px;
|
24
|
+
background-color: #ebedf0;
|
25
|
+
border-radius: 3px;
|
26
|
+
display: flex;
|
27
|
+
align-items: center;
|
28
|
+
justify-content: center;
|
29
|
+
font-size: 16px;
|
30
|
+
font-weight: bold;
|
31
|
+
color: #333;
|
32
|
+
cursor: pointer;
|
33
|
+
position: relative;
|
34
|
+
transition: all 0.2s ease;
|
35
|
+
font-family: "Noto Sans CJK JP", "Hiragino Sans", "Yu Gothic", "Meiryo", "Takao", "IPAexGothic", "IPAPGothic", "VL PGothic", "Koruri", sans-serif;
|
36
|
+
line-height: 1;
|
37
|
+
text-align: center;
|
38
|
+
}
|
39
|
+
|
40
|
+
.kanji-cell:hover {
|
41
|
+
transform: scale(1.1);
|
42
|
+
z-index: 10;
|
43
|
+
box-shadow: 0 2px 8px rgba(0,0,0,0.2);
|
44
|
+
}
|
45
|
+
|
46
|
+
/* Frequency-based color levels (for backward compatibility) */
|
47
|
+
.kanji-cell.level-1 { background-color: #c6e48b; }
|
48
|
+
.kanji-cell.level-2 { background-color: #7bc96f; }
|
49
|
+
.kanji-cell.level-3 { background-color: #239a3b; color: white; }
|
50
|
+
.kanji-cell.level-4 { background-color: #196127; color: white; }
|
51
|
+
|
52
|
+
/* Legend */
|
53
|
+
.kanji-legend {
|
54
|
+
display: flex;
|
55
|
+
align-items: center;
|
56
|
+
justify-content: center;
|
57
|
+
margin-top: 10px;
|
58
|
+
font-size: 12px;
|
59
|
+
color: #586069;
|
60
|
+
}
|
61
|
+
|
62
|
+
.kanji-legend-item {
|
63
|
+
width: 12px;
|
64
|
+
height: 12px;
|
65
|
+
margin: 0 2px;
|
66
|
+
border-radius: 2px;
|
67
|
+
}
|
68
|
+
|
69
|
+
/* Grid Container Wrapper */
|
70
|
+
.kanji-grid-container {
|
71
|
+
background: var(--bg-secondary);
|
72
|
+
padding: 20px;
|
73
|
+
border-radius: 8px;
|
74
|
+
box-shadow: 0 4px 12px var(--shadow-color);
|
75
|
+
border: 1px solid var(--border-color);
|
76
|
+
}
|
77
|
+
|
78
|
+
/* Responsive Design */
|
79
|
+
@media (max-width: 768px) {
|
80
|
+
.kanji-grid {
|
81
|
+
grid-template-columns: repeat(auto-fill, minmax(25px, 1fr));
|
82
|
+
gap: 2px;
|
83
|
+
}
|
84
|
+
|
85
|
+
.kanji-cell {
|
86
|
+
width: 25px;
|
87
|
+
height: 25px;
|
88
|
+
font-size: 14px;
|
89
|
+
}
|
90
|
+
|
91
|
+
.kanji-counter {
|
92
|
+
font-size: 16px;
|
93
|
+
}
|
94
|
+
}
|
95
|
+
|
96
|
+
@media (max-width: 480px) {
|
97
|
+
.kanji-grid {
|
98
|
+
grid-template-columns: repeat(auto-fill, minmax(22px, 1fr));
|
99
|
+
gap: 1px;
|
100
|
+
}
|
101
|
+
|
102
|
+
.kanji-cell {
|
103
|
+
width: 22px;
|
104
|
+
height: 22px;
|
105
|
+
font-size: 12px;
|
106
|
+
}
|
107
|
+
}
|