From 45dfd6286a335603a7a5b37266e7312e36bbed3f Mon Sep 17 00:00:00 2001 From: xamgore <xamgore@ya.ru> Date: Mon, 6 Jun 2016 23:48:33 +0300 Subject: [PATCH] Make student index page more responsive --- media/less/student/index.less | 48 +++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/media/less/student/index.less b/media/less/student/index.less index 0a35a2d95..aa59acc19 100644 --- a/media/less/student/index.less +++ b/media/less/student/index.less @@ -58,4 +58,52 @@ font-size: 0.8em; padding: 5px; } +} + +@media all and (max-width: 599px) { + body { + min-width: initial; + } + + #errButton { + display: none; + } + + .main_layer { + max-width: initial; + min-width: initial; + } + + .main .main_top { + display: inherit; + position: inherit; + } + + .helpLink { + display: none; + } + + .sidePadding { + padding: 0 10px !important; + } + + .main .main_content { + border-radius: 0; + + .tableHeader, .discTeachers, .discControl { + display: none; + } + + .discRating { + white-space: nowrap; + } + } + + .header_wrapper { + padding: 9pt 10px; + + .logotype span, #username { + display: none; + } + } } \ No newline at end of file -- GitLab