[859] | 1 | |
---|
| 2 | @import "menubar.css"; |
---|
| 3 | @import "content.css"; |
---|
| 4 | @import "image.css"; |
---|
| 5 | @import "popuphelp.css"; |
---|
| 6 | |
---|
| 7 | /* $Id: default-layout.css 973 2005-12-03 23:53:26Z chrisaga $ */ |
---|
| 8 | |
---|
| 9 | /* * { padding: 0 !important; margin: 0 !important; } */ |
---|
| 10 | |
---|
| 11 | BODY { |
---|
| 12 | margin: 5px; |
---|
| 13 | padding: 0; |
---|
[899] | 14 | font-size: 0.8em; |
---|
| 15 | font-family: Bitsream Vera Sans, Helvetica, Arial, sans-serif; |
---|
[859] | 16 | text-align: center; /* be nice to IE5 */ |
---|
| 17 | } |
---|
| 18 | |
---|
| 19 | #the_page { |
---|
| 20 | /* Just in case another template needs an inner frame */ |
---|
| 21 | } |
---|
| 22 | |
---|
| 23 | H1 { |
---|
| 24 | text-align: center; |
---|
| 25 | font-size: 150%; |
---|
| 26 | font-weight: bold; |
---|
| 27 | padding: 0; margin: 1ex 0 2ex 0; |
---|
| 28 | } |
---|
| 29 | |
---|
| 30 | H2 { |
---|
| 31 | margin: 0; |
---|
| 32 | padding: 5px; |
---|
| 33 | text-align: left; |
---|
| 34 | font-size: 120%; |
---|
| 35 | } |
---|
| 36 | |
---|
| 37 | A { |
---|
| 38 | text-decoration:none; |
---|
| 39 | border-bottom: 1px dotted #005e89; |
---|
| 40 | } |
---|
| 41 | A:hover { |
---|
| 42 | border-bottom: 1px solid #858460; |
---|
| 43 | } |
---|
| 44 | |
---|
| 45 | IMG { |
---|
| 46 | border: none; |
---|
| 47 | } |
---|
| 48 | |
---|
| 49 | HR.separation { |
---|
| 50 | visibility: hidden; |
---|
| 51 | clear: both; |
---|
| 52 | } |
---|
| 53 | |
---|
| 54 | #copyright { |
---|
| 55 | clear: both; |
---|
| 56 | font-size: 83%; |
---|
| 57 | text-align: center; |
---|
| 58 | margin: 0 0 10px 0; |
---|
| 59 | } |
---|
| 60 | |
---|
| 61 | /** General defaults **/ |
---|
[892] | 62 | INPUT {margin: 0;} |
---|
[859] | 63 | ul, dl, li { text-align: left;} |
---|
| 64 | /* for debugging purpose */ |
---|
| 65 | pre { text-align:left; } |
---|
| 66 | |
---|
| 67 | /** forms **/ |
---|
| 68 | |
---|
| 69 | form { padding: 0em; } |
---|
| 70 | |
---|
| 71 | form p { |
---|
| 72 | text-align: center; |
---|
| 73 | margin-top: 2em; |
---|
| 74 | margin-bottom: 2em; |
---|
| 75 | } |
---|
| 76 | .small { |
---|
| 77 | font-size: 80%; |
---|
| 78 | } |
---|
| 79 | |
---|
| 80 | textarea.description { |
---|
| 81 | height: 100px; |
---|
| 82 | width: 500px; |
---|
| 83 | overflow: auto; |
---|
| 84 | } |
---|
| 85 | select.categoryList { |
---|
[878] | 86 | width: 100%; |
---|
[859] | 87 | } |
---|
| 88 | |
---|
| 89 | /** go to an admin.css ? **/ |
---|
| 90 | |
---|
| 91 | .table2 { |
---|
| 92 | border: 1px solid black; |
---|
| 93 | margin: 1em auto; |
---|
| 94 | padding: 0; |
---|
| 95 | } |
---|
| 96 | |
---|
| 97 | .table2 TD, .table2 TH { |
---|
| 98 | padding: 0 1em; |
---|
| 99 | } |
---|
| 100 | |
---|
| 101 | form#add_virtual p { text-align: left; } |
---|
[905] | 102 | FORM#categoryOrdering, FORM#addVirtual { |
---|
| 103 | padding-left: 1em; /* same as FIELDSET margin (there is no fieldset in this form) */ |
---|
| 104 | padding-right: 1em; /* same as FIELDSET margin (there is no fieldset in this form) */ |
---|
| 105 | } |
---|
| 106 | FORM#categoryOrdering p { |
---|
[859] | 107 | text-align: left; |
---|
| 108 | margin-top: 1em; |
---|
| 109 | margin-bottom: 1em; |
---|
| 110 | } |
---|
[905] | 111 | UL.categoryUl { |
---|
[859] | 112 | list-style: none; |
---|
| 113 | padding: 0; |
---|
| 114 | margin: 0; |
---|
| 115 | } |
---|
| 116 | |
---|
[905] | 117 | LI.categoryLi { |
---|
| 118 | border: 1px solid gray; |
---|
[859] | 119 | padding: 0px 5px; |
---|
| 120 | margin-bottom: 5px; |
---|
| 121 | } |
---|
| 122 | |
---|
| 123 | form#categoryOrdering ul.categoryActions { |
---|
| 124 | float: right; |
---|
| 125 | margin-top: 5px; |
---|
| 126 | } |
---|
| 127 | |
---|
| 128 | form#cat_modify table { width: auto; } |
---|
| 129 | |
---|
| 130 | /** |
---|
| 131 | * Filter forms are displayed label by label with the input (or select...) |
---|
| 132 | * below the label |
---|
| 133 | */ |
---|
| 134 | FIELDSET { |
---|
| 135 | padding: 1em; |
---|
| 136 | margin: 1em; |
---|
| 137 | } |
---|
| 138 | |
---|
| 139 | FORM.filter FIELDSET LABEL { |
---|
| 140 | display: block; |
---|
| 141 | float: left; |
---|
| 142 | width: auto; |
---|
| 143 | margin-right: 10px; |
---|
| 144 | padding: 0; |
---|
| 145 | } |
---|
| 146 | |
---|
[924] | 147 | FORM.filter FIELDSET LABEL INPUT, |
---|
| 148 | FORM.filter FIELDSET LABEL SELECT, |
---|
| 149 | FORM.filter FIELDSET LABEL TEXTAREA { |
---|
[859] | 150 | display: block; |
---|
| 151 | margin: 0.5em 0; |
---|
| 152 | } |
---|
| 153 | |
---|
[924] | 154 | FORM.filter FIELDSET P, |
---|
| 155 | FORM.filter FIELDSET INPUT, |
---|
| 156 | FORM.filter FIELDSET TEXTAREA { |
---|
[859] | 157 | clear: left; |
---|
| 158 | display: block; |
---|
| 159 | } |
---|
| 160 | |
---|
| 161 | FORM.filter INPUT[type="submit"] { |
---|
| 162 | margin-top: 1em; |
---|
| 163 | } |
---|
| 164 | |
---|
[919] | 165 | FORM.properties UL, FORM#update UL { |
---|
[859] | 166 | list-style-type: none; |
---|
| 167 | margin: 0; |
---|
| 168 | padding: 0; |
---|
| 169 | } |
---|
| 170 | |
---|
[919] | 171 | FORM.properties LI, FORM#update UL { |
---|
[859] | 172 | margin-bottom: 0.5em; |
---|
| 173 | padding: 0; |
---|
| 174 | line-height: 1.8em; |
---|
| 175 | } |
---|
| 176 | |
---|
| 177 | FORM.properties LABEL { |
---|
| 178 | float: left; |
---|
| 179 | width: 50%; |
---|
| 180 | text-align: right; |
---|
| 181 | margin: 0; |
---|
| 182 | padding: 0 0.5em 0 0; |
---|
| 183 | } |
---|
| 184 | |
---|
| 185 | FORM.properties LABEL.mandatory { |
---|
| 186 | font-weight: bold; |
---|
| 187 | } |
---|
| 188 | |
---|
| 189 | FORM.properties .focus { |
---|
| 190 | background-color: whitesmoke; |
---|
| 191 | } |
---|
| 192 | |
---|
| 193 | FORM.properties .nofocus { |
---|
| 194 | background-color: lightgrey; /* must be the same as input background-color */ |
---|
| 195 | } |
---|
| 196 | |
---|
| 197 | FIELDSET.elementEdit A { |
---|
| 198 | display: block; |
---|
| 199 | float: right; |
---|
| 200 | } |
---|
| 201 | |
---|
| 202 | TABLE.doubleSelect { |
---|
| 203 | text-align: center; |
---|
| 204 | margin: 0 auto; |
---|
[878] | 205 | width: 100%; |
---|
[859] | 206 | } |
---|
| 207 | |
---|
| 208 | TABLE.doubleSelect TD { |
---|
| 209 | padding: 0 5px; |
---|
[878] | 210 | width: 50%; |
---|
[859] | 211 | } |
---|
| 212 | |
---|
| 213 | FORM#categoryPermissions LI { |
---|
| 214 | display:inline; |
---|
| 215 | white-space: nowrap; |
---|
| 216 | } |
---|
| 217 | |
---|
| 218 | #theHeader { |
---|
| 219 | } |
---|
| 220 | |
---|
| 221 | #theHeader H1 { |
---|
| 222 | margin-bottom: 0.5em; |
---|
| 223 | } |
---|
| 224 | |
---|
| 225 | #theHeader P { |
---|
| 226 | margin-top: 0; |
---|
| 227 | padding: 0; |
---|
| 228 | } |
---|
| 229 | |
---|
| 230 | BODY#theAdminPage #theHeader P { |
---|
| 231 | display: none; |
---|
| 232 | } |
---|
| 233 | |
---|
| 234 | BODY#thePopuphelpPage #copyright { |
---|
| 235 | color: green; |
---|
| 236 | display: none; |
---|
| 237 | } |
---|
[924] | 238 | |
---|
| 239 | FORM#addComment FIELDSET LABEL { |
---|
| 240 | clear: both; |
---|
| 241 | } |
---|
| 242 | |
---|
| 243 | FORM#addComment FIELDSET INPUT[type="hidden"] { |
---|
| 244 | display: none; |
---|
[973] | 245 | } |
---|
| 246 | |
---|
| 247 | /* button tools */ |
---|
| 248 | UL.actions { |
---|
| 249 | text-indent: 0; |
---|
| 250 | list-style: none; |
---|
| 251 | } |
---|
| 252 | UL.actions LI { |
---|
| 253 | display: inline; |
---|
| 254 | } |
---|
| 255 | UL.actions A { |
---|
| 256 | border: none; |
---|
| 257 | } |
---|