diff options
author | KatriHaapalinna <katri@vaadin.com> | 2018-04-19 15:03:16 +0300 |
---|---|---|
committer | Ilia Motornyi <elmot@vaadin.com> | 2018-04-19 15:03:16 +0300 |
commit | bdbb0b4328a36a66bb492973ca72497bfd34f6ad (patch) | |
tree | 62272a7e1fbe88f868b2fe13345f2d10fadc2c7e /themes | |
parent | 07c6456da8f15d279340188dc86d7424cee36cd0 (diff) | |
download | vaadin-framework-bdbb0b4328a36a66bb492973ca72497bfd34f6ad.tar.gz vaadin-framework-bdbb0b4328a36a66bb492973ca72497bfd34f6ad.zip |
Colorpicker validation handling (#10821)
* ColorTextField, helper methods, and regex for validating and handling text input
* Refactored structure to avoid creating new component for validation
* Style to adapt to error indicator
* Tests for validating input in ColorPickerPreview component's TextField
* Merge branch 'master' into colorpicker_validation
* Fix path to server class
* Fix test: Submit the new value
* Fix test: ignore Phantom JS
* Fix hsl+hsla validation patterns to accept '%', test value tweaking
* Merge branch 'master' of github.com:vaadin/framework into colorpicker_validation
* Fix: remove warning when color is updated from elsewhere
* Revisions: input validation only once, Logging level WARN
* Revisions: unit tests for color pattern matching
* Revisions: moved parsing to utility class, tests for parsing all accepted input formats
* Fixed import in tests, comments
* Revisions: Logger as constant, ignore utility class in serialization test
* Corner case tests
* Revisions: protected method for parsing error text, fix to test
* Revisions: NPE fix
Diffstat (limited to 'themes')
-rw-r--r-- | themes/src/main/themes/VAADIN/themes/valo/components/_colorpicker.scss | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/themes/src/main/themes/VAADIN/themes/valo/components/_colorpicker.scss b/themes/src/main/themes/VAADIN/themes/valo/components/_colorpicker.scss index d6cd8ad093..c0b471d81f 100644 --- a/themes/src/main/themes/VAADIN/themes/valo/components/_colorpicker.scss +++ b/themes/src/main/themes/VAADIN/themes/valo/components/_colorpicker.scss @@ -189,6 +189,7 @@ width: 100% !important; height: auto !important; padding: round($v-unit-size/4); + display: inline-flex; } .#{$primary-stylename}-preview-textfield { |