-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontent.css
More file actions
121 lines (107 loc) · 2.86 KB
/
Copy pathcontent.css
File metadata and controls
121 lines (107 loc) · 2.86 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
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
/* Helper button styling - Base */
.ai-helper-button {
position: fixed;
right: 20px;
z-index: 10000;
padding: 12px 24px;
color: white;
border: none;
border-radius: 8px;
font-size: 16px !important;
font-weight: 600 !important;
cursor: pointer;
transition: all 0.3s ease;
font-family: Arial, Helvetica, sans-serif !important;
min-width: 200px;
text-align: center;
}
/* Simple Button (Green) */
.ai-helper-button-simple {
top: 80px;
background: linear-gradient(135deg, #6abf4b 0%, #5aa93d 100%);
}
.ai-helper-button-simple:hover {
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(106, 191, 75, 0.6);
background: linear-gradient(135deg, #7ed15f 0%, #6abf4b 100%);
}
/* Advanced Button (Red) */
.ai-helper-button-advanced {
top: 140px;
background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}
.ai-helper-button-advanced:hover {
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(239, 68, 68, 0.6);
background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
}
.ai-helper-button:active {
transform: translateY(0);
}
.ai-helper-button:disabled {
background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%) !important;
cursor: not-allowed;
opacity: 0.7;
transform: none !important;
}
/* Correct answer highlight */
.mcq__item.ai-correct-answer {
background-color: rgba(34, 197, 94, 0.15) !important;
border: 3px solid #22c55e !important;
border-radius: 8px !important;
box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1) !important;
animation: highlight-pulse 1s ease-in-out;
transition: all 0.3s ease !important;
}
.mcq__item.ai-correct-answer .mcq__item-label {
font-weight: 600 !important;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif !important;
}
.mcq__item.ai-correct-answer::before {
content: "✓ AI Suggested";
position: absolute;
top: -10px;
right: 10px;
background: #22c55e;
color: white;
padding: 4px 12px;
border-radius: 12px;
font-size: 12px !important;
font-weight: 600 !important;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif !important;
z-index: 10;
box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}
/* Pulse animation for highlight */
@keyframes highlight-pulse {
0% {
box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
}
50% {
box-shadow: 0 0 0 15px rgba(34, 197, 94, 0);
}
100% {
box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}
}
/* Dark mode support */
@media (prefers-color-scheme: dark) {
.mcq__item.ai-correct-answer {
background-color: rgba(34, 197, 94, 0.2) !important;
}
}
/* Mobile responsiveness */
@media (max-width: 768px) {
.ai-helper-button {
right: 10px;
padding: 10px 16px;
font-size: 13px !important;
min-width: 160px;
}
.ai-helper-button-simple {
top: 70px;
}
.ai-helper-button-advanced {
top: 120px;
}
}