blogelator 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/blogelator/version.rb +1 -1
- data/vendor/assets/javascripts/codemirror/closebrackets.js +84 -0
- data/vendor/assets/javascripts/codemirror/codemirror.js +6093 -0
- data/vendor/assets/javascripts/codemirror/coffeescript.js +353 -0
- data/vendor/assets/javascripts/codemirror/css.js +693 -0
- data/vendor/assets/javascripts/codemirror/gfm.js +102 -0
- data/vendor/assets/javascripts/codemirror/htmlmixed.js +105 -0
- data/vendor/assets/javascripts/codemirror/javascript.js +638 -0
- data/vendor/assets/javascripts/codemirror/markdown.js +748 -0
- data/vendor/assets/javascripts/codemirror/overlay.js +59 -0
- data/vendor/assets/javascripts/codemirror/php.js +131 -0
- data/vendor/assets/javascripts/codemirror/ruby.js +250 -0
- data/vendor/assets/javascripts/codemirror/sass.js +330 -0
- data/vendor/assets/javascripts/codemirror/xml.js +333 -0
- data/vendor/assets/javascripts/codemirror/yaml.js +97 -0
- data/vendor/assets/javascripts/inline-attach.js +336 -0
- data/vendor/assets/javascripts/marked.js +1251 -0
- data/vendor/assets/javascripts/moment.js +6 -0
- data/vendor/assets/javascripts/prettify.js +1655 -0
- data/vendor/assets/stylesheets/codemirror.css +221 -0
- data/vendor/assets/stylesheets/normalize.css +423 -0
- metadata +22 -2
@@ -0,0 +1,221 @@
|
|
1
|
+
/* BASICS */
|
2
|
+
|
3
|
+
.CodeMirror-scroll {
|
4
|
+
/* Set scrolling behaviour here */
|
5
|
+
overflow: auto;
|
6
|
+
}
|
7
|
+
|
8
|
+
/* PADDING */
|
9
|
+
|
10
|
+
.CodeMirror-lines {
|
11
|
+
padding: 4px 0; /* Vertical padding around content */
|
12
|
+
}
|
13
|
+
.CodeMirror pre {
|
14
|
+
padding: 0 4px; /* Horizontal padding of content */
|
15
|
+
}
|
16
|
+
|
17
|
+
.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
|
18
|
+
background-color: white; /* The little square between H and V scrollbars */
|
19
|
+
}
|
20
|
+
|
21
|
+
/* GUTTER */
|
22
|
+
|
23
|
+
.CodeMirror-gutters {
|
24
|
+
border-right: 1px solid #ddd;
|
25
|
+
background-color: #f7f7f7;
|
26
|
+
white-space: nowrap;
|
27
|
+
}
|
28
|
+
.CodeMirror-linenumbers {}
|
29
|
+
.CodeMirror-linenumber {
|
30
|
+
padding: 0 3px 0 5px;
|
31
|
+
min-width: 20px;
|
32
|
+
text-align: right;
|
33
|
+
color: #999;
|
34
|
+
-moz-box-sizing: content-box;
|
35
|
+
box-sizing: content-box;
|
36
|
+
}
|
37
|
+
|
38
|
+
/* CURSOR */
|
39
|
+
|
40
|
+
.CodeMirror div.CodeMirror-cursor {
|
41
|
+
border-left: 1px solid black;
|
42
|
+
z-index: 3;
|
43
|
+
}
|
44
|
+
/* Shown when moving in bi-directional text */
|
45
|
+
.CodeMirror div.CodeMirror-secondarycursor {
|
46
|
+
border-left: 1px solid silver;
|
47
|
+
}
|
48
|
+
.CodeMirror.cm-keymap-fat-cursor div.CodeMirror-cursor {
|
49
|
+
width: auto;
|
50
|
+
border: 0;
|
51
|
+
background: #7e7;
|
52
|
+
z-index: 1;
|
53
|
+
}
|
54
|
+
/* Can style cursor different in overwrite (non-insert) mode */
|
55
|
+
.CodeMirror div.CodeMirror-cursor.CodeMirror-overwrite {}
|
56
|
+
|
57
|
+
.cm-tab { display: inline-block; }
|
58
|
+
|
59
|
+
.CodeMirror-ruler {
|
60
|
+
border-left: 1px solid #ccc;
|
61
|
+
position: absolute;
|
62
|
+
}
|
63
|
+
|
64
|
+
/* STOP */
|
65
|
+
|
66
|
+
/* The rest of this file contains styles related to the mechanics of
|
67
|
+
the editor. You probably shouldn't touch them. */
|
68
|
+
|
69
|
+
.CodeMirror {
|
70
|
+
line-height: 1;
|
71
|
+
position: relative;
|
72
|
+
overflow: hidden;
|
73
|
+
background: white;
|
74
|
+
color: black;
|
75
|
+
}
|
76
|
+
|
77
|
+
.CodeMirror-scroll {
|
78
|
+
/* 30px is the magic margin used to hide the element's real scrollbars */
|
79
|
+
/* See overflow: hidden in .CodeMirror */
|
80
|
+
margin-bottom: -30px; margin-right: -30px;
|
81
|
+
padding-bottom: 30px;
|
82
|
+
height: 100%;
|
83
|
+
outline: none; /* Prevent dragging from highlighting the element */
|
84
|
+
position: relative;
|
85
|
+
-moz-box-sizing: content-box;
|
86
|
+
box-sizing: content-box;
|
87
|
+
}
|
88
|
+
.CodeMirror-sizer {
|
89
|
+
position: relative;
|
90
|
+
border-right: 30px solid transparent;
|
91
|
+
-moz-box-sizing: content-box;
|
92
|
+
box-sizing: content-box;
|
93
|
+
}
|
94
|
+
|
95
|
+
/* The fake, visible scrollbars. Used to force redraw during scrolling
|
96
|
+
before actuall scrolling happens, thus preventing shaking and
|
97
|
+
flickering artifacts. */
|
98
|
+
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
|
99
|
+
position: absolute;
|
100
|
+
z-index: 6;
|
101
|
+
display: none;
|
102
|
+
}
|
103
|
+
.CodeMirror-vscrollbar {
|
104
|
+
right: 0; top: 0;
|
105
|
+
overflow-x: hidden;
|
106
|
+
overflow-y: scroll;
|
107
|
+
}
|
108
|
+
.CodeMirror-hscrollbar {
|
109
|
+
bottom: 0; left: 0;
|
110
|
+
overflow-y: hidden;
|
111
|
+
overflow-x: scroll;
|
112
|
+
}
|
113
|
+
.CodeMirror-scrollbar-filler {
|
114
|
+
right: 0; bottom: 0;
|
115
|
+
}
|
116
|
+
.CodeMirror-gutter-filler {
|
117
|
+
left: 0; bottom: 0;
|
118
|
+
}
|
119
|
+
|
120
|
+
.CodeMirror-gutters {
|
121
|
+
position: absolute; left: 0; top: 0;
|
122
|
+
padding-bottom: 30px;
|
123
|
+
z-index: 3;
|
124
|
+
}
|
125
|
+
.CodeMirror-gutter {
|
126
|
+
white-space: normal;
|
127
|
+
height: 100%;
|
128
|
+
-moz-box-sizing: content-box;
|
129
|
+
box-sizing: content-box;
|
130
|
+
padding-bottom: 30px;
|
131
|
+
margin-bottom: -32px;
|
132
|
+
display: inline-block;
|
133
|
+
/* Hack to make IE7 behave */
|
134
|
+
*zoom:1;
|
135
|
+
*display:inline;
|
136
|
+
}
|
137
|
+
.CodeMirror-gutter-elt {
|
138
|
+
position: absolute;
|
139
|
+
cursor: default;
|
140
|
+
z-index: 4;
|
141
|
+
}
|
142
|
+
|
143
|
+
.CodeMirror-lines {
|
144
|
+
cursor: text;
|
145
|
+
}
|
146
|
+
.CodeMirror pre {
|
147
|
+
/* Reset some styles that the rest of the page might have set */
|
148
|
+
-moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
|
149
|
+
border-width: 0;
|
150
|
+
background: transparent;
|
151
|
+
font-family: inherit;
|
152
|
+
font-size: inherit;
|
153
|
+
margin: 0;
|
154
|
+
white-space: pre;
|
155
|
+
word-wrap: normal;
|
156
|
+
line-height: inherit;
|
157
|
+
color: inherit;
|
158
|
+
z-index: 2;
|
159
|
+
position: relative;
|
160
|
+
overflow: visible;
|
161
|
+
}
|
162
|
+
.CodeMirror-wrap pre {
|
163
|
+
word-wrap: break-word;
|
164
|
+
white-space: pre-wrap;
|
165
|
+
word-break: normal;
|
166
|
+
}
|
167
|
+
|
168
|
+
.CodeMirror-linebackground {
|
169
|
+
position: absolute;
|
170
|
+
left: 0; right: 0; top: 0; bottom: 0;
|
171
|
+
z-index: 0;
|
172
|
+
}
|
173
|
+
|
174
|
+
.CodeMirror-linewidget {
|
175
|
+
position: relative;
|
176
|
+
z-index: 2;
|
177
|
+
overflow: auto;
|
178
|
+
}
|
179
|
+
|
180
|
+
.CodeMirror-widget {}
|
181
|
+
|
182
|
+
.CodeMirror-wrap .CodeMirror-scroll {
|
183
|
+
overflow-x: hidden;
|
184
|
+
}
|
185
|
+
|
186
|
+
.CodeMirror-measure {
|
187
|
+
position: absolute;
|
188
|
+
width: 100%;
|
189
|
+
height: 0;
|
190
|
+
overflow: hidden;
|
191
|
+
visibility: hidden;
|
192
|
+
}
|
193
|
+
.CodeMirror-measure pre { position: static; }
|
194
|
+
|
195
|
+
.CodeMirror div.CodeMirror-cursor {
|
196
|
+
position: absolute;
|
197
|
+
visibility: hidden;
|
198
|
+
border-right: none;
|
199
|
+
width: 0;
|
200
|
+
}
|
201
|
+
.CodeMirror-focused div.CodeMirror-cursor {
|
202
|
+
visibility: visible;
|
203
|
+
}
|
204
|
+
|
205
|
+
.CodeMirror-selected { background: #eee; }
|
206
|
+
.CodeMirror-focused .CodeMirror-selected { background: #c3e5ff; }
|
207
|
+
|
208
|
+
.cm-searching {
|
209
|
+
background: #ffa;
|
210
|
+
background: rgba(255, 255, 0, .4);
|
211
|
+
}
|
212
|
+
|
213
|
+
/* IE7 hack to prevent it from returning funny offsetTops on the spans */
|
214
|
+
.CodeMirror span { *vertical-align: text-bottom; }
|
215
|
+
|
216
|
+
@media print {
|
217
|
+
/* Hide the cursor when printing */
|
218
|
+
.CodeMirror div.CodeMirror-cursor {
|
219
|
+
visibility: hidden;
|
220
|
+
}
|
221
|
+
}
|
@@ -0,0 +1,423 @@
|
|
1
|
+
/*! normalize.css v3.0.0 | MIT License | git.io/normalize */
|
2
|
+
|
3
|
+
/**
|
4
|
+
* 1. Set default font family to sans-serif.
|
5
|
+
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
6
|
+
* user zoom.
|
7
|
+
*/
|
8
|
+
|
9
|
+
html {
|
10
|
+
font-family: sans-serif; /* 1 */
|
11
|
+
-ms-text-size-adjust: 100%; /* 2 */
|
12
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
13
|
+
}
|
14
|
+
|
15
|
+
/**
|
16
|
+
* Remove default margin.
|
17
|
+
*/
|
18
|
+
|
19
|
+
body {
|
20
|
+
margin: 0;
|
21
|
+
}
|
22
|
+
|
23
|
+
/* HTML5 display definitions
|
24
|
+
========================================================================== */
|
25
|
+
|
26
|
+
/**
|
27
|
+
* Correct `block` display not defined in IE 8/9.
|
28
|
+
*/
|
29
|
+
|
30
|
+
article,
|
31
|
+
aside,
|
32
|
+
details,
|
33
|
+
figcaption,
|
34
|
+
figure,
|
35
|
+
footer,
|
36
|
+
header,
|
37
|
+
hgroup,
|
38
|
+
main,
|
39
|
+
nav,
|
40
|
+
section,
|
41
|
+
summary {
|
42
|
+
display: block;
|
43
|
+
}
|
44
|
+
|
45
|
+
/**
|
46
|
+
* 1. Correct `inline-block` display not defined in IE 8/9.
|
47
|
+
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
48
|
+
*/
|
49
|
+
|
50
|
+
audio,
|
51
|
+
canvas,
|
52
|
+
progress,
|
53
|
+
video {
|
54
|
+
display: inline-block; /* 1 */
|
55
|
+
vertical-align: baseline; /* 2 */
|
56
|
+
}
|
57
|
+
|
58
|
+
/**
|
59
|
+
* Prevent modern browsers from displaying `audio` without controls.
|
60
|
+
* Remove excess height in iOS 5 devices.
|
61
|
+
*/
|
62
|
+
|
63
|
+
audio:not([controls]) {
|
64
|
+
display: none;
|
65
|
+
height: 0;
|
66
|
+
}
|
67
|
+
|
68
|
+
/**
|
69
|
+
* Address `[hidden]` styling not present in IE 8/9.
|
70
|
+
* Hide the `template` element in IE, Safari, and Firefox < 22.
|
71
|
+
*/
|
72
|
+
|
73
|
+
[hidden],
|
74
|
+
template {
|
75
|
+
display: none;
|
76
|
+
}
|
77
|
+
|
78
|
+
/* Links
|
79
|
+
========================================================================== */
|
80
|
+
|
81
|
+
/**
|
82
|
+
* Remove the gray background color from active links in IE 10.
|
83
|
+
*/
|
84
|
+
|
85
|
+
a {
|
86
|
+
background: transparent;
|
87
|
+
}
|
88
|
+
|
89
|
+
/**
|
90
|
+
* Improve readability when focused and also mouse hovered in all browsers.
|
91
|
+
*/
|
92
|
+
|
93
|
+
a:active,
|
94
|
+
a:hover {
|
95
|
+
outline: 0;
|
96
|
+
}
|
97
|
+
|
98
|
+
/* Text-level semantics
|
99
|
+
========================================================================== */
|
100
|
+
|
101
|
+
/**
|
102
|
+
* Address styling not present in IE 8/9, Safari 5, and Chrome.
|
103
|
+
*/
|
104
|
+
|
105
|
+
abbr[title] {
|
106
|
+
border-bottom: 1px dotted;
|
107
|
+
}
|
108
|
+
|
109
|
+
/**
|
110
|
+
* Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
|
111
|
+
*/
|
112
|
+
|
113
|
+
b,
|
114
|
+
strong {
|
115
|
+
font-weight: bold;
|
116
|
+
}
|
117
|
+
|
118
|
+
/**
|
119
|
+
* Address styling not present in Safari 5 and Chrome.
|
120
|
+
*/
|
121
|
+
|
122
|
+
dfn {
|
123
|
+
font-style: italic;
|
124
|
+
}
|
125
|
+
|
126
|
+
/**
|
127
|
+
* Address variable `h1` font-size and margin within `section` and `article`
|
128
|
+
* contexts in Firefox 4+, Safari 5, and Chrome.
|
129
|
+
*/
|
130
|
+
|
131
|
+
h1 {
|
132
|
+
font-size: 2em;
|
133
|
+
margin: 0.67em 0;
|
134
|
+
}
|
135
|
+
|
136
|
+
/**
|
137
|
+
* Address styling not present in IE 8/9.
|
138
|
+
*/
|
139
|
+
|
140
|
+
mark {
|
141
|
+
background: #ff0;
|
142
|
+
color: #000;
|
143
|
+
}
|
144
|
+
|
145
|
+
/**
|
146
|
+
* Address inconsistent and variable font size in all browsers.
|
147
|
+
*/
|
148
|
+
|
149
|
+
small {
|
150
|
+
font-size: 80%;
|
151
|
+
}
|
152
|
+
|
153
|
+
/**
|
154
|
+
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
155
|
+
*/
|
156
|
+
|
157
|
+
sub,
|
158
|
+
sup {
|
159
|
+
font-size: 75%;
|
160
|
+
line-height: 0;
|
161
|
+
position: relative;
|
162
|
+
vertical-align: baseline;
|
163
|
+
}
|
164
|
+
|
165
|
+
sup {
|
166
|
+
top: -0.5em;
|
167
|
+
}
|
168
|
+
|
169
|
+
sub {
|
170
|
+
bottom: -0.25em;
|
171
|
+
}
|
172
|
+
|
173
|
+
/* Embedded content
|
174
|
+
========================================================================== */
|
175
|
+
|
176
|
+
/**
|
177
|
+
* Remove border when inside `a` element in IE 8/9.
|
178
|
+
*/
|
179
|
+
|
180
|
+
img {
|
181
|
+
border: 0;
|
182
|
+
}
|
183
|
+
|
184
|
+
/**
|
185
|
+
* Correct overflow displayed oddly in IE 9.
|
186
|
+
*/
|
187
|
+
|
188
|
+
svg:not(:root) {
|
189
|
+
overflow: hidden;
|
190
|
+
}
|
191
|
+
|
192
|
+
/* Grouping content
|
193
|
+
========================================================================== */
|
194
|
+
|
195
|
+
/**
|
196
|
+
* Address margin not present in IE 8/9 and Safari 5.
|
197
|
+
*/
|
198
|
+
|
199
|
+
figure {
|
200
|
+
margin: 1em 40px;
|
201
|
+
}
|
202
|
+
|
203
|
+
/**
|
204
|
+
* Address differences between Firefox and other browsers.
|
205
|
+
*/
|
206
|
+
|
207
|
+
hr {
|
208
|
+
-moz-box-sizing: content-box;
|
209
|
+
box-sizing: content-box;
|
210
|
+
height: 0;
|
211
|
+
}
|
212
|
+
|
213
|
+
/**
|
214
|
+
* Contain overflow in all browsers.
|
215
|
+
*/
|
216
|
+
|
217
|
+
pre {
|
218
|
+
overflow: auto;
|
219
|
+
}
|
220
|
+
|
221
|
+
/**
|
222
|
+
* Address odd `em`-unit font size rendering in all browsers.
|
223
|
+
*/
|
224
|
+
|
225
|
+
code,
|
226
|
+
kbd,
|
227
|
+
pre,
|
228
|
+
samp {
|
229
|
+
font-family: monospace, monospace;
|
230
|
+
font-size: 1em;
|
231
|
+
}
|
232
|
+
|
233
|
+
/* Forms
|
234
|
+
========================================================================== */
|
235
|
+
|
236
|
+
/**
|
237
|
+
* Known limitation: by default, Chrome and Safari on OS X allow very limited
|
238
|
+
* styling of `select`, unless a `border` property is set.
|
239
|
+
*/
|
240
|
+
|
241
|
+
/**
|
242
|
+
* 1. Correct color not being inherited.
|
243
|
+
* Known issue: affects color of disabled elements.
|
244
|
+
* 2. Correct font properties not being inherited.
|
245
|
+
* 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
|
246
|
+
*/
|
247
|
+
|
248
|
+
button,
|
249
|
+
input,
|
250
|
+
optgroup,
|
251
|
+
select,
|
252
|
+
textarea {
|
253
|
+
color: inherit; /* 1 */
|
254
|
+
font: inherit; /* 2 */
|
255
|
+
margin: 0; /* 3 */
|
256
|
+
}
|
257
|
+
|
258
|
+
/**
|
259
|
+
* Address `overflow` set to `hidden` in IE 8/9/10.
|
260
|
+
*/
|
261
|
+
|
262
|
+
button {
|
263
|
+
overflow: visible;
|
264
|
+
}
|
265
|
+
|
266
|
+
/**
|
267
|
+
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
268
|
+
* All other form control elements do not inherit `text-transform` values.
|
269
|
+
* Correct `button` style inheritance in Firefox, IE 8+, and Opera
|
270
|
+
* Correct `select` style inheritance in Firefox.
|
271
|
+
*/
|
272
|
+
|
273
|
+
button,
|
274
|
+
select {
|
275
|
+
text-transform: none;
|
276
|
+
}
|
277
|
+
|
278
|
+
/**
|
279
|
+
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
280
|
+
* and `video` controls.
|
281
|
+
* 2. Correct inability to style clickable `input` types in iOS.
|
282
|
+
* 3. Improve usability and consistency of cursor style between image-type
|
283
|
+
* `input` and others.
|
284
|
+
*/
|
285
|
+
|
286
|
+
button,
|
287
|
+
html input[type="button"], /* 1 */
|
288
|
+
input[type="reset"],
|
289
|
+
input[type="submit"] {
|
290
|
+
-webkit-appearance: button; /* 2 */
|
291
|
+
cursor: pointer; /* 3 */
|
292
|
+
}
|
293
|
+
|
294
|
+
/**
|
295
|
+
* Re-set default cursor for disabled elements.
|
296
|
+
*/
|
297
|
+
|
298
|
+
button[disabled],
|
299
|
+
html input[disabled] {
|
300
|
+
cursor: default;
|
301
|
+
}
|
302
|
+
|
303
|
+
/**
|
304
|
+
* Remove inner padding and border in Firefox 4+.
|
305
|
+
*/
|
306
|
+
|
307
|
+
button::-moz-focus-inner,
|
308
|
+
input::-moz-focus-inner {
|
309
|
+
border: 0;
|
310
|
+
padding: 0;
|
311
|
+
}
|
312
|
+
|
313
|
+
/**
|
314
|
+
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
315
|
+
* the UA stylesheet.
|
316
|
+
*/
|
317
|
+
|
318
|
+
input {
|
319
|
+
line-height: normal;
|
320
|
+
}
|
321
|
+
|
322
|
+
/**
|
323
|
+
* It's recommended that you don't attempt to style these elements.
|
324
|
+
* Firefox's implementation doesn't respect box-sizing, padding, or width.
|
325
|
+
*
|
326
|
+
* 1. Address box sizing set to `content-box` in IE 8/9/10.
|
327
|
+
* 2. Remove excess padding in IE 8/9/10.
|
328
|
+
*/
|
329
|
+
|
330
|
+
input[type="checkbox"],
|
331
|
+
input[type="radio"] {
|
332
|
+
box-sizing: border-box; /* 1 */
|
333
|
+
padding: 0; /* 2 */
|
334
|
+
}
|
335
|
+
|
336
|
+
/**
|
337
|
+
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
|
338
|
+
* `font-size` values of the `input`, it causes the cursor style of the
|
339
|
+
* decrement button to change from `default` to `text`.
|
340
|
+
*/
|
341
|
+
|
342
|
+
input[type="number"]::-webkit-inner-spin-button,
|
343
|
+
input[type="number"]::-webkit-outer-spin-button {
|
344
|
+
height: auto;
|
345
|
+
}
|
346
|
+
|
347
|
+
/**
|
348
|
+
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
|
349
|
+
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
|
350
|
+
* (include `-moz` to future-proof).
|
351
|
+
*/
|
352
|
+
|
353
|
+
input[type="search"] {
|
354
|
+
-webkit-appearance: textfield; /* 1 */
|
355
|
+
-moz-box-sizing: content-box;
|
356
|
+
-webkit-box-sizing: content-box; /* 2 */
|
357
|
+
box-sizing: content-box;
|
358
|
+
}
|
359
|
+
|
360
|
+
/**
|
361
|
+
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
362
|
+
* Safari (but not Chrome) clips the cancel button when the search input has
|
363
|
+
* padding (and `textfield` appearance).
|
364
|
+
*/
|
365
|
+
|
366
|
+
input[type="search"]::-webkit-search-cancel-button,
|
367
|
+
input[type="search"]::-webkit-search-decoration {
|
368
|
+
-webkit-appearance: none;
|
369
|
+
}
|
370
|
+
|
371
|
+
/**
|
372
|
+
* Define consistent border, margin, and padding.
|
373
|
+
*/
|
374
|
+
|
375
|
+
fieldset {
|
376
|
+
border: 1px solid #c0c0c0;
|
377
|
+
margin: 0 2px;
|
378
|
+
padding: 0.35em 0.625em 0.75em;
|
379
|
+
}
|
380
|
+
|
381
|
+
/**
|
382
|
+
* 1. Correct `color` not being inherited in IE 8/9.
|
383
|
+
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
384
|
+
*/
|
385
|
+
|
386
|
+
legend {
|
387
|
+
border: 0; /* 1 */
|
388
|
+
padding: 0; /* 2 */
|
389
|
+
}
|
390
|
+
|
391
|
+
/**
|
392
|
+
* Remove default vertical scrollbar in IE 8/9.
|
393
|
+
*/
|
394
|
+
|
395
|
+
textarea {
|
396
|
+
overflow: auto;
|
397
|
+
}
|
398
|
+
|
399
|
+
/**
|
400
|
+
* Don't inherit the `font-weight` (applied by a rule above).
|
401
|
+
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
402
|
+
*/
|
403
|
+
|
404
|
+
optgroup {
|
405
|
+
font-weight: bold;
|
406
|
+
}
|
407
|
+
|
408
|
+
/* Tables
|
409
|
+
========================================================================== */
|
410
|
+
|
411
|
+
/**
|
412
|
+
* Remove most spacing between table cells.
|
413
|
+
*/
|
414
|
+
|
415
|
+
table {
|
416
|
+
border-collapse: collapse;
|
417
|
+
border-spacing: 0;
|
418
|
+
}
|
419
|
+
|
420
|
+
td,
|
421
|
+
th {
|
422
|
+
padding: 0;
|
423
|
+
}
|