summaryrefslogtreecommitdiff
path: root/yaksh/static
diff options
context:
space:
mode:
authorankitjavalkar2019-01-29 11:16:21 +0530
committerGitHub2019-01-29 11:16:21 +0530
commita70751c25afd688f20ee46924c5ddc591c89f7e1 (patch)
tree2921df2166bf7bc83ef7af9b4ee3bb07a9153f0a /yaksh/static
parent53e43a65f0b47557da035597f37b4ee9a9d5e290 (diff)
parent31f30afa47f727741279b0b26531ff3cdefd0bbf (diff)
downloadonline_test-a70751c25afd688f20ee46924c5ddc591c89f7e1.tar.gz
online_test-a70751c25afd688f20ee46924c5ddc591c89f7e1.tar.bz2
online_test-a70751c25afd688f20ee46924c5ddc591c89f7e1.zip
Merge pull request #532 from CruiseDevice/ui-create-question-paper
Fix Create Question Paper CSS and JS
Diffstat (limited to 'yaksh/static')
-rw-r--r--yaksh/static/yaksh/css/question_paper_creation.css17
-rw-r--r--yaksh/static/yaksh/js/question_paper_creation.js2
2 files changed, 14 insertions, 5 deletions
diff --git a/yaksh/static/yaksh/css/question_paper_creation.css b/yaksh/static/yaksh/css/question_paper_creation.css
index 588b65c..ff4bf32 100644
--- a/yaksh/static/yaksh/css/question_paper_creation.css
+++ b/yaksh/static/yaksh/css/question_paper_creation.css
@@ -5,6 +5,15 @@ body {
line-height: 18px;
color: #404040;
}
+.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
+ background-color: #FFFFFF;
+ border-color: #DDDDDD #DDDDDD rgba(0, 0, 0, 0);
+ border-image: none;
+ border-style: solid;
+ border-width: 1px;
+ color: #555555;
+ cursor: default;
+}
.tabs li {
text-align: center;
width: 33%;
@@ -12,14 +21,11 @@ body {
.tabs li:last-child {
width: 34%;
}
-.tabs > .active > a {
+.tabs > .active{
border: 0;
- background: lightgreen;
}
.tabs > .active > a:hover {
border: 0;
- background: green;
- color: #ffffff;
}
.tabs li a {
border-radius: 0;
@@ -77,6 +83,9 @@ body {
#random-added hr {
margin: 5px 0 4px;
}
+ #fixed-next, #random-prev, #random-next, #finish-prev{
+ color: white;
+}
.qcard {
position: relative;
background: #ffffff;
diff --git a/yaksh/static/yaksh/js/question_paper_creation.js b/yaksh/static/yaksh/js/question_paper_creation.js
index 9996f8c..9d04728 100644
--- a/yaksh/static/yaksh/js/question_paper_creation.js
+++ b/yaksh/static/yaksh/js/question_paper_creation.js
@@ -21,7 +21,7 @@ $(document).ready(function(){
$('#is_active').val("fixed");
}
if($(this).attr("id") == "random-tab") {
- $('#is_active').val("random");
+ $('#is_active').val("random");
}
$question_type.val('select');
$marks.val('select')