pxt-ev3/theme/fieldeditors.less

60 lines
1.1 KiB
Plaintext

/*******************************
Field Light
*******************************/
#field-neopixels {
cursor: default;
}
#field-neopixels .neopixel, #field-neopixels .colorbutton {
cursor:pointer;
}
#field-neopixels .neopixel {
stroke: #fff;
stroke-width:2px;
}
#field-neopixels .neopixel:hover {
stroke-width: 4px !important;
stroke:#fc3;
}
#field-neopixels .colorbutton {
stroke:black;
stroke-width: 2px;
stroke-opacity: 1;
}
#field-neopixels .colorbutton:hover {
stroke:#fc3;
stroke-width: 3px;
}
#field-neopixels .colorbutton.active {
stroke:#fc3;
stroke-width: 4px !important;
}
/* Color enum picker */
.blocklyDropDownDiv {
.goog-palette {
margin-bottom: 0px !important;
}
.legoColorPicker {
.goog-palette-colorswatch {
height: 30px;
width: 30px;
border-radius: 100%;
}
.goog-palette-cell-hover .goog-palette-colorswatch {
border: 2px solid #000;
}
.goog-palette-cell-selected .goog-palette-colorswatch {
border: 3px solid #000;
}
}
}