-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
needs a way to custom style everything. #6
Comments
It's not needed to make changes in js file to customize styling. All the styling is done by assigning classes which are in css file. you can have a look at the css file and override the styles by writing your own css rules for those classes. For example in this demo http://paramquery.com/pro/demos/showhide_columns .pq-select-button and .pq-select-popup-cont classes are customized. ( Please have a look at the css tab under the demo ) .pq-toolbar .pq-select-button Some of the classes can be modified or added with help of options like hoverCls and selectCls Probably addition of options to inject classes in various states and to different regions of the select list or documentation of the customizable classes would be more appropriate. |
Agreed. I can write styling to override all the styling classes used in there and get a decent looking thingy. |
Ok, I see what you mean. I guess you want to assign bootstrap classes to different regions/parts of the select list? That's a nice suggestion, support for it would be added probably in the next version. |
Just an addition: There is a jsfiddle of customizing css with existing classes in pqSelect http://jsfiddle.net/dLvx6u63/11/ and the common classes are documented here: |
Current release lacks an important class: see #5 from @barseghyanartur. |
Make the plugin custom styleable. As it stands now, I can't change the styling without changing it inline in the plugin js file.
Extract all the styling strings (css classes) into the options object.
Default options will have default styling strings.
Can pass in custom styling classes.
The text was updated successfully, but these errors were encountered: