pxt-ev3/theme/style.less

108 lines
2.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
*******************************/
2017-07-07 17:16:01 +02:00
/* Roboto font */
@RobotoFont: data-uri("../docs/static/fonts/Roboto_400_normal.woff");
@font-face {
font-family: 'Roboto';
src: @RobotoFont format("woff");
}
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
2017-06-29 16:47:26 +02:00
.sandboxfooter a:not(.thin) {
color:white !important;
}
/* 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) {
2017-12-18 22:04:17 +01:00
#filelist, #downloadArea {
border-top: 2px solid #ECF6FF;
}
2017-06-29 16:47:26 +02:00
}
/* Large Monitor */
@media only screen and (min-width: @largeMonitorBreakpoint) {
2017-12-18 22:04:17 +01:00
#filelist, #downloadArea {
border-top: 2px solid #ECF6FF;
}
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;
}
}