summaryrefslogtreecommitdiff
path: root/testapp/static
diff options
context:
space:
mode:
authorhardythe12012-02-28 12:09:28 +0530
committerhardythe12012-02-28 12:09:28 +0530
commitb7ad768a6cc4fe5c8a05e20b1968f13a678c22cc (patch)
tree8fc6855f0a16929b5ca42fd89daa458129d98ff9 /testapp/static
parentb1fbf5b02280de5b78b0249e777a179e34b50b98 (diff)
downloadonline_test-b7ad768a6cc4fe5c8a05e20b1968f13a678c22cc.tar.gz
online_test-b7ad768a6cc4fe5c8a05e20b1968f13a678c22cc.tar.bz2
online_test-b7ad768a6cc4fe5c8a05e20b1968f13a678c22cc.zip
changes to remove the inline css from every page
Diffstat (limited to 'testapp/static')
-rw-r--r--testapp/static/exam/css/base.css42
-rw-r--r--testapp/static/exam/css/gradeuser.css6
-rw-r--r--testapp/static/exam/css/login.css10
-rw-r--r--testapp/static/exam/css/monitor.css11
-rw-r--r--testapp/static/exam/css/question_quiz.css9
5 files changed, 75 insertions, 3 deletions
diff --git a/testapp/static/exam/css/base.css b/testapp/static/exam/css/base.css
index 9a37d2f..d2b227f 100644
--- a/testapp/static/exam/css/base.css
+++ b/testapp/static/exam/css/base.css
@@ -1,6 +1,8 @@
html, body {
+ background-color: #eee;
margin: 0;
padding: 0;
+
}
h1,
h2,
@@ -168,20 +170,53 @@ textarea {
* Basic and global styles for generating a grid system, structural layout, and page templates
* ------------------------------------------------------------------------------------------- */
body {
- background-color: #ffffff;
+ padding-top : 10px;
+ background-color: #eee;
margin: 0;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 13px;
font-weight: normal;
line-height: 18px;
color: #404040;
+
}
.container {
- width: 940px;
+ width: 820px;
margin-left: auto;
margin-right: auto;
zoom: 1;
}
+.container > footer p {
+ text-align: center;
+}
+.container > .content {
+ background-color: #fff;
+ padding: 20px;
+ margin: 0 -20px;
+ -webkit-border-radius: 0 0 6px 6px;
+ -moz-border-radius: 0 0 6px 6px;
+ border-radius: 0 0 6px 6px;
+ -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.15);
+ -moz-box-shadow: 0 1px 2px rgba(0,0,0,.15);
+ box-shadow: 0 1px 2px rgba(0,0,0,.15);
+}
+.content .span10,
+.content .span14 {
+ min-height: 500px;
+}
+.content .span4 {
+ margin-left: 0;
+ padding-left: 19px;
+ border-left: 1px solid #eee;
+}
+.topbar .btn {
+ border: 0;
+}
+.page-header {
+ background-color: #f5f5f5;
+ padding: 20px 20px 10px;
+ margin: -20px -20px 20px;
+}
.container:before, .container:after {
display: table;
content: "";
@@ -263,6 +298,7 @@ a:hover {
width: 160px;
}
.span4 {
+ min-height : 500px;
width: 220px;
}
.span5 {
@@ -281,7 +317,7 @@ a:hover {
width: 520px;
}
.span10 {
- width: 580px;
+ width: 560px;
}
.span11 {
width: 640px;
diff --git a/testapp/static/exam/css/gradeuser.css b/testapp/static/exam/css/gradeuser.css
new file mode 100644
index 0000000..e50ab4e
--- /dev/null
+++ b/testapp/static/exam/css/gradeuser.css
@@ -0,0 +1,6 @@
+textarea
+{
+width : 550px;
+height : 200px;
+
+}
diff --git a/testapp/static/exam/css/login.css b/testapp/static/exam/css/login.css
new file mode 100644
index 0000000..a10cbaa
--- /dev/null
+++ b/testapp/static/exam/css/login.css
@@ -0,0 +1,10 @@
+label
+{
+ padding-top: 6px;
+ font-size: 15px;
+ line-height: 18px;
+ float: left;
+ width: 80px;
+ text-align: center;
+ color: #404040;
+ }
diff --git a/testapp/static/exam/css/monitor.css b/testapp/static/exam/css/monitor.css
new file mode 100644
index 0000000..b16c8b3
--- /dev/null
+++ b/testapp/static/exam/css/monitor.css
@@ -0,0 +1,11 @@
+ table td
+ {
+ vertical-align: top;
+ border-top: 1px solid #ddd;
+ }
+ table tbody th
+ {
+ border-top: 1px solid #ddd;
+ vertical-align: top;
+ }
+
diff --git a/testapp/static/exam/css/question_quiz.css b/testapp/static/exam/css/question_quiz.css
new file mode 100644
index 0000000..2e13364
--- /dev/null
+++ b/testapp/static/exam/css/question_quiz.css
@@ -0,0 +1,9 @@
+table th, table td
+ {
+ text-align: left;
+ }
+textarea
+{
+width : 300px;
+height : 150px;
+}