mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Unified colorpicker (#9347)
* colorpicker: initial picker with predefined palette and spectrum * colorpicker: highlight selected color * colorpicker: add onChange() callback * colorpicker: replace singlestat picker by new one * colorpicker: style tweak * colorpicker: parse color on input blur * colorpicker: sort palette by hue and lightness * colorpicker: refactor, move colors sorting to 'app/core/utils/colors' * tech: colorpicker - fix linter errors * colorpicker: convert to React components * colorpicker: fix spectrum import after moving to webpack * colorpicker: minor refactor * colorpicker: initial series color picker * colorpicker: fix tests error
This commit is contained in:
committed by
Torkel Ödegaard
parent
7859d4ffca
commit
2aae2556a5
@@ -35,3 +35,13 @@
|
||||
float: left;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.colorpicker-container {
|
||||
min-height: 190px;
|
||||
}
|
||||
|
||||
.drop-popover.gf-color-picker {
|
||||
.drop-content {
|
||||
width: 210px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user