This repository was archived by the owner on Jul 14, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
254 lines (220 loc) · 5.54 KB
/
Copy pathstyles.css
File metadata and controls
254 lines (220 loc) · 5.54 KB
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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
* {
box-sizing: border-box;
}
/* text input ------------------------------------------- */
.text-input {
padding: 0.5em 0.75em;
border: solid 1px #CCCCCC;
border-radius: 0.25em;
margin-left: 5px;
}
/*.text-input:focus {
outline: black dotted 1px;
outline: -moz-mac-focusring solid 3px;
outline: -webkit-focus-ring-color auto 5px;
}*/
/* text area ------------------------------------------- */
.text-area {
padding: 0.5em 0.75em;
border: solid 1px #CCCCCC;
border-radius: 0.25em;
vertical-align: top;
margin-left: 5px;
}
/*.text-area:focus {
outline: black dotted 1px;
outline: -moz-mac-focusring solid 3px;
outline: -webkit-focus-ring-color auto 5px;
}*/
/* accessible placeholder */
.placeholder {
position: relative;
display: inline-block;
}
.placeholder-label {
position: absolute;
top: 50%;
margin-top: -0.5em;
left: 0.5em;
color: #999999;
}
.placeholder-input {
padding: 0.55em 0.75em;
border: solid 1px #CCCCCC;
border-radius: 0.25em;
}
.placeholder-input:focus + .placeholder-label {
visibility: hidden;
}
/*.placeholder-input:focus {
outline: black dotted 1px;
outline: -moz-mac-focusring solid 3px;
outline: -webkit-focus-ring-color auto 5px;
}*/
/* radio styles ------------------------------------------- */
/* hide the radio input */
.radio-input {
position: absolute;
left: -99em;
}
/* the labels styles */
.radio-input + .radio-label {
margin-right: 5px;
}
/* style of radio label before element */
.radio-input + .radio-label:before {
content: '\274C';
}
/* style of label's before element when checked */
.radio-input:checked + .radio-label:before {
content: '\2705';
}
/* styling the label when focused */
.radio-input:focus + .radio-label:before {
outline: black dotted 1px;
outline: -moz-mac-focusring solid 3px;
outline: -webkit-focus-ring-color auto 5px;
}
/* radio button styles ------------------------------------------- */
/* hide the radio input */
.radio-button {
position: absolute;
left: -999em;
}
/* style of radio label */
.radio-button + .radio-label {
padding: 10px;
display: inline-block;
border: solid 1px #CCCCCC;
margin-right: 5px;
border-radius: 0.25em;
}
/* style of label when checked */
.radio-button:checked + .radio-label {
background-color: #666666;
color: #FFFFFF;
}
/* styling the label when focused */
.radio-button:focus + .radio-label {
outline: black dotted 1px;
outline: -moz-mac-focusring solid 3px;
outline: -webkit-focus-ring-color auto 5px;
}
/* checkbox styles ------------------------------------------- */
/* hide the checkbox input */
.checkbox-input {
position: absolute;
left: -999em;
}
/* the labels styles */
.checkbox-input + .checkbox-label {
margin-right: 5px;
}
/* style of checkbox label before element */
.checkbox-input + .checkbox-label:before {
content: '\274C';
display: inline-block;
width: 1em;
height: 1em;
margin-right: 5px;
}
/* style of label's before element when checked */
.checkbox-input:checked + .checkbox-label:before {
content: '\2705';
}
/* styling the label when focused */
.checkbox-input:focus + .checkbox-label:before {
outline: black dotted 1px;
outline: -moz-mac-focusring solid 3px;
outline: -webkit-focus-ring-color auto 5px;
}
/* checkbox button styles ------------------------------------------- */
/* hide the checkbox input */
.checkbox-button {
position: absolute;
left: -999em;
}
/* style of checkbox label */
.checkbox-button + .checkbox-label {
padding: 10px;
display: inline-block;
border: solid 1px #CCCCCC;
margin-right: 5px;
border-radius: 0.25em;
}
/* style of label when checked */
.checkbox-button:checked + .checkbox-label {
background-color: #666666;
color: #FFFFFF;
}
/* styling the label when focused */
.checkbox-button:focus + .checkbox-label {
outline: black dotted 1px;
outline: -moz-mac-focusring solid 2px;
outline: -webkit-focus-ring-color auto 5px;
}
/* dropdown select ------------------------------------------- */
/* chosen JS */
/* styling the select */
.select {
padding: 0.5em;
width: 200px;
border: solid 1px #CCCCCC;
border-radius: 0.25em;
font-size: 1em;
font-family: serif;
cursor: pointer;
margin-left: 5px;
-webkit-appearance: none;
-moz-appearance: none;
-ms-appearance: none;
-o-appearance: none;
appearance: none;
background: url(arrow.png) no-repeat right;
text-indent: 1px;
text-overflow: hidden;
}
.select::-ms-expand {
visibility: hidden;
}
/*.select:focus {
outline: black dotted 1px;
outline: -moz-mac-focusring solid 3px;
outline: -webkit-focus-ring-color auto 5px;
}*/
/* adding arrows to the wrapper */
/*.select-wrapper {
position: relative;
display: inline-block;
}
.select-wrapper:before {
content: '\25bc';
display: block;
position: absolute;
right: 1em;
top: 50%;
font-size: 0.75em;
margin-top: -0.5em;
}*/
/* button ------------------------------------------- */
/* styleing the button */
.button {
-webkit-appearance: none;
background-color: #FFFFFF;
padding: 0.5em 1em;
border: solid 1px #CCCCCC;
border-radius: 0.25em;
font-size: 1em;
font-family: serif;
cursor: pointer;
}
/* the style of the button when clicked */
.button:active {
background-color: #666666;
color: #FFFFFF;
}
/*.button:focus {
outline: black dotted 1px;
outline: -moz-mac-focusring solid 3px;
outline: -webkit-focus-ring-color auto 5px;
}*/