pxt-ev3/theme/style.less

143 lines
3.4 KiB
Plaintext
Raw Normal View History

2017-06-29 16:47:26 +02:00
/* 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 */
2017-07-07 17:16:01 +02:00
@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+ */
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
}
.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);
}
2017-07-07 17:16:01 +02:00
/* Menu bar colors */
.menubar .ui.item {
2017-12-15 17:55:21 +01:00
color: #4A4A4A;
2017-07-07 17:16:01 +02: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 */
.menubar .ui.menu.fixed .item.editor-menuitem .ui.grid {
2017-07-07 20:30:52 +02:00
background: @blue !important;
border-radius: 0px !important;
2017-12-15 17:55:21 +01:00
border: 2px solid @blue;
2017-07-07 17:16:01 +02:00
}
.menubar .ui.menu.fixed .ui.item.editor-menuitem .item:not(.active) {
2017-08-05 05:54:22 +02:00
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;
}
2017-08-05 05:54:22 +02: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;
}
#filelist {
background: @simulatorBackground data-uri("../docs/static/backgrounds/simulator.png") 0 0 repeat !important;
}
#downloadArea {
background: white;
}
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) {
#editortools, #downloadArea {
background: #828A95;
2017-12-18 22:04:17 +01:00
}
2017-06-29 16:47:26 +02:00
}
/* Large Monitor */
@media only screen and (min-width: @largeMonitorBreakpoint) {
#editortools, #downloadArea {
background: #828A95;
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
}
/** 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;
}
2017-06-29 16:47:26 +02:00
}