PageRenderTime 20ms CodeModel.GetById 9ms app.highlight 8ms RepoModel.GetById 1ms app.codeStats 0ms

/css/gvalidator.css

http://gvalidator.googlecode.com/
CSS | 54 lines | 36 code | 9 blank | 9 comment | 0 complexity | afc3b5cd7f5dd3e6b73804144d1982ea MD5 | raw file
 1/* General */
 2body{margin:20px 40px}
 3
 4/* Auto Form */
 5.hidden{display:none}
 6span.required{color:red;width:15px; position: relative; top:7px; padding-right:5px}
 7
 8form.autoform{padding:20px 5px; border:solid 1px #ccc;}
 9#contentwrap form.autoform img{float:none}
10form.autoform .fieldstatus a{border:none}
11form.autoform .fieldstatus a:hover{background:none}
12form.autoform div{margin:5px 0; clear:both;}
13
14/* Labels / Messages */
15form.autoform label{padding:6px; cursor:pointer; text-align:right;}
16form.autoform .msg.icon{padding:5px 5px 5px 30px; margin:0 10px; position:absolute}
17form.autoform span.error.icon{background:#FFF6CF url(../images/icons/icon_alert.gif) 7px center no-repeat; display:inline}
18form.autoform span.ok.icon{background:#D7FFCF url(../images/icons/tick.png) 7px center  no-repeat; display:inline}
19form.autoform span.info.icon{background:#DFF0FF url(../images/icons/help.png) 7px center no-repeat; display:inline}
20form.autoform label{width:220px; display:block; float:left;}
21form.autoform span.required{float:left}
22
23/* Inputs */
24form.autoform input[type="text"], form.autoform input[type="password"]{padding:5px; background-color:#F5FFB0; border:solid 1px #999}
25form.autoform input[type="text"]:focus, form.autoform input[type="password"]:focus{background-color:#efefef;}
26form.autoform textarea{width:400px}
27form.autoform select{width:190px}
28form.autoform input.checkbox{float:none; display:inline}
29form.autoform label.checkbox,form.autoform label.radio{width:auto; float:none; display:inline;}
30
31/* Submit */
32form.autoform div#submitdiv{padding:5px}
33form.autoform input[type="submit"]{float:right;margin-right:20px}
34
35form.autoform .msg, form.autoform .fieldstatus{padding:5px; margin:0 10px}
36form.autoform .fieldstatus{margin:0; cursor:pointer;}
37img,a{padding:0;margin:0;}
38
39/* Compact Style Message */
40form.autoform span.error, div.alert{background:#FFF6CF; border:1px solid #FFDA2F;}
41form.autoform span.ok{background:#D7FFCF; border:1px solid #8ED181;}
42form.autoform span.info{background:#DFF0FF ; border:1px solid #6FBBFF;}
43
44/* Errors Div */
45div#errors{background:#FFF6CF url(../images/icons/icon_alert.gif) 10px 20px no-repeat; border:1px solid #FFDA2F; padding:0 20px 20px 40px; margin-bottom:20px}
46div#errors h3{}
47div#errors ul{line-height:1.5;list-style-image:none;list-style-position:outside;list-style-type:none; padding:0px;}
48div#errors ul li{list-style:none}
49
50/* Custom Form Errors */
51/* Compact Style Message */
52form.autoform#example-custom-form span.error, form.autoform#example-custom-form div.alert{background-color:#fff; border:none; }
53form.autoform#example-custom-form span.ok{background-color:#fff; border:none; }
54form.autoform#example-custom-form span.info{background-color:#fff ; border:none; }