1
+ textarea ,
2
+ button ,
3
+ input [type ] {
4
+ color : green;
5
+ padding : 2px 15px ;
6
+ padding-bottom : 5px ;
7
+ background-color : black;
8
+ border-bottom-right-radius : 0 ;
9
+ border-bottom-left-radius : 0 ;
10
+ border : darkgreen 2px solid;
11
+ box-shadow : 5px 3px 10px darkgreen;
12
+ border-top-left-radius : 15px ;
13
+ border-top-right-radius : 15px ;
14
+ margin : 1px 7px 4px 7px ;
15
+ }
16
+
17
+ textarea : hover ,
18
+ button : hover ,
19
+ input : not ([type = checkbox ]): not ([type = radio ]): hover {
20
+ color : limegreen;
21
+ padding : 2px 15px ;
22
+ padding-bottom : 5px ;
23
+ background-color : black;
24
+ border-bottom-right-radius : 0 ;
25
+ border-bottom-left-radius : 0 ;
26
+ border : limegreen 2px solid;
27
+ box-shadow : 5px 3px 10px limegreen;
28
+ border-top-left-radius : 15px ;
29
+ border-top-right-radius : 15px ;
30
+ margin : 1px 7px 4px 7px ;
31
+ }
32
+
33
+
34
+ /* Make the submit button standout */
35
+
36
+ input [type = submit ] {
37
+ color : forestgreen;
38
+ padding : 2px 15px ;
39
+ padding-bottom : 5px ;
40
+ background-color : black;
41
+ border-bottom-right-radius : 0 ;
42
+ border-bottom-left-radius : 0 ;
43
+ border : forestgreen 2px solid;
44
+ box-shadow : 5px 3px 10px forestgreen;
45
+ border-top-left-radius : 15px ;
46
+ border-top-right-radius : 15px ;
47
+ margin : 1px 7px 4px 7px ;
48
+ }
49
+
50
+
51
+ /* Radio and Checkbox block */
52
+
53
+ input [type = checkbox ]: not (old ),
54
+ input [type = radio ]: not (old ) {
55
+ width : 2em ;
56
+ margin : 0 ;
57
+ padding : 0 ;
58
+ font-size : 1em ;
59
+ opacity : 0 ;
60
+ }
61
+
62
+ input [type = checkbox ]: not (old ) + label ,
63
+ input [type = radio ]: not (old ) + label {
64
+ display : inline-block;
65
+ margin-left : -2em ;
66
+ line-height : 1.5em ;
67
+ }
68
+
69
+ input [type = checkbox ]: not (old ) + label > span ,
70
+ input [type = radio ]: not (old ) + label > span {
71
+ display : inline-block;
72
+ width : 0.875em ;
73
+ height : 0.875em ;
74
+ margin : 0.25em 0.5em 0.25em 0.25em ;
75
+ border : 0.0625em solid green;
76
+ border-top-left-radius : 15px ;
77
+ border-top-right-radius : 15px ;
78
+ /* background: rgb(224, 224, 224);*/
79
+ /*background-image: -moz-linear-gradient(rgb(240, 240, 240), rgb(224, 224, 224));
80
+ background-image: -ms-linear-gradient(rgb(240, 240, 240), rgb(224, 224, 224));
81
+ background-image: -o-linear-gradient(rgb(240, 240, 240), rgb(224, 224, 224));
82
+ background-image: -webkit-linear-gradient(rgb(240, 240, 240), rgb(224, 224, 224));
83
+ background-image: linear-gradient(rgb(240, 240, 240), rgb(224, 224, 224));*/
84
+ vertical-align : bottom;
85
+ }
86
+
87
+ input [type = checkbox ]: not (old ): checked + label > span ,
88
+ input [type = radio ]: not (old ): checked + label > span {
89
+ /*background-image: -moz-linear-gradient(rgb(224, 224, 224), rgb(240, 240, 240));
90
+ background-image: -ms-linear-gradient(rgb(224, 224, 224), rgb(240, 240, 240));
91
+ background-image: -o-linear-gradient(rgb(224, 224, 224), rgb(240, 240, 240));
92
+ background-image: -webkit-linear-gradient(rgb(224, 224, 224), rgb(240, 240, 240));
93
+ background-image: linear-gradient(rgb(224, 224, 224), rgb(240, 240, 240));*/
94
+ }
95
+
96
+ input [type = checkbox ]: not (old ): checked + label > span : before {
97
+ content : '✓' ;
98
+ display : block;
99
+ width : 1em ;
100
+ color : limegreen;
101
+ font-size : 0.875em ;
102
+ line-height : 1em ;
103
+ text-align : center;
104
+ text-shadow : 0 0 0.0714em darkgreen;
105
+ font-weight : bold;
106
+ }
107
+
108
+ input [type = radio ]: not (old ): checked + label > span > span {
109
+ display : block;
110
+ width : 0.5em ;
111
+ height : 0.5em ;
112
+ margin : 0.125em ;
113
+ border : 0.0625em solid limegreen;
114
+ border-top-left-radius : 15px ;
115
+ border-top-right-radius : 15px ;
116
+ background : rgb (153 , 204 , 102 );
117
+ background-image : -moz-linear-gradient (rgb (179 , 217 , 140 ), rgb (153 , 204 , 102 ));
118
+ background-image : -ms-linear-gradient (rgb (179 , 217 , 140 ), rgb (153 , 204 , 102 ));
119
+ background-image : -o-linear-gradient (rgb (179 , 217 , 140 ), rgb (153 , 204 , 102 ));
120
+ background-image : -webkit-linear-gradient (rgb (179 , 217 , 140 ), rgb (153 , 204 , 102 ));
121
+ background-image : linear-gradient (rgb (179 , 217 , 140 ), rgb (153 , 204 , 102 ));
122
+ }
123
+
124
+
125
+ /* END Radio and Checkbox block */
126
+
127
+ select {
128
+ color : green;
129
+ padding : 2px 15px ;
130
+ padding-bottom : 5px ;
131
+ background-color : black;
132
+ border-bottom-right-radius : 0 ;
133
+ border-bottom-left-radius : 0 ;
134
+ border : darkgreen 2px solid;
135
+ box-shadow : 5px 3px 10px darkgreen;
136
+ border-top-left-radius : 15px ;
137
+ border-top-right-radius : 15px ;
138
+ margin : 1px 7px 4px 7px ;
139
+ }
140
+
141
+ select : hover ,
142
+ select : focus {
143
+ color : limegreen;
144
+ padding : 2px 15px ;
145
+ padding-bottom : 5px ;
146
+ background-color : black;
147
+ border-bottom-right-radius : 0 ;
148
+ border-bottom-left-radius : 0 ;
149
+ border : limegreen 2px solid;
150
+ box-shadow : 5px 3px 10px limegreen;
151
+ border-top-left-radius : 15px ;
152
+ border-top-right-radius : 15px ;
153
+ margin : 1px 7px 4px 7px ;
154
+ }
0 commit comments