-
Notifications
You must be signed in to change notification settings - Fork 1
/
mystyle.css
executable file
·187 lines (153 loc) · 4.27 KB
/
mystyle.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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
form * {
background: transparent;
}
input[type=text],input[type=password],input[type=submit],input[type=email],input[type=url],input[type=tel],input[type=number],input[type=datetime],textarea,button, select {
-webkit-appearance: none;
-moz-appearance: none;
border: none;
background: white;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
padding: 5px;
margin: 0;
margin-bottom: 10px;
}
.group:before, .group:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
.group:after { clear: both; }
.group { zoom: 1; }
body {
margin-top: 50px;
}
#myform {
font: normal .8em/1em Arial, Helvetica, Geneva, sans-serif;
width: 80%;
margin: 0 auto;
max-width: 500px;
background: url(greytexture.jpg) #DDD;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
-webkit-box-shadow: 10px 10px 20px #20242C;
-moz-box-shadow: 10px 10px 20px #20242C;
box-shadow: 10px 10px 20px #20242C;
}
#myform fieldset {
border: none;
margin: 0;
padding: 0;
}
#myform fieldset:before {
content:attr(title);
display: block;
padding: 0;
padding: 20px 10px 3px 10px;
font-weight: bold;
font-size: 1.25em;
color: #777;
margin: 0 auto;
text-shadow: 1px 1px 1px #FFF;
}
#myform legend {
margin-top: 0.8em;
}
#myform ol {
margin: 0px;
padding: 0px;
}
#myform ol li {
position: relative;
list-style: none;
padding: 8px;
border-top: 1px solid #EEE;
border-bottom: 1px solid #888;
}
#myform ol li:first-child {
border-top:none;
}
#myform ol li:last-child {
border-bottom:none;
}
#myform ol li ol li {
padding-bottom: 0;
display: inline;
padding: 0px;
border-top: none;
border-bottom: none;
}
#myform ol li ol li label {
font-weight: normal;
display: inline;
cursor: pointer
}
#myform ol li.singleline label {
font-weight: normal;
display: inline;
}
#myform ol li label, .grouphead {
/*font-weight: bold; */
display: block;
margin-bottom: 5px;
color: #454D4D;
text-shadow: 1px 1px 1px #FFF;
padding-left: 5px;
}
#myform ol li input, #myform textarea {
display: block;
width: 96%;
padding: 5px;
margin: 0 auto;
outline: none;
border: 1px solid #999;
background: #CCCCCC;
background: -webkit-linear-gradient(#FFFFFF,#DDDDDD) no-repeat;
background: -moz-linear-gradient(#FFFFFF,#BBBBBB) no-repeat;
background: -o-linear-gradient(#FFFFFF,#BBBBBB) no-repeat;
background: -ms-linear-gradient(#FFFFFF,#BBBBBB) no-repeat;
background: linear-gradient(#FFFFFF,#BBBBBB) no-repeat;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFF', endColorstr='#BBBBBB',GradientType=0 );
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
#myform ol li ol li input {
width: auto;
display: inline;
}
#myform textarea {
height: 75px;
}
#myform button {
width: 100px;
width: 20%;
min-width: 100px;
height: 24px;
float: right;
padding: 0;
margin-right: 10px;
margin-top: 5px;
border: 0;
color:#FFF;
font-weight: bold;
cursor: pointer;
background: #466E82;
background: url(arrows.png) no-repeat right top, #466E82;
background: url(arrows.png) no-repeat right top, -webkit-linear-gradient(#466E82,#2C4552);
background: url(arrows.png) no-repeat right top, -moz-linear-gradient(#466E82,#2C4552);
background: url(arrows.png) no-repeat right top, -ms-linear-gradient(#466E82,#2C4552);
background: url(arrows.png) no-repeat right top, -o-linear-gradient(#466E82,#2C4552);
background: url(arrows.png) no-repeat right top, linear-gradient(#466E82,#2C4552);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#466E82', endColorstr='#2C4552',GradientType=0 );
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
}
#myform button:hover {
background: url(arrows.png) no-repeat right top, #93481A;
background: url(arrows.png) no-repeat right top, -webkit-linear-gradient(#93481A,#6D2F0E);
background: url(arrows.png) no-repeat right top, -moz-linear-gradient(#93481A,#6D2F0E);
background: url(arrows.png) no-repeat right top, -ms-linear-gradient(#93481A,#6D2F0E);
background: url(arrows.png) no-repeat right top, -o-linear-gradient(#93481A,#6D2F0E);
background: url(arrows.png) no-repeat right top, linear-gradient(#93481A,#6D2F0E);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#93481A', endColorstr='#6D2F0E',GradientType=0 );
}