|
4 | 4 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
5 | 5 | <meta http-equiv="X-UA-Compatible" value="IE=9"> |
6 | 6 | <title>CommentCoreLibrary - Bilibili Compatible Scripting Playground</title> |
7 | | - <style> |
8 | | - .left-area{width:48%; position:absolute; top:70px; left:10px; bottom: 200px;} |
9 | | - #playerdiv{width:48%; position:absolute; top:70px; bottom: 200px; right:10px;} |
10 | | - #player{ |
11 | | - border:1px solid #f88; |
12 | | - width:100%; |
13 | | - top:0; bottom:10px; left: 0px; right:0px; |
14 | | - background-color:#100; |
15 | | - position:absolute; |
16 | | - } |
17 | | - #output{ |
18 | | - font-family:Consolas, 'Courier New', monospace; font-size:12px;padding:10px; background:#000; |
19 | | - position:fixed; bottom:0; left:0; right:0; height:150px; overflow:auto; color:#ccc;border-top:1px dotted #fff; |
20 | | - } |
21 | | - .code-input { |
22 | | - position:absolute; |
23 | | - width:100%; |
24 | | - height:auto; |
25 | | - top:40px; bottom:10px; left:0; right:0; |
26 | | - display:block; border:1px solid #f88; |
27 | | - padding:10px;background:#000;color:#f88;font-size:20px; |
28 | | - } |
29 | | - .blue .code-input{ |
30 | | - border:1px solid #88f;color:#88f;background:#113; |
31 | | - } |
32 | | - .s-button, .button{ |
33 | | - display:block; border:1px solid #f88; padding:8px 6px 8px 6px; |
34 | | - background:#000; color:#f88; float:left; |
35 | | - -moz-user-select: none; |
36 | | - -khtml-user-select: none; |
37 | | - -webkit-user-select: none; |
38 | | - -o-user-select: none; |
39 | | - user-select: none; |
40 | | - cursor:default; |
41 | | - } |
42 | | - .s-button:hover,.button:hover{background:#f88; color:#000;} |
43 | | - .blue .s-button, .blue .button{ border:1px solid #88f;color:#88f;} |
44 | | - .blue .s-button:hover,.blue .button:hover{background:#88f; color:#000;} |
45 | | - .button{font-size:12px;z-index:99;} |
46 | | - |
47 | | - pre{margin:0;} |
48 | | - pre.error{color:#f00;} |
49 | | - pre.warning{color:#FFC500;} |
50 | | - </style> |
| 7 | + <!-- Stylesheets for the sandbox --> |
| 8 | + <link rel="stylesheet" href="sandbox-style.css" /> |
51 | 9 | <link rel="stylesheet" href="../../dist/css/style.css" /> |
52 | 10 | <script src="../../dist/scripting/Host.js" type="text/javascript"></script> |
53 | 11 | <script src="sandbox.js" type="text/javascript" ></script> |
54 | 12 | </head> |
55 | | -<body style="background:#000;"> |
56 | | - <h2 style="color:#fff">CCL Scripting Demo</h2> |
| 13 | +<body> |
| 14 | + <h2>CCL Scripting Demo</h2> |
57 | 15 | <div id="codediv" class="left-area"> |
58 | 16 | <div style="clear:both;overflow:auto;width:110%;"> |
59 | 17 | <button class="s-button" id="evaluate-worker">Execute</button> |
|
0 commit comments