pxt-calliope/theme/style.less

119 lines
2.3 KiB
Plaintext
Raw Normal View History

/* 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 {
&:extend(.ui.inverted.button all);
&:extend(.purple all);
}
.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 {
border-bottom: 1px solid #ecf0f1;
margin-bottom: 0px;
}
/* Blockly toolbox font size same as the page font */
.blocklyTreeLabel {
font-family: @pageFont !important;
font-weight: 200;
}
.blocklyToolboxDiv {
background-color: white !important;
2016-12-02 03:35:10 +01:00
}
.blocklyFlyoutBackground {
fill: #525A67;
}
/* Remove shadow around blockly blocks */
.blocklyPathDark, .blocklyPathLight {
display: none;
}
.organization {
top: 1.6em;
}
2016-12-02 07:05:37 +01:00
/*******************************
Monaco
*******************************/
.monaco-editor, .monaco-editor .inputarea {
background: #ecf0f1;
}
.monaco-editor-background {
background: #ecf0f1;
}
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;
}
}
/* Small Monitor */
@media only screen and (min-width: @computerBreakpoint) and (max-width: @largestSmallMonitor) {
.organization {
top: auto;
}
}
/* Large Monitor */
@media only screen and (min-width: @largeMonitorBreakpoint) {
.blocklyTreeRow {
width: 230px;
padding-left: 1rem;
}
}