web_sandbox_console 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -64,15 +64,28 @@
64
64
  }
65
65
 
66
66
  .output-content{
67
- min-height: 800px;
68
- height: 100%;
69
- font-size: 14px;
70
- background-color: #272822;
71
- color: #F8F8F2;
72
- overflow: auto;
73
- line-height: 12px;
74
- padding-left: 10px;
75
- margin-top: 20px;
67
+ min-height: 800px;
68
+ height: 100%;
69
+ font-size: 14px;
70
+ background-color: #272822;
71
+ color: #F8F8F2;
72
+ overflow: auto;
73
+ line-height: 12px;
74
+ padding-left: 10px;
75
+ margin-top: 20px;
76
+ padding-top: 10px;
77
+ }
78
+
79
+ .font-color{
80
+ color: rgba(0,0,0,.9);
81
+ }
82
+
83
+ .output-content pre{
84
+ border: none;
85
+ }
86
+
87
+ .no-border{
88
+ border: none;
76
89
  }
77
90
 
78
91
  .text_area_box{
@@ -95,12 +108,13 @@
95
108
  }
96
109
 
97
110
  .send-button{
98
- background: #272822;
111
+ background: #20aee3;
99
112
  height: 30px;
100
113
  width: 150px;
101
114
  font-size: 15px;
102
115
  color: white;
103
116
  cursor: pointer;
117
+ border: #20aee3;
104
118
  }
105
119
 
