pyc-website

main website for pyc inc.

git clone https://9o.is/git/pyc-website.git

commit bd756f22834ce4a1987db7c63d9e402cf4e7251b
parent 35cdd2141122dc36f60ee031ec459b6fdf08a1f7
Author: Jul <jul@9o.is>
Date:   Sun,  4 May 2014 15:50:02 -0400

better form checking/styling

Diffstat:
Msrc/main/webapp/less/overrides.less | 33+++++++++++++++++++++++++++++++--
1 file changed, 31 insertions(+), 2 deletions(-)

diff --git a/src/main/webapp/less/overrides.less b/src/main/webapp/less/overrides.less @@ -179,4 +179,34 @@ body { /************************ * Initially hide ngCloak ************************/ - [ng\:cloak], [ng-cloak], .ng-cloak { display: none; } -\ No newline at end of file +[ng\:cloak], [ng-cloak], .ng-cloak { display: none; } + +/**************************** + * Angular form + ****************************/ + +.state-success { + .icon-append, .icon-prepend { + color: @brand-success !important; + } + + textarea, input, select { + &, &:focus, &:hover { + border-color: @brand-success !important; + color: @brand-success !important; + } + } +} + +.state-error { + .icon-append, .icon-prepend { + color: @brand-danger !important; + } + + textarea, input, select { + &, &:focus, &:hover { + border-color: @brand-danger !important; + color: @brand-danger !important; + } + } +}