tao_ui 0.3.4 → 1.0.0.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tao_ui/components/tree/item_component.rb +20 -12
- data/lib/tao_ui/components/tree_component.rb +1 -1
- data/lib/tao_ui/engine.rb +0 -1
- data/lib/tao_ui/version.rb +1 -1
- data/lib/views/components/tao_ui/components/_dialog.html.erb +2 -2
- data/lib/views/components/tao_ui/components/_slide_box.html.erb +1 -1
- metadata +7 -157
- data/config/autoprefixer.yml +0 -7
- data/lib/assets/icons/Loading.svg +0 -19
- data/lib/assets/icons/close.svg +0 -12
- data/lib/assets/javascripts/tao/ui/dialog/confirm.coffee +0 -13
- data/lib/assets/javascripts/tao/ui/dialog/element.coffee +0 -115
- data/lib/assets/javascripts/tao/ui/dialog/index.coffee +0 -16
- data/lib/assets/javascripts/tao/ui/dialog/message.coffee +0 -13
- data/lib/assets/javascripts/tao/ui/icons/base.coffee +0 -5
- data/lib/assets/javascripts/tao/ui/icons/index.coffee +0 -20
- data/lib/assets/javascripts/tao/ui/index.coffee +0 -12
- data/lib/assets/javascripts/tao/ui/mobile/index.coffee +0 -6
- data/lib/assets/javascripts/tao/ui/mobile/slide_box/element.coffee +0 -7
- data/lib/assets/javascripts/tao/ui/mobile/slide_box/index.coffee +0 -2
- data/lib/assets/javascripts/tao/ui/popover/confirm.coffee +0 -23
- data/lib/assets/javascripts/tao/ui/popover/create.coffee +0 -18
- data/lib/assets/javascripts/tao/ui/popover/direction.coffee +0 -76
- data/lib/assets/javascripts/tao/ui/popover/element.coffee +0 -198
- data/lib/assets/javascripts/tao/ui/popover/index.coffee +0 -16
- data/lib/assets/javascripts/tao/ui/popover/position.coffee +0 -80
- data/lib/assets/javascripts/tao/ui/shared/slide_box/element/base.coffee +0 -118
- data/lib/assets/javascripts/tao/ui/shared/slide_box/export.coffee +0 -11
- data/lib/assets/javascripts/tao/ui/shared/ujs.coffee +0 -51
- data/lib/assets/javascripts/tao/ui/slide_box/element.coffee +0 -9
- data/lib/assets/javascripts/tao/ui/slide_box/index.coffee +0 -2
- data/lib/assets/javascripts/tao/ui/sortable.coffee +0 -147
- data/lib/assets/javascripts/tao/ui/table/element.coffee +0 -13
- data/lib/assets/javascripts/tao/ui/table/expandable.coffee +0 -62
- data/lib/assets/javascripts/tao/ui/table/index.coffee +0 -6
- data/lib/assets/javascripts/tao/ui/table/selectable.coffee +0 -52
- data/lib/assets/javascripts/tao/ui/tooltip.coffee +0 -5
- data/lib/assets/javascripts/tao/ui/tree/element.coffee +0 -58
- data/lib/assets/javascripts/tao/ui/tree/index.coffee +0 -5
- data/lib/assets/javascripts/tao/ui/tree/item.coffee +0 -93
- data/lib/assets/stylesheets/tao/ui/_custom.scss +0 -1
- data/lib/assets/stylesheets/tao/ui/_globals.scss +0 -3
- data/lib/assets/stylesheets/tao/ui/_mixins.scss +0 -2
- data/lib/assets/stylesheets/tao/ui/_variables.scss +0 -4
- data/lib/assets/stylesheets/tao/ui/basic.scss +0 -30
- data/lib/assets/stylesheets/tao/ui/buttons.scss +0 -8
- data/lib/assets/stylesheets/tao/ui/code.scss +0 -2
- data/lib/assets/stylesheets/tao/ui/dialog.scss +0 -117
- data/lib/assets/stylesheets/tao/ui/icons.scss +0 -2
- data/lib/assets/stylesheets/tao/ui/index.scss +0 -13
- data/lib/assets/stylesheets/tao/ui/mobile/_custom.scss +0 -1
- data/lib/assets/stylesheets/tao/ui/mobile/_globals.scss +0 -3
- data/lib/assets/stylesheets/tao/ui/mobile/_mixins.scss +0 -2
- data/lib/assets/stylesheets/tao/ui/mobile/_variables.scss +0 -3
- data/lib/assets/stylesheets/tao/ui/mobile/basic.scss +0 -24
- data/lib/assets/stylesheets/tao/ui/mobile/buttons.scss +0 -8
- data/lib/assets/stylesheets/tao/ui/mobile/code.scss +0 -2
- data/lib/assets/stylesheets/tao/ui/mobile/icons.scss +0 -2
- data/lib/assets/stylesheets/tao/ui/mobile/index.scss +0 -7
- data/lib/assets/stylesheets/tao/ui/mobile/slide_box.scss +0 -56
- data/lib/assets/stylesheets/tao/ui/mobile/tables.scss +0 -2
- data/lib/assets/stylesheets/tao/ui/mobile/variables/_base.scss +0 -10
- data/lib/assets/stylesheets/tao/ui/mobile/variables/_buttons.scss +0 -7
- data/lib/assets/stylesheets/tao/ui/popover.scss +0 -206
- data/lib/assets/stylesheets/tao/ui/shared/_basic.scss +0 -127
- data/lib/assets/stylesheets/tao/ui/shared/_buttons.scss +0 -65
- data/lib/assets/stylesheets/tao/ui/shared/_code.scss +0 -54
- data/lib/assets/stylesheets/tao/ui/shared/_icons.scss +0 -16
- data/lib/assets/stylesheets/tao/ui/shared/_slide_box.scss +0 -83
- data/lib/assets/stylesheets/tao/ui/shared/_tables.scss +0 -38
- data/lib/assets/stylesheets/tao/ui/shared/mixins/_base.scss +0 -6
- data/lib/assets/stylesheets/tao/ui/shared/mixins/_buttons.scss +0 -40
- data/lib/assets/stylesheets/tao/ui/shared/variables/_base.scss +0 -49
- data/lib/assets/stylesheets/tao/ui/shared/variables/_buttons.scss +0 -99
- data/lib/assets/stylesheets/tao/ui/shared/variables/_tables.scss +0 -4
- data/lib/assets/stylesheets/tao/ui/slide_box.scss +0 -39
- data/lib/assets/stylesheets/tao/ui/sortable.scss +0 -16
- data/lib/assets/stylesheets/tao/ui/tables.scss +0 -89
- data/lib/assets/stylesheets/tao/ui/tabs.scss +0 -23
- data/lib/assets/stylesheets/tao/ui/tooltip.scss +0 -147
- data/lib/assets/stylesheets/tao/ui/tree.scss +0 -128
- data/lib/assets/stylesheets/tao/ui/variables/_base.scss +0 -10
- data/lib/assets/stylesheets/tao/ui/variables/_tree.scss +0 -2
- data/lib/generators/tao/icons/USAGE +0 -8
- data/lib/generators/tao/icons/icons_generator.rb +0 -56
- data/lib/generators/tao/icons/templates/icons.coffee.erb +0 -3
- data/vendor/assets/stylesheets/normalize.css +0 -427
@@ -1,56 +0,0 @@
|
|
1
|
-
module Tao
|
2
|
-
module Generators
|
3
|
-
class IconsGenerator < Rails::Generators::NamedBase
|
4
|
-
source_root File.expand_path('../templates', __FILE__)
|
5
|
-
|
6
|
-
class_option :paths, type: :array, default: ['app/assets/icons', 'lib/assets/icons'], desc: 'Find svg files in specified paths.'
|
7
|
-
|
8
|
-
class_option :remove_color, type: :boolean, default: true, desc: 'Remove all fill attributes in svg.'
|
9
|
-
|
10
|
-
attr_reader :icons_html
|
11
|
-
|
12
|
-
def create_icons_file
|
13
|
-
@icons_html = svg_files.map {|file| " #{symbol(file)}\n"}.join
|
14
|
-
template 'icons.coffee.erb', File.join('lib/assets/javascripts/tao/ui/icons', "#{name.to_s}.coffee")
|
15
|
-
end
|
16
|
-
|
17
|
-
private
|
18
|
-
|
19
|
-
def svg_files
|
20
|
-
Dir.glob(options[:paths].map { |p|
|
21
|
-
File.expand_path(File.join(p, '*.svg'), destination_root)
|
22
|
-
}).uniq
|
23
|
-
end
|
24
|
-
|
25
|
-
def symbol(path)
|
26
|
-
name = File.basename(path, ".*").underscore().dasherize()
|
27
|
-
document = Nokogiri::XML(File.read(path))
|
28
|
-
|
29
|
-
if options[:remove_color] && !name.include?('with-color')
|
30
|
-
document.css('[fill]').each {|n| n.delete 'fill' }
|
31
|
-
else
|
32
|
-
document.css('[id="Main"], [id="main"], [fill="none"]')
|
33
|
-
.each {|n| n.delete 'fill' }
|
34
|
-
end
|
35
|
-
|
36
|
-
content = document.to_s
|
37
|
-
content.gsub(/<?.+\?>/,'')
|
38
|
-
.gsub(/<!.+?>/,'')
|
39
|
-
.gsub(/<title>.*<\/title>/, '')
|
40
|
-
.gsub(/<desc>.*<\/desc>/, '')
|
41
|
-
.gsub(/id=/,'class=')
|
42
|
-
.gsub(/<svg.+?>/, %Q{<svg id="icon-#{name}" #{dimensions(content)}>})
|
43
|
-
.gsub(/svg/,'symbol')
|
44
|
-
.gsub(/\n/, '') # Remove endlines
|
45
|
-
.gsub(/\s{2,}/, ' ') # Remove whitespace
|
46
|
-
.gsub(/>\s+</, '><') # Remove whitespace between tags
|
47
|
-
end
|
48
|
-
|
49
|
-
def dimensions(content)
|
50
|
-
dimension = content.scan(/<svg.+(viewBox=["'](.+?)["'])/).flatten
|
51
|
-
%Q{#{dimension.first} width="100%" height="100%"}
|
52
|
-
end
|
53
|
-
|
54
|
-
end
|
55
|
-
end
|
56
|
-
end
|
@@ -1,427 +0,0 @@
|
|
1
|
-
/*! normalize.css v6.0.0 | MIT License | github.com/necolas/normalize.css */
|
2
|
-
|
3
|
-
/* Document
|
4
|
-
========================================================================== */
|
5
|
-
|
6
|
-
/**
|
7
|
-
* 1. Correct the line height in all browsers.
|
8
|
-
* 2. Prevent adjustments of font size after orientation changes in
|
9
|
-
* IE on Windows Phone and in iOS.
|
10
|
-
*/
|
11
|
-
|
12
|
-
html {
|
13
|
-
line-height: 1.15; /* 1 */
|
14
|
-
-ms-text-size-adjust: 100%; /* 2 */
|
15
|
-
-webkit-text-size-adjust: 100%; /* 2 */
|
16
|
-
}
|
17
|
-
|
18
|
-
/* Sections
|
19
|
-
========================================================================== */
|
20
|
-
|
21
|
-
/**
|
22
|
-
* Add the correct display in IE 9-.
|
23
|
-
*/
|
24
|
-
|
25
|
-
article,
|
26
|
-
aside,
|
27
|
-
footer,
|
28
|
-
header,
|
29
|
-
nav,
|
30
|
-
section {
|
31
|
-
display: block;
|
32
|
-
}
|
33
|
-
|
34
|
-
/**
|
35
|
-
* Correct the font size and margin on `h1` elements within `section` and
|
36
|
-
* `article` contexts in Chrome, Firefox, and Safari.
|
37
|
-
*/
|
38
|
-
|
39
|
-
h1 {
|
40
|
-
font-size: 2em;
|
41
|
-
margin: 0.67em 0;
|
42
|
-
}
|
43
|
-
|
44
|
-
/* Grouping content
|
45
|
-
========================================================================== */
|
46
|
-
|
47
|
-
/**
|
48
|
-
* Add the correct display in IE 9-.
|
49
|
-
* 1. Add the correct display in IE.
|
50
|
-
*/
|
51
|
-
|
52
|
-
figcaption,
|
53
|
-
figure,
|
54
|
-
main { /* 1 */
|
55
|
-
display: block;
|
56
|
-
}
|
57
|
-
|
58
|
-
/**
|
59
|
-
* Add the correct margin in IE 8.
|
60
|
-
*/
|
61
|
-
|
62
|
-
figure {
|
63
|
-
margin: 1em 40px;
|
64
|
-
}
|
65
|
-
|
66
|
-
/**
|
67
|
-
* 1. Add the correct box sizing in Firefox.
|
68
|
-
* 2. Show the overflow in Edge and IE.
|
69
|
-
*/
|
70
|
-
|
71
|
-
hr {
|
72
|
-
box-sizing: content-box; /* 1 */
|
73
|
-
height: 0; /* 1 */
|
74
|
-
overflow: visible; /* 2 */
|
75
|
-
}
|
76
|
-
|
77
|
-
/**
|
78
|
-
* 1. Correct the inheritance and scaling of font size in all browsers.
|
79
|
-
* 2. Correct the odd `em` font sizing in all browsers.
|
80
|
-
*/
|
81
|
-
|
82
|
-
pre {
|
83
|
-
font-family: monospace, monospace; /* 1 */
|
84
|
-
font-size: 1em; /* 2 */
|
85
|
-
}
|
86
|
-
|
87
|
-
/* Text-level semantics
|
88
|
-
========================================================================== */
|
89
|
-
|
90
|
-
/**
|
91
|
-
* 1. Remove the gray background on active links in IE 10.
|
92
|
-
* 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
|
93
|
-
*/
|
94
|
-
|
95
|
-
a {
|
96
|
-
background-color: transparent; /* 1 */
|
97
|
-
-webkit-text-decoration-skip: objects; /* 2 */
|
98
|
-
}
|
99
|
-
|
100
|
-
/**
|
101
|
-
* 1. Remove the bottom border in Chrome 57- and Firefox 39-.
|
102
|
-
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
103
|
-
*/
|
104
|
-
|
105
|
-
abbr[title] {
|
106
|
-
border-bottom: none; /* 1 */
|
107
|
-
text-decoration: underline; /* 2 */
|
108
|
-
text-decoration: underline dotted; /* 2 */
|
109
|
-
}
|
110
|
-
|
111
|
-
/**
|
112
|
-
* Prevent the duplicate application of `bolder` by the next rule in Safari 6.
|
113
|
-
*/
|
114
|
-
|
115
|
-
b,
|
116
|
-
strong {
|
117
|
-
font-weight: inherit;
|
118
|
-
}
|
119
|
-
|
120
|
-
/**
|
121
|
-
* Add the correct font weight in Chrome, Edge, and Safari.
|
122
|
-
*/
|
123
|
-
|
124
|
-
b,
|
125
|
-
strong {
|
126
|
-
font-weight: bolder;
|
127
|
-
}
|
128
|
-
|
129
|
-
/**
|
130
|
-
* 1. Correct the inheritance and scaling of font size in all browsers.
|
131
|
-
* 2. Correct the odd `em` font sizing in all browsers.
|
132
|
-
*/
|
133
|
-
|
134
|
-
code,
|
135
|
-
kbd,
|
136
|
-
samp {
|
137
|
-
font-family: monospace, monospace; /* 1 */
|
138
|
-
font-size: 1em; /* 2 */
|
139
|
-
}
|
140
|
-
|
141
|
-
/**
|
142
|
-
* Add the correct font style in Android 4.3-.
|
143
|
-
*/
|
144
|
-
|
145
|
-
dfn {
|
146
|
-
font-style: italic;
|
147
|
-
}
|
148
|
-
|
149
|
-
/**
|
150
|
-
* Add the correct background and color in IE 9-.
|
151
|
-
*/
|
152
|
-
|
153
|
-
mark {
|
154
|
-
background-color: #ff0;
|
155
|
-
color: #000;
|
156
|
-
}
|
157
|
-
|
158
|
-
/**
|
159
|
-
* Add the correct font size in all browsers.
|
160
|
-
*/
|
161
|
-
|
162
|
-
small {
|
163
|
-
font-size: 80%;
|
164
|
-
}
|
165
|
-
|
166
|
-
/**
|
167
|
-
* Prevent `sub` and `sup` elements from affecting the line height in
|
168
|
-
* all browsers.
|
169
|
-
*/
|
170
|
-
|
171
|
-
sub,
|
172
|
-
sup {
|
173
|
-
font-size: 75%;
|
174
|
-
line-height: 0;
|
175
|
-
position: relative;
|
176
|
-
vertical-align: baseline;
|
177
|
-
}
|
178
|
-
|
179
|
-
sub {
|
180
|
-
bottom: -0.25em;
|
181
|
-
}
|
182
|
-
|
183
|
-
sup {
|
184
|
-
top: -0.5em;
|
185
|
-
}
|
186
|
-
|
187
|
-
/* Embedded content
|
188
|
-
========================================================================== */
|
189
|
-
|
190
|
-
/**
|
191
|
-
* Add the correct display in IE 9-.
|
192
|
-
*/
|
193
|
-
|
194
|
-
audio,
|
195
|
-
video {
|
196
|
-
display: inline-block;
|
197
|
-
}
|
198
|
-
|
199
|
-
/**
|
200
|
-
* Add the correct display in iOS 4-7.
|
201
|
-
*/
|
202
|
-
|
203
|
-
audio:not([controls]) {
|
204
|
-
display: none;
|
205
|
-
height: 0;
|
206
|
-
}
|
207
|
-
|
208
|
-
/**
|
209
|
-
* Remove the border on images inside links in IE 10-.
|
210
|
-
*/
|
211
|
-
|
212
|
-
img {
|
213
|
-
border-style: none;
|
214
|
-
}
|
215
|
-
|
216
|
-
/**
|
217
|
-
* Hide the overflow in IE.
|
218
|
-
*/
|
219
|
-
|
220
|
-
svg:not(:root) {
|
221
|
-
overflow: hidden;
|
222
|
-
}
|
223
|
-
|
224
|
-
/* Forms
|
225
|
-
========================================================================== */
|
226
|
-
|
227
|
-
/**
|
228
|
-
* Remove the margin in Firefox and Safari.
|
229
|
-
*/
|
230
|
-
|
231
|
-
button,
|
232
|
-
input,
|
233
|
-
optgroup,
|
234
|
-
select,
|
235
|
-
textarea {
|
236
|
-
margin: 0;
|
237
|
-
}
|
238
|
-
|
239
|
-
/**
|
240
|
-
* Show the overflow in IE.
|
241
|
-
* 1. Show the overflow in Edge.
|
242
|
-
*/
|
243
|
-
|
244
|
-
button,
|
245
|
-
input { /* 1 */
|
246
|
-
overflow: visible;
|
247
|
-
}
|
248
|
-
|
249
|
-
/**
|
250
|
-
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
251
|
-
* 1. Remove the inheritance of text transform in Firefox.
|
252
|
-
*/
|
253
|
-
|
254
|
-
button,
|
255
|
-
select { /* 1 */
|
256
|
-
text-transform: none;
|
257
|
-
}
|
258
|
-
|
259
|
-
/**
|
260
|
-
* 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
|
261
|
-
* controls in Android 4.
|
262
|
-
* 2. Correct the inability to style clickable types in iOS and Safari.
|
263
|
-
*/
|
264
|
-
|
265
|
-
button,
|
266
|
-
html [type="button"], /* 1 */
|
267
|
-
[type="reset"],
|
268
|
-
[type="submit"] {
|
269
|
-
-webkit-appearance: button; /* 2 */
|
270
|
-
}
|
271
|
-
|
272
|
-
/**
|
273
|
-
* Remove the inner border and padding in Firefox.
|
274
|
-
*/
|
275
|
-
|
276
|
-
button::-moz-focus-inner,
|
277
|
-
[type="button"]::-moz-focus-inner,
|
278
|
-
[type="reset"]::-moz-focus-inner,
|
279
|
-
[type="submit"]::-moz-focus-inner {
|
280
|
-
border-style: none;
|
281
|
-
padding: 0;
|
282
|
-
}
|
283
|
-
|
284
|
-
/**
|
285
|
-
* Restore the focus styles unset by the previous rule.
|
286
|
-
*/
|
287
|
-
|
288
|
-
button:-moz-focusring,
|
289
|
-
[type="button"]:-moz-focusring,
|
290
|
-
[type="reset"]:-moz-focusring,
|
291
|
-
[type="submit"]:-moz-focusring {
|
292
|
-
outline: 1px dotted ButtonText;
|
293
|
-
}
|
294
|
-
|
295
|
-
/**
|
296
|
-
* 1. Correct the text wrapping in Edge and IE.
|
297
|
-
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
298
|
-
* 3. Remove the padding so developers are not caught out when they zero out
|
299
|
-
* `fieldset` elements in all browsers.
|
300
|
-
*/
|
301
|
-
|
302
|
-
legend {
|
303
|
-
box-sizing: border-box; /* 1 */
|
304
|
-
color: inherit; /* 2 */
|
305
|
-
display: table; /* 1 */
|
306
|
-
max-width: 100%; /* 1 */
|
307
|
-
padding: 0; /* 3 */
|
308
|
-
white-space: normal; /* 1 */
|
309
|
-
}
|
310
|
-
|
311
|
-
/**
|
312
|
-
* 1. Add the correct display in IE 9-.
|
313
|
-
* 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
314
|
-
*/
|
315
|
-
|
316
|
-
progress {
|
317
|
-
display: inline-block; /* 1 */
|
318
|
-
vertical-align: baseline; /* 2 */
|
319
|
-
}
|
320
|
-
|
321
|
-
/**
|
322
|
-
* Remove the default vertical scrollbar in IE.
|
323
|
-
*/
|
324
|
-
|
325
|
-
textarea {
|
326
|
-
overflow: auto;
|
327
|
-
}
|
328
|
-
|
329
|
-
/**
|
330
|
-
* 1. Add the correct box sizing in IE 10-.
|
331
|
-
* 2. Remove the padding in IE 10-.
|
332
|
-
*/
|
333
|
-
|
334
|
-
[type="checkbox"],
|
335
|
-
[type="radio"] {
|
336
|
-
box-sizing: border-box; /* 1 */
|
337
|
-
padding: 0; /* 2 */
|
338
|
-
}
|
339
|
-
|
340
|
-
/**
|
341
|
-
* Correct the cursor style of increment and decrement buttons in Chrome.
|
342
|
-
*/
|
343
|
-
|
344
|
-
[type="number"]::-webkit-inner-spin-button,
|
345
|
-
[type="number"]::-webkit-outer-spin-button {
|
346
|
-
height: auto;
|
347
|
-
}
|
348
|
-
|
349
|
-
/**
|
350
|
-
* 1. Correct the odd appearance in Chrome and Safari.
|
351
|
-
* 2. Correct the outline style in Safari.
|
352
|
-
*/
|
353
|
-
|
354
|
-
[type="search"] {
|
355
|
-
-webkit-appearance: textfield; /* 1 */
|
356
|
-
outline-offset: -2px; /* 2 */
|
357
|
-
}
|
358
|
-
|
359
|
-
/**
|
360
|
-
* Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
|
361
|
-
*/
|
362
|
-
|
363
|
-
[type="search"]::-webkit-search-cancel-button,
|
364
|
-
[type="search"]::-webkit-search-decoration {
|
365
|
-
-webkit-appearance: none;
|
366
|
-
}
|
367
|
-
|
368
|
-
/**
|
369
|
-
* 1. Correct the inability to style clickable types in iOS and Safari.
|
370
|
-
* 2. Change font properties to `inherit` in Safari.
|
371
|
-
*/
|
372
|
-
|
373
|
-
::-webkit-file-upload-button {
|
374
|
-
-webkit-appearance: button; /* 1 */
|
375
|
-
font: inherit; /* 2 */
|
376
|
-
}
|
377
|
-
|
378
|
-
/* Interactive
|
379
|
-
========================================================================== */
|
380
|
-
|
381
|
-
/*
|
382
|
-
* Add the correct display in IE 9-.
|
383
|
-
* 1. Add the correct display in Edge, IE, and Firefox.
|
384
|
-
*/
|
385
|
-
|
386
|
-
details, /* 1 */
|
387
|
-
menu {
|
388
|
-
display: block;
|
389
|
-
}
|
390
|
-
|
391
|
-
/*
|
392
|
-
* Add the correct display in all browsers.
|
393
|
-
*/
|
394
|
-
|
395
|
-
summary {
|
396
|
-
display: list-item;
|
397
|
-
}
|
398
|
-
|
399
|
-
/* Scripting
|
400
|
-
========================================================================== */
|
401
|
-
|
402
|
-
/**
|
403
|
-
* Add the correct display in IE 9-.
|
404
|
-
*/
|
405
|
-
|
406
|
-
canvas {
|
407
|
-
display: inline-block;
|
408
|
-
}
|
409
|
-
|
410
|
-
/**
|
411
|
-
* Add the correct display in IE.
|
412
|
-
*/
|
413
|
-
|
414
|
-
template {
|
415
|
-
display: none;
|
416
|
-
}
|
417
|
-
|
418
|
-
/* Hidden
|
419
|
-
========================================================================== */
|
420
|
-
|
421
|
-
/**
|
422
|
-
* Add the correct display in IE 10-.
|
423
|
-
*/
|
424
|
-
|
425
|
-
[hidden] {
|
426
|
-
display: none;
|
427
|
-
}
|