[22] | 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 | |
---|
| 14 | root { |
---|
| 15 | display: block; |
---|
| 16 | } |
---|
| 17 | |
---|
| 18 | body { |
---|
| 19 | font-family: sans-serif; |
---|
| 20 | background: url('../images/bg/purple_gradient.png'); |
---|
| 21 | background-color: #55546f; |
---|
| 22 | background-repeat: repeat-x; |
---|
| 23 | margin: 0; |
---|
| 24 | padding: 0; |
---|
| 25 | } |
---|
| 26 | |
---|
| 27 | #wrapper { |
---|
| 28 | width: 80%; |
---|
| 29 | min-width: 570px; |
---|
| 30 | margin: auto; |
---|
| 31 | } |
---|
| 32 | |
---|
| 33 | #header { |
---|
| 34 | height: 66px; |
---|
| 35 | background: url('../images/bg/header_purple_gradient.png'); |
---|
| 36 | } |
---|
| 37 | |
---|
| 38 | #logo { |
---|
| 39 | font-size: 2em; |
---|
| 40 | font-weight: bold; |
---|
| 41 | color: #cecddb; |
---|
| 42 | text-align: center; |
---|
| 43 | line-height: 2em; |
---|
| 44 | text-shadow: 3px 1px 1px #55546f; |
---|
| 45 | } |
---|
| 46 | |
---|
| 47 | #content { |
---|
| 48 | position: relative; |
---|
| 49 | width: 100%; |
---|
| 50 | padding: 2em 0; |
---|
| 51 | } |
---|
| 52 | |
---|
| 53 | #menu { |
---|
| 54 | width: 20em; |
---|
| 55 | margin: auto; |
---|
| 56 | padding: 3em; |
---|
| 57 | text-align: center; |
---|
| 58 | background-color: #E3E3E3; |
---|
| 59 | -moz-border-radius: 15px; |
---|
| 60 | border-radius: 15px; |
---|
| 61 | } |
---|
| 62 | |
---|
| 63 | /* ################################################################## |
---|
| 64 | ===================== STYLESHEET OF GLORY ======================== */ |
---|
| 65 | |
---|
| 66 | #newSurveyButton{ |
---|
| 67 | height: 3em; |
---|
| 68 | width: 10em; |
---|
| 69 | } |
---|
| 70 | |
---|
| 71 | #surveyCreation { |
---|
| 72 | min-height: 10em; |
---|
| 73 | background: url('../images/bg/content_purple_gradient.png'); |
---|
| 74 | background-color: #b0b0c1; |
---|
| 75 | -moz-border-radius: 15px; |
---|
| 76 | border-radius: 15px; |
---|
| 77 | -moz-box-shadow: 2px 2px 2px #333; |
---|
| 78 | -webkit-box-shadow: 2px 2px 2px #333; |
---|
| 79 | box-shadow: 2px 2px 2px #333; |
---|
| 80 | padding: 2em; |
---|
| 81 | } |
---|
| 82 | |
---|
| 83 | #surveyTitle { |
---|
| 84 | background-color: #303049; |
---|
| 85 | font-size: large; |
---|
| 86 | color: #b0b0c1; |
---|
| 87 | border: 1px solid black; |
---|
| 88 | } |
---|
| 89 | |
---|
| 90 | #surveyTitle:hover { |
---|
| 91 | color: white; |
---|
| 92 | } |
---|
| 93 | |
---|
| 94 | #surveyDescription { |
---|
| 95 | background-color: #303049; |
---|
| 96 | color: #b0b0c1; |
---|
| 97 | display: block; |
---|
| 98 | font-family: sans-serif; |
---|
| 99 | border: 1px solid black; |
---|
| 100 | } |
---|
| 101 | |
---|
| 102 | #surveyDescription:hover { |
---|
| 103 | color: white; |
---|
| 104 | } |
---|
| 105 | |
---|
| 106 | #questionsDiv { |
---|
| 107 | margin-top: 2em; |
---|
| 108 | } |
---|
| 109 | |
---|
| 110 | #submitSurvey { |
---|
| 111 | display: block; |
---|
| 112 | height: 3em; |
---|
| 113 | width: 10em; |
---|
| 114 | margin-top: 2em; |
---|
| 115 | |
---|
| 116 | } |
---|
| 117 | |
---|
| 118 | #addQuestionButton { |
---|
| 119 | margin-top: 1em; |
---|
| 120 | width: 20em; |
---|
| 121 | } |
---|
| 122 | |
---|
| 123 | #addOpt { |
---|
| 124 | margin-left: 1em; |
---|
| 125 | } |
---|
| 126 | |
---|
| 127 | |
---|
| 128 | .surveyButton { |
---|
| 129 | color: #555; |
---|
| 130 | background-color: #eee; |
---|
| 131 | border: 1px solid #ddd; |
---|
| 132 | -moz-border-radius: 8px; |
---|
| 133 | border-radius: 8px; |
---|
| 134 | -moz-box-shadow: 1px 1px 1px #555; |
---|
| 135 | -webkit-box-shadow: 1px 1px 1px #555; |
---|
| 136 | box-shadow: 1px 1px 1px #555; |
---|
| 137 | } |
---|
| 138 | |
---|
| 139 | .surveyButton:hover { |
---|
| 140 | background-color: white; |
---|
| 141 | color: #333; |
---|
| 142 | border-color: deepskyblue; |
---|
| 143 | } |
---|
| 144 | |
---|
| 145 | .surveyButton:active { |
---|
| 146 | border-style: inset; |
---|
| 147 | border-color: orange; |
---|
| 148 | } |
---|
| 149 | |
---|
| 150 | .question { |
---|
| 151 | margin-top: 3em; |
---|
| 152 | border-top: 1px solid #ddd; |
---|
| 153 | } |
---|
| 154 | |
---|
| 155 | .questionTitle, .questionDescription { |
---|
| 156 | color: #333; |
---|
| 157 | |
---|
| 158 | } |
---|
| 159 | |
---|
| 160 | .questionTitle:hover, .questionDescription:hover { |
---|
| 161 | color: #000; |
---|
| 162 | } |
---|
| 163 | |
---|
| 164 | .questionTable td{ |
---|
| 165 | width: 8em; |
---|
| 166 | } |
---|
| 167 | |
---|
| 168 | .questionTable th{ |
---|
| 169 | text-align: left; |
---|
| 170 | } |
---|
| 171 | |
---|
| 172 | label { |
---|
| 173 | font-size: small; |
---|
| 174 | font-weight: bold; |
---|
| 175 | color: gray; |
---|
| 176 | } |
---|