Skip to content

Commit 6b765f3

Browse files
committed
Fix design and turn off open browser
1 parent 081382e commit 6b765f3

File tree

4 files changed

+42
-21
lines changed

4 files changed

+42
-21
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ jobs:
3232
- name: Build and Push Docker Image
3333
run: |
3434
docker build . --file Dockerfile --tag ghcr.io/bossboxing/friendblockly:latest
35-
docker push ghcr.io/bossboxing/friendblockly:latest
35+
docker push ghcr.io/bossboxing/friendblockly:latest

ardublockly/ardublockly.css

Lines changed: 38 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,22 @@
2121
/**********/
2222
html,
2323
body {
24+
background-color: #000000;
25+
color: #000000;
2426
height: 100% !important;
2527
padding: 0;
2628
margin: 0;
2729
}
2830

2931
body {
30-
background-color: #eeeeee;
31-
-moz-user-select: -moz-none;
32-
-khtml-user-select: none;
33-
-webkit-user-select: none;
34-
-ms-user-select: none;
35-
user-select: none;
32+
background-color: #000000;
33+
/* color: #FFFF00; */
34+
background-color: #eeeeee;
35+
-moz-user-select: -moz-none;
36+
-khtml-user-select: none;
37+
-webkit-user-select: none;
38+
-ms-user-select: none;
39+
user-select: none;
3640
}
3741

3842
/*********************/
@@ -52,7 +56,7 @@ body {
5256
background-color: #E47128;
5357
}
5458
.arduino_yellow {
55-
background-color: rgba(255, 204, 51, 1);
59+
background-color: rgb(51 139 255);
5660
/* background-color: #FFCC33; */
5761
/* background-color: #E5AD24; from community logo */
5862
}
@@ -65,16 +69,22 @@ body {
6569
/* Navigation bar */
6670
/********************/
6771
.nav-fixed {
72+
background-color: #FFFF00;
73+
color: #000000;
6874
border-radius: 0;
6975
position: inherit;
7076
margin-bottom: 30px;
7177
z-index: 997 !important;
7278
}
7379
@media only screen and (min-width : 993px) {
7480
body {
81+
background-color: #ffc500;
82+
color: black;
7583
padding-top: 100px;
7684
}
7785
.nav-fixed {
86+
background-color: #000000;
87+
color: #000000;
7888
position: fixed;
7989
right: 0;
8090
left: 0;
@@ -221,9 +231,9 @@ ul.side-nav li.side-menu-end {
221231
border-right: 0;
222232
}
223233
.ide_output_header_normal {
224-
background-color: #006468;
234+
background-color: #000000;
225235
color: #ffffff;
226-
-moz-transition: background-color 0.6s ease-in;;
236+
-moz-transition: background-color 0.6s ease-in;
227237
-o-transition: background-color 0.6s ease-in;
228238
-webkit-transition: background-color 0.6s ease-in;
229239
}
@@ -243,6 +253,8 @@ ul.side-nav li.side-menu-end {
243253
}
244254

245255
#content_ide_output {
256+
background-color: #202020;
257+
color: #FFFF00;
246258
resize: none;
247259
outline: none;
248260
border: none;
@@ -502,6 +514,8 @@ ul.side-nav li.side-menu-end {
502514

503515
/* Arduino output modal dialog */
504516
#arduino_dialog_body {
517+
background-color: #000000;
518+
color: #FFFF00;
505519
padding-top: 25px;
506520
}
507521
.arduino_dialog_out {}
@@ -653,7 +667,7 @@ ul.side-nav li.side-menu-end {
653667
border: none !important;
654668
margin: 0px !important;
655669
padding: 0px 0px 0px 0px !important;
656-
background: rgba(98, 174, 178, .2) !important; /* Arduino Light Teal */
670+
background: rgb(187 185 10 / 20%) !important; /* Arduino Light Teal */
657671
-webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
658672
-moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
659673
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
@@ -715,6 +729,7 @@ ul.side-nav li.side-menu-end {
715729

716730
/* Blockly scrollbars */
717731
.blocklyScrollbarKnob {
732+
fill: #FFFF00;
718733
fill: #00878F !important;
719734
fill-opacity: 0.7 !important;
720735
}
@@ -758,6 +773,8 @@ ul.side-nav li.side-menu-end {
758773
/* Maximize horizontal space for mobile */
759774
@media only screen and (min-width: 0px) and (max-width: 600px) {
760775
body {
776+
background-color: #000000;
777+
color: #FFFF00;
761778
padding-top: 0px;
762779
}
763780
/* Expand to all visible horizontal space */
@@ -793,15 +810,19 @@ ul.side-nav {
793810
box-shadow: none !important;
794811
}
795812
ul.side-nav li {
796-
background-color: #eeeeee;
813+
background-color: #000000;
814+
/* color: #FFFF00; */
815+
background-color: #eeeeee;
797816
}
798817
ul.side-nav li {
799-
background-color: #eeeeee;
800-
box-sizing: border-box;
801-
-moz-box-sizing: border-box;
802-
-webkit-box-sizing: border-box;
803-
border-right: 2px solid #dddddd;
804-
border-left: 2px solid #ffffff;
818+
background-color: #000000;
819+
/* color: black; */
820+
background-color: #eeeeee;
821+
box-sizing: border-box;
822+
-moz-box-sizing: border-box;
823+
-webkit-box-sizing: border-box;
824+
border-right: 2px solid #dddddd;
825+
border-left: 2px solid #ffffff;
805826
}
806827
ul.side-nav li ul li ul {
807828
cursor: pointer;

ardublockly/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta name="theme-color" content="#00878F">
77
<link rel="icon" href="img/favicon.ico">
88
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
9-
<title class="translatable_title">Space Robots</title>
9+
<title class="translatable_title">Friend Blockly</title>
1010

1111
<!-- Materialize, Prettify, and Ardublockly CSS -->
1212
<link rel="stylesheet" href="materialize/materialize.css" media="screen,projection">

start.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ def main():
174174
ardublockly_root_dir)
175175

176176
print('\n======= Starting Server =======')
177-
if launch_browser:
178-
open_browser(ip=SERVER_IP, port=SERVER_PORT)
177+
# if launch_browser:
178+
# open_browser(ip=SERVER_IP, port=SERVER_PORT)
179179

180180
ardublocklyserver.server.launch_server(
181181
ip=SERVER_IP, port=SERVER_PORT, document_root_=server_root)

0 commit comments

Comments
 (0)