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

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

ID passed. Simple Question and Survey php data classes.

File size: 2.7 KB
Line 
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%;
27    min-width: 570px;
28    margin: auto;
29}
30
31#header {
32    height: 4em;
33    background-color: slategrey;
34}
35
36#logo {
37    font-size: 2em;
38    font-weight: bold;
39    color: white;
40    text-align: center;
41    line-height: 2em;
42    text-shadow: 2px 2px 2px black;
43}
44
45#content {
46    position: relative;
47    width: 100%;
48    padding: 2em 0;
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
61/* ##################################################################
62   ===================== STYLESHEET OF GLORY ======================== */
63
64#newSurveyButton{
65    height: 3em;
66    width: 10em;
67}
68
69#surveyCreation {
70    min-height: 10em;
71    background-color: #eee;
72    -moz-border-radius: 15px;
73    border-radius: 15px;
74    -moz-box-shadow: 2px 2px 2px #888;
75    -webkit-box-shadow: 2px 2px 2px #888;
76    box-shadow: 2px 2px 2px #888;
77    padding: 2em;
78}
79
80#surveyHead {
81    position: relative;
82    width: 100%;
83}
84
85#surveyTitle {
86    width: 17em;
87    font-size: large;
88    color: gray;
89}
90
91#surveyTitle:hover {
92    color: black;
93}
94
95#surveyDescription {
96    display: block;
97    width: 35em;
98    max-width: 35em;
99    font-family: sans-serif;
100    color: gray;
101}
102
103#timeStamp {
104    position: absolute;
105    color: gray;
106    font-size: small;
107    right: 6em;
108    top: 0;
109    line-height: 2.3em;
110}
111
112#surveySaveButton {
113    position: absolute;
114    top: 0;
115    right: 0;
116    width: 5em;
117}
118
119#surveyDescription:hover {
120    color: black;
121}
122
123#questionsDiv {
124    margin-top: 2em;
125}
126
127.answersDiv {
128    margin-left: 0.5em;
129}
130
131#submitSurvey {
132    display: block;
133    height: 3em;
134    width: 10em;
135    margin-top: 2em;
136}
137
138#addQuestionButton {
139    margin-top: 1em;
140    width: 20em;
141}
142
143#addOpt {
144    margin-left: 1em;
145}
146
147
148.surveyButton {
149    color: #888;
150    font-weight: bold;
151    background-color: #fff;
152    border: 2px solid #aaa;
153    -moz-border-radius: 6px;
154    border-radius: 6px;
155}
156
157.surveyButton:hover {
158    background-color: white;
159    color: #555;
160    border-color: deepskyblue;
161}
162
163.surveyButton:active {
164    border-style: inset;
165    border-color: orange;
166}
167
168.question { 
169    margin-top: 3em;
170    border-top: 1px solid #ddd;
171}
172
173.questionTable td{
174    width: 8em;
175}
176
177.questionTable th{
178    text-align: left;
179}
180
181label {
182    font-size: small;
183    font-weight: bold;
184    color: gray;
185}
Note: See TracBrowser for help on using the repository browser.