yekkala commited on
Commit
5fba4b5
·
verified ·
1 Parent(s): 6264e1b

Create assets/styles.css

Browse files
Files changed (1) hide show
  1. assets/styles.css +231 -0
assets/styles.css ADDED
@@ -0,0 +1,231 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Custom styles for SkillSync */
2
+
3
+ /* Main container */
4
+ .gradio-container {
5
+ max-width: 1400px !important;
6
+ }
7
+
8
+ /* Progress cards */
9
+ .progress-card {
10
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
11
+ color: white;
12
+ padding: 20px;
13
+ border-radius: 15px;
14
+ text-align: center;
15
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
16
+ transition: transform 0.3s ease;
17
+ }
18
+
19
+ .progress-card:hover {
20
+ transform: translateY(-5px);
21
+ }
22
+
23
+ /* Module cards */
24
+ .module-card {
25
+ background: white;
26
+ border-radius: 12px;
27
+ padding: 20px;
28
+ margin-bottom: 15px;
29
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
30
+ border-left: 4px solid #667eea;
31
+ }
32
+
33
+ /* Quiz options */
34
+ .quiz-option {
35
+ padding: 12px;
36
+ border: 2px solid #e0e0e0;
37
+ border-radius: 8px;
38
+ margin-bottom: 10px;
39
+ cursor: pointer;
40
+ transition: all 0.3s ease;
41
+ }
42
+
43
+ .quiz-option:hover {
44
+ border-color: #667eea;
45
+ background-color: #f8f9ff;
46
+ }
47
+
48
+ .quiz-option.selected {
49
+ border-color: #667eea;
50
+ background-color: #f0f4ff;
51
+ }
52
+
53
+ .quiz-option.correct {
54
+ border-color: #4caf50;
55
+ background-color: #e8f5e9;
56
+ }
57
+
58
+ .quiz-option.incorrect {
59
+ border-color: #f44336;
60
+ background-color: #ffebee;
61
+ }
62
+
63
+ /* Lesson list */
64
+ .lesson-item {
65
+ padding: 15px;
66
+ border-bottom: 1px solid #f0f0f0;
67
+ display: flex;
68
+ justify-content: space-between;
69
+ align-items: center;
70
+ }
71
+
72
+ .lesson-item:hover {
73
+ background-color: #fafafa;
74
+ }
75
+
76
+ .lesson-item:last-child {
77
+ border-bottom: none;
78
+ }
79
+
80
+ /* Assignment card */
81
+ .assignment-card {
82
+ background: #f8f9ff;
83
+ border-radius: 12px;
84
+ padding: 20px;
85
+ margin-top: 20px;
86
+ }
87
+
88
+ /* Submit button */
89
+ .submit-btn {
90
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
91
+ color: white !important;
92
+ border: none !important;
93
+ padding: 12px 24px !important;
94
+ border-radius: 8px !important;
95
+ font-weight: 600 !important;
96
+ cursor: pointer !important;
97
+ transition: transform 0.3s ease !important;
98
+ }
99
+
100
+ .submit-btn:hover {
101
+ transform: scale(1.05) !important;
102
+ }
103
+
104
+ /* Progress bar */
105
+ .progress-bar-container {
106
+ background: #e0e0e0;
107
+ border-radius: 10px;
108
+ height: 10px;
109
+ width: 100%;
110
+ overflow: hidden;
111
+ }
112
+
113
+ .progress-bar-fill {
114
+ background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
115
+ height: 100%;
116
+ border-radius: 10px;
117
+ transition: width 0.5s ease;
118
+ }
119
+
120
+ /* Accordion styling */
121
+ .accordion-header {
122
+ background: #f8f9ff;
123
+ padding: 15px;
124
+ border-radius: 8px;
125
+ cursor: pointer;
126
+ font-weight: 600;
127
+ }
128
+
129
+ /* Status badges */
130
+ .status-complete {
131
+ background: #e8f5e9;
132
+ color: #2e7d32;
133
+ padding: 4px 12px;
134
+ border-radius: 20px;
135
+ font-size: 12px;
136
+ font-weight: 600;
137
+ }
138
+
139
+ .status-pending {
140
+ background: #fff3e0;
141
+ color: #ef6c00;
142
+ padding: 4px 12px;
143
+ border-radius: 20px;
144
+ font-size: 12px;
145
+ font-weight: 600;
146
+ }
147
+
148
+ /* Tab styling */
149
+ .tab-nav button {
150
+ font-weight: 600 !important;
151
+ }
152
+
153
+ .tab-nav button.selected {
154
+ border-bottom: 3px solid #667eea !important;
155
+ color: #667eea !important;
156
+ }
157
+
158
+ /* Header styling */
159
+ .main-header {
160
+ text-align: center;
161
+ padding: 20px 0;
162
+ margin-bottom: 30px;
163
+ }
164
+
165
+ .main-header h1 {
166
+ font-size: 2.5rem;
167
+ margin-bottom: 10px;
168
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
169
+ -webkit-background-clip: text;
170
+ -webkit-text-fill-color: transparent;
171
+ background-clip: text;
172
+ }
173
+
174
+ /* Card hover effects */
175
+ .card-hover {
176
+ transition: all 0.3s ease;
177
+ }
178
+
179
+ .card-hover:hover {
180
+ box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
181
+ transform: translateY(-2px);
182
+ }
183
+
184
+ /* Responsive design */
185
+ @media (max-width: 768px) {
186
+ .progress-card {
187
+ padding: 15px;
188
+ margin-bottom: 10px;
189
+ }
190
+
191
+ .module-card {
192
+ padding: 15px;
193
+ }
194
+
195
+ .lesson-item {
196
+ flex-direction: column;
197
+ align-items: flex-start;
198
+ }
199
+
200
+ .main-header h1 {
201
+ font-size: 1.8rem;
202
+ }
203
+ }
204
+
205
+ /* Animation */
206
+ @keyframes fadeIn {
207
+ from { opacity: 0; transform: translateY(20px); }
208
+ to { opacity: 1; transform: translateY(0); }
209
+ }
210
+
211
+ .fade-in {
212
+ animation: fadeIn 0.5s ease-out;
213
+ }
214
+
215
+ /* Custom scrollbar */
216
+ ::-webkit-scrollbar {
217
+ width: 8px;
218
+ }
219
+
220
+ ::-webkit-scrollbar-track {
221
+ background: #f1f1f1;
222
+ }
223
+
224
+ ::-webkit-scrollbar-thumb {
225
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
226
+ border-radius: 4px;
227
+ }
228
+
229
+ ::-webkit-scrollbar-thumb:hover {
230
+ background: #5a6fd6;
231
+ }