[wp-trac] [WordPress Trac] #26289: Color Picker bugs.
WordPress Trac
noreply at wordpress.org
Wed Nov 27 14:42:08 UTC 2013
#26289: Color Picker bugs.
--------------------------+-----------------------------
Reporter: mattheu | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
--------------------------+-----------------------------
1. `.wp-color-result.wp-picker-open` has top: 0, causing a 1px jump when
opening/closing.
2. in the new 3.8 UI - the text in the field is larger and overflows the
fixed with of this field. It would be nicer to reduce the text size so it
fits.
[[Image(https://dl.dropboxusercontent.com/s/zkntppcnj69hnet/2013-11-27%20at%2014.40.png)]]
3. When used outside of the theme customizer, the input field .wp-color-
picker has no styling.
[[Image(https://dl.dropboxusercontent.com/s/tjcztv7t7bkalet/2013-11-27%20at%2014.25.png)]]
To recreate 3. Create a text input and use the JS like so: `jQuery('input
.my-colorpicker').wpColorPicker();`
This patch
1. applies top: 0 to `.wp-color-result`(open and closed)
2. Reduces text size in hex-value field
3. Moves hex-value-field styles to main customizer styles.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/26289>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list