diff options
author | prathamesh | 2017-01-04 15:54:19 +0530 |
---|---|---|
committer | prathamesh | 2017-01-04 15:54:19 +0530 |
commit | 241ca3c2b8ab1b1824813833237435153e08b0e9 (patch) | |
tree | 624c6bb07dfe239c2773f93a6da4ca20376d1c73 /yaksh/static | |
parent | 43f2313d75e24a8c11855fb9718e48c1c06fb26f (diff) | |
download | online_test-241ca3c2b8ab1b1824813833237435153e08b0e9.tar.gz online_test-241ca3c2b8ab1b1824813833237435153e08b0e9.tar.bz2 online_test-241ca3c2b8ab1b1824813833237435153e08b0e9.zip |
Student UI modification.
Added side navigation bar.
Edit and view Profile base template set properly.
Added a tab "Enrolled Courses" for students to only view the courses
they are enrolled in.
Diffstat (limited to 'yaksh/static')
-rw-r--r-- | yaksh/static/yaksh/css/dashboard.css | 101 |
1 files changed, 101 insertions, 0 deletions
diff --git a/yaksh/static/yaksh/css/dashboard.css b/yaksh/static/yaksh/css/dashboard.css new file mode 100644 index 0000000..bf76ec6 --- /dev/null +++ b/yaksh/static/yaksh/css/dashboard.css @@ -0,0 +1,101 @@ +/* + * Base structure + */ + +/* Move down content because we have a fixed navbar that is 50px tall */ +body { + padding-top: 50px; +} + + +/* + * Global add-ons + */ + +.sub-header { + padding-bottom: 10px; + border-bottom: 1px solid #eee; +} + +/* + * Top navigation + * Hide default border to remove 1px line. + */ +.navbar-fixed-top { + border: 0; +} + +/* + * Sidebar + */ + +@media (min-width: 768px) { + .sidebar { + position: fixed; + top: 51px; + bottom: 0; + left: 0; + z-index: 1000; + display: block; + padding: 20px; + overflow-x: hidden; + overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */ + background-color: #f5f5f5; + border-right: 1px solid #eee; + } +} + +/* Sidebar navigation */ +.nav-sidebar { + margin-right: -21px; /* 20px padding + 1px border */ + margin-bottom: 20px; + margin-left: -20px; +} +.nav-sidebar > li > a { + padding-right: 20px; + padding-left: 20px; +} +.nav-sidebar > .active > a, +.nav-sidebar > .active > a:hover, +.nav-sidebar > .active > a:focus { + color: #fff; + background-color: #428bca; +} + + +/* + * Main content + */ + +.main { + padding: 20px; +} +@media (min-width: 768px) { + .main { + padding-right: 40px; + padding-left: 40px; + } +} +.main .page-header { + margin-top: 0; +} + + +/* + * Placeholder dashboard ideas + */ + +.placeholders { + margin-bottom: 30px; + text-align: center; +} +.placeholders h4 { + margin-bottom: 0; +} +.placeholder { + margin-bottom: 20px; +} +.placeholder img { + display: inline-block; + border-radius: 50%; +} |