2016-10-24 14:55:21 -07:00
|
|
|
/* Import all components */
|
2017-01-28 21:55:48 -08:00
|
|
|
@import 'pxtsemantic';
|
2016-11-01 17:48:29 -07:00
|
|
|
@import 'pxt';
|
2016-10-27 16:12:53 -07:00
|
|
|
@import 'themes/default/globals/site.variables';
|
|
|
|
@import 'themes/pxt/globals/site.variables';
|
|
|
|
@import 'site/globals/site.variables';
|
|
|
|
|
|
|
|
/* Reference import */
|
|
|
|
@import (reference) "semantic.less";
|
|
|
|
|
|
|
|
/*******************************
|
|
|
|
Add your custom CSS here
|
|
|
|
*******************************/
|
|
|
|
|
2017-01-07 17:35:54 -08:00
|
|
|
.ui.button.download-button {
|
2016-12-01 18:35:10 -08:00
|
|
|
&:extend(.purple all);
|
|
|
|
}
|
|
|
|
|
2017-01-07 17:35:54 -08:00
|
|
|
.ui.button.download-button:hover {
|
2016-10-27 16:12:53 -07:00
|
|
|
&:extend(.green all);
|
2016-12-01 18:35:10 -08:00
|
|
|
color: black !important;
|
|
|
|
}
|
|
|
|
|
2016-12-01 21:58:16 -08:00
|
|
|
.play-button.play-button-full {
|
|
|
|
&:extend(.ui.inverted.button all);
|
|
|
|
}
|
|
|
|
|
2017-01-07 17:35:54 -08:00
|
|
|
.ui.button.getting-started-btn {
|
2016-12-01 18:35:10 -08:00
|
|
|
&:extend(.orange all);
|
|
|
|
}
|
|
|
|
|
2017-01-12 10:45:39 -08:00
|
|
|
.ui.button.editortools-btn {
|
|
|
|
&:extend(.blue all);
|
|
|
|
}
|
|
|
|
|
2017-01-07 17:35:54 -08:00
|
|
|
#filelist, #editortools {
|
2016-12-01 18:35:10 -08:00
|
|
|
background: #fff url(https://az742082.vo.msecnd.net/pub/psopafpj) 0 0 repeat !important;
|
|
|
|
}
|
|
|
|
|
2017-01-12 10:45:39 -08:00
|
|
|
#downloadArea {
|
|
|
|
background: transparent !important;
|
|
|
|
}
|
|
|
|
|
2016-12-01 18:35:10 -08:00
|
|
|
/*******************************
|
|
|
|
Blockly
|
|
|
|
*******************************/
|
|
|
|
|
2017-01-26 14:47:15 -08:00
|
|
|
div.blocklyTreeRow {
|
2016-12-05 13:43:57 -08:00
|
|
|
border-bottom: 1px solid #ecf0f1 !important;
|
|
|
|
margin-bottom: 0px !important;
|
2017-01-04 10:06:47 -08:00
|
|
|
|
|
|
|
-webkit-transition-property: background-color; /* Safari */
|
|
|
|
-webkit-transition-duration: 1s; /* Safari */
|
|
|
|
transition-property: background-color;
|
|
|
|
transition-duration: 1s;
|
2016-12-01 18:35:10 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Blockly toolbox font size same as the page font */
|
2017-01-26 14:47:15 -08:00
|
|
|
span.blocklyTreeLabel {
|
2016-12-01 18:35:10 -08:00
|
|
|
font-family: @pageFont !important;
|
|
|
|
font-weight: 200;
|
|
|
|
}
|
|
|
|
|
2016-12-05 19:01:14 -08:00
|
|
|
.blocklyToolboxDiv, .monacoToolboxDiv {
|
2016-12-02 18:33:42 -08:00
|
|
|
background-color: white !important;
|
2016-12-05 17:30:04 -08:00
|
|
|
border-left: 1px solid #ecf0f1 !important;
|
2017-02-28 01:16:10 -08:00
|
|
|
box-shadow: 4px 0px 2px -4px rgba(0,0,0,0.12), 4px 0px 2px -4px rgba(0,0,0,0.24);
|
2016-12-01 18:35:10 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.blocklyFlyoutBackground {
|
2016-12-11 06:52:08 +13:00
|
|
|
fill: #525A67 !important;
|
2016-12-01 18:35:10 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Remove shadow around blockly blocks */
|
|
|
|
.blocklyPathDark, .blocklyPathLight {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.organization {
|
|
|
|
top: 1.6em;
|
|
|
|
}
|
|
|
|
|
2016-12-05 21:24:57 -08:00
|
|
|
/* Blockly Toolbox Buttons */
|
2017-01-07 17:35:54 -08:00
|
|
|
.ui.button.blocklyAddPackageButton {
|
|
|
|
&:extend(.pink all);
|
2016-12-05 21:24:57 -08:00
|
|
|
}
|
|
|
|
|
2016-12-01 22:05:37 -08:00
|
|
|
/*******************************
|
|
|
|
Monaco
|
|
|
|
*******************************/
|
|
|
|
|
|
|
|
.monaco-editor, .monaco-editor .inputarea {
|
|
|
|
background: #ecf0f1;
|
|
|
|
}
|
|
|
|
|
2016-12-11 06:34:11 +13:00
|
|
|
.monacoDraggableBlock {
|
|
|
|
background: #ecf0f1;
|
|
|
|
border: solid 3px #ecf0f1;
|
|
|
|
}
|
|
|
|
|
2016-12-01 22:05:37 -08:00
|
|
|
.monaco-editor-background {
|
|
|
|
background: #ecf0f1;
|
|
|
|
}
|
|
|
|
|
2016-12-05 13:43:57 -08:00
|
|
|
.monacoFlyout {
|
2016-12-11 08:52:02 +13:00
|
|
|
background: rgba(82, 90, 103, 0.5);
|
2016-12-05 13:43:57 -08:00
|
|
|
}
|
|
|
|
|
2016-12-01 22:05:37 -08:00
|
|
|
|
2016-12-01 18:35:10 -08:00
|
|
|
/* Mobile */
|
2016-12-31 01:43:45 -08:00
|
|
|
@media only screen and (max-width: @largestMobileScreen) {
|
2016-12-01 18:35:10 -08:00
|
|
|
#filelist {
|
|
|
|
background: transparent !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Tablet */
|
2016-12-31 01:43:45 -08:00
|
|
|
@media only screen and (min-width: @tabletBreakpoint) and (max-width: @largestTabletScreen) {
|
2017-01-07 17:35:54 -08:00
|
|
|
#filelist {
|
|
|
|
background: transparent !important;
|
|
|
|
}
|
2016-12-01 18:35:10 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Small Monitor */
|
2016-12-31 01:43:45 -08:00
|
|
|
@media only screen and (min-width: @computerBreakpoint) and (max-width: @largestSmallMonitor) {
|
2016-12-01 18:35:10 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Large Monitor */
|
2016-12-31 01:43:45 -08:00
|
|
|
@media only screen and (min-width: @largeMonitorBreakpoint) {
|
2016-12-01 18:35:10 -08:00
|
|
|
}
|