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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
|
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background: #f0f0f0;
font-family: Arial, sans-serif;
}
#button-container {
display: none;
justify-content: center;
gap: 1rem;
padding: 1rem;
background-color: #f5f5f5;
position: fixed;
bottom: 0;
width: 100%;
box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}
.rating-button {
padding: 0.6rem 1.2rem;
font-size: 1rem;
border: none;
border-radius: 6px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.rating-button:hover {
background-color: #e0e0e0;
}
.status-section {
position: fixed;
top: 0;
right: 0;
background-color: #f0f8ff; /* Light blue for subtle color coding */
padding: 10px 16px;
font-size: 14px;
color: #000;
border-bottom-left-radius: 8px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
z-index: 1000;
}
.status-section div {
margin: 2px 0;
}
/* Basic styling for the toast */
#toast {
position: fixed;
top: 20px;
left: 20px;
background-color: #333;
color: white;
padding: 12px 24px;
border-radius: 6px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
z-index: 1000;
}
#toast.show {
opacity: 1;
visibility: visible;
}
#flashcard {
display: none;
padding: 16px;
background: #fff;
border-radius: 4px;
filter: drop-shadow(2px 2px 5px gray);
box-shadow: 2px 2px 5px gray;
}
/* Modal Background (Overlay) */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1000; /* Sit on top */
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
}
/* Modal Content Box */
.modal-content {
background-color: #fff;
margin: 2rem auto;
padding: 20px;
border: 1px solid #888;
width: 50%;
text-align: center;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
/* OK Button Style */
.ok-button {
margin-top: 10px;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
border: none;
border-radius: 5px;
background-color: #007bff;
color: white;
transition: background-color 0.3s ease;
}
.ok-button:hover {
background-color: #0056b3;
}
table {
width: 100%;
border-collapse: collapse;
font-family: Arial, sans-serif;
}
th, td {
border: 1px solid #ccc;
padding: 10px;
text-align: left;
}
th {
background-color: #f4f4f4;
}
|