diff options
author | adityacp | 2020-01-28 18:18:07 +0530 |
---|---|---|
committer | adityacp | 2020-01-28 18:18:07 +0530 |
commit | eaf4873ff71eb3655a82f24d05e00881040a4326 (patch) | |
tree | fd4f7b735da95e9ce64dca83101ba1a80cde5270 /yaksh/static | |
parent | 547575e98d119a00472efe3d70693ed972468031 (diff) | |
download | online_test-eaf4873ff71eb3655a82f24d05e00881040a4326.tar.gz online_test-eaf4873ff71eb3655a82f24d05e00881040a4326.tar.bz2 online_test-eaf4873ff71eb3655a82f24d05e00881040a4326.zip |
Change in views, forms, templates, static
- Revamp UI in student dashboard
- Fix course form to get bootstrap form class
- Add custom css for sidebar in course module page for student
- Use django url pattern
Diffstat (limited to 'yaksh/static')
-rw-r--r-- | yaksh/static/yaksh/css/custom.css | 72 |
1 files changed, 71 insertions, 1 deletions
diff --git a/yaksh/static/yaksh/css/custom.css b/yaksh/static/yaksh/css/custom.css index 8623bfb..63ee455 100644 --- a/yaksh/static/yaksh/css/custom.css +++ b/yaksh/static/yaksh/css/custom.css @@ -26,4 +26,74 @@ body, .dropdown-menu { #rendered_text{ width: 550px; -}
\ No newline at end of file +} + +.navbar { + padding: 15px 10px; + background: #fff; + border: none; + border-radius: 0; + margin-bottom: 40px; + box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1); +} + +.navbar-btn { + box-shadow: none; + outline: none !important; + border: none; +} + +.line { + width: 100%; + height: 1px; + border-bottom: 1px dashed #ddd; + margin: 40px 0; +} + +/* --------------------------------------------------- + SIDEBAR STYLE +----------------------------------------------------- */ + +.wrapper { + display: flex; + width: 100%; + align-items: stretch; +} + +#sidebar { + min-width: 350px; + max-width: 350px; + background: #fff; + transition: all 0.3s; +} + +#sidebar.active { + margin-left: -350px; +} + +#sidebar .sidebar-header { + padding: 20px; + background: #158CBA; +} + +#sidebar ul.components { + padding: 20px 0; + border-bottom: 1px solid #fff; +} + +#sidebar ul li a { + padding: 10px; + font-size: 1.1em; + display: block; +} + +/* --------------------------------------------------- + CONTENT STYLE +----------------------------------------------------- */ + +#content { + width: 100%; + padding: 20px; + min-height: 100vh; + transition: all 0.3s; +} |