2016-10-21 01:40:39 +02:00
|
|
|
/* Import all components */
|
|
|
|
@import 'semantic';
|
2016-11-02 01:49:39 +01:00
|
|
|
@import 'pxt';
|
2016-10-28 01:15:44 +02:00
|
|
|
@import 'themes/default/globals/site.variables';
|
|
|
|
@import 'themes/pxt/globals/site.variables';
|
|
|
|
@import 'site/globals/site.variables';
|
2016-11-10 19:10:03 +01:00
|
|
|
@import 'themes/default/collections/menu.variables';
|
2016-10-28 01:15:44 +02:00
|
|
|
|
|
|
|
/* Reference import */
|
|
|
|
@import (reference) "semantic.less";
|
|
|
|
|
2016-10-28 01:12:53 +02:00
|
|
|
/*******************************
|
|
|
|
Add your custom CSS here
|
|
|
|
*******************************/
|
2016-10-28 01:15:44 +02:00
|
|
|
.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);
|
|
|
|
}
|
|
|
|
|
2016-11-16 07:35:02 +01:00
|
|
|
#filelist .menu {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2016-10-28 20:15:19 +02:00
|
|
|
/*******************************
|
|
|
|
Blockly
|
|
|
|
*******************************/
|
2016-10-28 03:43:09 +02:00
|
|
|
|
2016-10-28 01:15:44 +02:00
|
|
|
.blocklyTreeRow {
|
|
|
|
border-radius:5px;
|
|
|
|
}
|
|
|
|
|
2016-11-17 06:17:00 +01:00
|
|
|
/* Specifying top and bottom rounded toolbox borders. */
|
|
|
|
.blocklyTreeRow.blocklyTreeRowTop {
|
|
|
|
border-top-left-radius: 10px;
|
|
|
|
border-top-right-radius: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.blocklyTreeRow.blocklyTreeRowBottom {
|
|
|
|
border-bottom-left-radius: 10px;
|
|
|
|
border-bottom-right-radius: 10px;
|
|
|
|
}
|
|
|
|
|
2016-11-10 19:10:03 +01:00
|
|
|
.blocklyTreeRow:hover {
|
|
|
|
background: @invertedBackground !important;
|
|
|
|
}
|
|
|
|
|
2016-10-28 01:15:44 +02:00
|
|
|
/* This removes any padding at the top of the toolbox */
|
|
|
|
.blocklyTreeRoot {
|
|
|
|
padding: 0px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Blockly Text */
|
|
|
|
.blocklyTreeLabel {
|
2016-10-28 20:15:19 +02:00
|
|
|
font-family: @pageFont !important;
|
2016-10-28 01:15:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.blocklyTreeLabel {
|
|
|
|
font-size:1rem !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.blocklyFlyoutBackground {
|
2016-10-28 03:43:09 +02:00
|
|
|
fill: @grey;
|
2016-10-28 01:15:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.blocklyToolboxDiv {
|
|
|
|
/*left:30px !important;*/
|
|
|
|
padding:7px;
|
|
|
|
}
|
|
|
|
|
2016-12-07 00:29:53 +01:00
|
|
|
/* Blockly Toolbox Buttons */
|
|
|
|
#blocklyToolboxButtons .blocklyAddPackageButton {
|
|
|
|
background-color: rgba(0, 0, 0, 0.3);
|
|
|
|
color: white;
|
2016-12-02 08:53:38 +01:00
|
|
|
}
|
2016-12-07 00:29:53 +01:00
|
|
|
|
|
|
|
#blocklyToolboxButtons .blocklyUndoButton {
|
2016-12-02 08:53:38 +01:00
|
|
|
background-color: rgba(0, 0, 0, 0.3);
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
2016-12-02 08:46:53 +01:00
|
|
|
.organization {
|
|
|
|
top: 1.6em;
|
|
|
|
}
|
2016-10-28 03:43:09 +02:00
|
|
|
|
|
|
|
/* Mobile */
|
2016-10-28 01:15:44 +02:00
|
|
|
@media only screen and (max-width: @largestMobileScreen) {
|
|
|
|
.blocklyTreeLabel {
|
|
|
|
font-size: 0.5rem !important;
|
|
|
|
}
|
2016-12-02 08:46:53 +01:00
|
|
|
.organization {
|
|
|
|
top: auto;
|
|
|
|
}
|
2016-10-28 01:15:44 +02:00
|
|
|
}
|
|
|
|
|
2016-10-28 03:43:09 +02:00
|
|
|
/* Tablet */
|
|
|
|
@media only screen and (min-width: @tabletBreakpoint) and (max-width: @largestTabletScreen) {
|
2016-12-02 08:46:53 +01:00
|
|
|
.organization {
|
|
|
|
top: auto;
|
|
|
|
}
|
2016-12-07 01:16:50 +01:00
|
|
|
/* Blockly Toolbox buttons */
|
|
|
|
#blocklyToolboxButtons {
|
|
|
|
margin-right: 0.5rem;
|
|
|
|
margin-left: 0.5rem;
|
|
|
|
}
|
2016-10-28 03:43:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Small Monitor */
|
|
|
|
@media only screen and (min-width: @computerBreakpoint) and (max-width: @largestSmallMonitor) {
|
2016-12-02 08:46:53 +01:00
|
|
|
.organization {
|
|
|
|
top: auto;
|
|
|
|
}
|
2016-10-28 03:43:09 +02:00
|
|
|
.blocklyTreeRow {
|
|
|
|
width: 230px;
|
|
|
|
}
|
2016-12-07 00:29:53 +01:00
|
|
|
/* Blockly Toolbox buttons */
|
|
|
|
#blocklyToolboxButtons {
|
|
|
|
margin-right: 1rem;
|
|
|
|
margin-left: 1rem;
|
|
|
|
}
|
2016-10-28 03:43:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Large Monitor */
|
|
|
|
@media only screen and (min-width: @largeMonitorBreakpoint) {
|
|
|
|
.blocklyTreeRow {
|
|
|
|
width: 230px;
|
|
|
|
}
|
2016-12-07 00:29:53 +01:00
|
|
|
/* Blockly Toolbox buttons */
|
|
|
|
#blocklyToolboxButtons {
|
|
|
|
margin-right: 2rem;
|
|
|
|
margin-left: 2rem;
|
|
|
|
}
|
2016-10-28 03:43:09 +02:00
|
|
|
}
|
2016-10-28 01:15:44 +02:00
|
|
|
|
|
|
|
/*******************************
|
|
|
|
Menu Bar
|
|
|
|
*******************************/
|
|
|
|
|
|
|
|
#menubar {
|
|
|
|
height: 5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#fileNameInput {
|
|
|
|
width: 350px;
|
|
|
|
}
|