/* Import all components */ @import 'semantic'; @import 'pxt'; @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'; /* Reference import */ @import (reference) "semantic.less"; /******************************* Add your custom CSS here *******************************/ /* Open Sans font */ @font-face { 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+ */ } .ui.button.download-button { &:extend(.ui.primary.button all); } .ui.button.editortools-btn { &:extend(.ui.blue.button all); } .projectname-input { } .ui.button.getting-started-btn { &:extend(.ui.green.button all); } .ui.button.exit-tutorial-btn { &:extend(.ui.blue.button all); } /* Menu bar colors */ .menubar .ui.item { color: #4A4A4A; } .fullscreensim .menubar .ui.menu { box-shadow: none !important; border-bottom: 0 !important; } /* logo */ #logo a.ui.image .ui.logo { min-width: 2.0rem; } /* Editor menu toggle */ .menubar .ui.menu.fixed .item.editor-menuitem .ui.grid { background: @blue !important; border-radius: 0px !important; border: 2px solid @blue; } .menubar .ui.menu.fixed .ui.item.editor-menuitem .item:not(.active) { color: white; } .menubar .ui.menu.fixed .ui.item.editor-menuitem .item { border-radius: 0px !important; } .menubar .ui.menu.fixed .ui.item.editor-menuitem .item.active { color: @blue; } .menubar .ui.item.editor-menuitem .item.toggle { height: 45px; } .sandboxfooter a:not(.thin) { color:white !important; } /* lowercase menu items */ .menubar .ui.menu.fixed > .left.menu > .ui.item > .ui.text, .menubar .ui.menu.fixed > .ui.item > span { text-transform: lowercase; } #filelist { background: @simulatorBackground data-uri("../docs/static/backgrounds/simulator.png") 0 0 repeat !important; } #downloadArea { background: white; } /* 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) { #editortools, #downloadArea { background: #828A95; } } /* Large Monitor */ @media only screen and (min-width: @largeMonitorBreakpoint) { #editortools, #downloadArea { background: #828A95; } } /* Mobile, Tablet AND thin screen */ @media only screen and (max-width: @largestTabletScreen) and (max-height: @thinEditorBreakpoint) { .sandboxfooter a:not(.thin) { color: @black !important; } } /** high contrast **/ .hc { .ui.menu, #downloadArea, .menubar .ui.menu.fixed .ui.item.editor-menuitem .item.active { background-color: black !important; color: white !important; } .ui.red.corner.label { border-color: #d4000d!important; } .menubar .ui.menu.fixed .item.editor-menuitem .ui.grid { border-color: white !important; } }