Use a color picker for the color field (color enum picker) (#346)

This commit is contained in:
Sam El-Husseini
2018-02-26 13:37:58 -08:00
committed by GitHub
parent cda7013e96
commit a021c0b292
6 changed files with 129 additions and 30 deletions

View File

@ -37,3 +37,24 @@
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;
}
}
}