class UX WIP

This commit is contained in:
Thibault Duplessis 2020-01-18 20:04:22 -06:00
parent 5a2a8ea80a
commit 84b359ce7f
2 changed files with 15 additions and 11 deletions

View file

@ -48,7 +48,7 @@ object teacherDashboard {
clas.teachers(c)
),
st.nav(cls := "dashboard-nav tabs-horiz")(
a(cls := active.active("students"), href := routes.Clas.show(c.id.value))("Students"),
a(cls := active.active("students"), href := routes.Clas.show(c.id.value))("Overview"),
List(PerfType.Bullet, PerfType.Blitz, PerfType.Rapid, PerfType.Classical, PerfType.Correspondence)
.map { pt =>
a(cls := active.active(pt.key), href := routes.Clas.perfType(c.id.value, pt.key))(pt.name),

View file

@ -103,7 +103,21 @@ $clas-color: rgb(127, 90, 240);
.dashboard {
.tabs-horiz a {
min-width: 0;
}
.students {
.user-link {
@extend %flex-center;
.line {
font-size: 2em;
}
em {
@extend %roboto;
display: block;
}
}
.rating span {
&::before {
margin: 0;
@ -123,16 +137,6 @@ $clas-color: rgb(127, 90, 240);
&-dashboard {
.students {
.user-link {
@extend %flex-center;
.line {
font-size: 2em;
}
em {
@extend %roboto;
display: block;
}
}
&__empty {
margin-bottom: 8em;
}