-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathinit.js
executable file
·65 lines (62 loc) · 1.87 KB
/
init.js
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
/*
Linear by TEMPLATED
templated.co @templatedco
Released for free under the Creative Commons Attribution 3.0 license (templated.co/license)
*/
skel.init({
prefix: '/css/style',
resetCSS: true,
boxModel: 'border',
grid: {
gutters: 50
},
breakpoints: {
'mobile': {
range: '-480',
lockViewport: true,
containers: 'fluid',
grid: {
collapse: true,
gutters: 10
}
},
'desktop': {
range: '481-',
containers: 1200
},
'1000px': {
range: '481-1200',
containers: 960
}
}
}, {
panels: {
panels: {
leftPanel: {
breakpoints: 'mobile',
position: 'left',
style: 'reveal',
size: '60%',
html: '<div data-action="navList" data-args="nav"></div>'
},
rightPanel: {
breakpoints: 'mobile',
position: 'right',
style: 'reveal',
size: '60%',
html: '<div data-action="copyHTML" data-args="sidebar"></div>'
}
},
overlays: {
titleBar: {
breakpoints: 'mobile',
position: 'top-left',
height: 44,
width: '100%',
html: '<div id="contentNavButtonLeft"><button data-action="togglePanel" data-args="leftPanel"><i class="material-icons" style="color:#8B8B8B">more_horiz</i></button></div>' +
'<div id="contentNavButtonRight"><button data-action="togglePanel" data-args="rightPanel"><i class="material-icons" style="color:#8B8B8B">menu</i></button></div>' +
'<span class="title" data-action="copyHTML" data-args="logo"></span>'
}
}
}
});