summaryrefslogtreecommitdiff
path: root/yaksh/static
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/static')
-rw-r--r--yaksh/static/yaksh/css/base.css21
-rw-r--r--yaksh/static/yaksh/css/question.css6
-rw-r--r--yaksh/static/yaksh/js/question.js2
3 files changed, 25 insertions, 4 deletions
diff --git a/yaksh/static/yaksh/css/base.css b/yaksh/static/yaksh/css/base.css
index 3570098..362f401 100644
--- a/yaksh/static/yaksh/css/base.css
+++ b/yaksh/static/yaksh/css/base.css
@@ -2312,16 +2312,31 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
text-decoration: none;
}
.pagination a:hover, .pagination .active a {
- background-color: #c7eefe;
+ background-color: #00CC66;
}
/*custom classes*/
.pagination .done a {
background-color: #00CC66;
}
.pagination .disabled a, .pagination .disabled a:hover {
- background-color: transparent;
- color: #bfbfbf;
+ background-color: #bfbfbf;
+ color: #ffffff;
}
.pagination .next a {
border: 0;
}
+
+@-webkit-keyframes blink {
+ from {
+ opacity: 1.0;
+ }
+ to {
+ opacity: 0.0;
+ }
+}
+blink {
+ -webkit-animation-name: blink;
+ -webkit-animation-iteration-count: infinite;
+ -webkit-animation-timing-function: cubic-bezier(1.0, 0, 0, 1.0);
+ -webkit-animation-duration: 1s;
+}
diff --git a/yaksh/static/yaksh/css/question.css b/yaksh/static/yaksh/css/question.css
index 4bf5913..b72f873 100644
--- a/yaksh/static/yaksh/css/question.css
+++ b/yaksh/static/yaksh/css/question.css
@@ -1,12 +1,15 @@
+
.time-div
{
background-color:black;
padding: 8px;
color: #5DFC0A;
vertical-align:middle;
- width:150px;
+ width: 160px;
+ height: 30px;
float:right;
border-radius: 6px 6px 6px 6px;
+ font-size:30px;
}
.td1-class
{
@@ -15,6 +18,7 @@
.td2-class
{
width:50px;
+ padding: 5px 10px 9px;
}
.page-header {
height:50px;
diff --git a/yaksh/static/yaksh/js/question.js b/yaksh/static/yaksh/js/question.js
index 75baf76..ccedbaf 100644
--- a/yaksh/static/yaksh/js/question.js
+++ b/yaksh/static/yaksh/js/question.js
@@ -6,7 +6,9 @@ function submitCode()
x = document.getElementById("check");
x.disabled = true;
x.value = "Checking Answer ...";
+ if (document.getElementById("skip")!=null) {
document.getElementById("skip").disabled = true;
+ }
}
function setSelectionRange(input, selectionStart, selectionEnd)