forked from SloppySyntax/koken
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.css
157 lines (152 loc) · 3.79 KB
/
form.css
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
/* form style */
body {
font-family: 'Palatino', serif;
background: #878787;
line-height:120%;
}
#head {
height: 60px;
width: 100%;
font-size:100%;
}
#head .logo a {
width: 200px;
float:left;
text-align:center;
color:#fff;
font-weight:bold;
font-size:115%;
letter-spacing: 2px;
margin-top:12px;
text-decoration:none;
margin-right:20px;
}
#head .menu a{
float:left;
margin-left:20px;
margin-top:14px;
color:#000;
font-size:90%;
text-decoration:none;
}
#head .menuwhite a{
float:left;
margin-left:20px;
margin-top:14px;
color:#fff;
font-size:90%;
text-decoration:none;
}
.form-style{
max-width: 500px;
padding: 40px 30px 40px 40px;
font-family: 'Palatino', serif;
margin: 20px auto;
background: #878787;
border-radius: 5px;
-webkit-border-radius:5px;
-moz-border-radius:5px;
box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
-webkit-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
}
.form-style-heading{
font-weight: bold;
font-family: 'Palatino', serif;
border-bottom: 2px solid #ddd;
margin-bottom: 10px;
font-size: 15px;
padding-bottom: 3px;
}
.form-style label{
display: block;
margin: 0px 0px 15px 0px;
}
.form-style label > span{
width: 100px;
font-weight: bold;
float: left;
padding-top: 8px;
padding-right: 5px;
}
.form-style span.required{
color:red;
}
.form-style input[name=phone1]{
width: 40px!important;
text-align: center;
}
.form-style input[name=phone2]{
width: 120px!important;
}
.form-style input[type=text], input[type=email]{
width: 48%;
}
.form-style input[type=text], .form-style input[type=email],
.form-style input[type=file],.form-style input[type=number],
.form-style textarea,
.form-style select{
-webkit-transition: all 0.30s ease-in-out;
-moz-transition: all 0.30s ease-in-out;
-ms-transition: all 0.30s ease-in-out;
-o-transition: all 0.30s ease-in-out;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
border: 1px solid #C2C2C2;
box-shadow: 1px 1px 4px #EBEBEB;
-moz-box-shadow: 1px 1px 4px #EBEBEB;
-webkit-box-shadow: 1px 1px 4px #EBEBEB;
border-radius: 3px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
padding: 7px;
outline: none;
}
.form-style input[type=number]:focus, .form-style input[type=text]:focus, input[type=email]:focus, .form-style input[type=file]:focus, .form-style textarea:focus, .form-style select:focus{
border: 1px solid #0C0;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
.form-style textarea{
height:100px;
width: 55%;
}
.form-style button[type="submit"] {
-moz-box-shadow: inset 0px 1px 0px 0px #3985B1;
-webkit-box-shadow: inset 0px 1px 0px 0px #3985B1;
box-shadow: inset 0px 1px 0px 0px #3985B1;
background-color: #216288;
border: 1px solid #17445E;
display: inline-block;
cursor: pointer;
color: #FFFFFF;
padding: 8px 18px;
text-decoration: none;
font: 12px Arial, Helvetica, sans-serif;
}
.form-style button[type="submit"]:hover {
background: linear-gradient(to bottom, #2D77A2 5%, #337DA8 100%);
background-color: #28739E;
}
.form-style .success{
background: #D8FFC0;
padding: 5px 10px 5px 10px;
margin: 0px 0px 5px 0px;
border: none;
font-weight: bold;
color: #2E6800;
border-left: 3px solid #2E6800;
}
.form-style .error {
background: #FFE8E8;
padding: 5px 10px 5px 10px;
margin: 0px 0px 5px 0px;
border: none;
font-weight: bold;
color: #FF0000;
border-left: 3px solid #FF0000;
}