2016-10-24 23:55:21 +02:00
|
|
|
/* Import all components */
|
|
|
|
@import 'semantic';
|
2016-11-02 01:48:29 +01:00
|
|
|
@import 'pxt';
|
2016-10-28 01:12:53 +02: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
|
|
|
|
*******************************/
|
|
|
|
|
|
|
|
.download-button {
|
2016-12-02 03:35:10 +01:00
|
|
|
&:extend(.ui.button all);
|
|
|
|
&:extend(.purple all);
|
|
|
|
}
|
|
|
|
|
|
|
|
.download-button.download-button-full {
|
2016-12-06 06:24:57 +01:00
|
|
|
&:extend(.ui.inverted.purple.button all);
|
2016-12-02 03:35:10 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.download-button:hover {
|
2016-10-28 01:12:53 +02:00
|
|
|
&:extend(.green all);
|
2016-12-02 03:35:10 +01:00
|
|
|
color: black !important;
|
|
|
|
}
|
|
|
|
|
2016-12-02 06:58:16 +01:00
|
|
|
.play-button.play-button-full {
|
|
|
|
&:extend(.ui.inverted.button all);
|
|
|
|
}
|
|
|
|
|
2016-12-02 03:35:10 +01:00
|
|
|
.getting-started-btn {
|
|
|
|
&:extend(.ui.button all);
|
|
|
|
&:extend(.orange all);
|
|
|
|
}
|
|
|
|
|
|
|
|
#filelist {
|
|
|
|
background: #fff url(https://az742082.vo.msecnd.net/pub/psopafpj) 0 0 repeat !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*******************************
|
|
|
|
Blockly
|
|
|
|
*******************************/
|
|
|
|
|
|
|
|
.blocklyTreeRow {
|
2016-12-05 22:43:57 +01:00
|
|
|
border-bottom: 1px solid #ecf0f1 !important;
|
|
|
|
margin-bottom: 0px !important;
|
2016-12-02 03:35:10 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Blockly toolbox font size same as the page font */
|
|
|
|
.blocklyTreeLabel {
|
|
|
|
font-family: @pageFont !important;
|
|
|
|
font-weight: 200;
|
|
|
|
}
|
|
|
|
|
2016-12-06 04:01:14 +01:00
|
|
|
.blocklyToolboxDiv, .monacoToolboxDiv {
|
2016-12-03 03:33:42 +01:00
|
|
|
background-color: white !important;
|
2016-12-06 02:30:04 +01:00
|
|
|
border-left: 1px solid #ecf0f1 !important;
|
2016-12-02 03:35:10 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.blocklyFlyoutBackground {
|
2016-12-10 18:52:08 +01:00
|
|
|
fill: #525A67 !important;
|
|
|
|
fill-opacity: 0.5 !important;
|
2016-12-02 03:35:10 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Remove shadow around blockly blocks */
|
|
|
|
.blocklyPathDark, .blocklyPathLight {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.organization {
|
|
|
|
top: 1.6em;
|
|
|
|
}
|
|
|
|
|
2016-12-06 06:24:57 +01:00
|
|
|
/* Blockly Toolbox Buttons */
|
2016-12-06 09:34:42 +01:00
|
|
|
.blocklyToolboxButtons .blocklyAddPackageButton {
|
2016-12-06 06:24:57 +01:00
|
|
|
&:extend(.ui.inverted.pink.button all);
|
|
|
|
&:extend(.circular all);
|
|
|
|
}
|
|
|
|
|
2016-12-06 09:34:42 +01:00
|
|
|
.blocklyToolboxButtons .blocklyUndoButton {
|
2016-12-06 06:24:57 +01:00
|
|
|
&:extend(.ui.inverted.blue.button all);
|
|
|
|
&:extend(.circular all);
|
|
|
|
}
|
|
|
|
|
2016-12-02 07:05:37 +01:00
|
|
|
/*******************************
|
|
|
|
Monaco
|
|
|
|
*******************************/
|
|
|
|
|
|
|
|
.monaco-editor, .monaco-editor .inputarea {
|
|
|
|
background: #ecf0f1;
|
|
|
|
}
|
|
|
|
|
2016-12-10 18:34:11 +01:00
|
|
|
.monacoDraggableBlock {
|
|
|
|
background: #ecf0f1;
|
|
|
|
border: solid 3px #ecf0f1;
|
|
|
|
}
|
|
|
|
|
2016-12-02 07:05:37 +01:00
|
|
|
.monaco-editor-background {
|
|
|
|
background: #ecf0f1;
|
|
|
|
}
|
|
|
|
|
2016-12-05 22:43:57 +01:00
|
|
|
.monacoFlyout {
|
2016-12-10 20:52:02 +01:00
|
|
|
background: rgba(82, 90, 103, 0.5);
|
2016-12-05 22:43:57 +01:00
|
|
|
}
|
|
|
|
|
2016-12-02 07:05:37 +01:00
|
|
|
|
2016-12-02 03:35:10 +01:00
|
|
|
/* Mobile */
|
|
|
|
@media only screen and (max-width: @largestMobileScreen) {
|
|
|
|
#filelist {
|
|
|
|
background: transparent !important;
|
|
|
|
}
|
|
|
|
.organization {
|
|
|
|
top: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Tablet */
|
|
|
|
@media only screen and (min-width: @tabletBreakpoint) and (max-width: @largestTabletScreen) {
|
|
|
|
.organization {
|
|
|
|
top: auto;
|
|
|
|
}
|
2016-12-07 00:06:16 +01:00
|
|
|
/* Blockly Toolbox buttons */
|
2016-12-08 02:03:28 +01:00
|
|
|
#blocklyToolboxButtons, #monacoToolboxButtons {
|
2016-12-07 00:06:16 +01:00
|
|
|
margin-right: 0.5rem;
|
|
|
|
margin-left: 0.5rem;
|
|
|
|
}
|
2016-12-02 03:35:10 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Small Monitor */
|
|
|
|
@media only screen and (min-width: @computerBreakpoint) and (max-width: @largestSmallMonitor) {
|
|
|
|
.organization {
|
|
|
|
top: auto;
|
|
|
|
}
|
2016-12-07 00:06:16 +01:00
|
|
|
/* Blockly Toolbox buttons */
|
2016-12-08 02:03:28 +01:00
|
|
|
#blocklyToolboxButtons, #monacoToolboxButtons {
|
2016-12-07 00:06:16 +01:00
|
|
|
margin-right: 1rem;
|
|
|
|
margin-left: 1rem;
|
|
|
|
}
|
2016-12-02 03:35:10 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Large Monitor */
|
|
|
|
@media only screen and (min-width: @largeMonitorBreakpoint) {
|
|
|
|
.blocklyTreeRow {
|
|
|
|
width: 230px;
|
|
|
|
padding-left: 1rem;
|
|
|
|
}
|
2016-12-07 00:06:16 +01:00
|
|
|
/* Blockly Toolbox buttons */
|
2016-12-08 02:03:28 +01:00
|
|
|
#blocklyToolboxButtons, #monacoToolboxButtons {
|
2016-12-07 00:06:16 +01:00
|
|
|
margin-right: 2rem;
|
|
|
|
margin-left: 2rem;
|
|
|
|
}
|
2016-12-02 03:35:10 +01:00
|
|
|
}
|