fomantic-ui-sass 2.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +27 -0
- data/.rspec +1 -0
- data/.travis.yml +5 -0
- data/CHANGELOG.md +370 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +177 -0
- data/Rakefile +8 -0
- data/app/assets/fonts/semantic-ui/brand-icons.eot +0 -0
- data/app/assets/fonts/semantic-ui/brand-icons.svg +1008 -0
- data/app/assets/fonts/semantic-ui/brand-icons.ttf +0 -0
- data/app/assets/fonts/semantic-ui/brand-icons.woff +0 -0
- data/app/assets/fonts/semantic-ui/brand-icons.woff2 +0 -0
- data/app/assets/fonts/semantic-ui/icons.eot +0 -0
- data/app/assets/fonts/semantic-ui/icons.otf +0 -0
- data/app/assets/fonts/semantic-ui/icons.svg +1518 -0
- data/app/assets/fonts/semantic-ui/icons.ttf +0 -0
- data/app/assets/fonts/semantic-ui/icons.woff +0 -0
- data/app/assets/fonts/semantic-ui/icons.woff2 +0 -0
- data/app/assets/fonts/semantic-ui/outline-icons.eot +0 -0
- data/app/assets/fonts/semantic-ui/outline-icons.svg +366 -0
- data/app/assets/fonts/semantic-ui/outline-icons.ttf +0 -0
- data/app/assets/fonts/semantic-ui/outline-icons.woff +0 -0
- data/app/assets/fonts/semantic-ui/outline-icons.woff2 +0 -0
- data/app/assets/images/semantic-ui/flags.png +0 -0
- data/app/assets/javascripts/semantic-ui.js +27 -0
- data/app/assets/javascripts/semantic-ui/accordion.js +613 -0
- data/app/assets/javascripts/semantic-ui/api.js +1167 -0
- data/app/assets/javascripts/semantic-ui/calendar.js +1476 -0
- data/app/assets/javascripts/semantic-ui/checkbox.js +828 -0
- data/app/assets/javascripts/semantic-ui/colorize.js +280 -0
- data/app/assets/javascripts/semantic-ui/dimmer.js +735 -0
- data/app/assets/javascripts/semantic-ui/dropdown.js +4030 -0
- data/app/assets/javascripts/semantic-ui/embed.js +706 -0
- data/app/assets/javascripts/semantic-ui/form.js +1707 -0
- data/app/assets/javascripts/semantic-ui/modal.js +1090 -0
- data/app/assets/javascripts/semantic-ui/nag.js +507 -0
- data/app/assets/javascripts/semantic-ui/popup.js +1532 -0
- data/app/assets/javascripts/semantic-ui/progress.js +923 -0
- data/app/assets/javascripts/semantic-ui/range.js +278 -0
- data/app/assets/javascripts/semantic-ui/rating.js +511 -0
- data/app/assets/javascripts/semantic-ui/search.js +1515 -0
- data/app/assets/javascripts/semantic-ui/shape.js +921 -0
- data/app/assets/javascripts/semantic-ui/sidebar.js +1033 -0
- data/app/assets/javascripts/semantic-ui/site.js +490 -0
- data/app/assets/javascripts/semantic-ui/state.js +708 -0
- data/app/assets/javascripts/semantic-ui/sticky.js +959 -0
- data/app/assets/javascripts/semantic-ui/tab.js +952 -0
- data/app/assets/javascripts/semantic-ui/toast.js +592 -0
- data/app/assets/javascripts/semantic-ui/transition.js +1106 -0
- data/app/assets/javascripts/semantic-ui/video.js +532 -0
- data/app/assets/javascripts/semantic-ui/visibility.js +1311 -0
- data/app/assets/javascripts/semantic-ui/visit.js +525 -0
- data/app/assets/stylesheets/semantic-ui.scss +5 -0
- data/app/assets/stylesheets/semantic-ui/collections/_all.scss +6 -0
- data/app/assets/stylesheets/semantic-ui/collections/_breadcrumb.scss +124 -0
- data/app/assets/stylesheets/semantic-ui/collections/_form.scss +1158 -0
- data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +2093 -0
- data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +2193 -0
- data/app/assets/stylesheets/semantic-ui/collections/_message.scss +606 -0
- data/app/assets/stylesheets/semantic-ui/collections/_table.scss +1117 -0
- data/app/assets/stylesheets/semantic-ui/elements/_all.scss +16 -0
- data/app/assets/stylesheets/semantic-ui/elements/_button.scss +4530 -0
- data/app/assets/stylesheets/semantic-ui/elements/_container.scss +145 -0
- data/app/assets/stylesheets/semantic-ui/elements/_divider.scss +259 -0
- data/app/assets/stylesheets/semantic-ui/elements/_flag.scss +1036 -0
- data/app/assets/stylesheets/semantic-ui/elements/_header.scss +762 -0
- data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +6330 -0
- data/app/assets/stylesheets/semantic-ui/elements/_image.scss +310 -0
- data/app/assets/stylesheets/semantic-ui/elements/_input.scss +519 -0
- data/app/assets/stylesheets/semantic-ui/elements/_label.scss +1395 -0
- data/app/assets/stylesheets/semantic-ui/elements/_list.scss +959 -0
- data/app/assets/stylesheets/semantic-ui/elements/_loader.scss +458 -0
- data/app/assets/stylesheets/semantic-ui/elements/_placeholder.scss +242 -0
- data/app/assets/stylesheets/semantic-ui/elements/_rail.scss +152 -0
- data/app/assets/stylesheets/semantic-ui/elements/_reveal.scss +295 -0
- data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +884 -0
- data/app/assets/stylesheets/semantic-ui/elements/_step.scss +675 -0
- data/app/assets/stylesheets/semantic-ui/globals/_all.scss +3 -0
- data/app/assets/stylesheets/semantic-ui/globals/_reset.scss +485 -0
- data/app/assets/stylesheets/semantic-ui/globals/_site.scss +206 -0
- data/app/assets/stylesheets/semantic-ui/globals/_variables.scss +4 -0
- data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +247 -0
- data/app/assets/stylesheets/semantic-ui/modules/_all.scss +20 -0
- data/app/assets/stylesheets/semantic-ui/modules/_calendar.scss +165 -0
- data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +718 -0
- data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +464 -0
- data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +1745 -0
- data/app/assets/stylesheets/semantic-ui/modules/_embed.scss +165 -0
- data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +646 -0
- data/app/assets/stylesheets/semantic-ui/modules/_nag.scss +148 -0
- data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +789 -0
- data/app/assets/stylesheets/semantic-ui/modules/_progress.scss +523 -0
- data/app/assets/stylesheets/semantic-ui/modules/_range.scss +192 -0
- data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +263 -0
- data/app/assets/stylesheets/semantic-ui/modules/_search.scss +445 -0
- data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +154 -0
- data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +626 -0
- data/app/assets/stylesheets/semantic-ui/modules/_sticky.scss +78 -0
- data/app/assets/stylesheets/semantic-ui/modules/_tab.scss +92 -0
- data/app/assets/stylesheets/semantic-ui/modules/_toast.scss +291 -0
- data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +2059 -0
- data/app/assets/stylesheets/semantic-ui/modules/_video.scss +125 -0
- data/app/assets/stylesheets/semantic-ui/views/_ad.scss +275 -0
- data/app/assets/stylesheets/semantic-ui/views/_all.scss +6 -0
- data/app/assets/stylesheets/semantic-ui/views/_card.scss +1124 -0
- data/app/assets/stylesheets/semantic-ui/views/_comment.scss +296 -0
- data/app/assets/stylesheets/semantic-ui/views/_feed.scss +314 -0
- data/app/assets/stylesheets/semantic-ui/views/_item.scss +555 -0
- data/app/assets/stylesheets/semantic-ui/views/_statistic.scss +583 -0
- data/app/helpers/semantic_breadcrumbs_helper.rb +10 -0
- data/app/helpers/semantic_flash_helper.rb +22 -0
- data/app/helpers/semantic_icon_helper.rb +8 -0
- data/app/views/semantic/_breadcrumbs.html.erb +12 -0
- data/fomantic-ui-sass.gemspec +31 -0
- data/lib/fomantic-ui-sass.rb +62 -0
- data/lib/fomantic/ui/sass/breadcrumbs.rb +41 -0
- data/lib/fomantic/ui/sass/engine.rb +23 -0
- data/lib/fomantic/ui/sass/version.rb +8 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/images/.keep +0 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/controllers/concerns/.keep +0 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/mailers/.keep +0 -0
- data/spec/dummy/app/models/.keep +0 -0
- data/spec/dummy/app/models/concerns/.keep +0 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +28 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +29 -0
- data/spec/dummy/config/environments/production.rb +80 -0
- data/spec/dummy/config/environments/test.rb +36 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +12 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +2 -0
- data/spec/dummy/lib/assets/.keep +0 -0
- data/spec/dummy/log/.keep +0 -0
- data/spec/dummy/public/404.html +58 -0
- data/spec/dummy/public/422.html +58 -0
- data/spec/dummy/public/500.html +57 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/helpers/semantic_breadcrumbs_helper_spec.rb +38 -0
- data/spec/helpers/semantic_flash_helper_spec.rb +36 -0
- data/spec/helpers/semantic_icon_helper_spec.rb +48 -0
- data/spec/spec_helper.rb +17 -0
- data/tasks/converter.rb +216 -0
- data/templates/project/manifest.rb +29 -0
- data/templates/project/styles.scss +1 -0
- metadata +390 -0
@@ -0,0 +1,485 @@
|
|
1
|
+
/*!
|
2
|
+
* # Semantic UI 2.6.4 - Reset
|
3
|
+
* http://github.com/semantic-org/semantic-ui/
|
4
|
+
*
|
5
|
+
*
|
6
|
+
* Released under the MIT license
|
7
|
+
* http://opensource.org/licenses/MIT
|
8
|
+
*
|
9
|
+
*/
|
10
|
+
|
11
|
+
|
12
|
+
/*******************************
|
13
|
+
Reset
|
14
|
+
*******************************/
|
15
|
+
|
16
|
+
|
17
|
+
/* Border-Box */
|
18
|
+
*,
|
19
|
+
*:before,
|
20
|
+
*:after {
|
21
|
+
-webkit-box-sizing: inherit;
|
22
|
+
box-sizing: inherit;
|
23
|
+
}
|
24
|
+
html {
|
25
|
+
-webkit-box-sizing: border-box;
|
26
|
+
box-sizing: border-box;
|
27
|
+
}
|
28
|
+
|
29
|
+
/* iPad Input Shadows */
|
30
|
+
input[type="text"],
|
31
|
+
input[type="email"],
|
32
|
+
input[type="search"],
|
33
|
+
input[type="password"] {
|
34
|
+
-webkit-appearance: none;
|
35
|
+
-moz-appearance: none;
|
36
|
+
|
37
|
+
/* mobile firefox too! */
|
38
|
+
}
|
39
|
+
/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
|
40
|
+
|
41
|
+
/* Document
|
42
|
+
========================================================================== */
|
43
|
+
/**
|
44
|
+
* 1. Correct the line height in all browsers.
|
45
|
+
* 2. Prevent adjustments of font size after orientation changes in
|
46
|
+
* IE on Windows Phone and in iOS.
|
47
|
+
*/
|
48
|
+
html {
|
49
|
+
line-height: 1.15;
|
50
|
+
|
51
|
+
/* 1 */
|
52
|
+
-ms-text-size-adjust: 100%;
|
53
|
+
|
54
|
+
/* 2 */
|
55
|
+
-webkit-text-size-adjust: 100%;
|
56
|
+
|
57
|
+
/* 2 */
|
58
|
+
}
|
59
|
+
|
60
|
+
/* Sections
|
61
|
+
========================================================================== */
|
62
|
+
/**
|
63
|
+
* Remove the margin in all browsers (opinionated).
|
64
|
+
*/
|
65
|
+
body {
|
66
|
+
margin: 0;
|
67
|
+
}
|
68
|
+
/**
|
69
|
+
* Add the correct display in IE 9-.
|
70
|
+
*/
|
71
|
+
article,
|
72
|
+
aside,
|
73
|
+
footer,
|
74
|
+
header,
|
75
|
+
nav,
|
76
|
+
section {
|
77
|
+
display: block;
|
78
|
+
}
|
79
|
+
/**
|
80
|
+
* Correct the font size and margin on `h1` elements within `section` and
|
81
|
+
* `article` contexts in Chrome, Firefox, and Safari.
|
82
|
+
*/
|
83
|
+
h1 {
|
84
|
+
font-size: 2em;
|
85
|
+
margin: 0.67em 0;
|
86
|
+
}
|
87
|
+
|
88
|
+
/* Grouping content
|
89
|
+
========================================================================== */
|
90
|
+
/**
|
91
|
+
* Add the correct display in IE 9-.
|
92
|
+
* 1. Add the correct display in IE.
|
93
|
+
*/
|
94
|
+
figcaption,
|
95
|
+
figure,
|
96
|
+
main {
|
97
|
+
|
98
|
+
/* 1 */
|
99
|
+
display: block;
|
100
|
+
}
|
101
|
+
/**
|
102
|
+
* Add the correct margin in IE 8.
|
103
|
+
*/
|
104
|
+
figure {
|
105
|
+
margin: 1em 40px;
|
106
|
+
}
|
107
|
+
/**
|
108
|
+
* 1. Add the correct box sizing in Firefox.
|
109
|
+
* 2. Show the overflow in Edge and IE.
|
110
|
+
*/
|
111
|
+
hr {
|
112
|
+
-webkit-box-sizing: content-box;
|
113
|
+
box-sizing: content-box;
|
114
|
+
|
115
|
+
/* 1 */
|
116
|
+
height: 0;
|
117
|
+
|
118
|
+
/* 1 */
|
119
|
+
overflow: visible;
|
120
|
+
|
121
|
+
/* 2 */
|
122
|
+
}
|
123
|
+
/**
|
124
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
125
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
126
|
+
*/
|
127
|
+
pre {
|
128
|
+
font-family: monospace, monospace;
|
129
|
+
|
130
|
+
/* 1 */
|
131
|
+
font-size: 1em;
|
132
|
+
|
133
|
+
/* 2 */
|
134
|
+
}
|
135
|
+
|
136
|
+
/* Text-level semantics
|
137
|
+
========================================================================== */
|
138
|
+
/**
|
139
|
+
* 1. Remove the gray background on active links in IE 10.
|
140
|
+
* 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
|
141
|
+
*/
|
142
|
+
a {
|
143
|
+
background-color: transparent;
|
144
|
+
|
145
|
+
/* 1 */
|
146
|
+
-webkit-text-decoration-skip: objects;
|
147
|
+
|
148
|
+
/* 2 */
|
149
|
+
}
|
150
|
+
/**
|
151
|
+
* 1. Remove the bottom border in Chrome 57- and Firefox 39-.
|
152
|
+
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
153
|
+
*/
|
154
|
+
abbr[title] {
|
155
|
+
border-bottom: none;
|
156
|
+
|
157
|
+
/* 1 */
|
158
|
+
text-decoration: underline;
|
159
|
+
|
160
|
+
/* 2 */
|
161
|
+
-webkit-text-decoration: underline dotted;
|
162
|
+
text-decoration: underline dotted;
|
163
|
+
|
164
|
+
/* 2 */
|
165
|
+
}
|
166
|
+
/**
|
167
|
+
* Prevent the duplicate application of `bolder` by the next rule in Safari 6.
|
168
|
+
*/
|
169
|
+
b,
|
170
|
+
strong {
|
171
|
+
font-weight: inherit;
|
172
|
+
}
|
173
|
+
/**
|
174
|
+
* Add the correct font weight in Chrome, Edge, and Safari.
|
175
|
+
*/
|
176
|
+
b,
|
177
|
+
strong {
|
178
|
+
font-weight: bolder;
|
179
|
+
}
|
180
|
+
/**
|
181
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
182
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
183
|
+
*/
|
184
|
+
code,
|
185
|
+
kbd,
|
186
|
+
samp {
|
187
|
+
font-family: monospace, monospace;
|
188
|
+
|
189
|
+
/* 1 */
|
190
|
+
font-size: 1em;
|
191
|
+
|
192
|
+
/* 2 */
|
193
|
+
}
|
194
|
+
/**
|
195
|
+
* Add the correct font style in Android 4.3-.
|
196
|
+
*/
|
197
|
+
dfn {
|
198
|
+
font-style: italic;
|
199
|
+
}
|
200
|
+
/**
|
201
|
+
* Add the correct background and color in IE 9-.
|
202
|
+
*/
|
203
|
+
mark {
|
204
|
+
background-color: #ff0;
|
205
|
+
color: #000;
|
206
|
+
}
|
207
|
+
/**
|
208
|
+
* Add the correct font size in all browsers.
|
209
|
+
*/
|
210
|
+
small {
|
211
|
+
font-size: 80%;
|
212
|
+
}
|
213
|
+
/**
|
214
|
+
* Prevent `sub` and `sup` elements from affecting the line height in
|
215
|
+
* all browsers.
|
216
|
+
*/
|
217
|
+
sub,
|
218
|
+
sup {
|
219
|
+
font-size: 75%;
|
220
|
+
line-height: 0;
|
221
|
+
position: relative;
|
222
|
+
vertical-align: baseline;
|
223
|
+
}
|
224
|
+
sub {
|
225
|
+
bottom: -0.25em;
|
226
|
+
}
|
227
|
+
sup {
|
228
|
+
top: -0.5em;
|
229
|
+
}
|
230
|
+
|
231
|
+
/* Embedded content
|
232
|
+
========================================================================== */
|
233
|
+
/**
|
234
|
+
* Add the correct display in IE 9-.
|
235
|
+
*/
|
236
|
+
audio,
|
237
|
+
video {
|
238
|
+
display: inline-block;
|
239
|
+
}
|
240
|
+
/**
|
241
|
+
* Add the correct display in iOS 4-7.
|
242
|
+
*/
|
243
|
+
audio:not([controls]) {
|
244
|
+
display: none;
|
245
|
+
height: 0;
|
246
|
+
}
|
247
|
+
/**
|
248
|
+
* Remove the border on images inside links in IE 10-.
|
249
|
+
*/
|
250
|
+
img {
|
251
|
+
border-style: none;
|
252
|
+
}
|
253
|
+
/**
|
254
|
+
* Hide the overflow in IE.
|
255
|
+
*/
|
256
|
+
svg:not(:root) {
|
257
|
+
overflow: hidden;
|
258
|
+
}
|
259
|
+
|
260
|
+
/* Forms
|
261
|
+
========================================================================== */
|
262
|
+
/**
|
263
|
+
* 1. Change the font styles in all browsers (opinionated).
|
264
|
+
* 2. Remove the margin in Firefox and Safari.
|
265
|
+
*/
|
266
|
+
button,
|
267
|
+
input,
|
268
|
+
optgroup,
|
269
|
+
select,
|
270
|
+
textarea {
|
271
|
+
font-family: sans-serif;
|
272
|
+
|
273
|
+
/* 1 */
|
274
|
+
font-size: 100%;
|
275
|
+
|
276
|
+
/* 1 */
|
277
|
+
line-height: 1.15;
|
278
|
+
|
279
|
+
/* 1 */
|
280
|
+
margin: 0;
|
281
|
+
|
282
|
+
/* 2 */
|
283
|
+
}
|
284
|
+
/**
|
285
|
+
* Show the overflow in IE.
|
286
|
+
* 1. Show the overflow in Edge.
|
287
|
+
*/
|
288
|
+
button,
|
289
|
+
input {
|
290
|
+
|
291
|
+
/* 1 */
|
292
|
+
overflow: visible;
|
293
|
+
}
|
294
|
+
/**
|
295
|
+
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
296
|
+
* 1. Remove the inheritance of text transform in Firefox.
|
297
|
+
*/
|
298
|
+
button,
|
299
|
+
select {
|
300
|
+
|
301
|
+
/* 1 */
|
302
|
+
text-transform: none;
|
303
|
+
}
|
304
|
+
/**
|
305
|
+
* 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
|
306
|
+
* controls in Android 4.
|
307
|
+
* 2. Correct the inability to style clickable types in iOS and Safari.
|
308
|
+
*/
|
309
|
+
button,
|
310
|
+
html [type="button"],
|
311
|
+
[type="reset"],
|
312
|
+
[type="submit"] {
|
313
|
+
-webkit-appearance: button;
|
314
|
+
|
315
|
+
/* 2 */
|
316
|
+
}
|
317
|
+
/**
|
318
|
+
* Remove the inner border and padding in Firefox.
|
319
|
+
*/
|
320
|
+
button::-moz-focus-inner,
|
321
|
+
[type="button"]::-moz-focus-inner,
|
322
|
+
[type="reset"]::-moz-focus-inner,
|
323
|
+
[type="submit"]::-moz-focus-inner {
|
324
|
+
border-style: none;
|
325
|
+
padding: 0;
|
326
|
+
}
|
327
|
+
/**
|
328
|
+
* Restore the focus styles unset by the previous rule.
|
329
|
+
*/
|
330
|
+
button:-moz-focusring,
|
331
|
+
[type="button"]:-moz-focusring,
|
332
|
+
[type="reset"]:-moz-focusring,
|
333
|
+
[type="submit"]:-moz-focusring {
|
334
|
+
outline: 1px dotted ButtonText;
|
335
|
+
}
|
336
|
+
/**
|
337
|
+
* Correct the padding in Firefox.
|
338
|
+
*/
|
339
|
+
fieldset {
|
340
|
+
padding: 0.35em 0.75em 0.625em;
|
341
|
+
}
|
342
|
+
/**
|
343
|
+
* 1. Correct the text wrapping in Edge and IE.
|
344
|
+
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
345
|
+
* 3. Remove the padding so developers are not caught out when they zero out
|
346
|
+
* `fieldset` elements in all browsers.
|
347
|
+
*/
|
348
|
+
legend {
|
349
|
+
-webkit-box-sizing: border-box;
|
350
|
+
box-sizing: border-box;
|
351
|
+
|
352
|
+
/* 1 */
|
353
|
+
color: inherit;
|
354
|
+
|
355
|
+
/* 2 */
|
356
|
+
display: table;
|
357
|
+
|
358
|
+
/* 1 */
|
359
|
+
max-width: 100%;
|
360
|
+
|
361
|
+
/* 1 */
|
362
|
+
padding: 0;
|
363
|
+
|
364
|
+
/* 3 */
|
365
|
+
white-space: normal;
|
366
|
+
|
367
|
+
/* 1 */
|
368
|
+
}
|
369
|
+
/**
|
370
|
+
* 1. Add the correct display in IE 9-.
|
371
|
+
* 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
372
|
+
*/
|
373
|
+
progress {
|
374
|
+
display: inline-block;
|
375
|
+
|
376
|
+
/* 1 */
|
377
|
+
vertical-align: baseline;
|
378
|
+
|
379
|
+
/* 2 */
|
380
|
+
}
|
381
|
+
/**
|
382
|
+
* Remove the default vertical scrollbar in IE.
|
383
|
+
*/
|
384
|
+
textarea {
|
385
|
+
overflow: auto;
|
386
|
+
}
|
387
|
+
/**
|
388
|
+
* 1. Add the correct box sizing in IE 10-.
|
389
|
+
* 2. Remove the padding in IE 10-.
|
390
|
+
*/
|
391
|
+
[type="checkbox"],
|
392
|
+
[type="radio"] {
|
393
|
+
-webkit-box-sizing: border-box;
|
394
|
+
box-sizing: border-box;
|
395
|
+
|
396
|
+
/* 1 */
|
397
|
+
padding: 0;
|
398
|
+
|
399
|
+
/* 2 */
|
400
|
+
}
|
401
|
+
/**
|
402
|
+
* Correct the cursor style of increment and decrement buttons in Chrome.
|
403
|
+
*/
|
404
|
+
[type="number"]::-webkit-inner-spin-button,
|
405
|
+
[type="number"]::-webkit-outer-spin-button {
|
406
|
+
height: auto;
|
407
|
+
}
|
408
|
+
/**
|
409
|
+
* 1. Correct the odd appearance in Chrome and Safari.
|
410
|
+
* 2. Correct the outline style in Safari.
|
411
|
+
*/
|
412
|
+
[type="search"] {
|
413
|
+
-webkit-appearance: textfield;
|
414
|
+
|
415
|
+
/* 1 */
|
416
|
+
outline-offset: -2px;
|
417
|
+
|
418
|
+
/* 2 */
|
419
|
+
}
|
420
|
+
/**
|
421
|
+
* Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
|
422
|
+
*/
|
423
|
+
[type="search"]::-webkit-search-cancel-button,
|
424
|
+
[type="search"]::-webkit-search-decoration {
|
425
|
+
-webkit-appearance: none;
|
426
|
+
}
|
427
|
+
/**
|
428
|
+
* 1. Correct the inability to style clickable types in iOS and Safari.
|
429
|
+
* 2. Change font properties to `inherit` in Safari.
|
430
|
+
*/
|
431
|
+
::-webkit-file-upload-button {
|
432
|
+
-webkit-appearance: button;
|
433
|
+
|
434
|
+
/* 1 */
|
435
|
+
font: inherit;
|
436
|
+
|
437
|
+
/* 2 */
|
438
|
+
}
|
439
|
+
|
440
|
+
/* Interactive
|
441
|
+
========================================================================== */
|
442
|
+
/*
|
443
|
+
* Add the correct display in IE 9-.
|
444
|
+
* 1. Add the correct display in Edge, IE, and Firefox.
|
445
|
+
*/
|
446
|
+
details,
|
447
|
+
menu {
|
448
|
+
display: block;
|
449
|
+
}
|
450
|
+
/*
|
451
|
+
* Add the correct display in all browsers.
|
452
|
+
*/
|
453
|
+
summary {
|
454
|
+
display: list-item;
|
455
|
+
}
|
456
|
+
|
457
|
+
/* Scripting
|
458
|
+
========================================================================== */
|
459
|
+
/**
|
460
|
+
* Add the correct display in IE 9-.
|
461
|
+
*/
|
462
|
+
canvas {
|
463
|
+
display: inline-block;
|
464
|
+
}
|
465
|
+
/**
|
466
|
+
* Add the correct display in IE.
|
467
|
+
*/
|
468
|
+
template {
|
469
|
+
display: none;
|
470
|
+
}
|
471
|
+
|
472
|
+
/* Hidden
|
473
|
+
========================================================================== */
|
474
|
+
/**
|
475
|
+
* Add the correct display in IE 10-.
|
476
|
+
*/
|
477
|
+
[hidden] {
|
478
|
+
display: none;
|
479
|
+
}
|
480
|
+
|
481
|
+
|
482
|
+
/*******************************
|
483
|
+
Site Overrides
|
484
|
+
*******************************/
|
485
|
+
|