File tree Expand file tree Collapse file tree 6 files changed +37
-28
lines changed Expand file tree Collapse file tree 6 files changed +37
-28
lines changed Original file line number Diff line number Diff line change
1
+ 1.0.0
2
+ -----
3
+
4
+ * Updated styling
5
+ * Moved show script to bin/show
6
+ * Flags disabled by default: blocks, experimental, and share
7
+
1
8
0.1.0
2
9
-----
3
10
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ submodules::
22
22
23
23
Assuming you have Python 3 installed you can serve the editor like this::
24
24
25
- $ ./show.sh
25
+ $ ./bin/ show.sh
26
26
http://localhost:8000/editor.html
27
27
Serving HTTP on 0.0.0.0 port 8000 ...
28
28
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ echo " http://localhost:8000/editor.html"
3
+
4
+ pushd ` dirname $0 ` > /dev/null
5
+ SCRIPTPATH=` pwd`
6
+ popd > /dev/null
7
+
8
+ cd ${SCRIPTPATH} /../ && python3 -m http.server
Original file line number Diff line number Diff line change 70
70
<body>
71
71
<script type="application/javascript">
72
72
<!-- VERSION INFORMATION -->
73
- VERSION = "0.1 .0";
73
+ VERSION = "1.0 .0";
74
74
</script>
75
75
<script id="load-template" type="x-tmpl-mustache">
76
76
<h2><i class="fa fa-upload"></i> <strong>{{ title }}</strong></h2>
@@ -337,10 +337,10 @@ <h2><i class="fa fa-unlock-alt"></i> <strong>{{ title }}</strong></h2>
337
337
}
338
338
},
339
339
'flags': {
340
- 'blocks': true ,
340
+ 'blocks': false ,
341
341
'snippets': true,
342
- 'share ': true ,
343
- 'experimental ': false
342
+ 'experimental ': false ,
343
+ 'share ': false
344
344
},
345
345
});
346
346
</script>
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -91,20 +91,30 @@ body, input {
91
91
92
92
/* Script info box */
93
93
# script-box {
94
+ padding-right : 1rem ;
95
+ margin-left : auto;
94
96
margin-right : 1rem ;
95
- margin-left : 1rem ;
96
- text-align : right;
97
- width : 100% ;
97
+ justify-content : center;
98
98
}
99
99
100
100
# script-name {
101
- font-size : 2rem ;
101
+ font-size : 1.75rem ;
102
+ border : # 808080 1px solid;
102
103
color : # 1a354c ;
103
104
overflow : hidden;
104
- max-height : 90px ;
105
+ width : 100% ;
106
+ margin-right : 1rem ;
107
+ min-width : 10rem ;
108
+ max-width : 15rem ;
109
+ background-color : white;
110
+ line-height : 2.5rem ;
111
+ max-height : 2.5rem ;
112
+ padding : 0 0.5rem ;
113
+ border-radius : 0.5rem ;
105
114
}
106
115
107
116
# script-description {
117
+ display : none; /* TODO: FIXME: remove this field */
108
118
color : # 336699 ;
109
119
padding-bottom : 0.2rem ;
110
120
overflow : hidden;
@@ -207,20 +217,12 @@ body, input {
207
217
font-weight : bold;
208
218
}
209
219
210
- # commands {
211
- min-width : 900px ;
212
- }
213
-
214
220
# commands a {
215
221
text-align : center;
216
222
padding-left : 0.75em ;
217
223
padding-right : 0.75em ;
218
224
}
219
225
220
-
221
- # toolbox {
222
- }
223
-
224
226
# log {
225
227
overflow : auto;
226
228
width : 500px ;
@@ -258,6 +260,7 @@ body, input {
258
260
color : # 336699 ;
259
261
text-decoration : none;
260
262
background-image : url ("../img/triangle.svg" );
263
+ background-position-x : -1px ;
261
264
background-size : 100% ;
262
265
background-repeat : no-repeat;
263
266
min-width : 90px ;
@@ -354,7 +357,6 @@ a.command:hover {
354
357
# script-name {
355
358
font-size : 1.2rem ;
356
359
font-weight : bold;
357
- max-height : 50px ;
358
360
}
359
361
360
362
.blocklyTreeRow {
@@ -368,10 +370,6 @@ a.command:hover {
368
370
.blocklyTreeLabel {
369
371
font-size : 12px !important ;
370
372
}
371
-
372
- # commands {
373
- min-width : 425px ;
374
- }
375
373
}
376
374
377
375
@media (max-width : 480px ) {
@@ -381,8 +379,7 @@ a.command:hover {
381
379
}
382
380
383
381
# script-box {
384
- margin-right : 1rem ;
385
- margin-left : 1rem ;
382
+ margin : 1rem ;
386
383
text-align : left;
387
384
width : 100% ;
388
385
}
You can’t perform that action at this time.
0 commit comments