2017-06-29 16:47:26 +02:00
|
|
|
/* Import all components */
|
2018-04-14 09:55:29 +02:00
|
|
|
@import 'pxtsemantic';
|
2017-06-29 16:47:26 +02:00
|
|
|
@import 'pxt';
|
2018-04-15 19:29:37 +02:00
|
|
|
@import 'blockly-toolbox';
|
2017-06-29 16:47:26 +02:00
|
|
|
@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';
|
2018-03-28 01:30:43 +02:00
|
|
|
@import 'target-home';
|
2017-06-29 16:47:26 +02:00
|
|
|
|
|
|
|
/* Reference import */
|
|
|
|
@import (reference) "semantic.less";
|
|
|
|
|
|
|
|
/*******************************
|
|
|
|
Add your custom CSS here
|
|
|
|
*******************************/
|
|
|
|
|
2018-02-08 18:35:27 +01:00
|
|
|
/* Open Sans font */
|
2017-07-07 17:16:01 +02:00
|
|
|
@font-face {
|
2018-02-08 18:35:27 +01:00
|
|
|
font-family: 'Open Sans';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
|
|
|
src: local('Open Sans Regular'), local('OpenSans-Regular'),
|
|
|
|
data-uri('../docs/static/fonts/Open_Sans/OpenSans-Regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
|
|
|
|
data-uri('../docs/static/fonts/Open_Sans/OpenSans-Regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
2017-07-07 17:16:01 +02:00
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2018-02-12 21:23:25 +01:00
|
|
|
@buttonBackgroundColor: white;
|
|
|
|
@buttonForegroundColor: #5E5E5E;
|
|
|
|
|
|
|
|
.ui.button.editortools-btn, .simtoolbar .ui.button,
|
|
|
|
.ui.button.collapse-button, .ui.button.collapsed-button {
|
|
|
|
background-color: @buttonBackgroundColor;
|
|
|
|
color: @buttonForegroundColor;
|
|
|
|
border: none !important;
|
|
|
|
box-shadow: none !important;
|
|
|
|
}
|
|
|
|
.ui.button.editortools-btn:hover,
|
|
|
|
.ui.button.editortools-btn:focus {
|
|
|
|
color: darken(@buttonForegroundColor, 0.2) !important;
|
2017-06-29 16:47:26 +02:00
|
|
|
}
|
|
|
|
|
2018-02-12 21:23:25 +01:00
|
|
|
.ui.input.projectname-input input {
|
|
|
|
box-shadow: none; border: none !important;
|
2017-06-29 16:47:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.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 */
|
2018-04-05 15:48:27 +02:00
|
|
|
.ui.menu .ui.item {
|
2017-12-15 17:55:21 +01:00
|
|
|
color: #4A4A4A;
|
2017-07-07 17:16:01 +02:00
|
|
|
}
|
2017-10-31 19:27:18 +01:00
|
|
|
.fullscreensim .menubar .ui.menu {
|
2017-07-11 10:15:17 +02:00
|
|
|
box-shadow: none !important;
|
|
|
|
border-bottom: 0 !important;
|
|
|
|
}
|
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
|
|
|
}
|
|
|
|
|
|
|
|
/* Editor menu toggle */
|
2017-10-31 19:27:18 +01:00
|
|
|
.menubar .ui.menu.fixed .item.editor-menuitem .ui.grid {
|
2018-04-05 15:48:27 +02:00
|
|
|
background: fade(@blue, 10%) !important;
|
|
|
|
border: 1px solid #888888;
|
2017-10-03 08:28:44 +02:00
|
|
|
border-radius: 0px !important;
|
2017-08-05 05:54:22 +02:00
|
|
|
}
|
2017-10-31 19:27:18 +01:00
|
|
|
.menubar .ui.menu.fixed .ui.item.editor-menuitem .item {
|
2017-10-03 08:28:44 +02:00
|
|
|
border-radius: 0px !important;
|
2018-04-10 01:26:46 +02:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2017-10-03 08:28:44 +02:00
|
|
|
}
|
2017-10-31 19:27:18 +01:00
|
|
|
.menubar .ui.menu.fixed .ui.item.editor-menuitem .item.active {
|
2018-04-05 15:48:27 +02:00
|
|
|
color: white;
|
2017-10-03 08:28:44 +02:00
|
|
|
}
|
2017-08-05 05:54:22 +02:00
|
|
|
|
2018-02-08 18:35:27 +01:00
|
|
|
.menubar .ui.item.editor-menuitem .item.toggle {
|
|
|
|
height: 45px;
|
|
|
|
}
|
|
|
|
|
2017-06-29 16:47:26 +02:00
|
|
|
.sandboxfooter a:not(.thin) {
|
|
|
|
color:white !important;
|
|
|
|
}
|
|
|
|
|
2018-01-04 19:42:37 +01:00
|
|
|
/* lowercase menu items */
|
|
|
|
.menubar .ui.menu.fixed > .left.menu > .ui.item > .ui.text,
|
|
|
|
.menubar .ui.menu.fixed > .ui.item > span {
|
|
|
|
text-transform: lowercase;
|
|
|
|
}
|
|
|
|
|
2018-02-08 18:35:27 +01:00
|
|
|
#filelist {
|
|
|
|
background: @simulatorBackground data-uri("../docs/static/backgrounds/simulator.png") 0 0 repeat !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#downloadArea {
|
2018-02-12 21:23:25 +01:00
|
|
|
background: @legoGreyLight;
|
2018-02-08 18:35:27 +01:00
|
|
|
}
|
|
|
|
|
2018-04-10 02:20:38 +02:00
|
|
|
/* Editor download dialog */
|
2018-05-07 23:59:29 +02:00
|
|
|
.ui.downloaddialog.modal>.content {
|
|
|
|
padding: 1rem;
|
|
|
|
}
|
|
|
|
.ui.downloaddialog.modal>.actions {
|
|
|
|
background-color: #FAFAFA;
|
2018-04-10 02:20:38 +02:00
|
|
|
}
|
|
|
|
|
2018-04-11 21:22:21 +02:00
|
|
|
/* Tutorial */
|
|
|
|
#tutorialcard .ui.tutorialsegment {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
2017-06-29 16:47:26 +02:00
|
|
|
/* Mobile */
|
|
|
|
@media only screen and (max-width: @largestMobileScreen) {
|
|
|
|
#filelist {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 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) {
|
2018-02-12 21:23:25 +01:00
|
|
|
|
2017-06-29 16:47:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Large Monitor */
|
|
|
|
@media only screen and (min-width: @largeMonitorBreakpoint) {
|
2018-02-12 21:23:25 +01:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/* >= Small Monitor (Small Monitor + Large Monitor + Wide Monitor) */
|
|
|
|
@media only screen and (min-width: @computerBreakpoint) {
|
|
|
|
.fullscreensim #boardview {
|
|
|
|
background: @simulatorBackground data-uri("../docs/static/backgrounds/simulator.png") 0 0 repeat !important;
|
2017-12-18 22:04:17 +01: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;
|
|
|
|
}
|
2018-01-19 06:03:57 +01:00
|
|
|
}
|
|
|
|
|
2018-04-15 19:29:37 +02:00
|
|
|
/*******************************
|
|
|
|
Custom icons
|
|
|
|
*******************************/
|
|
|
|
|
|
|
|
.save-editortools-btn .icon.save:before {
|
|
|
|
font-family: 'legoIcons';
|
|
|
|
content: "\f118";
|
|
|
|
}
|
|
|
|
|
|
|
|
.download-button .icon.download.icon-and-text:before {
|
|
|
|
font-family: 'legoIcons';
|
|
|
|
content: "\f117";
|
|
|
|
}
|
|
|
|
|
|
|
|
.button.approve.positive i.icon.checkmark:before {
|
|
|
|
font-family: 'legoIcons';
|
|
|
|
content: "\f116";
|
|
|
|
}
|
|
|
|
|
|
|
|
.button.approve.cancel i.icon.cancel:before {
|
|
|
|
font-family: 'legoIcons';
|
|
|
|
content: "\f115";
|
|
|
|
}
|
|
|
|
|
|
|
|
.blocks-menuitem i.icon.blocks:before {
|
|
|
|
font-family: 'legoIcons' !important;
|
|
|
|
content: "\f119" !important;
|
|
|
|
}
|