generator-white-label 3.2.0 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +140 -81
- package/app/README.md +19 -0
- package/app/assets/font/opensans/stylesheet.css +20 -60
- package/app/assets/image/demo/fallback.avif +0 -0
- package/app/assets/image/demo/fallback.jpg +0 -0
- package/app/assets/image/demo/fallback.webp +0 -0
- package/app/assets/image/demo/large.avif +0 -0
- package/app/assets/image/demo/large.webp +0 -0
- package/app/assets/image/demo/small.avif +0 -0
- package/app/assets/image/demo/small.webp +0 -0
- package/app/assets/markup/element/iframe.hbs +4 -1
- package/app/assets/markup/element/img.hbs +16 -1
- package/app/assets/markup/element/picture.hbs +30 -0
- package/app/assets/markup/modal/modal-example-1.handlebars +1 -1
- package/app/assets/script/api/{facebook.js → facebook.ts} +17 -12
- package/app/assets/script/api/youtube.ts +22 -0
- package/app/assets/script/index.ts +2 -0
- package/app/assets/script/mediator/global.ts +4 -0
- package/app/assets/script/model/singletons/countries.ts +5 -0
- package/app/assets/script/model/singletons/global.ts +5 -0
- package/app/assets/script/model/singletons/states.ts +5 -0
- package/app/assets/script/model/user.ts +4 -0
- package/app/assets/script/toolkit.ts +11 -0
- package/app/assets/script/types.d.ts +6 -0
- package/app/assets/script/utility/ajax.ts +15 -0
- package/app/assets/script/utility/form.ts +119 -0
- package/app/assets/script/utility/{regex.js → regex.ts} +15 -6
- package/app/assets/script/utility/share.ts +77 -0
- package/app/assets/script/utility/string.ts +148 -0
- package/app/assets/script/view/default.tsx +14 -0
- package/app/assets/script/view/toolkit/youtube-player-1.ts +33 -0
- package/app/assets/style/base/_toolkit.scss +25 -25
- package/app/assets/style/base/components/_modal-1.scss +8 -3
- package/app/assets/style/base/components/_tabpanel-1.scss +21 -16
- package/app/assets/style/base/components/_tabpanel-2.scss +11 -6
- package/app/assets/style/base/components/_youtube-player-1.scss +3 -2
- package/app/assets/style/base/elements/_anchors.scss +2 -0
- package/app/assets/style/base/elements/_buttons.scss +7 -3
- package/app/assets/style/base/elements/_fieldsets.scss +2 -0
- package/app/assets/style/base/elements/_inputs.scss +6 -2
- package/app/assets/style/base/elements/_labels.scss +2 -0
- package/app/assets/style/base/elements/_legends.scss +2 -0
- package/app/assets/style/base/elements/_lists.scss +2 -0
- package/app/assets/style/base/elements/_tables.scss +10 -6
- package/app/assets/style/base/layouts/_staggered-1.scss +4 -1
- package/app/assets/style/base/type/_fonts.scss +4 -1
- package/app/assets/style/base/type/_headings.scss +3 -0
- package/app/assets/style/base/type/_text.scss +2 -0
- package/app/assets/style/base/utilities/_accessibility.scss +5 -2
- package/app/assets/style/base/utilities/_functions.scss +62 -9
- package/app/assets/style/global.scss +4 -11
- package/app/assets/style/print.scss +1 -4
- package/app/assets/style/toolkit.scss +37 -37
- package/app/package.json +1 -0
- package/app/toolkit/colors.hbs +11 -11
- package/app/toolkit/components.hbs +16 -16
- package/app/toolkit/elements.hbs +52 -43
- package/app/toolkit/grids.hbs +111 -111
- package/app/toolkit/icons.hbs +2 -2
- package/app/toolkit/index.hbs +6 -6
- package/app/toolkit/type.hbs +4 -4
- package/dist/app/assets/data/coutries.json +992 -0
- package/dist/app/assets/data/states.json +204 -0
- package/dist/app/assets/script/api/facebook.d.ts +8 -0
- package/dist/app/assets/script/api/facebook.js +42 -0
- package/dist/app/assets/script/api/facebook.js.map +1 -0
- package/dist/app/assets/script/api/youtube.d.ts +8 -0
- package/dist/app/assets/script/api/youtube.js +22 -0
- package/dist/app/assets/script/api/youtube.js.map +1 -0
- package/dist/app/assets/script/index.d.ts +2 -0
- package/dist/app/assets/script/index.js +2 -0
- package/dist/app/assets/script/index.js.map +1 -0
- package/dist/app/assets/script/mediator/global.d.ts +4 -0
- package/dist/app/assets/script/mediator/global.js +4 -0
- package/dist/app/assets/script/mediator/global.js.map +1 -0
- package/dist/app/assets/script/model/singletons/countries.d.ts +4 -0
- package/dist/app/assets/script/model/singletons/countries.js +5 -0
- package/dist/app/assets/script/model/singletons/countries.js.map +1 -0
- package/dist/app/assets/script/model/singletons/global.d.ts +4 -0
- package/dist/app/assets/script/model/singletons/global.js +5 -0
- package/dist/app/assets/script/model/singletons/global.js.map +1 -0
- package/dist/app/assets/script/model/singletons/states.d.ts +4 -0
- package/dist/app/assets/script/model/singletons/states.js +5 -0
- package/dist/app/assets/script/model/singletons/states.js.map +1 -0
- package/dist/app/assets/script/model/user.d.ts +4 -0
- package/dist/app/assets/script/model/user.js +6 -0
- package/dist/app/assets/script/model/user.js.map +1 -0
- package/dist/app/assets/script/toolkit.d.ts +1 -0
- package/dist/app/assets/script/toolkit.js +7 -0
- package/dist/app/assets/script/toolkit.js.map +1 -0
- package/dist/app/assets/script/utility/ajax.d.ts +8 -0
- package/dist/app/assets/script/utility/ajax.js +17 -0
- package/dist/app/assets/script/utility/ajax.js.map +1 -0
- package/dist/app/assets/script/utility/form.d.ts +64 -0
- package/dist/app/assets/script/utility/form.js +111 -0
- package/dist/app/assets/script/utility/form.js.map +1 -0
- package/dist/app/assets/script/utility/regex.d.ts +14 -0
- package/dist/app/assets/script/utility/regex.js +27 -0
- package/dist/app/assets/script/utility/regex.js.map +1 -0
- package/dist/app/assets/script/utility/share.d.ts +68 -0
- package/dist/app/assets/script/utility/share.js +81 -0
- package/dist/app/assets/script/utility/share.js.map +1 -0
- package/dist/app/assets/script/utility/string.d.ts +64 -0
- package/dist/app/assets/script/utility/string.js +135 -0
- package/dist/app/assets/script/utility/string.js.map +1 -0
- package/dist/app/assets/script/view/default.d.ts +11 -0
- package/dist/app/assets/script/view/default.js +15 -0
- package/dist/app/assets/script/view/default.js.map +1 -0
- package/dist/app/assets/script/view/toolkit/youtube-player-1.d.ts +23 -0
- package/dist/app/assets/script/view/toolkit/youtube-player-1.js +34 -0
- package/dist/app/assets/script/view/toolkit/youtube-player-1.js.map +1 -0
- package/dist/generators/app/index.d.ts +18 -0
- package/dist/generators/app/index.js +59 -0
- package/dist/generators/app/index.js.map +1 -0
- package/dist/scripts/build.d.ts +22 -0
- package/dist/scripts/build.js +158 -0
- package/dist/scripts/build.js.map +1 -0
- package/generators/app/index.js +2 -43
- package/generators/app/index.ts +61 -0
- package/package.json +79 -129
- package/scripts/build.ts +175 -0
- package/tsconfig.site.json +26 -0
- package/.babelrc +0 -14
- package/.editorconfig +0 -13
- package/.eslintrc +0 -64
- package/.htmllintrc +0 -6
- package/.sass-lint.yml +0 -16
- package/.travis.yml +0 -18
- package/app/assets/font/opensans/generator_config.txt +0 -5
- package/app/assets/font/opensans/opensans-bold-webfont.eot +0 -0
- package/app/assets/font/opensans/opensans-bold-webfont.svg +0 -1824
- package/app/assets/font/opensans/opensans-bold-webfont.ttf +0 -0
- package/app/assets/font/opensans/opensans-bold-webfont.woff +0 -0
- package/app/assets/font/opensans/opensans-bolditalic-webfont.eot +0 -0
- package/app/assets/font/opensans/opensans-bolditalic-webfont.svg +0 -1824
- package/app/assets/font/opensans/opensans-bolditalic-webfont.ttf +0 -0
- package/app/assets/font/opensans/opensans-bolditalic-webfont.woff +0 -0
- package/app/assets/font/opensans/opensans-extrabold-webfont.eot +0 -0
- package/app/assets/font/opensans/opensans-extrabold-webfont.svg +0 -1824
- package/app/assets/font/opensans/opensans-extrabold-webfont.ttf +0 -0
- package/app/assets/font/opensans/opensans-extrabold-webfont.woff +0 -0
- package/app/assets/font/opensans/opensans-extrabolditalic-webfont.eot +0 -0
- package/app/assets/font/opensans/opensans-extrabolditalic-webfont.svg +0 -1824
- package/app/assets/font/opensans/opensans-extrabolditalic-webfont.ttf +0 -0
- package/app/assets/font/opensans/opensans-extrabolditalic-webfont.woff +0 -0
- package/app/assets/font/opensans/opensans-italic-webfont.eot +0 -0
- package/app/assets/font/opensans/opensans-italic-webfont.svg +0 -1824
- package/app/assets/font/opensans/opensans-italic-webfont.ttf +0 -0
- package/app/assets/font/opensans/opensans-italic-webfont.woff +0 -0
- package/app/assets/font/opensans/opensans-light-webfont.eot +0 -0
- package/app/assets/font/opensans/opensans-light-webfont.svg +0 -1824
- package/app/assets/font/opensans/opensans-light-webfont.ttf +0 -0
- package/app/assets/font/opensans/opensans-light-webfont.woff +0 -0
- package/app/assets/font/opensans/opensans-lightitalic-webfont.eot +0 -0
- package/app/assets/font/opensans/opensans-lightitalic-webfont.svg +0 -1824
- package/app/assets/font/opensans/opensans-lightitalic-webfont.ttf +0 -0
- package/app/assets/font/opensans/opensans-lightitalic-webfont.woff +0 -0
- package/app/assets/font/opensans/opensans-regular-webfont.eot +0 -0
- package/app/assets/font/opensans/opensans-regular-webfont.svg +0 -1824
- package/app/assets/font/opensans/opensans-regular-webfont.ttf +0 -0
- package/app/assets/font/opensans/opensans-regular-webfont.woff +0 -0
- package/app/assets/font/opensans/opensans-semibold-webfont.eot +0 -0
- package/app/assets/font/opensans/opensans-semibold-webfont.svg +0 -1824
- package/app/assets/font/opensans/opensans-semibold-webfont.ttf +0 -0
- package/app/assets/font/opensans/opensans-semibold-webfont.woff +0 -0
- package/app/assets/font/opensans/opensans-semibolditalic-webfont.eot +0 -0
- package/app/assets/font/opensans/opensans-semibolditalic-webfont.svg +0 -1824
- package/app/assets/font/opensans/opensans-semibolditalic-webfont.ttf +0 -0
- package/app/assets/font/opensans/opensans-semibolditalic-webfont.woff +0 -0
- package/app/assets/font/opensans/specimen_files/grid_12-825-55-15.css +0 -129
- package/app/assets/font/opensans/specimen_files/specimen_stylesheet.css +0 -396
- package/app/assets/image/demo/large.jpg +0 -0
- package/app/assets/image/demo/medium.jpg +0 -0
- package/app/assets/image/demo/small.jpg +0 -0
- package/app/assets/image/demo/xlarge.jpg +0 -0
- package/app/assets/image/demo/xxlarge.jpg +0 -0
- package/app/assets/script/api/youtube.js +0 -18
- package/app/assets/script/index.js +0 -6
- package/app/assets/script/mediator/global.js +0 -5
- package/app/assets/script/model/singletons/countries.js +0 -6
- package/app/assets/script/model/singletons/global.js +0 -6
- package/app/assets/script/model/singletons/states.js +0 -6
- package/app/assets/script/model/user.js +0 -5
- package/app/assets/script/toolkit.js +0 -12
- package/app/assets/script/utility/ajax.js +0 -11
- package/app/assets/script/utility/form.js +0 -86
- package/app/assets/script/utility/share.js +0 -52
- package/app/assets/script/utility/string.js +0 -70
- package/app/assets/script/view/default.js +0 -11
- package/app/assets/script/view/toolkit/youtube-player-1.js +0 -17
- package/app/assets/style/base/vendor/_foundation.scss +0 -2
- package/app/assets/test/spec/shareSpec.js +0 -137
- package/app/index.html +0 -40
- package/app/report/istanbul/base.css +0 -213
- package/app/report/istanbul/prettify.css +0 -1
- package/app/report/istanbul/prettify.js +0 -1
- package/app/report/istanbul/sort-arrow-sprite.png +0 -0
- package/app/report/istanbul/sorter.js +0 -158
- package/app/report/jsdoc/fonts/glyphicons-halflings-regular.eot +0 -0
- package/app/report/jsdoc/fonts/glyphicons-halflings-regular.svg +0 -288
- package/app/report/jsdoc/fonts/glyphicons-halflings-regular.ttf +0 -0
- package/app/report/jsdoc/fonts/glyphicons-halflings-regular.woff +0 -0
- package/app/report/jsdoc/fonts/glyphicons-halflings-regular.woff2 +0 -0
- package/app/report/jsdoc/img/glyphicons-halflings-white.png +0 -0
- package/app/report/jsdoc/img/glyphicons-halflings.png +0 -0
- package/app/report/jsdoc/scripts/docstrap.lib.js +0 -11
- package/app/report/jsdoc/scripts/fulltext-search-ui.js +0 -89
- package/app/report/jsdoc/scripts/fulltext-search.js +0 -36
- package/app/report/jsdoc/scripts/lunr.min.js +0 -6
- package/app/report/jsdoc/scripts/prettify/Apache-License-2.0.txt +0 -202
- package/app/report/jsdoc/scripts/prettify/jquery.min.js +0 -6
- package/app/report/jsdoc/scripts/prettify/lang-css.js +0 -21
- package/app/report/jsdoc/scripts/prettify/prettify.js +0 -496
- package/app/report/jsdoc/scripts/sunlight.js +0 -1157
- package/app/report/jsdoc/scripts/toc.js +0 -203
- package/app/report/jsdoc/styles/darkstrap.css +0 -960
- package/app/report/jsdoc/styles/prettify-tomorrow.css +0 -132
- package/app/report/jsdoc/styles/site.cerulean.css +0 -7008
- package/app/report/jsdoc/styles/site.cosmo.css +0 -7061
- package/app/report/jsdoc/styles/site.cyborg.css +0 -7048
- package/app/report/jsdoc/styles/site.darkly.css +0 -7171
- package/app/report/jsdoc/styles/site.darkstrap.css +0 -5638
- package/app/report/jsdoc/styles/site.dibs-bootstrap.css +0 -5899
- package/app/report/jsdoc/styles/site.flatly.css +0 -7147
- package/app/report/jsdoc/styles/site.journal.css +0 -6973
- package/app/report/jsdoc/styles/site.lumen.css +0 -7298
- package/app/report/jsdoc/styles/site.paper.css +0 -7623
- package/app/report/jsdoc/styles/site.readable.css +0 -6997
- package/app/report/jsdoc/styles/site.sandstone.css +0 -7035
- package/app/report/jsdoc/styles/site.simplex.css +0 -7023
- package/app/report/jsdoc/styles/site.slate.css +0 -7343
- package/app/report/jsdoc/styles/site.spacelab.css +0 -7055
- package/app/report/jsdoc/styles/site.superhero.css +0 -7131
- package/app/report/jsdoc/styles/site.united.css +0 -6895
- package/app/report/jsdoc/styles/site.yeti.css +0 -7195
- package/app/report/jsdoc/styles/sunlight.dark.css +0 -345
- package/app/report/jsdoc/styles/sunlight.default.css +0 -344
- package/gulp/config.js +0 -224
- package/gulp/tasks/accessibility.js +0 -34
- package/gulp/tasks/build.js +0 -19
- package/gulp/tasks/clean.js +0 -34
- package/gulp/tasks/data.js +0 -22
- package/gulp/tasks/default.js +0 -9
- package/gulp/tasks/deploy.js +0 -225
- package/gulp/tasks/documentation.js +0 -25
- package/gulp/tasks/markup.js +0 -121
- package/gulp/tasks/script.js +0 -92
- package/gulp/tasks/style.js +0 -42
- package/gulp/tasks/unit.js +0 -38
- package/gulp/tasks/watch.js +0 -83
- package/gulpfile.js +0 -8
- package/jsdoc.json +0 -23
- package/karma.conf.js +0 -58
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import _ from 'lodash';
|
|
2
|
-
|
|
3
|
-
(() => {
|
|
4
|
-
'use strict';
|
|
5
|
-
module.exports = class {
|
|
6
|
-
multiselectGetSelectedValues(element) {
|
|
7
|
-
let values = [];
|
|
8
|
-
element.querySelectorAll(':checked').forEach((item) => {
|
|
9
|
-
values.push(item.value);
|
|
10
|
-
});
|
|
11
|
-
return values;
|
|
12
|
-
}
|
|
13
|
-
selectMenuSelectOption(data, value) {
|
|
14
|
-
data.forEach ((item) => {
|
|
15
|
-
if (item.value === value) {
|
|
16
|
-
item.selected = true;
|
|
17
|
-
} else {
|
|
18
|
-
item.selected = false;
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
return data;
|
|
22
|
-
}
|
|
23
|
-
selectMenuReturnOption(data, value) {
|
|
24
|
-
let itemMatch = false;
|
|
25
|
-
data.forEach((item) => {
|
|
26
|
-
if (item.value === value) {
|
|
27
|
-
itemMatch = item;
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
return itemMatch;
|
|
31
|
-
}
|
|
32
|
-
normalizeMetaData(metaData) {
|
|
33
|
-
let i = 0;
|
|
34
|
-
metaData.forEach((item) => {
|
|
35
|
-
item.keyID = 'meta-field-key-' + i;
|
|
36
|
-
item.keyTitle = 'Field Name:';
|
|
37
|
-
item.valueID = 'meta-field-value-' + i;
|
|
38
|
-
item.valueTitle = 'Field Value: ' + item.key;
|
|
39
|
-
i++;
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
return metaData;
|
|
43
|
-
}
|
|
44
|
-
splitMetaData(metaData) {
|
|
45
|
-
let secondRowCount = Math.floor(metaData.length / 2);
|
|
46
|
-
return {
|
|
47
|
-
'group-1': metaData,
|
|
48
|
-
'group-2': metaData.splice(metaData.length - secondRowCount, secondRowCount)
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
buildOptions(arr, selected) {
|
|
52
|
-
|
|
53
|
-
var options = [],
|
|
54
|
-
option = {};
|
|
55
|
-
|
|
56
|
-
arr.forEach((obj) => {
|
|
57
|
-
|
|
58
|
-
let name = 'not specified';
|
|
59
|
-
|
|
60
|
-
if (obj.first_name && obj.last_name) {
|
|
61
|
-
name = obj.first_name + ' ' + obj.last_name;
|
|
62
|
-
} else if (obj.name) {
|
|
63
|
-
name = obj.name;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
option = {
|
|
67
|
-
name: name,
|
|
68
|
-
value: obj.id
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
if (selected === obj.id) {
|
|
72
|
-
option.selected = true;
|
|
73
|
-
} else if (Array.isArray(selected) && selected.indexOf(obj.id) !== -1) {
|
|
74
|
-
option.selected = true;
|
|
75
|
-
} else {
|
|
76
|
-
option.selected = false;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
options.push(option);
|
|
80
|
-
|
|
81
|
-
});
|
|
82
|
-
|
|
83
|
-
return options;
|
|
84
|
-
}
|
|
85
|
-
};
|
|
86
|
-
})();
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
(() => {
|
|
2
|
-
'use strict';
|
|
3
|
-
module.exports = class {
|
|
4
|
-
shareFacebookUrl(params) {
|
|
5
|
-
return 'https://www.facebook.com/sharer.php?u=' + encodeURIComponent(params.url);
|
|
6
|
-
}
|
|
7
|
-
shareTwitterUrl(params) {
|
|
8
|
-
//check if the message is the right size and that a message is definded
|
|
9
|
-
if (params.text && params.text.length <= 140) {
|
|
10
|
-
var url = 'https://twitter.com/intent/tweet?text=' + encodeURIComponent(params.text);
|
|
11
|
-
// check if they passed in an url along with the message
|
|
12
|
-
if (params.url) {
|
|
13
|
-
url = url + '&url=' + encodeURIComponent(params.url)
|
|
14
|
-
}
|
|
15
|
-
// return back the full share url
|
|
16
|
-
return url;
|
|
17
|
-
} else {
|
|
18
|
-
return false;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
shareGooglePlusUrl(params) {
|
|
22
|
-
if (!params.url) {
|
|
23
|
-
return false;
|
|
24
|
-
}
|
|
25
|
-
return 'https://plus.google.com/share?url=' + encodeURIComponent(params.url);
|
|
26
|
-
}
|
|
27
|
-
shareLinkedInUrl(params) {
|
|
28
|
-
// check it an url is defined
|
|
29
|
-
if (params.url) {
|
|
30
|
-
var url = 'https://www.linkedin.com/shareArticle?url=' + encodeURIComponent(params.url);
|
|
31
|
-
// if a title is passed add it to the share url
|
|
32
|
-
if (params.title) {
|
|
33
|
-
url = url + '&title=' + encodeURIComponent(params.title);
|
|
34
|
-
}
|
|
35
|
-
if (params.summary) {
|
|
36
|
-
// if a summary is passed add it to the share url
|
|
37
|
-
url = url + '&summary=' + encodeURIComponent(params.summary);
|
|
38
|
-
}
|
|
39
|
-
// return back the full share url
|
|
40
|
-
return url;
|
|
41
|
-
} else {
|
|
42
|
-
return false;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
shareEmailUrl(params) {
|
|
46
|
-
if (!params.subject || !params.body) {
|
|
47
|
-
return false;
|
|
48
|
-
}
|
|
49
|
-
return 'mailto:?subject=' + encodeURIComponent(params.subject) + '&body=' + encodeURIComponent(params.body);
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
})();
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import moment from 'moment';
|
|
2
|
-
import numeraljs from 'numeraljs';
|
|
3
|
-
|
|
4
|
-
const parser = new DOMParser();
|
|
5
|
-
|
|
6
|
-
(() => {
|
|
7
|
-
|
|
8
|
-
'use strict';
|
|
9
|
-
|
|
10
|
-
module.exports = class {
|
|
11
|
-
|
|
12
|
-
//turn a string of html tags into a dom object
|
|
13
|
-
toElement(string) {
|
|
14
|
-
return parser
|
|
15
|
-
.parseFromString(string, 'text/html')
|
|
16
|
-
.body
|
|
17
|
-
.firstChild
|
|
18
|
-
.cloneNode(true);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
//qet data from url query string
|
|
22
|
-
getQueryStringParamater(name, url) {
|
|
23
|
-
name = name.replace(/[[\]]/g, '\\$&');
|
|
24
|
-
let regex = new RegExp('[?&]' + name + '(=([^&#]*)|&|#|$)');
|
|
25
|
-
let results = regex.exec(url);
|
|
26
|
-
if (!results) {
|
|
27
|
-
return null;
|
|
28
|
-
}
|
|
29
|
-
if (!results[2]) {
|
|
30
|
-
return '';
|
|
31
|
-
}
|
|
32
|
-
return decodeURIComponent(results[2].replace(/\+/g, ' '));
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
// 2014-11-10
|
|
36
|
-
formatDate(unformattedDate) {
|
|
37
|
-
return moment(unformattedDate).format('YYYY-MM-DD');
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
//format the api accepts back
|
|
41
|
-
formatDateAPI(unformattedDate) {
|
|
42
|
-
return moment(unformattedDate, 'YYYY-MM-DD').format('YYYY-MM-DDThh:mm');
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
formatNumber(unformattedNumber) {
|
|
46
|
-
return numeraljs(unformattedNumber).format('0,0');
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
unformatNumber(formattedNumber) {
|
|
50
|
-
return parseInt(formattedNumber, 10);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
formatCurrency(unformattedCurrency) {
|
|
54
|
-
return numeraljs(unformattedCurrency).format('$0,0.00');
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
unformatCurrency(formattedCurrency) {
|
|
58
|
-
return numeraljs(formattedCurrency).format('00.00');
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
formatPhoneLink(unformattedPhoneNumber) {
|
|
62
|
-
return 'tel:' + unformattedPhoneNumber.replace(/\D/g,'');
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
formatEmailLink(unformattedEmailAddress) {
|
|
66
|
-
return 'mailto:' + unformattedEmailAddress;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
};
|
|
70
|
-
})();
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import View from 'white-label-view';
|
|
2
|
-
|
|
3
|
-
(() => {
|
|
4
|
-
'use strict';
|
|
5
|
-
module.exports = class extends View {
|
|
6
|
-
constructor() {
|
|
7
|
-
super();
|
|
8
|
-
this.parentElement = document.querySelector('body');
|
|
9
|
-
}
|
|
10
|
-
initialize() {
|
|
11
|
-
}
|
|
12
|
-
addListeners() {
|
|
13
|
-
}
|
|
14
|
-
removeListners() {
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
})();
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
'use strict';
|
|
3
|
-
const Share = require('../../../../app/assets/script/utility/share.js');
|
|
4
|
-
const share = new Share();
|
|
5
|
-
describe('Canary', function() {
|
|
6
|
-
it('is sucessfully running', function() {
|
|
7
|
-
expect(true).toBe(true);
|
|
8
|
-
});
|
|
9
|
-
});
|
|
10
|
-
describe('generating a Facebook share url', function() {
|
|
11
|
-
it('sucessfully returns the expected url', function() {
|
|
12
|
-
expect(share.shareFacebookUrl({
|
|
13
|
-
url: 'http://example.com/directory/index.html?param-1=1¶m-2=2'
|
|
14
|
-
}))
|
|
15
|
-
.toBe('https://www.facebook.com/sharer.php?u=' +
|
|
16
|
-
'http%3A%2F%2Fexample.com%2Fdirectory%2Findex.html%3Fparam-1%3D1%26param-2%3D2');
|
|
17
|
-
});
|
|
18
|
-
});
|
|
19
|
-
describe('generating a Twitter share url', function() {
|
|
20
|
-
it('does not return anything if there are over 140 characters', function() {
|
|
21
|
-
expect(share.shareTwitterUrl({
|
|
22
|
-
text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. ' +
|
|
23
|
-
'Nullam porta velit vel lacinia posuere. Curabitur sit amet sem eleifend sem aliquam posuere.'
|
|
24
|
-
}))
|
|
25
|
-
.toBe(false);
|
|
26
|
-
});
|
|
27
|
-
});
|
|
28
|
-
describe('generating a Twitter share url', function() {
|
|
29
|
-
it('does not return anything if there is no message provided', function() {
|
|
30
|
-
expect(share.shareTwitterUrl({}))
|
|
31
|
-
.toBe(false);
|
|
32
|
-
});
|
|
33
|
-
});
|
|
34
|
-
describe('generating a Twitter share url with a message only', function() {
|
|
35
|
-
it('sucessfully returns the expected url', function() {
|
|
36
|
-
expect(share.shareTwitterUrl({
|
|
37
|
-
text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.'
|
|
38
|
-
}))
|
|
39
|
-
.toBe('https://twitter.com/intent/tweet?text=' +
|
|
40
|
-
'Lorem%20ipsum%20dolor%20sit%20amet%2C%20consectetur%20adipiscing%20elit.');
|
|
41
|
-
});
|
|
42
|
-
});
|
|
43
|
-
describe('generating a Twitter share url with a message and url', function() {
|
|
44
|
-
it('sucessfully returns the expected url', function() {
|
|
45
|
-
expect(share.shareTwitterUrl({
|
|
46
|
-
text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
|
|
47
|
-
url: 'http://example.com/directory/index.html?param-1=1¶m-2=2'
|
|
48
|
-
}))
|
|
49
|
-
.toBe('https://twitter.com/intent/tweet?' +
|
|
50
|
-
'text=Lorem%20ipsum%20dolor%20sit%20amet%2C%20consectetur%20adipiscing%20elit.&' +
|
|
51
|
-
'url=http%3A%2F%2Fexample.com%2Fdirectory%2Findex.html%3Fparam-1%3D1%26param-2%3D2');
|
|
52
|
-
});
|
|
53
|
-
});
|
|
54
|
-
describe('generating a Google Plus share url', function() {
|
|
55
|
-
it('sucessfully returns the expected url', function() {
|
|
56
|
-
expect(share.shareGooglePlusUrl({
|
|
57
|
-
url: 'http://example.com/directory/index.html?param-1=1¶m-2=2'
|
|
58
|
-
}))
|
|
59
|
-
.toBe('https://plus.google.com/share?url=' +
|
|
60
|
-
'http%3A%2F%2Fexample.com%2Fdirectory%2Findex.html%3Fparam-1%3D1%26param-2%3D2');
|
|
61
|
-
});
|
|
62
|
-
});
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
describe('generating a Google Plus share url', function() {
|
|
66
|
-
it('does not return anything if there is no url provided', function() {
|
|
67
|
-
expect(share.shareGooglePlusUrl({}))
|
|
68
|
-
.toBe(false);
|
|
69
|
-
});
|
|
70
|
-
});
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
describe('generating a LinkedIn share url', function() {
|
|
74
|
-
it('sucessfully returns the expected url', function() {
|
|
75
|
-
expect(share.shareLinkedInUrl({
|
|
76
|
-
url: 'http://example.com/directory/index.html?param-1=1¶m-2=2'
|
|
77
|
-
}))
|
|
78
|
-
.toBe('https://www.linkedin.com/shareArticle?url=' +
|
|
79
|
-
'http%3A%2F%2Fexample.com%2Fdirectory%2Findex.html%3Fparam-1%3D1%26param-2%3D2');
|
|
80
|
-
});
|
|
81
|
-
});
|
|
82
|
-
describe('generating a LinkedIn share url', function() {
|
|
83
|
-
it('does not return anything if there is no url provided', function() {
|
|
84
|
-
expect(share.shareLinkedInUrl({}))
|
|
85
|
-
.toBe(false);
|
|
86
|
-
});
|
|
87
|
-
});
|
|
88
|
-
describe('generating a LinkedIn share url', function() {
|
|
89
|
-
it('sucessfully returns the expected url when a title is provided', function() {
|
|
90
|
-
expect(share.shareLinkedInUrl({
|
|
91
|
-
url: 'http://example.com/directory/index.html?param-1=1¶m-2=2',
|
|
92
|
-
title: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.'
|
|
93
|
-
}))
|
|
94
|
-
.toBe('https://www.linkedin.com/shareArticle?' +
|
|
95
|
-
'url=http%3A%2F%2Fexample.com%2Fdirectory%2Findex.html%3Fparam-1%3D1%26param-2%3D2&' +
|
|
96
|
-
'title=Lorem%20ipsum%20dolor%20sit%20amet%2C%20consectetur%20adipiscing%20elit.');
|
|
97
|
-
});
|
|
98
|
-
});
|
|
99
|
-
describe('generating a LinkedIn share url', function() {
|
|
100
|
-
it('sucessfully returns the expected url when a summary is provided', function() {
|
|
101
|
-
expect(share.shareLinkedInUrl({
|
|
102
|
-
url: 'http://example.com/directory/index.html?param-1=1¶m-2=2',
|
|
103
|
-
summary: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.'
|
|
104
|
-
}))
|
|
105
|
-
.toBe('https://www.linkedin.com/shareArticle?' +
|
|
106
|
-
'url=http%3A%2F%2Fexample.com%2Fdirectory%2Findex.html%3Fparam-1%3D1%26param-2%3D2&' +
|
|
107
|
-
'summary=Lorem%20ipsum%20dolor%20sit%20amet%2C%20consectetur%20adipiscing%20elit.');
|
|
108
|
-
});
|
|
109
|
-
});
|
|
110
|
-
describe('generating an email share url', function() {
|
|
111
|
-
it('sucessfully returns the expected url', function() {
|
|
112
|
-
expect(share.shareEmailUrl({
|
|
113
|
-
subject: 'Lorem ipsum dolor sit amet',
|
|
114
|
-
body: 'Nullam porta velit vel lacinia posuere. Curabitur sit amet sem eleifend sem aliquam posuere.'
|
|
115
|
-
}))
|
|
116
|
-
.toBe('mailto:?subject=Lorem%20ipsum%20dolor%20sit%20amet&body=' +
|
|
117
|
-
'Nullam%20porta%20velit%20vel%20lacinia%20posuere.' +
|
|
118
|
-
'%20Curabitur%20sit%20amet%20sem%20eleifend%20sem%20aliquam%20posuere.');
|
|
119
|
-
});
|
|
120
|
-
});
|
|
121
|
-
describe('generating a email share url', function() {
|
|
122
|
-
it('does not return anything if there is no subject provided', function() {
|
|
123
|
-
expect(share.shareEmailUrl({
|
|
124
|
-
body: 'Nullam porta velit vel lacinia posuere. Curabitur sit amet sem eleifend sem aliquam posuere.'
|
|
125
|
-
}))
|
|
126
|
-
.toBe(false);
|
|
127
|
-
});
|
|
128
|
-
});
|
|
129
|
-
describe('generating a email share url', function() {
|
|
130
|
-
it('does not return anything if there is no body provided', function() {
|
|
131
|
-
expect(share.shareEmailUrl({
|
|
132
|
-
subject: 'Lorem ipsum dolor sit amet'
|
|
133
|
-
}))
|
|
134
|
-
.toBe(false);
|
|
135
|
-
});
|
|
136
|
-
});
|
|
137
|
-
})();
|
package/app/index.html
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html id="index" lang="en-US" dir="ltr">
|
|
3
|
-
<head>
|
|
4
|
-
<title>Home</title>
|
|
5
|
-
<meta charset="utf-8">
|
|
6
|
-
<meta http-equiv="x-ua-compatible" content="IE=edge">
|
|
7
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
8
|
-
<meta name="description" content="description here">
|
|
9
|
-
<meta name="keywords" content="keywords, here">
|
|
10
|
-
<meta name="apple-mobile-web-app-title" content="app title here">
|
|
11
|
-
<meta name="twitter:card" content="summary">
|
|
12
|
-
<meta name="twitter:url" content="url here">
|
|
13
|
-
<meta name="twitter:title" content="title here">
|
|
14
|
-
<meta name="twitter:description" content="description here">
|
|
15
|
-
<meta name="twitter:image" content="/assets/image/apple-touch-icon.png">
|
|
16
|
-
<meta content="title here" property="og:title">
|
|
17
|
-
<meta content="website" property="og:type">
|
|
18
|
-
<meta content="url here" property="og:url">
|
|
19
|
-
<meta content="/assets/image/apple-touch-icon.png" property="og:image">
|
|
20
|
-
<meta content="site here" property="og:site_name">
|
|
21
|
-
<meta content="description here" property="og:description">
|
|
22
|
-
<meta content="en_US" property="og:locale">
|
|
23
|
-
<meta property="fb:admins">
|
|
24
|
-
<meta property="fb:app_id">
|
|
25
|
-
<link rel="icon" type="image/x-icon" href="/assets/image/favicon.png">
|
|
26
|
-
<link rel="apple-touch-icon-precomposed" href="/assets/image/apple-touch-icon.png">
|
|
27
|
-
<link rel="author" href="https://plus.google.com/">
|
|
28
|
-
<link rel="stylesheet" type="text/css" media="all" href="/assets/style/global.css">
|
|
29
|
-
<link rel="stylesheet" type="text/css" media="print" href="/assets/style/print.css"> </head>
|
|
30
|
-
<body itemscope itemtype="http://schema.org/WebPage">
|
|
31
|
-
<div id="wrapper">
|
|
32
|
-
<main id="main" tabindex="-1" class="container">
|
|
33
|
-
<h1 class="heading-1">Welcome</h1>
|
|
34
|
-
<p>Build your site here.</p>
|
|
35
|
-
</main>
|
|
36
|
-
</div>
|
|
37
|
-
<script src="/assets/script/global.compiled.js"></script>
|
|
38
|
-
<script src="/assets/script/index.compiled.js"></script>
|
|
39
|
-
</body>
|
|
40
|
-
</html>
|
|
@@ -1,213 +0,0 @@
|
|
|
1
|
-
body, html {
|
|
2
|
-
margin:0; padding: 0;
|
|
3
|
-
height: 100%;
|
|
4
|
-
}
|
|
5
|
-
body {
|
|
6
|
-
font-family: Helvetica Neue, Helvetica, Arial;
|
|
7
|
-
font-size: 14px;
|
|
8
|
-
color:#333;
|
|
9
|
-
}
|
|
10
|
-
.small { font-size: 12px; }
|
|
11
|
-
*, *:after, *:before {
|
|
12
|
-
-webkit-box-sizing:border-box;
|
|
13
|
-
-moz-box-sizing:border-box;
|
|
14
|
-
box-sizing:border-box;
|
|
15
|
-
}
|
|
16
|
-
h1 { font-size: 20px; margin: 0;}
|
|
17
|
-
h2 { font-size: 14px; }
|
|
18
|
-
pre {
|
|
19
|
-
font: 12px/1.4 Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
20
|
-
margin: 0;
|
|
21
|
-
padding: 0;
|
|
22
|
-
-moz-tab-size: 2;
|
|
23
|
-
-o-tab-size: 2;
|
|
24
|
-
tab-size: 2;
|
|
25
|
-
}
|
|
26
|
-
a { color:#0074D9; text-decoration:none; }
|
|
27
|
-
a:hover { text-decoration:underline; }
|
|
28
|
-
.strong { font-weight: bold; }
|
|
29
|
-
.space-top1 { padding: 10px 0 0 0; }
|
|
30
|
-
.pad2y { padding: 20px 0; }
|
|
31
|
-
.pad1y { padding: 10px 0; }
|
|
32
|
-
.pad2x { padding: 0 20px; }
|
|
33
|
-
.pad2 { padding: 20px; }
|
|
34
|
-
.pad1 { padding: 10px; }
|
|
35
|
-
.space-left2 { padding-left:55px; }
|
|
36
|
-
.space-right2 { padding-right:20px; }
|
|
37
|
-
.center { text-align:center; }
|
|
38
|
-
.clearfix { display:block; }
|
|
39
|
-
.clearfix:after {
|
|
40
|
-
content:'';
|
|
41
|
-
display:block;
|
|
42
|
-
height:0;
|
|
43
|
-
clear:both;
|
|
44
|
-
visibility:hidden;
|
|
45
|
-
}
|
|
46
|
-
.fl { float: left; }
|
|
47
|
-
@media only screen and (max-width:640px) {
|
|
48
|
-
.col3 { width:100%; max-width:100%; }
|
|
49
|
-
.hide-mobile { display:none!important; }
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.quiet {
|
|
53
|
-
color: #7f7f7f;
|
|
54
|
-
color: rgba(0,0,0,0.5);
|
|
55
|
-
}
|
|
56
|
-
.quiet a { opacity: 0.7; }
|
|
57
|
-
|
|
58
|
-
.fraction {
|
|
59
|
-
font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
|
|
60
|
-
font-size: 10px;
|
|
61
|
-
color: #555;
|
|
62
|
-
background: #E8E8E8;
|
|
63
|
-
padding: 4px 5px;
|
|
64
|
-
border-radius: 3px;
|
|
65
|
-
vertical-align: middle;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
div.path a:link, div.path a:visited { color: #333; }
|
|
69
|
-
table.coverage {
|
|
70
|
-
border-collapse: collapse;
|
|
71
|
-
margin: 10px 0 0 0;
|
|
72
|
-
padding: 0;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
table.coverage td {
|
|
76
|
-
margin: 0;
|
|
77
|
-
padding: 0;
|
|
78
|
-
vertical-align: top;
|
|
79
|
-
}
|
|
80
|
-
table.coverage td.line-count {
|
|
81
|
-
text-align: right;
|
|
82
|
-
padding: 0 5px 0 20px;
|
|
83
|
-
}
|
|
84
|
-
table.coverage td.line-coverage {
|
|
85
|
-
text-align: right;
|
|
86
|
-
padding-right: 10px;
|
|
87
|
-
min-width:20px;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
table.coverage td span.cline-any {
|
|
91
|
-
display: inline-block;
|
|
92
|
-
padding: 0 5px;
|
|
93
|
-
width: 100%;
|
|
94
|
-
}
|
|
95
|
-
.missing-if-branch {
|
|
96
|
-
display: inline-block;
|
|
97
|
-
margin-right: 5px;
|
|
98
|
-
border-radius: 3px;
|
|
99
|
-
position: relative;
|
|
100
|
-
padding: 0 4px;
|
|
101
|
-
background: #333;
|
|
102
|
-
color: yellow;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.skip-if-branch {
|
|
106
|
-
display: none;
|
|
107
|
-
margin-right: 10px;
|
|
108
|
-
position: relative;
|
|
109
|
-
padding: 0 4px;
|
|
110
|
-
background: #ccc;
|
|
111
|
-
color: white;
|
|
112
|
-
}
|
|
113
|
-
.missing-if-branch .typ, .skip-if-branch .typ {
|
|
114
|
-
color: inherit !important;
|
|
115
|
-
}
|
|
116
|
-
.coverage-summary {
|
|
117
|
-
border-collapse: collapse;
|
|
118
|
-
width: 100%;
|
|
119
|
-
}
|
|
120
|
-
.coverage-summary tr { border-bottom: 1px solid #bbb; }
|
|
121
|
-
.keyline-all { border: 1px solid #ddd; }
|
|
122
|
-
.coverage-summary td, .coverage-summary th { padding: 10px; }
|
|
123
|
-
.coverage-summary tbody { border: 1px solid #bbb; }
|
|
124
|
-
.coverage-summary td { border-right: 1px solid #bbb; }
|
|
125
|
-
.coverage-summary td:last-child { border-right: none; }
|
|
126
|
-
.coverage-summary th {
|
|
127
|
-
text-align: left;
|
|
128
|
-
font-weight: normal;
|
|
129
|
-
white-space: nowrap;
|
|
130
|
-
}
|
|
131
|
-
.coverage-summary th.file { border-right: none !important; }
|
|
132
|
-
.coverage-summary th.pct { }
|
|
133
|
-
.coverage-summary th.pic,
|
|
134
|
-
.coverage-summary th.abs,
|
|
135
|
-
.coverage-summary td.pct,
|
|
136
|
-
.coverage-summary td.abs { text-align: right; }
|
|
137
|
-
.coverage-summary td.file { white-space: nowrap; }
|
|
138
|
-
.coverage-summary td.pic { min-width: 120px !important; }
|
|
139
|
-
.coverage-summary tfoot td { }
|
|
140
|
-
|
|
141
|
-
.coverage-summary .sorter {
|
|
142
|
-
height: 10px;
|
|
143
|
-
width: 7px;
|
|
144
|
-
display: inline-block;
|
|
145
|
-
margin-left: 0.5em;
|
|
146
|
-
background: url(sort-arrow-sprite.png) no-repeat scroll 0 0 transparent;
|
|
147
|
-
}
|
|
148
|
-
.coverage-summary .sorted .sorter {
|
|
149
|
-
background-position: 0 -20px;
|
|
150
|
-
}
|
|
151
|
-
.coverage-summary .sorted-desc .sorter {
|
|
152
|
-
background-position: 0 -10px;
|
|
153
|
-
}
|
|
154
|
-
.status-line { height: 10px; }
|
|
155
|
-
/* dark red */
|
|
156
|
-
.red.solid, .status-line.low, .low .cover-fill { background:#C21F39 }
|
|
157
|
-
.low .chart { border:1px solid #C21F39 }
|
|
158
|
-
/* medium red */
|
|
159
|
-
.cstat-no, .fstat-no, .cbranch-no, .cbranch-no { background:#F6C6CE }
|
|
160
|
-
/* light red */
|
|
161
|
-
.low, .cline-no { background:#FCE1E5 }
|
|
162
|
-
/* light green */
|
|
163
|
-
.high, .cline-yes { background:rgb(230,245,208) }
|
|
164
|
-
/* medium green */
|
|
165
|
-
.cstat-yes { background:rgb(161,215,106) }
|
|
166
|
-
/* dark green */
|
|
167
|
-
.status-line.high, .high .cover-fill { background:rgb(77,146,33) }
|
|
168
|
-
.high .chart { border:1px solid rgb(77,146,33) }
|
|
169
|
-
/* dark yellow (gold) */
|
|
170
|
-
.medium .chart { border:1px solid #f9cd0b; }
|
|
171
|
-
.status-line.medium, .medium .cover-fill { background: #f9cd0b; }
|
|
172
|
-
/* light yellow */
|
|
173
|
-
.medium { background: #fff4c2; }
|
|
174
|
-
/* light gray */
|
|
175
|
-
span.cline-neutral { background: #eaeaea; }
|
|
176
|
-
|
|
177
|
-
.cbranch-no { background: yellow !important; color: #111; }
|
|
178
|
-
|
|
179
|
-
.cstat-skip { background: #ddd; color: #111; }
|
|
180
|
-
.fstat-skip { background: #ddd; color: #111 !important; }
|
|
181
|
-
.cbranch-skip { background: #ddd !important; color: #111; }
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
.cover-fill, .cover-empty {
|
|
185
|
-
display:inline-block;
|
|
186
|
-
height: 12px;
|
|
187
|
-
}
|
|
188
|
-
.chart {
|
|
189
|
-
line-height: 0;
|
|
190
|
-
}
|
|
191
|
-
.cover-empty {
|
|
192
|
-
background: white;
|
|
193
|
-
}
|
|
194
|
-
.cover-full {
|
|
195
|
-
border-right: none !important;
|
|
196
|
-
}
|
|
197
|
-
pre.prettyprint {
|
|
198
|
-
border: none !important;
|
|
199
|
-
padding: 0 !important;
|
|
200
|
-
margin: 0 !important;
|
|
201
|
-
}
|
|
202
|
-
.com { color: #999 !important; }
|
|
203
|
-
.ignore-none { color: #999; font-weight: normal; }
|
|
204
|
-
|
|
205
|
-
.wrapper {
|
|
206
|
-
min-height: 100%;
|
|
207
|
-
height: auto !important;
|
|
208
|
-
height: 100%;
|
|
209
|
-
margin: 0 auto -48px;
|
|
210
|
-
}
|
|
211
|
-
.footer, .push {
|
|
212
|
-
height: 48px;
|
|
213
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee}
|