3 /* --------------------
11 body
, #jsspec_container
{
17 background-color: white
;
40 _height:expression
(document
.body
.clientHeight-40
);
52 _height:expression
(document
.body
.clientHeight-40
);
53 _width:expression
(document
.body
.clientWidth-250
);
57 @media only screen and
(max-device-width: 480px) {
68 /* --------------------
69 * @Decorations and colors
74 font-family: "Lucida Grande", Helvetica
, sans-serif
;
81 /* hiding subtitles */
98 padding: 0.5em 0em 0.5em 0.75em;
112 margin-bottom: 0.1em;
124 /* example container */
127 border-width: 0px 0px 1px 5px;
128 margin: 0.2em 0em 0.2em 1em;
142 border: solid
1px #CCC;
144 font-family: "Panic Sans", "Monaco", monospace
!important
;
147 /* example explaination */
153 /* styles for ongoing, success, failure, error */
154 div
.success
, div
.success a
{
156 background-color: #65C400;
159 li
.ongoing li
.success pre
.examples-code
,
160 li pre
.examples-code
{
161 display:none
!important
;
163 li
.exception pre
.examples-code
,
164 li
.ongoing pre
.examples-code
{
165 display:block
!important
;
168 ul
.specs li
.success h3
, ul
.specs li
.success h3 a
{
170 background-color: #65C400;
173 ul
.examples li
.success
, ul
.examples li
.success a
{
175 background-color: #DBFFB4;
176 border-color: #65C400;
179 div
.exception
, div
.exception a
{
181 background-color: #C20000;
184 ul
.specs li
.exception h3
, ul
.specs li
.exception h3 a
{
186 background-color: #C20000;
189 ul
.examples li
.exception
, ul
.examples li
.exception a
{
191 background-color: #FFFBD3;
192 border-color: #C20000;
195 div
.ongoing
, div
.ongoing a
{
197 background-color: #FFFF80;
200 ul
.specs li
.ongoing h3
, ul
.specs li
.ongoing h3 a
{
202 background-color: #FFFF80;
205 ul
.examples li
.ongoing
, ul
.examples li
.ongoing a
{
207 background-color: #FFFF80;
208 border-color: #DDDD00;
213 /* --------------------
216 .number_value, .string_value, .regexp_value, .boolean_value, .dom_value {
217 font-family: monospace
;
220 .object_value, .array_value {
222 padding: 0.1em 0.2em;
226 font-family: monospace
;
229 .undefined_value, .null_value {
244 background-color: #FFC6C6;