canvas-tests.css (1799B)
1 html.fail { 2 background: #f66; 3 } 4 html.pass { 5 background: #6f6; 6 } 7 html.needs_check { 8 background: #99f; 9 } 10 11 body { 12 font-size: small; 13 font-family: sans-serif; 14 color: black; 15 } 16 17 a:link { 18 color: #00c; 19 } 20 a:visited { 21 color: #808; 22 } 23 24 body.framed { 25 font-size: x-small; 26 } 27 28 h1 { 29 font-size: larger; 30 margin: 0; 31 padding-left: 0.5em; 32 text-indent: -0.5em; 33 } 34 35 p { 36 margin: 0; 37 } 38 39 p.notes { 40 margin-bottom: 0.5em; 41 font-style: italic; 42 } 43 44 ul { 45 margin: 0; 46 margin-bottom: 0.5em; 47 padding: 0; 48 padding-left: 1em; 49 } 50 51 .refs { 52 font-style: italic; 53 margin-bottom: 0.5em; 54 } 55 56 .refs ul { 57 display: inline; 58 margin: 0; 59 padding: 0; 60 } 61 62 .refs li { 63 display: inline; 64 list-style-type: none; 65 margin: 0; 66 padding: 0; 67 } 68 69 canvas { 70 display: none; 71 visibility: hidden; 72 border: 2px #f0f solid; 73 background: url(../images/background.png); 74 } 75 76 img.expected { 77 display: none; 78 border: 2px #f0f solid; 79 background: url(../images/background.png); 80 } 81 82 iframe { 83 border: 2px #f0f solid; 84 } 85 86 .output { 87 display: none; 88 } 89 90 .show_output .output, .needs_check .output { 91 display: block !important; 92 visibility: visible !important; 93 } 94 95 .show_output #show_output { 96 display: none; 97 } 98 99 .resource { 100 visibility: hidden; 101 height: 0; 102 } 103 104 .fallback { 105 font-size: 2em; 106 font-weight: bold; 107 color: #a00; 108 } 109 110 111 html.minimal body { 112 color: white; 113 } 114 html.fail.minimal { 115 background: #f00; 116 } 117 html.pass.minimal { 118 background: #080; 119 } 120 html.needs_check.minimal { 121 background: #008; 122 } 123 .minimal #d { 124 display: none !important; 125 } 126 .minimal .expectedtext { 127 visibility: hidden !important; 128 } 129 #passtext, #failtext { 130 display: none; 131 } 132 .minimal.pass #passtext, .minimal.fail #failtext { 133 display: block; 134 }