|
41 | 41 |
|
42 | 42 | &:hover { |
43 | 43 | background-color: $tutor-surface-l1-hover; |
| 44 | + .tutor-quiz-attempts-item { |
| 45 | + .tutor-quiz-item-info { |
| 46 | + .tutor-quiz-attempts-expand-btn { |
| 47 | + @include tutor-flex(row, center); |
| 48 | + } |
| 49 | + } |
| 50 | + } |
| 51 | + } |
| 52 | + |
| 53 | + &.tutor-quiz-previous-attempts { |
| 54 | + .tutor-quiz-attempts-item { |
| 55 | + .tutor-quiz-item-info { |
| 56 | + .tutor-quiz-attempts-expand-btn { |
| 57 | + @include tutor-flex(row, center); |
| 58 | + } |
| 59 | + } |
| 60 | + } |
44 | 61 | } |
45 | 62 |
|
46 | 63 | &.tutor-quiz-previous-attempts { |
|
87 | 104 | .tutor-quiz-item-info { |
88 | 105 | grid-area: info; |
89 | 106 |
|
| 107 | + &-expanded { |
| 108 | + @include tutor-flex(row, center); |
| 109 | + gap: $tutor-spacing-4; |
| 110 | + text-align: center; |
| 111 | + } |
| 112 | + |
90 | 113 | &-title { |
91 | 114 | @include tutor-typography(medium, semibold); |
92 | | - margin-bottom: $tutor-spacing-2; |
93 | 115 |
|
94 | 116 | @include tutor-breakpoint-down(sm) { |
95 | 117 | font-size: $tutor-font-size-small; |
|
117 | 139 | } |
118 | 140 |
|
119 | 141 | .tutor-quiz-attempts-expand-btn { |
| 142 | + display: none; |
120 | 143 | @include tutor-button-reset(); |
121 | | - @include tutor-flex(row, center); |
122 | 144 | gap: $tutor-spacing-2; |
123 | 145 | @include tutor-typography(small, medium, brand); |
124 | 146 | cursor: pointer; |
|
209 | 231 |
|
210 | 232 | .tutor-quiz-item-result { |
211 | 233 | grid-area: result; |
212 | | - @include tutor-flex(column, center, center); |
| 234 | + @include tutor-flex(column, left, center); |
213 | 235 |
|
214 | 236 | @include tutor-breakpoint-down(sm) { |
215 | 237 | height: 100%; |
|
254 | 276 | } |
255 | 277 | } |
256 | 278 |
|
| 279 | + &:hover { |
| 280 | + .tutor-quiz-item-info-title{ |
| 281 | + color: $tutor-brand-700; |
| 282 | + } |
| 283 | + } |
| 284 | + |
257 | 285 | &:hover:has(.tutor-quiz-item-result-more) { |
258 | 286 | .tutor-quiz-item-result { |
259 | 287 | .tutor-badge { |
|
298 | 326 | } |
299 | 327 |
|
300 | 328 | &:hover { |
301 | | - background-color: $tutor-surface-base; |
| 329 | + background-color: $tutor-surface-l1-hover; |
302 | 330 | } |
303 | 331 |
|
304 | 332 | &:not(:last-child) { |
|
339 | 367 | border-radius: $tutor-radius-2xl; |
340 | 368 | } |
341 | 369 | } |
| 370 | + |
| 371 | + .tutor-quiz-students-attempts { |
| 372 | + &-filter-item { |
| 373 | + &:first-child { |
| 374 | + button { |
| 375 | + padding: 0; |
| 376 | + } |
| 377 | + } |
| 378 | + } |
| 379 | + } |
342 | 380 | } |
343 | 381 |
|
344 | 382 | .tutor-quiz-item-actions { |
|
0 commit comments