primer / primer-forms Goto Github PK
View Code? Open in Web Editor NEWStyle individual form controls and utilize common layouts.
Home Page: http://primercss.io/
Style individual form controls and utilize common layouts.
Home Page: http://primercss.io/
@Jeff2Ma originally wrote primer/css#186
First of all, thanks for making this project, while using I find that when the input
element set with disabled
attribute, no style for this state. I think it would be better when style with css like:
.form-control[disabled] {cursor: not-allowed;}
or something else to make distinctions from the normal state.
sorry for my poor English, Thank you :)
Something that's been bugging this designer. select
elements are generally rendered as buttons, since they don't take direct text input.
This is consistent throughout browsers / operating systems that haven't been completely flattened. I'd suggest simply flipping the inset shadow on select
s to be consistent with browser behavior while maintaining the GitHub aesthetic.
Current
This has the same styling as a text input.
Proposed
Simply flipping this will render this closer to a button, mimicking other browser / os behavior.
@primer/design-systems
@PetrKaleta originally wrote primer/css#147
Is there any possible way, how to do that or are you planning to support it? I've checked forms source and currently it seems to be impossible because form group is rewriting input's attributes directly
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.