source: Dev/trunk/css/style.css @ 36

Last change on this file since 36 was 36, checked in by fpvanagthoven, 14 years ago

QuestionID gets removed when answerType changes. Not yet when answers change.

File size: 2.8 KB
RevLine 
[10]1/*
2    Document   : style
3    Created on : 12-jul-2011, 15:12:02
4    Author     : fpvanagthoven
5    Description:
6        Purpose of the stylesheet follows.
7*/
8
9/*
10   TODO customize this sample style
11   Syntax recommendation http://www.w3.org/TR/REC-CSS2/
12*/
13
14root {
15    display: block;
16}
17
18body {
19    font-family: sans-serif;
20    background-color: gainsboro;
21    margin: 0;
22    padding: 0;
23}
24
25#wrapper {
26    width: 80%;
[17]27    min-width: 570px;
[10]28    margin: auto;
29}
30
31#header {
32    height: 4em;
33    background-color: slategrey;
34}
35
36#logo {
37    font-size: 2em;
[11]38    font-weight: bold;
[10]39    color: white;
40    text-align: center;
41    line-height: 2em;
[11]42    text-shadow: 2px 2px 2px black;
[10]43}
44
45#content {
46    position: relative;
47    width: 100%;
[11]48    padding: 2em 0;
[10]49}
50
51#menu {
52    width: 20em;
53    margin: auto;
54    padding: 3em;
55    text-align: center;
56    background-color: #E3E3E3;
57    -moz-border-radius: 15px;
58    border-radius: 15px;
59}
60
[11]61/* ##################################################################
62   ===================== STYLESHEET OF GLORY ======================== */
[10]63
[11]64#surveyCreation {
65    min-height: 10em;
66    background-color: #eee;
67    -moz-border-radius: 15px;
68    border-radius: 15px;
69    -moz-box-shadow: 2px 2px 2px #888;
70    -webkit-box-shadow: 2px 2px 2px #888;
71    box-shadow: 2px 2px 2px #888;
72    padding: 2em;
73}
74
[24]75#surveyHead {
76    position: relative;
77    width: 100%;
78}
79
[11]80#surveyTitle {
[25]81    width: 17em;
[11]82    font-size: large;
83    color: gray;
84}
85
86#surveyTitle:hover {
87    color: black;
88}
89
90#surveyDescription {
91    display: block;
[24]92    width: 35em;
93    max-width: 35em;
[11]94    font-family: sans-serif;
95    color: gray;
96}
97
[24]98#timeStamp {
99    position: absolute;
100    color: gray;
101    font-size: small;
102    right: 6em;
103    top: 0;
104    line-height: 2.3em;
105}
106
107#surveySaveButton {
108    position: absolute;
109    top: 0;
110    right: 0;
111    width: 5em;
112}
113
[11]114#surveyDescription:hover {
115    color: black;
116}
117
[17]118#questionsDiv {
119    margin-top: 2em;
120}
121
[23]122.answersDiv {
123    margin-left: 0.5em;
124}
125
[11]126#submitSurvey {
127    display: block;
128    height: 3em;
129    width: 10em;
130    margin-top: 2em;
131}
[17]132
133#addQuestionButton {
[21]134    margin-top: 1em;
[17]135    width: 20em;
136}
137
138#addOpt {
139    margin-left: 1em;
140}
141
[21]142
[17]143.surveyButton {
[24]144    color: #888;
145    font-weight: bold;
[17]146    background-color: #fff;
[24]147    border: 2px solid #aaa;
[29]148    -moz-border-radius: 6px;
149    border-radius: 6px;
[17]150}
151
[36]152.bigSurveyButton {
153    margin-top: 1px;
154    height: 3em;
155    width: 12em;
156}
157
[17]158.surveyButton:hover {
159    background-color: white;
[24]160    color: #555;
[17]161    border-color: deepskyblue;
162}
163
164.surveyButton:active {
165    border-style: inset;
166    border-color: orange;
167}
168
169.question { 
[19]170    margin-top: 3em;
171    border-top: 1px solid #ddd;
[17]172}
173
174.questionTable td{
175    width: 8em;
176}
177
178.questionTable th{
179    text-align: left;
180}
181
182label {
183    font-size: small;
184    font-weight: bold;
185    color: gray;
186}
Note: See TracBrowser for help on using the repository browser.