2017-06-29 16:47:26 +02:00
|
|
|
/* Import all components */
|
|
|
|
@import 'semantic';
|
|
|
|
@import 'pxt';
|
|
|
|
@import 'themes/default/globals/site.variables';
|
|
|
|
@import 'themes/pxt/globals/site.variables';
|
|
|
|
@import 'site/globals/site.variables';
|
|
|
|
@import 'themes/default/collections/menu.variables';
|
|
|
|
|
|
|
|
@import 'fieldeditors';
|
|
|
|
|
|
|
|
/* Reference import */
|
|
|
|
@import (reference) "semantic.less";
|
|
|
|
|
|
|
|
/*******************************
|
|
|
|
Add your custom CSS here
|
|
|
|
*******************************/
|
|
|
|
|
2017-07-07 17:16:01 +02:00
|
|
|
/* Roboto font */
|
|
|
|
@RobotoFont: data-uri("../docs/static/fonts/Roboto_400_normal.woff");
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Roboto';
|
|
|
|
src: @RobotoFont format("woff");
|
|
|
|
}
|
|
|
|
|
2017-06-29 16:47:26 +02:00
|
|
|
.ui.button.download-button {
|
2017-07-07 17:16:01 +02:00
|
|
|
&:extend(.ui.primary.button all);
|
2017-06-29 16:47:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.ui.button.editortools-btn {
|
|
|
|
&:extend(.ui.blue.button all);
|
|
|
|
}
|
|
|
|
|
|
|
|
.projectname-input {
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.button.getting-started-btn {
|
|
|
|
&:extend(.ui.green.button all);
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.button.exit-tutorial-btn {
|
|
|
|
&:extend(.ui.blue.button all);
|
|
|
|
}
|
|
|
|
|
2017-07-07 17:16:01 +02:00
|
|
|
/* Menu bar colors */
|
|
|
|
#menubar .ui.item {
|
2017-07-07 20:30:52 +02:00
|
|
|
color: @red;
|
2017-07-07 17:16:01 +02:00
|
|
|
}
|
2017-06-29 16:47:26 +02:00
|
|
|
|
2017-07-07 17:16:01 +02:00
|
|
|
/* logo */
|
|
|
|
#logo a.ui.image .ui.logo {
|
|
|
|
min-width: 2.0rem;
|
2017-06-29 16:47:26 +02:00
|
|
|
}
|
|
|
|
|
2017-07-07 17:16:01 +02:00
|
|
|
/* Toolbox padding */
|
|
|
|
.blocklyToolboxDiv, .monacoToolboxDiv {
|
|
|
|
padding: 0.5rem;
|
|
|
|
-webkit-box-shadow: inset 0px 0px 0px 2px rgba(255,255,255,0.31);
|
|
|
|
-moz-box-shadow: inset 0px 0px 0px 2px rgba(255,255,255,0.31);
|
|
|
|
box-shadow: inset 0px 0px 0px 2px rgba(255,255,255,0.31);
|
|
|
|
border-bottom-left-radius: 3px;
|
|
|
|
border-bottom-right-radius: 3px;
|
2017-06-29 16:47:26 +02:00
|
|
|
}
|
2017-07-07 17:16:01 +02:00
|
|
|
|
|
|
|
div.blocklyTreeRow {
|
|
|
|
border-radius: 0px;
|
2017-07-07 20:30:52 +02:00
|
|
|
-webkit-box-shadow: inset 0px 0px 0px 3px rgba(0,0,0,0.1);
|
|
|
|
-moz-box-shadow: inset 0px 0px 0px 3px rgba(0,0,0,0.1);
|
|
|
|
box-shadow: inset 0px 0px 0px 3px rgba(0,0,0,0.1);
|
2017-06-29 16:47:26 +02:00
|
|
|
}
|
|
|
|
|
2017-07-07 17:16:01 +02:00
|
|
|
div.blocklyTreeRoot div div div div div.blocklyTreeRow {
|
|
|
|
padding-top: 0.5rem !important;
|
2017-06-29 16:47:26 +02:00
|
|
|
}
|
|
|
|
|
2017-07-07 17:16:01 +02:00
|
|
|
/* Remove shadow around blockly blocks */
|
|
|
|
.blocklyPathDark, .blocklyPathLight {
|
|
|
|
display: none;
|
2017-06-29 16:47:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Blockly Text */
|
|
|
|
span.blocklyTreeLabel {
|
2017-07-07 17:16:01 +02:00
|
|
|
font-family: @pageFont !important;
|
2017-06-29 16:47:26 +02:00
|
|
|
text-transform: uppercase !important;
|
|
|
|
font-size:1rem !important;
|
2017-07-07 17:16:01 +02:00
|
|
|
font-weight: bold;
|
2017-06-29 16:47:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.blocklyFlyoutBackground {
|
|
|
|
fill: #282828 !important;
|
|
|
|
}
|
|
|
|
.monacoFlyout {
|
|
|
|
background: rgba(40, 40, 40, 0.9);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Editor menu toggle */
|
2017-07-07 17:16:01 +02:00
|
|
|
#menubar .ui.menu .item.editor-menuitem {
|
2017-07-07 20:30:52 +02:00
|
|
|
background: @blue !important;
|
2017-07-07 17:16:01 +02:00
|
|
|
}
|
|
|
|
#menubar .ui.menu .item.editor-menuitem .item {
|
|
|
|
color: white !important;
|
2017-06-29 16:47:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Search box */
|
|
|
|
#blocklySearchArea {
|
|
|
|
margin: 0.5rem;
|
2017-07-07 17:16:01 +02:00
|
|
|
margin-left: 1rem;
|
|
|
|
margin-right: 1rem;
|
2017-06-29 16:47:26 +02:00
|
|
|
}
|
|
|
|
.blocklySearchInputField {
|
2017-07-07 17:16:01 +02:00
|
|
|
border-radius: 1rem !important;
|
2017-06-29 16:47:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.sandboxfooter a:not(.thin) {
|
|
|
|
color:white !important;
|
|
|
|
}
|
|
|
|
|
2017-07-07 17:16:01 +02:00
|
|
|
/* Monaco editor */
|
|
|
|
.monaco-editor, .monaco-editor .inputarea, .monaco-editor-background {
|
|
|
|
background: @blocklySvgColor !important;
|
2017-06-29 16:47:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Mobile */
|
|
|
|
@media only screen and (max-width: @largestMobileScreen) {
|
|
|
|
#filelist {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
div.blocklyTreeRow {
|
|
|
|
padding-bottom: 2rem !important;
|
2017-07-07 17:19:41 +02:00
|
|
|
min-height: @blocklyRowHeightMobile;
|
|
|
|
line-height: @blocklyRowHeightMobile/2;
|
2017-06-29 16:47:26 +02:00
|
|
|
}
|
|
|
|
#blocklyTrashIcon {
|
|
|
|
margin: 0.2rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Tablet */
|
|
|
|
@media only screen and (min-width: @tabletBreakpoint) and (max-width: @largestTabletScreen) {
|
2017-07-07 17:16:01 +02:00
|
|
|
div.blocklyTreeRow {
|
|
|
|
padding-left: 0.5rem !important;
|
2017-07-07 17:19:41 +02:00
|
|
|
min-height: @blocklyRowHeightTablet;
|
|
|
|
line-height: @blocklyRowHeightTablet/2;
|
2017-07-07 17:16:01 +02:00
|
|
|
}
|
2017-06-29 16:47:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Small Monitor */
|
|
|
|
@media only screen and (min-width: @computerBreakpoint) and (max-width: @largestSmallMonitor) {
|
2017-07-07 17:16:01 +02:00
|
|
|
div.blocklyTreeRow {
|
|
|
|
padding-left: 0.5rem !important;
|
2017-07-07 17:19:41 +02:00
|
|
|
min-height: @blocklyRowHeightComputer;
|
|
|
|
line-height: @blocklyRowHeightComputer/2;
|
2017-07-07 17:16:01 +02:00
|
|
|
}
|
2017-06-29 16:47:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Large Monitor */
|
|
|
|
@media only screen and (min-width: @largeMonitorBreakpoint) {
|
2017-07-07 17:16:01 +02:00
|
|
|
div.blocklyTreeRow {
|
|
|
|
padding-left: 0.5rem !important;
|
2017-07-07 17:19:41 +02:00
|
|
|
min-height: @blocklyRowHeightWide;
|
|
|
|
line-height: @blocklyRowHeightWide/2;
|
2017-07-07 17:16:01 +02:00
|
|
|
}
|
2017-06-29 16:47:26 +02:00
|
|
|
}
|
|
|
|
/* Mobile, Tablet AND thin screen */
|
|
|
|
@media only screen and (max-width: @largestTabletScreen) and (max-height: @thinEditorBreakpoint) {
|
|
|
|
.sandboxfooter a:not(.thin) {
|
|
|
|
color: @black !important;
|
|
|
|
}
|
|
|
|
}
|