pxt-calliope/theme/style.less

136 lines
2.9 KiB
Plaintext
Raw Normal View History

/* Import all components */
2017-01-29 06:55:48 +01:00
@import 'pxtsemantic';
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
*******************************/
.ui.button.download-button {
2017-04-07 01:58:47 +02:00
&:extend(.ui.purple.button all);
2016-12-02 03:35:10 +01:00
}
.ui.button.download-button:hover {
2017-04-07 01:58:47 +02:00
&:extend(.ui.green.button all);
2016-12-02 03:35:10 +01:00
color: black !important;
}
2017-04-07 01:58:47 +02:00
.ui.button.play-button.play-button-full {
2016-12-02 06:58:16 +01:00
&:extend(.ui.inverted.button all);
}
.ui.button.getting-started-btn {
2017-04-07 01:58:47 +02:00
&:extend(.ui.orange.button all);
2016-12-02 03:35:10 +01:00
}
2017-01-12 19:45:39 +01:00
.ui.button.editortools-btn {
2017-04-07 01:58:47 +02:00
&:extend(.ui.blue.button all);
2017-01-12 19:45:39 +01:00
}
#filelist, #editortools {
2016-12-02 03:35:10 +01:00
background: #fff url(https://az742082.vo.msecnd.net/pub/psopafpj) 0 0 repeat !important;
}
2017-01-12 19:45:39 +01:00
#downloadArea {
background: transparent !important;
}
2016-12-02 03:35:10 +01:00
/*******************************
Blockly
*******************************/
div.blocklyTreeRow {
2017-03-30 07:57:50 +02:00
box-shadow: inset 0 -1px 0 0 #ecf0f1;
2017-03-29 20:32:28 +02:00
margin-bottom: 0px !important;
2017-01-04 19:06:47 +01:00
-webkit-transition-property: background-color; /* Safari */
-webkit-transition-duration: 1s; /* Safari */
transition-property: background-color;
transition-duration: 1s;
2016-12-02 03:35:10 +01:00
}
/* Blockly toolbox font size same as the page font */
span.blocklyTreeLabel {
2016-12-02 03:35:10 +01:00
font-family: @pageFont !important;
font-weight: 200;
}
2016-12-06 04:01:14 +01:00
.blocklyToolboxDiv, .monacoToolboxDiv {
background-color: white !important;
border-left: 1px solid #ecf0f1 !important;
2017-02-28 10:16:10 +01:00
box-shadow: 4px 0px 2px -4px rgba(0,0,0,0.12), 4px 0px 2px -4px rgba(0,0,0,0.24);
2016-12-02 03:35:10 +01:00
}
.blocklyFlyoutBackground {
2016-12-10 18:52:08 +01:00
fill: #525A67 !important;
2016-12-02 03:35:10 +01:00
}
/* Remove shadow around blockly blocks */
.blocklyPathDark, .blocklyPathLight {
display: none;
}
.organization {
top: 1.6em;
}
/* Blockly Field: Grid picker */
.blocklyGridPickerTooltip {
padding: 3px 5px;
background-color: #fefefe;
border: black solid 3px;
color: black;
border-radius: 10px;
}
2016-12-02 07:05:37 +01:00
/*******************************
Monaco
*******************************/
.monaco-editor, .monaco-editor .inputarea {
background: #ecf0f1;
}
2016-12-10 18:34:11 +01:00
.monacoDraggableBlock {
background: #ecf0f1;
border: solid 3px #ecf0f1;
}
2016-12-02 07:05:37 +01:00
.monaco-editor-background {
background: #ecf0f1;
}
.monacoFlyout {
2016-12-10 20:52:02 +01:00
background: rgba(82, 90, 103, 0.5);
}
2016-12-02 07:05:37 +01:00
2016-12-02 03:35:10 +01:00
/* Mobile */
@media only screen and (max-width: @largestMobileScreen) {
2016-12-02 03:35:10 +01:00
#filelist {
background: transparent !important;
}
}
/* Tablet */
@media only screen and (min-width: @tabletBreakpoint) and (max-width: @largestTabletScreen) {
#filelist {
background: transparent !important;
}
2016-12-02 03:35:10 +01:00
}
/* Small Monitor */
@media only screen and (min-width: @computerBreakpoint) and (max-width: @largestSmallMonitor) {
2016-12-02 03:35:10 +01:00
}
/* Large Monitor */
@media only screen and (min-width: @largeMonitorBreakpoint) {
2016-12-02 03:35:10 +01:00
}