summaryrefslogtreecommitdiff
path: root/yaksh/static
diff options
context:
space:
mode:
authorCruiseDevice2020-09-16 07:23:36 +0530
committerankitjavalkar2020-10-08 10:42:50 +0530
commit5e49406420207123afec88a1ca7138e7a58c2acc (patch)
tree9680cf23a1aa28f8947ca66f270c4bd48e288bbe /yaksh/static
parent05ecae144ba161ee88ae98ff4313c9e5480bb604 (diff)
downloadonline_test-5e49406420207123afec88a1ca7138e7a58c2acc.tar.gz
online_test-5e49406420207123afec88a1ca7138e7a58c2acc.tar.bz2
online_test-5e49406420207123afec88a1ca7138e7a58c2acc.zip
Show Lesson post and comments in discussion forum
- Use trash icon instead of DELETE button - Sidebar to navigate between course forum and lesson forum - Course forum displays all the questions (posts) linked with the course model, and Lesson forum displays all the questions (posts) linked with the Lesson model.
Diffstat (limited to 'yaksh/static')
-rw-r--r--yaksh/static/yaksh/css/custom.css49
1 files changed, 43 insertions, 6 deletions
diff --git a/yaksh/static/yaksh/css/custom.css b/yaksh/static/yaksh/css/custom.css
index 26efbed..edb9530 100644
--- a/yaksh/static/yaksh/css/custom.css
+++ b/yaksh/static/yaksh/css/custom.css
@@ -109,12 +109,49 @@ body, .dropdown-menu {
FORUM STYLE
----------------------------------------------------- */
-.brown-light {
- background: #f4a460;
- padding-left: 0.3em;
- padding-right: 0.3em;
- padding-top: 0.2em;
- padding-bottom: 0.2em;
+ #wrapper {
+ overflow-x: hidden;
+ }
+
+#sidebar-wrapper {
+ min-height: 100vh;
+ margin-left: -15rem;
+ -webkit-transition: margin .25s ease-out;
+ -moz-transition: margin .25s ease-out;
+ -o-transition: margin .25s ease-out;
+ transition: margin .25s ease-out;
+}
+
+#sidebar-wrapper .sidebar-heading {
+ padding: 0.875rem 1.25rem;
+ font-size: 1.2rem;
+}
+
+#sidebar-wrapper .list-group {
+ width: 15rem;
+}
+
+#page-content-wrapper {
+ min-width: 100vw;
+}
+
+#wrapper.toggled #sidebar-wrapper {
+ margin-left: 0;
+}
+
+@media (min-width: 768px) {
+ #sidebar-wrapper {
+ margin-left: 0;
+ }
+
+ #page-content-wrapper {
+ min-width: 0;
+ width: 100%;
+ }
+
+ #wrapper.toggled #sidebar-wrapper {
+ margin-left: -15rem;
+ }
}
.post_image, .comment_image {