|
42 | 42 | } |
43 | 43 | } |
44 | 44 |
|
| 45 | + .tutor-quiz-attempts-header-item:last-of-type { |
| 46 | + text-align: center; |
| 47 | + } |
| 48 | + |
45 | 49 | .tutor-quiz-attempts-item-wrapper { |
46 | 50 | padding: $tutor-spacing-6; |
47 | 51 |
|
|
51 | 55 |
|
52 | 56 | &:hover { |
53 | 57 | background-color: $tutor-surface-l1-hover; |
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 | | - } |
61 | | - } |
62 | | - |
63 | | - &.tutor-quiz-previous-attempts { |
64 | | - .tutor-quiz-attempts-item { |
65 | | - .tutor-quiz-item-info { |
66 | | - .tutor-quiz-attempts-expand-btn { |
67 | | - @include tutor-flex(row, center); |
68 | | - } |
69 | | - } |
70 | | - } |
71 | 58 | } |
72 | 59 |
|
73 | 60 | &.tutor-quiz-previous-attempts { |
|
115 | 102 | grid-area: info; |
116 | 103 |
|
117 | 104 | &-expanded { |
118 | | - @include tutor-flex(row, center); |
| 105 | + @include tutor-flex(row, start); |
119 | 106 | gap: $tutor-spacing-4; |
120 | 107 | text-align: center; |
| 108 | + min-height: 24px; |
121 | 109 | } |
122 | 110 |
|
123 | 111 | &-title { |
124 | 112 | @include tutor-typography(medium, semibold); |
| 113 | + text-align: start; |
125 | 114 |
|
126 | 115 | @include tutor-breakpoint-down(sm) { |
127 | 116 | font-size: $tutor-font-size-small; |
|
149 | 138 | } |
150 | 139 |
|
151 | 140 | .tutor-quiz-attempts-expand-btn { |
152 | | - display: none; |
153 | 141 | @include tutor-button-reset(); |
| 142 | + @include tutor-flex(row, center); |
154 | 143 | gap: $tutor-spacing-2; |
155 | 144 | @include tutor-typography(small, medium, brand); |
156 | 145 | cursor: pointer; |
157 | 146 | white-space: nowrap; |
158 | 147 |
|
159 | 148 | @include tutor-breakpoint-down(sm) { |
160 | | - @include tutor-flex(row,center); |
| 149 | + @include tutor-flex(row, center); |
161 | 150 | font-size: $tutor-font-size-tiny; |
162 | 151 | line-height: $tutor-line-height-tiny; |
163 | 152 | } |
|
242 | 231 |
|
243 | 232 | .tutor-quiz-item-result { |
244 | 233 | grid-area: result; |
245 | | - @include tutor-flex(column, left, center); |
| 234 | + @include tutor-flex(column, center, center); |
246 | 235 |
|
247 | 236 | @include tutor-breakpoint-down(sm) { |
248 | 237 | height: 100%; |
|
376 | 365 | border-radius: $tutor-radius-2xl; |
377 | 366 | } |
378 | 367 | } |
379 | | - |
380 | | - .tutor-quiz-students-attempts { |
381 | | - &-filter-item { |
382 | | - &:first-child { |
383 | | - button { |
384 | | - padding: 0; |
385 | | - } |
386 | | - } |
387 | | - } |
388 | | - } |
389 | 368 | } |
390 | 369 |
|
391 | 370 | .tutor-quiz-item-actions { |
|
0 commit comments