class UX WIP
This commit is contained in:
parent
5a2a8ea80a
commit
84b359ce7f
|
@ -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),
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue