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+
180.1.0
29-----
310
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ submodules::
2222
2323Assuming you have Python 3 installed you can serve the editor like this::
2424
25- $ ./show.sh
25+ $ ./bin/ show.sh
2626 http://localhost:8000/editor.html
2727 Serving HTTP on 0.0.0.0 port 8000 ...
2828
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 7070 <body>
7171 <script type="application/javascript">
7272 <!-- VERSION INFORMATION -->
73- VERSION = "0.1 .0";
73+ VERSION = "1.0 .0";
7474 </script>
7575 <script id="load-template" type="x-tmpl-mustache">
7676 <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>
337337 }
338338 },
339339 'flags': {
340- 'blocks': true ,
340+ 'blocks': false ,
341341 'snippets': true,
342- 'share ': true ,
343- 'experimental ': false
342+ 'experimental ': false ,
343+ 'share ': false
344344 },
345345});
346346 </script>
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -91,20 +91,30 @@ body, input {
9191
9292/* Script info box */
9393# script-box {
94+ padding-right : 1rem ;
95+ margin-left : auto;
9496 margin-right : 1rem ;
95- margin-left : 1rem ;
96- text-align : right;
97- width : 100% ;
97+ justify-content : center;
9898}
9999
100100# script-name {
101- font-size : 2rem ;
101+ font-size : 1.75rem ;
102+ border : # 808080 1px solid;
102103 color : # 1a354c ;
103104 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 ;
105114}
106115
107116# script-description {
117+ display : none; /* TODO: FIXME: remove this field */
108118 color : # 336699 ;
109119 padding-bottom : 0.2rem ;
110120 overflow : hidden;
@@ -207,20 +217,12 @@ body, input {
207217 font-weight : bold;
208218}
209219
210- # commands {
211- min-width : 900px ;
212- }
213-
214220# commands a {
215221 text-align : center;
216222 padding-left : 0.75em ;
217223 padding-right : 0.75em ;
218224}
219225
220-
221- # toolbox {
222- }
223-
224226# log {
225227 overflow : auto;
226228 width : 500px ;
@@ -258,6 +260,7 @@ body, input {
258260 color : # 336699 ;
259261 text-decoration : none;
260262 background-image : url ("../img/triangle.svg" );
263+ background-position-x : -1px ;
261264 background-size : 100% ;
262265 background-repeat : no-repeat;
263266 min-width : 90px ;
@@ -354,7 +357,6 @@ a.command:hover {
354357 # script-name {
355358 font-size : 1.2rem ;
356359 font-weight : bold;
357- max-height : 50px ;
358360 }
359361
360362 .blocklyTreeRow {
@@ -368,10 +370,6 @@ a.command:hover {
368370 .blocklyTreeLabel {
369371 font-size : 12px !important ;
370372 }
371-
372- # commands {
373- min-width : 425px ;
374- }
375373}
376374
377375@media (max-width : 480px ) {
@@ -381,8 +379,7 @@ a.command:hover {
381379 }
382380
383381 # script-box {
384- margin-right : 1rem ;
385- margin-left : 1rem ;
382+ margin : 1rem ;
386383 text-align : left;
387384 width : 100% ;
388385 }
You can’t perform that action at this time.
0 commit comments