2016-10-21 01:40:39 +02:00
|
|
|
/* Import all components */
|
2019-12-02 05:58:26 +01:00
|
|
|
@import 'pxtsemantic';
|
2016-11-02 01:49:39 +01:00
|
|
|
@import 'pxt';
|
2019-12-02 05:58:26 +01:00
|
|
|
@import 'blockly-toolbox';
|
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';
|
|
|
|
|
|
|
|
/* 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
|
|
|
|
2019-12-02 05:58:26 +01:00
|
|
|
/* Roboto font */
|
2020-02-15 22:16:34 +01:00
|
|
|
@RobotoMonoFont: data-uri("../docs/static/fonts/roboto-mono-v7-latin-regular.woff");
|
2016-10-28 01:15:44 +02:00
|
|
|
|
2020-02-14 02:24:42 +01:00
|
|
|
/* roboto-mono-regular - latin */
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Roboto Mono';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
2020-02-15 22:16:34 +01:00
|
|
|
src: @RobotoMonoFont format('woff');
|
2020-02-14 02:24:42 +01:00
|
|
|
}
|
2019-12-02 05:58:26 +01:00
|
|
|
.ui.button.download-button {
|
|
|
|
&:extend(.ui.purple.button all);
|
|
|
|
}
|
2017-01-20 06:08:14 +01:00
|
|
|
|
2019-12-02 05:58:26 +01:00
|
|
|
.ui.button.download-button:hover {
|
|
|
|
background-color: #30a7a7;
|
|
|
|
color: white;
|
2016-10-28 01:15:44 +02:00
|
|
|
}
|
|
|
|
|
2019-12-02 05:58:26 +01:00
|
|
|
.docs.inlinebutton.ui.button.download-button:hover {
|
|
|
|
&:extend(.ui.purple.button all);
|
2016-10-28 01:15:44 +02:00
|
|
|
}
|
|
|
|
|
2019-12-02 05:58:26 +01:00
|
|
|
.ui.button.play-button.play-button-full {
|
|
|
|
&:extend(.ui.inverted.button all);
|
2016-10-28 01:15:44 +02:00
|
|
|
}
|
|
|
|
|
2019-12-02 05:58:26 +01:00
|
|
|
.ui.button.getting-started-btn {
|
|
|
|
&:extend(.ui.orange.button all);
|
2016-11-16 07:35:02 +01:00
|
|
|
}
|
|
|
|
|
2019-12-02 05:58:26 +01:00
|
|
|
.ui.button.editortools-btn {
|
|
|
|
&:extend(.ui.blue.button all);
|
2016-10-28 01:15:44 +02:00
|
|
|
}
|
|
|
|
|
2019-12-02 05:58:26 +01:00
|
|
|
.ui.button.exit-tutorial-btn {
|
|
|
|
&:extend(.ui.blue.button all);
|
2016-12-02 08:46:53 +01:00
|
|
|
}
|
2016-10-28 03:43:09 +02:00
|
|
|
|
2020-02-15 22:16:34 +01:00
|
|
|
#filelist, #editortools, .fullscreensim #boardview {
|
2019-12-02 05:58:26 +01:00
|
|
|
background: #fff data-uri("../docs/static/logo_texture.png") 0 0 repeat !important;
|
|
|
|
}
|
2020-02-15 22:16:34 +01:00
|
|
|
.fullscreensim #mainmenu {
|
|
|
|
background: #1b1c1d !important;
|
|
|
|
}
|
2019-12-02 05:58:26 +01:00
|
|
|
|
|
|
|
#downloadArea {
|
|
|
|
background: transparent !important;
|
2016-10-28 01:15:44 +02:00
|
|
|
}
|
|
|
|
|
2019-12-02 05:58:26 +01:00
|
|
|
.ui.home {
|
|
|
|
.getting-started-segment {
|
|
|
|
background-position: 50% 25%;
|
|
|
|
}
|
|
|
|
}
|
2017-12-14 20:21:55 +01:00
|
|
|
|
2020-09-15 18:10:07 +02:00
|
|
|
.ui.searchdialog .ui.card .ui.cardimage.upload {
|
|
|
|
margin: auto;
|
|
|
|
padding: 25% 0;
|
2022-09-08 01:30:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// Safari Only for iPad and iPhone
|
|
|
|
@media not all and (min-resolution:.001dpcm) {
|
|
|
|
@supports (-webkit-appearance:none) {
|
|
|
|
#mainmenu .right.menu {
|
|
|
|
margin-right: 4rem;
|
|
|
|
}
|
|
|
|
}
|
2023-01-11 18:51:27 +01:00
|
|
|
}
|
|
|
|
// Safari Only for iPad and iPhone second rule
|
|
|
|
@supports (-webkit-touch-callout: none) {
|
|
|
|
#mainmenu .right.menu {
|
|
|
|
margin-right: 4rem;
|
|
|
|
}
|
2020-09-15 18:10:07 +02:00
|
|
|
}
|
|
|
|
|
2017-12-14 20:21:55 +01:00
|
|
|
/* Mobile */
|
|
|
|
@media only screen and (max-width: @largestMobileScreen) {
|
|
|
|
#filelist {
|
|
|
|
background: transparent !important;
|
|
|
|
}
|
2019-12-02 05:58:26 +01:00
|
|
|
#blocklySearchArea {
|
|
|
|
display: none !important;
|
|
|
|
}
|
2017-12-14 20:21:55 +01:00
|
|
|
}
|
|
|
|
|
2016-10-28 03:43:09 +02:00
|
|
|
/* Tablet */
|
2016-12-31 11:15:21 +01:00
|
|
|
@media only screen and (min-width: @tabletBreakpoint) and (max-width: @largestTabletScreen) {
|
2017-12-14 20:21:55 +01:00
|
|
|
#filelist {
|
|
|
|
background: transparent !important;
|
|
|
|
}
|
2016-10-28 03:43:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Small Monitor */
|
2016-12-31 11:15:21 +01:00
|
|
|
@media only screen and (min-width: @computerBreakpoint) and (max-width: @largestSmallMonitor) {
|
2016-10-28 03:43:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Large Monitor */
|
2016-12-31 11:15:21 +01:00
|
|
|
@media only screen and (min-width: @largeMonitorBreakpoint) {
|
2016-10-28 03:43:09 +02:00
|
|
|
}
|
2019-12-02 05:58:26 +01:00
|
|
|
|
2022-03-22 17:36:19 +01:00
|
|
|
|
2019-12-02 05:58:26 +01:00
|
|
|
/* Download dialog */
|
|
|
|
.ui.downloaddialog.modal>.content {
|
|
|
|
padding: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui.webusbpair, .ui.upload {
|
|
|
|
.firmware {
|
|
|
|
background-color: #FFFFCE;
|
|
|
|
div.image {
|
|
|
|
justify-content: center;
|
|
|
|
display: flex;
|
|
|
|
padding: 1rem;
|
2022-03-22 17:36:19 +01:00
|
|
|
|
2019-12-02 05:58:26 +01:00
|
|
|
img {
|
2022-03-22 17:36:19 +01:00
|
|
|
height:100px;
|
2019-12-02 05:58:26 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.instructions {
|
|
|
|
img {
|
2022-03-22 17:36:19 +01:00
|
|
|
margin-bottom:1rem;
|
2019-12-02 05:58:26 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|