diff --git a/static/css/tabber.css b/static/css/tabber.css index 2a35a136a..8643ddbe3 100644 --- a/static/css/tabber.css +++ b/static/css/tabber.css @@ -1,9 +1,14 @@ +.tab-group { + box-shadow: 0 0 0 18px white, 0 0 0 20px #b3b7c1; + margin-top: 40px; +} + .tab-group-openers { display: flex; justify-content: stretch; line-height: 40px; - font-size: 16px; - margin: 0; + font-size: 14px; + margin-bottom: 40px; } .tab-opener { @@ -11,19 +16,27 @@ flex: 1; text-align: center; padding: 0 13px; + margin: 0 2px; background-color: #b3b7c1; color: white; - font-size: 20px; + font-size: 16px; + text-transform: uppercase; font-weight: 600; - transition: color .2s ease, background .2s ease; + transition: all .2s ease; + box-shadow: inset 0 -4px 4px rgba(0, 0, 0, 0.1); + border-top: 5px solid transparent; } .tab-opener:not(.tab-visible):hover { cursor: pointer; background-color: transparent; color: rgb(52, 48, 58); + box-shadow: none; + border-top-color: grey; } .tab-opener.tab-visible { background-color: transparent; color: rgb(52, 48, 58); + border-top-color: #5F98C2; + box-shadow: none; } diff --git a/templates/course.hamlet b/templates/course.hamlet index 27b085d05..4b837d18d 100644 --- a/templates/course.hamlet +++ b/templates/course.hamlet @@ -29,7 +29,10 @@ #{formatTimeGerWD regFrom} $maybe regTo <- courseRegisterTo course \ bis #{formatTimeGerWD regTo} - Anmelden + + $# if allowed to register +
+ Anmelden $#
$# ^{regWidget} @@ -37,8 +40,9 @@
-

Übungsblätter (hardcoded table below) - + ^{modal "#modal-toggler__new-sheet" Nothing} +

Übungsblätter +

+ +
Blatt @@ -49,12 +53,50 @@
Blatt 1 - Do 11.04.18 + Do 08.04.18 Do 11.04.18 NotGraded +
+ Blatt 2 + Do 15.04.18 + Do 18.04.18 + NotGraded +
  +   +   +   + + Neues Übungsblatt anlegen

Übungsgruppen -
... + + + + + + +
Name + Termin + Raum + Studenten + Tutor + Anmeldung bis +
+ Gruppe 1 + Montag 10:00 - 12:00 + N/A + 2/10 + Tutor1 Tutoren + Do 21.02.2019, 19:00 +
+ Gruppe 2 + Montag 12:00 - 14:00 + N/A + 0/10 + Assistant1 Assistant + Di 21.02.2017, 19:00

Klausuren
... diff --git a/templates/default-layout.lucius b/templates/default-layout.lucius index cc33bfe58..7a617cde0 100644 --- a/templates/default-layout.lucius +++ b/templates/default-layout.lucius @@ -105,6 +105,24 @@ table { overflow: auto; } +.table-striped { + + tbody { + tr:not(.no-stripe):nth-child(even) { + background-color: #e8e8e8; + } + } +} + +.table-hover { + + tbody { + tr:not(.no-hover):hover { + background-color: #d8d8d8; + } + } +} + th, td { text-align: left; padding: 0 13px 0 7px;