|
59 | 59 | @include tutor-grid(2, 1fr); |
60 | 60 | gap: $tutor-spacing-4; |
61 | 61 |
|
62 | | - @include tutor-breakpoint-down(sm) { |
| 62 | + @include tutor-breakpoint-down(md) { |
63 | 63 | @include tutor-grid(1, 1fr); |
64 | 64 | } |
65 | 65 | } |
|
72 | 72 | &-actions { |
73 | 73 | @include tutor-flex(row, stretch, flex-end); |
74 | 74 | gap: $tutor-spacing-4; |
75 | | - margin-top: $tutor-spacing-2; |
76 | 75 |
|
77 | 76 | @include tutor-breakpoint-down(sm) { |
78 | 77 | justify-content: space-between; |
|
141 | 140 | } |
142 | 141 |
|
143 | 142 | &-table { |
144 | | - @include tutor-card-base(); |
145 | | - @include tutor-card-padding(medium); |
146 | 143 | @include tutor-card-radius(2xl); |
147 | 144 | @include tutor-flex(column, stretch, flex-start); |
148 | 145 | gap: $tutor-spacing-6; |
|
153 | 150 | thead { |
154 | 151 | th { |
155 | 152 | @include tutor-typography('tiny', 'regular'); |
156 | | - width: 14.3%; |
| 153 | + width: 20%; |
157 | 154 |
|
158 | 155 | &:first-of-type { |
159 | 156 | width: 42.5%; |
|
162 | 159 | } |
163 | 160 |
|
164 | 161 | tbody { |
| 162 | + tr { |
| 163 | + &:hover { |
| 164 | + td { |
| 165 | + .attempt-list-badge{ |
| 166 | + .tutor-badge{ |
| 167 | + display: none; |
| 168 | + } |
| 169 | + } |
| 170 | + .attempt_details_button { |
| 171 | + display: block; |
| 172 | + } |
| 173 | + } |
| 174 | + } |
| 175 | + } |
165 | 176 | td { |
| 177 | + position: relative; |
166 | 178 | @include tutor-typography('small', 'regular', 'secondary'); |
167 | 179 | width: 14.3%; |
168 | 180 |
|
|
171 | 183 | font-weight: $tutor-font-weight-medium; |
172 | 184 | width: 42.8%; |
173 | 185 | } |
| 186 | + |
| 187 | + a.attempt_details_button { |
| 188 | + position: absolute; |
| 189 | + right: 0; |
| 190 | + top: 50%; |
| 191 | + transform: translate(-50%, -50%); |
| 192 | + display: none; |
| 193 | + } |
174 | 194 | } |
175 | 195 | } |
176 | 196 | } |
177 | 197 |
|
178 | 198 | @include tutor-breakpoint-down(sm) { |
179 | | - padding: $tutor-spacing-5; |
180 | 199 | gap: $tutor-spacing-4; |
181 | 200 | } |
182 | 201 | } |
|
242 | 261 | } |
243 | 262 | } |
244 | 263 | } |
| 264 | + |
| 265 | +.tutor-assignment-pending-warning { |
| 266 | + display: flex; |
| 267 | + padding-top: 7px; |
| 268 | + padding-bottom: 7px; |
| 269 | + padding-left: $tutor-spacing-4; |
| 270 | + padding-right: $tutor-spacing-5; |
| 271 | + border-radius: $tutor-radius-md; |
| 272 | + gap: $tutor-spacing-3; |
| 273 | + |
| 274 | + @include tutor-breakpoint-up(sm) { |
| 275 | + max-width: max-content; |
| 276 | + } |
| 277 | +} |
0 commit comments