Commit a3b97071 authored by carlosperate's avatar carlosperate

Add new Ardublockly logo.

parent 59f049d5
......@@ -76,11 +76,18 @@ ul.side-nav li.logo {
margin: 0px !important;
padding: 0px 0px !important;
border: none !important;
height: 112px;
background-color: #eeeeee;
height: 145px;
background-color: transparent;
}
ul.side-nav li.logo:hover {
background-color: transparent;
}
ul.side-nav li.side-menu-end {
background-color: #eeeeee;
border-radius: 0px 0px 25px 0px;
border-right: 4px solid #dddddd;
border-bottom: 4px solid #dddddd;
line-height: 25px;
}
/************************************/
......@@ -346,6 +353,7 @@ ul.side-nav li.logo:hover {
display: inline !important;
font-size: 1.2rem !important;
float: right;
padding-top: 3px;
}
.sketch_name {
width: auto !important;
......@@ -550,18 +558,26 @@ ul.side-nav .collapsible {
}
/* Set the background effect in the side menu */
ul.side-nav {
background-color: transparent;
box-shadow: none !important;
}
ul.side-nav li {
background-color: #eeeeee;
}
ul.side-nav li ul{
ul.side-nav li {
background-color: #eeeeee;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
border-right: 3px solid #dddddd;
border-left: 3px solid #ffffff;
border-right: 2px solid #dddddd;
border-left: 2px solid #ffffff;
}
ul.side-nav li ul li{
ul.side-nav li ul li ul {
cursor: pointer;
border: none !important;
}
ul.side-nav li ul li ul li {
border: none !important;
}
/* Add extra margin to the side menu button*/
......
ardublockly/img/ardublockly_splash.png

45.6 KB | W: | H:

ardublockly/img/ardublockly_splash.png

15.6 KB | W: | H:

ardublockly/img/ardublockly_splash.png
ardublockly/img/ardublockly_splash.png
ardublockly/img/ardublockly_splash.png
ardublockly/img/ardublockly_splash.png
  • 2-up
  • Swipe
  • Onion skin
ardublockly/img/sidenav_header.png

17.4 KB | W: | H:

ardublockly/img/sidenav_header.png

14.6 KB | W: | H:

ardublockly/img/sidenav_header.png
ardublockly/img/sidenav_header.png
ardublockly/img/sidenav_header.png
ardublockly/img/sidenav_header.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -62,7 +62,7 @@
<!-- Sketch name editable text field -->
<span class="sketch_name_wrapper">
<i class="mdi-image-edit sketch_name_icon"></i>
<input id="sketch_name" class="sketch_name" type="text" value="Sketch Name">
<input id="sketch_name" class="sketch_name" type="text">
</span>
</a>
<!-- Horizontal Navbar links only shown on large resolutions -->
......@@ -99,6 +99,7 @@
</li>
</ul>
</li>
<li class="no-padding side-menu-end">&nbsp;</li>
</ul>
<!-- Content -->
......
/**
* @license Licensed under the Apache License, Version 2.0 (the "License"):
* http://www.apache.org/licenses/LICENSE-2.0
*
* @fileoverview Blocks use for the Ardublockly logo creation.
* These are not mean to used at all.
*
* Toolbox:
* <sep></sep>
* <category name="Logo">
* <block type="ardublockly_name_top"></block>
* <block type="ardublockly_name_bottom"></block>
* <block type="ardublockly_plus_top_large"></block>
* <block type="ardublockly_plus_top_small"></block>
* <block type="ardublockly_plus_bottom_large"></block>
* <block type="ardublockly_plus_bottom_small"></block>
* <block type="ardublockly_minus_large"></block>
* <block type="ardublockly_minus_small"></block>
* </category>
*/
'use strict';
goog.provide('Blockly.Blocks.Arduino.logo');
goog.require('Blockly.Arduino');
var noCode = function(block) { return ''; };
Blockly.Blocks.Arduino.variables.HUE = 180;
/* Ardublockly block */
Blockly.Blocks['ardublockly_name_top'] = {
init: function() {
this.appendDummyInput()
.appendField("Ardublockly");
this.setPreviousStatement(true);
this.setColour(Blockly.Blocks.Arduino.variables.HUE);
}
};
Blockly.Arduino['ardublockly_name_top'] = noCode;
Blockly.Blocks['ardublockly_name_bottom'] = {
init: function() {
this.appendDummyInput()
.appendField("Ardublockly");
this.setNextStatement(true);
this.setColour(Blockly.Blocks.Arduino.variables.HUE);
this.setTooltip('');
}
};
Blockly.Arduino['ardublockly_name_bottom'] = noCode;
/* Plus block */
Blockly.Blocks['ardublockly_plus_top_large'] = {
init: function() {
this.appendValueInput("NAME")
.appendField(" +");
this.setNextStatement(true);
this.setColour(Blockly.Blocks.Arduino.variables.HUE);
}
};
Blockly.Arduino['ardublockly_plus_top_large'] = noCode;
Blockly.Blocks['ardublockly_plus_top_small'] = {
init: function() {
this.appendValueInput("NAME")
.appendField(" +");
this.setNextStatement(true);
this.setColour(Blockly.Blocks.Arduino.variables.HUE);
}
};
Blockly.Arduino['ardublockly_plus_top_small'] = noCode;
Blockly.Blocks['ardublockly_plus_bottom_large'] = {
init: function() {
this.appendValueInput("NAME")
.appendField(" +");
this.setPreviousStatement(true);
this.setColour(Blockly.Blocks.Arduino.variables.HUE);
}
};
Blockly.Arduino['ardublockly_plus_bottom_large'] = noCode;
Blockly.Blocks['ardublockly_plus_bottom_small'] = {
init: function() {
this.appendValueInput("NAME")
.appendField(" +");
this.setPreviousStatement(true);
this.setColour(Blockly.Blocks.Arduino.variables.HUE);
}
};
Blockly.Arduino['ardublockly_plus_bottom_small'] = noCode;
Blockly.Blocks['ardublockly_plus_both_small'] = {
init: function() {
this.appendValueInput("NAME")
.appendField(" +");
this.setPreviousStatement(true);
this.setNextStatement(true);
this.setColour(Blockly.Blocks.Arduino.variables.HUE);
}
};
Blockly.Arduino['ardublockly_plus_both_small'] = noCode;
Blockly.Blocks['ardublockly_plus_both_large'] = {
init: function() {
this.appendValueInput("NAME")
.appendField(" +");
this.setPreviousStatement(true);
this.setNextStatement(true);
this.setColour(Blockly.Blocks.Arduino.variables.HUE);
}
};
Blockly.Arduino['ardublockly_plus_both_large'] = noCode;
/* Minus block */
Blockly.Blocks['ardublockly_minus_large'] = {
init: function() {
this.appendDummyInput()
.appendField("- ");
this.setInputsInline(false);
this.setOutput(true);
this.setColour(Blockly.Blocks.Arduino.variables.HUE);
}
};
Blockly.Arduino['ardublockly_minus_large'] = noCode;
Blockly.Blocks['ardublockly_minus_small'] = {
init: function() {
this.appendDummyInput()
.appendField("- ");
this.setInputsInline(false);
this.setOutput(true);
this.setColour(Blockly.Blocks.Arduino.variables.HUE);
}
};
Blockly.Arduino['ardublockly_minus_small'] = noCode;
......@@ -98,15 +98,14 @@ function createSplashWindow() {
'ardublockly', 'img', 'ardublockly_splash.png');
var splashWindow = new BrowserWindow({
width: 500,
height: 225,
width: 450,
height: 300,
frame: false,
show: true,
transparent: true,
images: true,
center: true,
'use-content-size': true,
'always-on-top': true,
'use-content-size': true
});
splashWindow.loadUrl(imagePath);
......
package/electron/resources/icon.png

15.5 KB | W: | H:

package/electron/resources/icon.png

35.8 KB | W: | H:

package/electron/resources/icon.png
package/electron/resources/icon.png
package/electron/resources/icon.png
package/electron/resources/icon.png
  • 2-up
  • Swipe
  • Onion skin
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment