| 1 |
/* Extra styles for our form library. |
| 2 |
|
| 3 |
This stylesheet is made available under CC-0 by the GAVO project, |
| 4 |
http://www.g-vo.org. |
| 5 |
See http://creativecommons.org/publicdomain/zero/1.0/ for details. |
| 6 |
*/ |
| 7 |
|
| 8 |
.nevow-form { |
| 9 |
border: 1px solid #ccc; |
| 10 |
padding: 5px; |
| 11 |
} |
| 12 |
|
| 13 |
.nevow-form div.field { |
| 14 |
margin-bottom: 10px; |
| 15 |
padding: 2px 0px 2px 10px; |
| 16 |
} |
| 17 |
|
| 18 |
.nevow-form div.field.error { |
| 19 |
border-left: 2px solid #900; |
| 20 |
padding-left: 8px; |
| 21 |
} |
| 22 |
|
| 23 |
.nevow-form label { |
| 24 |
float: left; |
| 25 |
width: 100px; |
| 26 |
} |
| 27 |
|
| 28 |
.nevow-form .inputs { |
| 29 |
margin-left: 110px; |
| 30 |
} |
| 31 |
|
| 32 |
.nevow-form .required label { |
| 33 |
} |
| 34 |
|
| 35 |
.nevow-form .error label { |
| 36 |
color: #900; |
| 37 |
} |
| 38 |
|
| 39 |
.nevow-form .inputs input { |
| 40 |
width: 300px; |
| 41 |
} |
| 42 |
|
| 43 |
.nevow-form .checkbox .inputs input, .nevow-form .checkboxmultichoice input { |
| 44 |
width: auto; |
| 45 |
} |
| 46 |
|
| 47 |
.nevow-form .field.date .inputs input { |
| 48 |
width: auto; |
| 49 |
} |
| 50 |
|
| 51 |
.nevow-form .field.decimal .inputs input { |
| 52 |
width: 8em; |
| 53 |
} |
| 54 |
|
| 55 |
.nevow-form .message, .nevow-form .description { |
| 56 |
display: block; |
| 57 |
margin-left: 110px; |
| 58 |
font-size: 79%; |
| 59 |
} |
| 60 |
|
| 61 |
.nevow-form .description { |
| 62 |
font-style: italic; |
| 63 |
color: #666; |
| 64 |
} |
| 65 |
|
| 66 |
.nevow-form .message { |
| 67 |
color: #900; |
| 68 |
} |
| 69 |
|
| 70 |
.nevow-form .actions { |
| 71 |
border-top: 1px dashed #ccc; |
| 72 |
margin-top: 5px; |
| 73 |
padding: 10px 0px 5px 110px; |
| 74 |
} |
| 75 |
|
| 76 |
.nevow-form .actions input { |
| 77 |
margin-right: 0.5em; |
| 78 |
} |
| 79 |
|
| 80 |
.nevow-form .checkboxmultichoice .inputs { |
| 81 |
clear: both; |
| 82 |
} |
| 83 |
|
| 84 |
.nevow-form .checkboxmultichoice .inputs label { |
| 85 |
margin-left:10px; |
| 86 |
font-size:80%; |
| 87 |
font-style:italic; |
| 88 |
float: none; |
| 89 |
display:inline; |
| 90 |
color:#000; |
| 91 |
} |
| 92 |
|
| 93 |
.nevow-form .fileupload img { |
| 94 |
height:30px; |
| 95 |
} |
| 96 |
|
| 97 |
.nevow-form .fileuploadwidget input.upload-checkbox-remove { |
| 98 |
width:auto; |
| 99 |
} |
| 100 |
|
| 101 |
.nevow-form .disabled, .nevow-form .readonly { |
| 102 |
background-color: #FFF; |
| 103 |
color: #777; |
| 104 |
} |
| 105 |
|
| 106 |
.nevow-form .inputs .readonly-textarea-container { |
| 107 |
border: 1px solid #ccc; |
| 108 |
overflow: scroll; |
| 109 |
height: 300px; |
| 110 |
} |
| 111 |
|
| 112 |
.nevow-form .radiochoice .inputs input { |
| 113 |
width: auto; |
| 114 |
} |
| 115 |
|
| 116 |
.nevow-form .radiochoice .inputs label { |
| 117 |
display: inline; |
| 118 |
float: none; |
| 119 |
} |
| 120 |
|
| 121 |
.nevow-form .preview-show { |
| 122 |
display: block; |
| 123 |
} |
| 124 |
|
| 125 |
.nevow-form .preview-hidden { |
| 126 |
display: none; |
| 127 |
} |
| 128 |
|
| 129 |
.nevow-form .resttextarea .preview-frame { |
| 130 |
height: 500px; |
| 131 |
width: 80%; |
| 132 |
} |
| 133 |
|
| 134 |
/*--- CLEARFIX ----------------------------------------------------------*/ |
| 135 |
.nevow-form div.field:after { |
| 136 |
content:"."; |
| 137 |
display:block; |
| 138 |
height:0; |
| 139 |
clear:both; |
| 140 |
visibility:hidden; |
| 141 |
} |
| 142 |
.nevow-form div.field {display:inline-block;} |
| 143 |
/* Hide from IE Mac \*/ |
| 144 |
.nevow-form div.field {display:block;} |
| 145 |
/* End hide from IE Mac */ |
| 146 |
|
| 147 |
|
| 148 |
.nevow-form .add { |
| 149 |
display:block; |
| 150 |
} |