106
120
  .reset-button{
@@ -0,0 +1,349 @@
1
+ /* BASICS */
2
+
3
+ .CodeMirror {
4
+ /* Set height, width, borders, and global font properties here */
5
+ font-family: monospace;
6
+ height: 300px;
7
+ color: black;
8
+ direction: ltr;
9
+ }
10
+
11
+ /* PADDING */
12
+
13
+ .CodeMirror-lines {
14
+ padding: 4px 0; /* Vertical padding around content */
15
+ }
16
+ .CodeMirror pre.CodeMirror-line,
17
+ .CodeMirror pre.CodeMirror-line-like {
18
+ padding: 0 4px; /* Horizontal padding of content */
19
+ }
20
+
21
+ .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
22
+ background-color: white; /* The little square between H and V scrollbars */
23
+ }
24
+
25
+ /* GUTTER */
26
+
27
+ .CodeMirror-gutters {
28
+ border-right: 1px solid #ddd;
29
+ background-color: #f7f7f7;
30
+ white-space: nowrap;
31
+ }
32
+ .CodeMirror-linenumbers {}
33
+ .CodeMirror-linenumber {
34
+ padding: 0 3px 0 5px;
35
+ min-width: 20px;
36
+ text-align: right;
37
+ color: #999;
38
+ white-space: nowrap;
39
+ }
40
+
41
+ .CodeMirror-guttermarker { color: black; }
42
+ .CodeMirror-guttermarker-subtle { color: #999; }
43
+
44
+ /* CURSOR */
45
+
46
+ .CodeMirror-cursor {
47
+ border-left: 1px solid black;
48
+ border-right: none;
49
+ width: 0;
50
+ }
51
+ /* Shown when moving in bi-directional text */
52
+ .CodeMirror div.CodeMirror-secondarycursor {
53
+ border-left: 1px solid silver;
54
+ }
55
+ .cm-fat-cursor .CodeMirror-cursor {
56
+ width: auto;
57
+ border: 0 !important;
58
+ background: #7e7;
59
+ }
60
+ .cm-fat-cursor div.CodeMirror-cursors {
61
+ z-index: 1;
62
+ }
63
+ .cm-fat-cursor-mark {
64
+ background-color: rgba(20, 255, 20, 0.5);
65
+ -webkit-animation: blink 1.06s steps(1) infinite;
66
+ -moz-animation: blink 1.06s steps(1) infinite;
67
+ animation: blink 1.06s steps(1) infinite;
68
+ }
69
+ .cm-animate-fat-cursor {
70
+ width: auto;
71
+ border: 0;
72
+ -webkit-animation: blink 1.06s steps(1) infinite;
73
+ -moz-animation: blink 1.06s steps(1) infinite;
74
+ animation: blink 1.06s steps(1) infinite;
75
+ background-color: #7e7;
76
+ }
77
+ @-moz-keyframes blink {
78
+ 0% {}
79
+ 50% { background-color: transparent; }
80
+ 100% {}
81
+ }
82
+ @-webkit-keyframes blink {
83
+ 0% {}
84
+ 50% { background-color: transparent; }
85
+ 100% {}
86
+ }
87
+ @keyframes blink {
88
+ 0% {}
89
+ 50% { background-color: transparent; }
90
+ 100% {}
91
+ }
92
+
93
+ /* Can style cursor different in overwrite (non-insert) mode */
94
+ .CodeMirror-overwrite .CodeMirror-cursor {}
95
+
96
+ .cm-tab { display: inline-block; text-decoration: inherit; }
97
+
98
+ .CodeMirror-rulers {
99
+ position: absolute;
100
+ left: 0; right: 0; top: -50px; bottom: 0;
101
+ overflow: hidden;
102
+ }
103
+ .CodeMirror-ruler {
104
+ border-left: 1px solid #ccc;
105
+ top: 0; bottom: 0;
106
+ position: absolute;
107
+ }
108
+
109
+ /* DEFAULT THEME */
110
+
111
+ .cm-s-default .cm-header {color: blue;}
112
+ .cm-s-default .cm-quote {color: #090;}
113
+ .cm-negative {color: #d44;}
114
+ .cm-positive {color: #292;}
115
+ .cm-header, .cm-strong {font-weight: bold;}
116
+ .cm-em {font-style: italic;}
117
+ .cm-link {text-decoration: underline;}
118
+ .cm-strikethrough {text-decoration: line-through;}
119
+
120
+ .cm-s-default .cm-keyword {color: #708;}
121
+ .cm-s-default .cm-atom {color: #219;}
122
+ .cm-s-default .cm-number {color: #164;}
123
+ .cm-s-default .cm-def {color: #00f;}
124
+ .cm-s-default .cm-variable,
125
+ .cm-s-default .cm-punctuation,
126
+ .cm-s-default .cm-property,
127
+ .cm-s-default .cm-operator {}
128
+ .cm-s-default .cm-variable-2 {color: #05a;}
129
+ .cm-s-default .cm-variable-3, .cm-s-default .cm-type {color: #085;}
130
+ .cm-s-default .cm-comment {color: #a50;}
131
+ .cm-s-default .cm-string {color: #a11;}
132
+ .cm-s-default .cm-string-2 {color: #f50;}
133
+ .cm-s-default .cm-meta {color: #555;}
134
+ .cm-s-default .cm-qualifier {color: #555;}
135
+ .cm-s-default .cm-builtin {color: #30a;}
136
+ .cm-s-default .cm-bracket {color: #997;}
137
+ .cm-s-default .cm-tag {color: #170;}
138
+ .cm-s-default .cm-attribute {color: #00c;}
139
+ .cm-s-default .cm-hr {color: #999;}
140
+ .cm-s-default .cm-link {color: #00c;}
141
+
142
+ .cm-s-default .cm-error {color: #f00;}
143
+ .cm-invalidchar {color: #f00;}
144
+
145
+ .CodeMirror-composing { border-bottom: 2px solid; }
146
+
147
+ /* Default styles for common addons */
148
+
149
+ div.CodeMirror span.CodeMirror-matchingbracket {color: #0b0;}
150
+ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
151
+ .CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }
152
+ .CodeMirror-activeline-background {background: #e8f2ff;}
153
+
154
+ /* STOP */
155
+
156
+ /* The rest of this file contains styles related to the mechanics of
157
+ the editor. You probably shouldn't touch them. */
158
+
159
+ .CodeMirror {
160
+ position: relative;
161
+ overflow: hidden;
162
+ background: white;
163
+ }
164
+
165
+ .CodeMirror-scroll {
166
+ overflow: scroll !important; /* Things will break if this is overridden */
167
+ /* 50px is the magic margin used to hide the element's real scrollbars */
168
+ /* See overflow: hidden in .CodeMirror */
169
+ margin-bottom: -50px; margin-right: -50px;
170
+ padding-bottom: 50px;
171
+ height: 100%;
172
+ outline: none; /* Prevent dragging from highlighting the element */
173
+ position: relative;
174
+ }
175
+ .CodeMirror-sizer {
176
+ position: relative;
177
+ border-right: 50px solid transparent;
178
+ }
179
+
180
+ /* The fake, visible scrollbars. Used to force redraw during scrolling
181
+ before actual scrolling happens, thus preventing shaking and
182
+ flickering artifacts. */
183
+ .CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
184
+ position: absolute;
185
+ z-index: 6;
186
+ display: none;
187
+ }
188
+ .CodeMirror-vscrollbar {
189
+ right: 0; top: 0;
190
+ overflow-x: hidden;
191
+ overflow-y: scroll;
192
+ }
193
+ .CodeMirror-hscrollbar {
194
+ bottom: 0; left: 0;
195
+ overflow-y: hidden;
196
+ overflow-x: scroll;
197
+ }
198
+ .CodeMirror-scrollbar-filler {
199
+ right: 0; bottom: 0;
200
+ }
201
+ .CodeMirror-gutter-filler {
202
+ left: 0; bottom: 0;
203
+ }
204
+
205
+ .CodeMirror-gutters {
206
+ position: absolute; left: 0; top: 0;
207
+ min-height: 100%;
208
+ z-index: 3;
209
+ }
210
+ .CodeMirror-gutter {
211
+ white-space: normal;
212
+ height: 100%;
213
+ display: inline-block;
214
+ vertical-align: top;
215
+ margin-bottom: -50px;
216
+ }
217
+ .CodeMirror-gutter-wrapper {
218
+ position: absolute;
219
+ z-index: 4;
220
+ background: none !important;
221
+ border: none !important;
222
+ }
223
+ .CodeMirror-gutter-background {
224
+ position: absolute;
225
+ top: 0; bottom: 0;
226
+ z-index: 4;
227
+ }
228
+ .CodeMirror-gutter-elt {
229
+ position: absolute;
230
+ cursor: default;
231
+ z-index: 4;
232
+ }
233
+ .CodeMirror-gutter-wrapper ::selection { background-color: transparent }
234
+ .CodeMirror-gutter-wrapper ::-moz-selection { background-color: transparent }
235
+
236
+ .CodeMirror-lines {
237
+ cursor: text;
238
+ min-height: 1px; /* prevents collapsing before first draw */
239
+ }
240
+ .CodeMirror pre.CodeMirror-line,
241
+ .CodeMirror pre.CodeMirror-line-like {
242
+ /* Reset some styles that the rest of the page might have set */
243
+ -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
244
+ border-width: 0;
245
+ background: transparent;
246
+ font-family: inherit;
247
+ font-size: inherit;
248
+ margin: 0;
249
+ white-space: pre;
250
+ word-wrap: normal;
251
+ line-height: inherit;
252
+ color: inherit;
253
+ z-index: 2;
254
+ position: relative;
255
+ overflow: visible;
256
+ -webkit-tap-highlight-color: transparent;
257
+ -webkit-font-variant-ligatures: contextual;
258
+ font-variant-ligatures: contextual;
259
+ }
260
+ .CodeMirror-wrap pre.CodeMirror-line,
261
+ .CodeMirror-wrap pre.CodeMirror-line-like {
262
+ word-wrap: break-word;
263
+ white-space: pre-wrap;
264
+ word-break: normal;
265
+ }
266
+
267
+ .CodeMirror-linebackground {
268
+ position: absolute;
269
+ left: 0; right: 0; top: 0; bottom: 0;
270
+ z-index: 0;
271
+ }
272
+
273
+ .CodeMirror-linewidget {
274
+ position: relative;
275
+ z-index: 2;
276
+ padding: 0.1px; /* Force widget margins to stay inside of the container */
277
+ }
278
+
279
+ .CodeMirror-widget {}
280
+
281
+ .CodeMirror-rtl pre { direction: rtl; }
282
+
283
+ .CodeMirror-code {
284
+ outline: none;
285
+ }
286
+
287
+ /* Force content-box sizing for the elements where we expect it */
288
+ .CodeMirror-scroll,
289
+ .CodeMirror-sizer,
290
+ .CodeMirror-gutter,
291
+ .CodeMirror-gutters,
292
+ .CodeMirror-linenumber {
293
+ -moz-box-sizing: content-box;
294
+ box-sizing: content-box;
295
+ }
296
+
297
+ .CodeMirror-measure {
298
+ position: absolute;
299
+ width: 100%;
300
+ height: 0;
301
+ overflow: hidden;
302
+ visibility: hidden;
303
+ }
304
+
305
+ .CodeMirror-cursor {
306
+ position: absolute;
307
+ pointer-events: none;
308
+ }
309
+ .CodeMirror-measure pre { position: static; }
310
+
311
+ div.CodeMirror-cursors {
312
+ visibility: hidden;
313
+ position: relative;
314
+ z-index: 3;
315
+ }
316
+ div.CodeMirror-dragcursors {
317
+ visibility: visible;
318
+ }
319
+
320
+ .CodeMirror-focused div.CodeMirror-cursors {
321
+ visibility: visible;
322
+ }
323
+
324
+ .CodeMirror-selected { background: #d9d9d9; }
325
+ .CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
326
+ .CodeMirror-crosshair { cursor: crosshair; }
327
+ .CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }
328
+ .CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }
329
+
330
+ .cm-searching {
331
+ background-color: #ffa;
332
+ background-color: rgba(255, 255, 0, .4);
333
+ }
334
+
335
+ /* Used to force a border model for a node */
336
+ .cm-force-border { padding-right: .1px; }
337
+
338
+ @media print {
339
+ /* Hide the cursor when printing */
340
+ .CodeMirror div.CodeMirror-cursors {
341
+ visibility: hidden;
342
+ }
343
+ }
344
+
345
+ /* See issue #2901 */
346
+ .cm-tab-wrap-hack:after { content: ''; }
347
+
348
+ /* Help users use markselection to safely style text background */
349
+ span.CodeMirror-selectedtext { background: none; }
@@ -1,6 +1,6 @@
1
1
  body {
2
2
  background: #fff;
3
- font-family: "Montserrat", sans-serif;
3
+ font-family: "Montserrat", sans-serif !important;
4
4
  margin: 0;
5
5
  overflow-x: hidden;
6
6
  color: #67757c;
@@ -0,0 +1,274 @@
1
+ @font-face {
2
+ font-family: 'Source Sans Pro';
3
+ font-style: normal;
4
+ font-weight: 400;
5
+ src: local('Source Sans Pro'), local('SourceSansPro-Regular'), url(//themes.googleusercontent.com/static/fonts/sourcesanspro/v5/ODelI1aHBYDBqgeIAH2zlBM0YzuT7MdOe03otPbuUS0.woff) format('woff');
6
+ }
7
+
8
+ body, html { margin: 0; padding: 0; height: 100%; }
9
+ section, article { display: block; padding: 0; }
10
+
11
+ body {
12
+ background: #f8f8f8;
13
+ font-family: 'Source Sans Pro', Helvetica, Arial, sans-serif;
14
+ line-height: 1.5;
15
+ }
16
+
17
+ p { margin-top: 0; }
18
+
19
+ h2, h3, h1 {
20
+ font-weight: normal;
21
+ margin-bottom: .7em;
22
+ }
23
+ h1 { font-size: 140%; }
24
+ h2 { font-size: 120%; }
25
+ h3 { font-size: 110%; }
26
+ article > h2:first-child, section:first-child > h2 { margin-top: 0; }
27
+
28
+ #nav h1 {
29
+ margin-right: 12px;
30
+ margin-top: 0;
31
+ margin-bottom: 2px;
32
+ color: #d30707;
33
+ letter-spacing: .5px;
34
+ }
35
+
36
+ a, a:visited, a:link, .quasilink {
37
+ color: #A21313;
38
+ }
39
+
40
+ em {
41
+ padding-right: 2px;
42
+ }
43
+
44
+ .quasilink {
45
+ cursor: pointer;
46
+ }
47
+
48
+ article {
49
+ max-width: 700px;
50
+ margin: 0 0 0 160px;
51
+ border-left: 2px solid #E30808;
52
+ border-right: 1px solid #ddd;
53
+ padding: 30px 50px 100px 50px;
54
+ background: white;
55
+ z-index: 2;
56
+ position: relative;
57
+ min-height: 100%;
58
+ box-sizing: border-box;
59
+ -moz-box-sizing: border-box;
60
+ }
61
+
62
+ #nav {
63
+ position: fixed;
64
+ padding-top: 30px;
65
+ max-height: 100%;
66
+ box-sizing: -moz-border-box;
67
+ box-sizing: border-box;
68
+ overflow-y: auto;
69
+ left: 0; right: none;
70
+ width: 160px;
71
+ text-align: right;
72
+ z-index: 1;
73
+ }
74
+
75
+ @media screen and (min-width: 1000px) {
76
+ article {
77
+ margin: 0 auto;
78
+ }
79
+ #nav {
80
+ right: 50%;
81
+ width: auto;
82
+ border-right: 349px solid transparent;
83
+ }
84
+ }
85
+
86
+ #nav ul {
87
+ display: block;
88
+ margin: 0; padding: 0;
89
+ margin-bottom: 32px;
90
+ }
91
+
92
+ #nav a {
93
+ text-decoration: none;
94
+ }
95
+
96
+ #nav li {
97
+ display: block;
98
+ margin-bottom: 4px;
99
+ }
100
+
101
+ #nav li ul {
102
+ font-size: 80%;
103
+ margin-bottom: 0;
104
+ display: none;
105
+ }
106
+
107
+ #nav li.active ul {
108
+ display: block;
109
+ }
110
+
111
+ #nav li li a {
112
+ padding-right: 20px;
113
+ display: inline-block;
114
+ }
115
+
116
+ #nav ul a {
117
+ color: black;
118
+ padding: 0 7px 1px 11px;
119
+ }
120
+
121
+ #nav ul a.active, #nav ul a:hover {
122
+ border-bottom: 1px solid #E30808;
123
+ margin-bottom: -1px;
124
+ color: #E30808;
125
+ }
126
+
127
+ #logo {
128
+ border: 0;
129
+ margin-right: 12px;
130
+ margin-bottom: 25px;
131
+ }
132
+
133
+ section {
134
+ border-top: 1px solid #E30808;
135
+ margin: 1.5em 0;
136
+ }
137
+
138
+ section.first {
139
+ border: none;
140
+ margin-top: 0;
141
+ }
142
+
143
+ #demo {
144
+ position: relative;
145
+ }
146
+
147
+ #demolist {
148
+ position: absolute;
149
+ right: 5px;
150
+ top: 5px;
151
+ z-index: 25;
152
+ }
153
+
154
+ .yinyang {
155
+ position: absolute;
156
+ top: -10px;
157
+ left: 0; right: 0;
158
+ margin: auto;
159
+ display: block;
160
+ height: 120px;
161
+ }
162
+
163
+ .actions {
164
+ margin: 1em 0 0;
165
+ min-height: 100px;
166
+ position: relative;
167
+ }
168
+
169
+ .actionspicture {
170
+ pointer-events: none;
171
+ position: absolute;
172
+ height: 100px;
173
+ top: 0; left: 0; right: 0;
174
+ }
175
+
176
+ .actionlink {
177
+ pointer-events: auto;
178
+ font-family: arial;
179
+ font-size: 80%;
180
+ font-weight: bold;
181
+ position: absolute;
182
+ top: 0; bottom: 0;
183
+ line-height: 1;
184
+ height: 1em;
185
+ margin: auto;
186
+ }
187
+
188
+ .actionlink.download {
189
+ color: white;
190
+ right: 50%;
191
+ margin-right: 13px;
192
+ text-shadow: -1px 1px 3px #b00, -1px -1px 3px #b00, 1px 0px 3px #b00;
193
+ }
194
+
195
+ .actionlink.fund {
196
+ color: #b00;
197
+ left: 50%;
198
+ margin-left: 15px;
199
+ }
200
+
201
+ .actionlink:hover {
202
+ text-decoration: underline;
203
+ }
204
+
205
+ .actionlink a {
206
+ color: inherit;
207
+ }
208
+
209
+ .actionsleft {
210
+ float: left;
211
+ }
212
+
213
+ .actionsright {
214
+ float: right;
215
+ text-align: right;
216
+ }
217
+
218
+ @media screen and (max-width: 800px) {
219
+ .actions {
220
+ padding-top: 120px;
221
+ }
222
+ .actionsleft, .actionsright {
223
+ float: none;
224
+ text-align: left;
225
+ margin-bottom: 1em;
226
+ }
227
+ }
228
+
229
+ th {
230
+ text-decoration: underline;
231
+ font-weight: normal;
232
+ text-align: left;
233
+ }
234
+
235
+ #features ul {
236
+ list-style: none;
237
+ margin: 0 0 1em;
238
+ padding: 0 0 0 1.2em;
239
+ }
240
+
241
+ #features li:before {
242
+ content: "-";
243
+ width: 1em;
244
+ display: inline-block;
245
+ padding: 0;
246
+ margin: 0;
247
+ margin-left: -1em;
248
+ }
249
+
250
+ .rel {
251
+ margin-bottom: 0;
252
+ }
253
+ .rel-note {
254
+ margin-top: 0;
255
+ color: #555;
256
+ }
257
+
258
+ pre {
259
+ padding-left: 15px;
260
+ border-left: 2px solid #ddd;
261
+ }
262
+
263
+ code {
264
+ padding: 0 2px;
265
+ }
266
+
267
+ strong {
268
+ text-decoration: underline;
269
+ font-weight: normal;
270
+ }
271
+
272
+ .field {
273
+ border: 1px solid #A21313;
274
+ }