File: forms.css

package info (click to toggle)
simba 0.8.4-4.2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 540 kB
  • sloc: perl: 2,645; sh: 188; makefile: 53
file content (89 lines) | stat: -rw-r--r-- 1,242 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
body {
	color: black;
	background-color: white;
}

label {
	display: block;
	float: left;
	text-align: right;
	margin-right: 1em;
	width: 25%;
}

p.checkbox label,
p.radio label
{
	display: inline;
	float: none;
	font-size: smaller;
}
p.checkbox, p.radio
{
	padding-left: 26%;
}

input[type="text"]
 {
	border: 1px solid #00c;
	padding: 1px 2px;
	background-color: #f0f0f0;
	color: #000;
}
input[type="password"] {
	border: 1px solid #0c0;
	padding: 1px 2px;
	background-color: #f0f0f0;
	color: #f00;
}

input[type="button"],
input[type="reset"],
input[type="submit"]
{
	border: 1px outset #006;
	padding: 1px 1em;
	background-color: #eee;
	color: #005;
}
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover
{
	border-style: inset;
}

input[type="image"]
{
	border: 1px dotted #006;
	padding: .5ex 1ex;
}
input[type="image"]:hover
{
	border-style: solid;
}

input[type="submit"] {
    margin-left: 40em;
    margin-bottom: 2ex;
}

button {
	margin: 0;
	padding: 2px;
	border: 1px solid #fff;
	color: #060;
	background-color: #fff;
}
button:hover {
	border-color: #00c;
}

textarea {
	font-family: sans-serif;
	white-space: pre;
	border: 1px solid #ccc;
	padding: 2px;
	background-color: #f0f0f0;
	color: #111;
}