Compare commits

...

28 Commits

Author SHA1 Message Date
89ceeefc32 0.5.52 2016-10-30 22:23:02 -07:00
91235d2377 Bump pxt-core to 0.5.29 2016-10-30 22:23:00 -07:00
a805d7b8a8 updated ref version 2016-10-28 16:44:22 -07:00
89fdbcdc4f 0.5.51 2016-10-28 16:14:51 -07:00
92d1d2ffc3 Merge branch 'master' of https://github.com/Microsoft/pxt-calliope 2016-10-28 14:08:22 -07:00
82c9af836f bumped to 0.5.50 2016-10-28 14:08:14 -07:00
da90401fe6 0.5.50 2016-10-28 14:05:33 -07:00
315a12dd8b Bump pxt-core to 0.5.28 2016-10-28 14:05:32 -07:00
72ec2d617e 0.5.49 2016-10-28 13:53:46 -07:00
4d9ae63831 Bump pxt-core to 0.5.27 2016-10-28 13:53:41 -07:00
3eab21cff1 udpated icons 2016-10-28 13:52:17 -07:00
5a37385d14 0.5.48 2016-10-28 13:31:48 -07:00
9fa412ff6f Bump pxt-core to 0.5.26 2016-10-28 13:31:43 -07:00
3f7fbb70ba Removing blockly trash icon 2016-10-28 11:27:26 -07:00
20189a709b Using Google font: Roboto 2016-10-28 11:15:19 -07:00
111b321722 0.5.47 2016-10-28 10:41:47 -07:00
b8fe8f9294 Bump pxt-core to 0.5.24 2016-10-28 10:41:45 -07:00
7b478c4c38 update ref version 2016-10-28 17:47:48 +02:00
a68e1a611d 0.5.46 2016-10-28 17:47:33 +02:00
b3b2944b46 add dnd picture 2016-10-28 17:39:57 +02:00
c809ee4fdf 0.5.45 2016-10-28 00:36:26 -07:00
8e67e69602 Bump pxt-core to 0.5.23 2016-10-28 00:36:23 -07:00
0b508e37b1 0.5.44 2016-10-27 23:21:21 -07:00
e1a3aca9f8 Removing blockly custom media folder 2016-10-27 23:21:05 -07:00
bbe93ae9a2 UI changes: fixing mobile view. 2016-10-27 18:43:09 -07:00
6fd18b4f4c 0.5.43 2016-10-27 16:20:39 -07:00
b511537348 Bump pxt-core to 0.5.21 2016-10-27 16:20:37 -07:00
749ba6b984 UI changes to match the calliope design. 2016-10-27 16:15:44 -07:00
22 changed files with 169 additions and 31 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -1,3 +1,3 @@
{ {
"appref": "v0.5.37" "appref": "v0.5.51"
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 50 KiB

View File

@ -4,7 +4,7 @@
/** /**
* Provides access to basic micro:bit functionality. * Provides access to basic micro:bit functionality.
*/ */
//% color=#0078D7 weight=100 //% color=#54C9C9 weight=100
namespace basic { namespace basic {
/** /**
* Sets the color on the build-in LED. Set to 0 to turn off. * Sets the color on the build-in LED. Set to 0 to turn off.

View File

@ -34,7 +34,7 @@ enum Colors {
/** /**
* Provides access to basic micro:bit functionality. * Provides access to basic micro:bit functionality.
*/ */
//% color=#0078D7 weight=100 //% color=#54C9C9 weight=100
namespace basic { namespace basic {
/** /**
* Converts the color name to a number * Converts the color name to a number

View File

@ -1,7 +1,7 @@
/** /**
* Runtime and event utilities. * Runtime and event utilities.
*/ */
//% weight=1 color="#333333" //% weight=1 color="#42495F"
//% advanced=true //% advanced=true
namespace control { namespace control {

View File

@ -108,7 +108,7 @@ enum class Gesture {
SixG = MICROBIT_ACCELEROMETER_EVT_6G SixG = MICROBIT_ACCELEROMETER_EVT_6G
}; };
//% color=300 weight=99 //% color=#C90072 weight=99
namespace input { namespace input {
/** /**
* Do something when a button (``A``, ``B`` or both ``A+B``) is pressed * Do something when a button (``A``, ``B`` or both ``A+B``) is pressed

View File

@ -1,7 +1,7 @@
/** /**
* Events and data from sensors * Events and data from sensors
*/ */
//% color=#B4009E weight=99 //% color=#C90072 weight=99
namespace input { namespace input {
/** /**
* Attaches code to run when the screen is facing up. * Attaches code to run when the screen is facing up.

View File

@ -8,7 +8,7 @@ enum class DisplayMode_ {
// TODO DISPLAY_MODE_BLACK_AND_WHITE_LIGHT_SENSE // TODO DISPLAY_MODE_BLACK_AND_WHITE_LIGHT_SENSE
}; };
//% color=3 weight=35 //% color=#8169E6 weight=35
namespace led { namespace led {
/** /**

View File

@ -1,7 +1,7 @@
/** /**
* Control of the LED screen. * Control of the LED screen.
*/ */
//% color=#5C2D91 weight=97 //% color=#8169E6 weight=97
namespace led { namespace led {
// what's the current high value // what's the current high value

View File

@ -3,7 +3,7 @@
/** /**
* Blocks to control the onboard motors * Blocks to control the onboard motors
*/ */
//% weight=30 //% color=#008272 weight=30
namespace motors { namespace motors {
/** /**
* Controls the power sent to a single motor * Controls the power sent to a single motor

View File

@ -125,7 +125,7 @@ enum BeatFraction {
/** /**
* Generation of music tones through pin ``P0``. * Generation of music tones through pin ``P0``.
*/ */
//% color=#D83B01 weight=98 //% color=#DF4600 weight=98
namespace music { namespace music {
let beatsPerMinute: number = 120; let beatsPerMinute: number = 120;

View File

@ -126,7 +126,7 @@ declare interface Image {
/** /**
* Provides access to basic micro:bit functionality. * Provides access to basic micro:bit functionality.
*/ */
//% color=#0078D7 weight=100 //% color=#54C9C9 weight=100
declare namespace basic { declare namespace basic {
/** /**
@ -218,7 +218,7 @@ declare namespace basic {
//% color=300 weight=99 //% color=#C90072 weight=99
declare namespace input { declare namespace input {
/** /**
@ -432,7 +432,7 @@ declare namespace control {
//% color=3 weight=35 //% color=#8169E6 weight=35
declare namespace led { declare namespace led {
/** /**
@ -513,7 +513,7 @@ declare namespace led {
/** /**
* Blocks to control the onboard motors * Blocks to control the onboard motors
*/ */
//% weight=30 //% color=#008272 weight=30
declare namespace motors { declare namespace motors {
/** /**

View File

@ -1,6 +1,6 @@
{ {
"name": "pxt-calliope", "name": "pxt-calliope",
"version": "0.5.42", "version": "0.5.52",
"description": "calliope target for PXT", "description": "calliope target for PXT",
"keywords": [ "keywords": [
"JavaScript", "JavaScript",
@ -30,7 +30,7 @@
"typescript": "^1.8.7" "typescript": "^1.8.7"
}, },
"dependencies": { "dependencies": {
"pxt-core": "0.5.18", "pxt-core": "0.5.29",
"less": "^2.6.0", "less": "^2.6.0",
"semantic-ui-less": "^2.2.4" "semantic-ui-less": "^2.2.4"
} }

View File

@ -219,8 +219,6 @@
}, },
"appTheme": { "appTheme": {
"accentColor": "#249899", "accentColor": "#249899",
"downloadClass": "orange",
"invertedMenu": true,
"defaultLocale": "de", "defaultLocale": "de",
"logoUrl": "https://calliope.cc/about", "logoUrl": "https://calliope.cc/about",
"logo": "./static/Calliopeminieditor.svg", "logo": "./static/Calliopeminieditor.svg",
@ -350,6 +348,9 @@
"browser": "*", "browser": "*",
"path": "/static/mb/device/usb-windows-sendto.jpg" "path": "/static/mb/device/usb-windows-sendto.jpg"
} }
] ],
"invertedMenu": true,
"invertedToolbox": true,
"blocklyOptions": { }
} }
} }

View File

@ -1,3 +1,13 @@
/******************************* /*******************************
User Variable Overrides User Variable Overrides
*******************************/ *******************************/
@invertedBackground: #525A67;
@dropdownMenuDistance: 0px;
/*******************************
PXT Theme Overrides
*******************************/
@mainMenuHeight: 5rem;
@mainMenuMinHeight: (@itemVerticalPadding * 2) + 2em;

View File

@ -1,3 +1,15 @@
/******************************* /*******************************
Site Overrides Site Overrides
*******************************/ *******************************/
.ui.inverted.input input {
background:#424852;
border-radius: 20px;
border: 0px !important;
padding: 0.2em !important;
padding-left: 0.6em !important;
}
.rtl .ui.inverted.input input {
padding-right: 0.6em !important;
}

View File

@ -1,5 +1,3 @@
/******************************* /*******************************
Site Overrides Site Overrides
*******************************/ *******************************/
@importGoogleFonts: false;

View File

@ -1,19 +1,38 @@
/******************************* /*******************************
User Global Variables User Global Variables
*******************************/ *******************************/
@importGoogleFonts: false;
@importGoogleFonts: true;
@fontName : 'Roboto Mono';
@emSize : 14px;
@fontSize : 13px;
/*-------------------
Site Colors
--------------------*/
@primaryColor: #3CB5B5; @primaryColor: #3CB5B5;
@secondaryColor: #43C9C9; @secondaryColor: #43C9C9;
@red:#E81123; @red:#E81123;
@orange:#D78C01; @orange:#DF4600;
@yellow:#EEDA47; @yellow:#F4C918;
@green:#3FC863; @green:#3FC863;
@teal:#008272; @teal:#008272;
@blue:#0078D7; @blue:#54C9C9;
@violet:#CF0071; @violet:#C90072;
@purple:#8073E5; @purple:#8169E6;
@pink:#E2008C; @pink:#E2008C;
@brown:#6B5B4C; @brown:#6B5B4C;
@grey:#515B67; @grey:#42495F;
@pageBackground : #FDFDFA;
/*******************************
PXT Overrides
*******************************/
@blocklyToolboxColor: #F6F4E6;

View File

@ -1,2 +1,103 @@
/* Import all components */ /* Import all components */
@import 'semantic'; @import 'semantic';
@import 'themes/default/globals/site.variables';
@import 'themes/pxt/globals/site.variables';
@import 'site/globals/site.variables';
/* Reference import */
@import (reference) "semantic.less";
.openproject {
background: #4ECC60 !important;
}
.blocks-menuitem, .javascript-menuitem {
background: #738791 !important;
}
.help-dropdown-menuitem, .more-dropdown-menuitem {
background: #424955 !important;
margin-right:0px !important;
}
.play-button {
&:extend(.ui all);
&:extend(.button all);
&:extend(.blue all);
}
.download-button {
&:extend(.ui all);
&:extend(.button all);
&:extend(.yellow all);
}
/*******************************
Blockly
*******************************/
.blocklyTreeRow {
border-radius:5px;
}
/* This removes any padding at the top of the toolbox */
.blocklyTreeRoot {
padding: 0px !important;
}
/* Blockly Text */
.blocklyTreeLabel {
font-family: @pageFont !important;
}
.blocklyTreeLabel {
font-size:1rem !important;
}
.blocklyFlyoutBackground {
fill: @grey;
}
.blocklyToolboxDiv {
/*left:30px !important;*/
padding:7px;
}
/* Mobile */
@media only screen and (max-width: @largestMobileScreen) {
.blocklyTreeLabel {
font-size: 0.5rem !important;
}
}
/* Tablet */
@media only screen and (min-width: @tabletBreakpoint) and (max-width: @largestTabletScreen) {
}
/* Small Monitor */
@media only screen and (min-width: @computerBreakpoint) and (max-width: @largestSmallMonitor) {
.blocklyTreeRow {
width: 230px;
}
}
/* Large Monitor */
@media only screen and (min-width: @largeMonitorBreakpoint) {
.blocklyTreeRow {
width: 230px;
}
}
/*******************************
Menu Bar
*******************************/
#menubar {
height: 5rem;
}
#fileNameInput {
width: 350px;
}

View File

@ -91,7 +91,4 @@
@fontPath : 'fonts'; @fontPath : 'fonts';
@headerFont : 'Segoe UI', 'Helvetica Neue', Arial, Helvetica, sans-serif;
@pageFont : 'Segoe UI', 'Helvetica Neue', Arial, Helvetica, sans-serif;
/* End Config */ /* End Config */