patternfly-sass 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.bowerrc +1 -1
- data/.gitignore +2 -4
- data/.travis.yml +6 -3
- data/README.md +187 -26
- data/Rakefile +21 -17
- data/assets/stylesheets/patternfly/_variables.scss +206 -206
- data/bower.json +11 -12
- data/lib/patternfly-sass/version.rb +2 -2
- data/patternfly-sass.gemspec +1 -1
- data/{tests → spec}/capture.js +0 -0
- data/spec/compare_spec.rb +15 -5
- data/{tests/patternfly → spec/html}/accordions.html +0 -0
- data/{tests/patternfly → spec/html}/alerts.html +0 -0
- data/{tests/patternfly → spec/html}/badges.html +0 -0
- data/{tests/patternfly → spec/html}/basic.html +0 -0
- data/{tests/patternfly → spec/html}/blank-slate.html +0 -0
- data/{tests/patternfly → spec/html}/bootstrap-combobox.html +0 -0
- data/{tests/patternfly → spec/html}/bootstrap-select.html +0 -0
- data/{tests/patternfly → spec/html}/bootstrap-treeview-2.html +0 -0
- data/{tests/patternfly → spec/html}/bootstrap-treeview.html +0 -0
- data/{tests/patternfly → spec/html}/breadcrumbs.html +0 -0
- data/{tests/patternfly → spec/html}/buttons.html +0 -0
- data/{tests/patternfly → spec/html}/code.html +0 -0
- data/{tests/patternfly → spec/html}/dashboard.html +0 -0
- data/{tests/patternfly → spec/html}/datatables-columns.html +0 -0
- data/{tests/patternfly → spec/html}/datatables.html +0 -0
- data/{tests/patternfly → spec/html}/dist/css/patternfly.css +0 -0
- data/{tests/patternfly → spec/html}/dist/css/patternfly.min.css +0 -0
- data/{tests/patternfly → spec/html}/dist/css/styles.css +0 -0
- data/{tests/patternfly → spec/html}/dist/css/styles.min.css +0 -0
- data/{tests/patternfly → spec/html}/dropdowns.html +0 -0
- data/{tests/patternfly → spec/html}/form.html +0 -0
- data/{tests/patternfly → spec/html}/forms.html +0 -0
- data/{tests/patternfly → spec/html}/icons.html +0 -0
- data/{tests/patternfly → spec/html}/img/dashboard-1.png +0 -0
- data/{tests/patternfly → spec/html}/img/dashboard-2.png +0 -0
- data/{tests/patternfly → spec/html}/img/dashboard-3.png +0 -0
- data/{tests/patternfly → spec/html}/img/dashboard-4.png +0 -0
- data/{tests/patternfly → spec/html}/index.html +0 -0
- data/{tests/patternfly → spec/html}/infotip.html +0 -0
- data/{tests/patternfly → spec/html}/labels.html +0 -0
- data/{tests/patternfly → spec/html}/list-group.html +0 -0
- data/{tests/patternfly → spec/html}/login.html +0 -0
- data/{tests/index.html → spec/html/main.html} +0 -0
- data/{tests/patternfly → spec/html}/modals.html +0 -0
- data/{tests/patternfly → spec/html}/navbar.html +0 -0
- data/{tests/patternfly → spec/html}/pagination.html +0 -0
- data/{tests/patternfly → spec/html}/panels.html +0 -0
- data/{tests/patternfly → spec/html}/popovers.html +0 -0
- data/{tests/patternfly → spec/html}/progress-bars.html +0 -0
- data/{tests/patternfly → spec/html}/search.html +0 -0
- data/{tests/patternfly → spec/html}/spinner.html +0 -0
- data/{tests/patternfly → spec/html}/tab.html +0 -0
- data/{tests/patternfly → spec/html}/tables.html +0 -0
- data/{tests/patternfly → spec/html}/tabs.html +0 -0
- data/{tests/patternfly → spec/html}/tests.css +0 -0
- data/{tests/patternfly → spec/html}/tooltip.html +0 -0
- data/{tests/patternfly → spec/html}/typography-2.css +0 -0
- data/{tests/patternfly → spec/html}/typography-2.html +0 -0
- data/{tests/patternfly → spec/html}/typography.html +0 -0
- data/tasks/converter.rb +6 -9
- metadata +103 -626
- data/package.json +0 -28
- data/tests/components/bootstrap-combobox/.bower.json +0 -14
- data/tests/components/bootstrap-combobox/.gitignore +0 -1
- data/tests/components/bootstrap-combobox/README.md +0 -59
- data/tests/components/bootstrap-combobox/css/bootstrap-combobox.css +0 -42
- data/tests/components/bootstrap-combobox/js/bootstrap-combobox.js +0 -438
- data/tests/components/bootstrap-combobox/js/tests/index.html +0 -29
- data/tests/components/bootstrap-combobox/js/tests/unit/bootstrap-combobox.js +0 -323
- data/tests/components/bootstrap-combobox/js/tests/vendor/jquery.js +0 -9597
- data/tests/components/bootstrap-combobox/js/tests/vendor/qunit.css +0 -244
- data/tests/components/bootstrap-combobox/js/tests/vendor/qunit.js +0 -2152
- data/tests/components/bootstrap-combobox/less/combobox.less +0 -55
- data/tests/components/bootstrap-select/.bower.json +0 -38
- data/tests/components/bootstrap-select/CONTRIBUTING.md +0 -87
- data/tests/components/bootstrap-select/README.md +0 -61
- data/tests/components/bootstrap-select/bootstrap-select.css +0 -309
- data/tests/components/bootstrap-select/bootstrap-select.jquery.json +0 -29
- data/tests/components/bootstrap-select/bootstrap-select.js +0 -972
- data/tests/components/bootstrap-select/bootstrap-select.min.css +0 -7
- data/tests/components/bootstrap-select/bootstrap-select.min.js +0 -8
- data/tests/components/bootstrap-select/bower.json +0 -29
- data/tests/components/bootstrap-select/composer.json +0 -17
- data/tests/components/bootstrap-select/i18n/defaults-cs-CZ.js +0 -29
- data/tests/components/bootstrap-select/i18n/defaults-cz-CZ.min.js +0 -6
- data/tests/components/bootstrap-select/i18n/defaults-de_DE.js +0 -29
- data/tests/components/bootstrap-select/i18n/defaults-de_DE.min.js +0 -6
- data/tests/components/bootstrap-select/i18n/defaults-es-CL.js +0 -29
- data/tests/components/bootstrap-select/i18n/defaults-es-CL.min.js +0 -6
- data/tests/components/bootstrap-select/i18n/defaults-eu.js +0 -30
- data/tests/components/bootstrap-select/i18n/defaults-eu.min.js +0 -6
- data/tests/components/bootstrap-select/i18n/defaults-it_IT.js +0 -32
- data/tests/components/bootstrap-select/i18n/defaults-it_IT.min.js +0 -1
- data/tests/components/bootstrap-select/i18n/defaults-nl_NL.js +0 -32
- data/tests/components/bootstrap-select/i18n/defaults-nl_NL.min.js +0 -7
- data/tests/components/bootstrap-select/i18n/defaults-pl_PL.js +0 -29
- data/tests/components/bootstrap-select/i18n/defaults-pl_PL.min.js +0 -6
- data/tests/components/bootstrap-select/i18n/defaults-pt_BR.js +0 -33
- data/tests/components/bootstrap-select/i18n/defaults-pt_BR.min.js +0 -7
- data/tests/components/bootstrap-select/i18n/defaults-ru-RU.js +0 -31
- data/tests/components/bootstrap-select/i18n/defaults-ru_RU.min.js +0 -6
- data/tests/components/bootstrap-select/i18n/defaults-zh_CN.js +0 -30
- data/tests/components/bootstrap-select/i18n/defaults-zh_CN.min.js +0 -6
- data/tests/components/bootstrap-select/package.json +0 -31
- data/tests/components/bootstrap-select/test.html +0 -62
- data/tests/components/bootstrap-treeview/.bower.json +0 -38
- data/tests/components/bootstrap-treeview/Gruntfile.js +0 -62
- data/tests/components/bootstrap-treeview/LICENSE +0 -202
- data/tests/components/bootstrap-treeview/README.md +0 -289
- data/tests/components/bootstrap-treeview/app.js +0 -29
- data/tests/components/bootstrap-treeview/bower.json +0 -29
- data/tests/components/bootstrap-treeview/dist/bootstrap-treeview.min.css +0 -1
- data/tests/components/bootstrap-treeview/dist/bootstrap-treeview.min.js +0 -1
- data/tests/components/bootstrap-treeview/package.json +0 -18
- data/tests/components/bootstrap-treeview/public/css/bootstrap-treeview.css +0 -37
- data/tests/components/bootstrap-treeview/public/example-dom.html +0 -59
- data/tests/components/bootstrap-treeview/public/index.html +0 -333
- data/tests/components/bootstrap-treeview/public/js/bootstrap-treeview.js +0 -455
- data/tests/components/bootstrap-treeview/screenshot/default.PNG +0 -0
- data/tests/components/bootstrap-treeview/src/css/bootstrap-treeview.css +0 -37
- data/tests/components/bootstrap-treeview/src/js/bootstrap-treeview.js +0 -455
- data/tests/components/datatables-colreorder/.bower.json +0 -22
- data/tests/components/datatables-colreorder/License.txt +0 -20
- data/tests/components/datatables-colreorder/Readme.md +0 -39
- data/tests/components/datatables-colreorder/bower.json +0 -12
- data/tests/components/datatables-colreorder/css/dataTables.colReorder.css +0 -14
- data/tests/components/datatables-colreorder/examples/alt_insert.xml +0 -30
- data/tests/components/datatables-colreorder/examples/col_filter.xml +0 -38
- data/tests/components/datatables-colreorder/examples/colvis.xml +0 -26
- data/tests/components/datatables-colreorder/examples/fixedcolumns.xml +0 -43
- data/tests/components/datatables-colreorder/examples/fixedheader.xml +0 -27
- data/tests/components/datatables-colreorder/examples/index.xml +0 -19
- data/tests/components/datatables-colreorder/examples/jqueryui.xml +0 -27
- data/tests/components/datatables-colreorder/examples/new_init.xml +0 -23
- data/tests/components/datatables-colreorder/examples/predefined.xml +0 -30
- data/tests/components/datatables-colreorder/examples/realtime.xml +0 -30
- data/tests/components/datatables-colreorder/examples/reset.xml +0 -41
- data/tests/components/datatables-colreorder/examples/scrolling.xml +0 -27
- data/tests/components/datatables-colreorder/examples/server_side.xml +0 -38
- data/tests/components/datatables-colreorder/examples/simple.xml +0 -25
- data/tests/components/datatables-colreorder/examples/state_save.xml +0 -26
- data/tests/components/datatables-colreorder/images/.DS_Store +0 -0
- data/tests/components/datatables-colreorder/images/insert.png +0 -0
- data/tests/components/datatables-colreorder/js/dataTables.colReorder.js +0 -1372
- data/tests/components/datatables-colreorder/make.sh +0 -31
- data/tests/components/datatables-colvis/.bower.json +0 -22
- data/tests/components/datatables-colvis/License.txt +0 -20
- data/tests/components/datatables-colvis/README.md +0 -38
- data/tests/components/datatables-colvis/bower.json +0 -12
- data/tests/components/datatables-colvis/css/dataTables.colVis.css +0 -185
- data/tests/components/datatables-colvis/css/dataTables.colvis.jqueryui.css +0 -41
- data/tests/components/datatables-colvis/examples/.DS_Store +0 -0
- data/tests/components/datatables-colvis/examples/button_order.xml +0 -26
- data/tests/components/datatables-colvis/examples/exclude_columns.xml +0 -28
- data/tests/components/datatables-colvis/examples/group_columns.xml +0 -40
- data/tests/components/datatables-colvis/examples/index.xml +0 -18
- data/tests/components/datatables-colvis/examples/jqueryui.xml +0 -28
- data/tests/components/datatables-colvis/examples/mouseover.xml +0 -28
- data/tests/components/datatables-colvis/examples/new_init.xml +0 -26
- data/tests/components/datatables-colvis/examples/restore.xml +0 -33
- data/tests/components/datatables-colvis/examples/simple.xml +0 -25
- data/tests/components/datatables-colvis/examples/text.xml +0 -29
- data/tests/components/datatables-colvis/examples/title_callback.xml +0 -30
- data/tests/components/datatables-colvis/examples/two_tables.xml +0 -24
- data/tests/components/datatables-colvis/examples/two_tables_identical.xml +0 -35
- data/tests/components/datatables-colvis/js/dataTables.colVis.js +0 -1123
- data/tests/components/datatables-colvis/make.sh +0 -28
- data/tests/components/datatables/.bower.json +0 -42
- data/tests/components/datatables/Contributing.md +0 -18
- data/tests/components/datatables/Readme.md +0 -53
- data/tests/components/datatables/bower.json +0 -32
- data/tests/components/datatables/license.txt +0 -20
- data/tests/components/datatables/media/css/jquery.dataTables.css +0 -455
- data/tests/components/datatables/media/css/jquery.dataTables.min.css +0 -1
- data/tests/components/datatables/media/css/jquery.dataTables_themeroller.css +0 -416
- data/tests/components/datatables/media/images/Sorting icons.psd +0 -0
- data/tests/components/datatables/media/images/favicon.ico +0 -0
- data/tests/components/datatables/media/images/sort_asc.png +0 -0
- data/tests/components/datatables/media/images/sort_asc_disabled.png +0 -0
- data/tests/components/datatables/media/images/sort_both.png +0 -0
- data/tests/components/datatables/media/images/sort_desc.png +0 -0
- data/tests/components/datatables/media/images/sort_desc_disabled.png +0 -0
- data/tests/components/datatables/media/js/jquery.dataTables.js +0 -14951
- data/tests/components/datatables/media/js/jquery.dataTables.min.js +0 -160
- data/tests/components/datatables/media/js/jquery.js +0 -5
- data/tests/components/google-code-prettify/.bower.json +0 -26
- data/tests/components/google-code-prettify/CHANGES.html +0 -172
- data/tests/components/google-code-prettify/COPYING +0 -191
- data/tests/components/google-code-prettify/README-zh-Hans.html +0 -143
- data/tests/components/google-code-prettify/README.html +0 -233
- data/tests/components/google-code-prettify/README.md +0 -54
- data/tests/components/google-code-prettify/bin/prettify.min.css +0 -1
- data/tests/components/google-code-prettify/bin/prettify.min.js +0 -30
- data/tests/components/google-code-prettify/bin/run_prettify.min.js +0 -34
- data/tests/components/google-code-prettify/bower.json +0 -16
- data/tests/components/google-code-prettify/examples/quine.html +0 -55
- data/tests/components/google-code-prettify/src/lang-apollo.js +0 -51
- data/tests/components/google-code-prettify/src/lang-basic.js +0 -32
- data/tests/components/google-code-prettify/src/lang-clj.js +0 -64
- data/tests/components/google-code-prettify/src/lang-css.js +0 -159
- data/tests/components/google-code-prettify/src/lang-dart.js +0 -88
- data/tests/components/google-code-prettify/src/lang-erlang.js +0 -92
- data/tests/components/google-code-prettify/src/lang-go.js +0 -58
- data/tests/components/google-code-prettify/src/lang-hs.js +0 -101
- data/tests/components/google-code-prettify/src/lang-lisp.js +0 -94
- data/tests/components/google-code-prettify/src/lang-llvm.js +0 -61
- data/tests/components/google-code-prettify/src/lang-lua.js +0 -59
- data/tests/components/google-code-prettify/src/lang-matlab.js +0 -180
- data/tests/components/google-code-prettify/src/lang-ml.js +0 -56
- data/tests/components/google-code-prettify/src/lang-mumps.js +0 -139
- data/tests/components/google-code-prettify/src/lang-n.js +0 -65
- data/tests/components/google-code-prettify/src/lang-pascal.js +0 -32
- data/tests/components/google-code-prettify/src/lang-proto.js +0 -35
- data/tests/components/google-code-prettify/src/lang-r.js +0 -57
- data/tests/components/google-code-prettify/src/lang-rd.js +0 -47
- data/tests/components/google-code-prettify/src/lang-scala.js +0 -54
- data/tests/components/google-code-prettify/src/lang-sql.js +0 -58
- data/tests/components/google-code-prettify/src/lang-tcl.js +0 -62
- data/tests/components/google-code-prettify/src/lang-tex.js +0 -46
- data/tests/components/google-code-prettify/src/lang-vb.js +0 -66
- data/tests/components/google-code-prettify/src/lang-vhdl.js +0 -34
- data/tests/components/google-code-prettify/src/lang-wiki.js +0 -53
- data/tests/components/google-code-prettify/src/lang-xq.js +0 -67
- data/tests/components/google-code-prettify/src/lang-yaml.js +0 -27
- data/tests/components/google-code-prettify/src/prettify.css +0 -52
- data/tests/components/google-code-prettify/src/prettify.js +0 -1655
- data/tests/components/google-code-prettify/src/run_prettify.js +0 -1905
- data/tests/components/google-code-prettify/styles/demo.html +0 -61
- data/tests/components/google-code-prettify/styles/desert.css +0 -34
- data/tests/components/google-code-prettify/styles/doxy.css +0 -64
- data/tests/components/google-code-prettify/styles/index.html +0 -89
- data/tests/components/google-code-prettify/styles/sons-of-obsidian.css +0 -118
- data/tests/components/google-code-prettify/styles/sunburst.css +0 -51
- data/tests/components/jquery/.bower.json +0 -38
- data/tests/components/jquery/MIT-LICENSE.txt +0 -21
- data/tests/components/jquery/bower.json +0 -28
- data/tests/components/jquery/dist/jquery.js +0 -9210
- data/tests/components/jquery/dist/jquery.min.js +0 -5
- data/tests/components/jquery/dist/jquery.min.map +0 -1
- data/tests/components/jquery/src/ajax.js +0 -786
- data/tests/components/jquery/src/ajax/jsonp.js +0 -89
- data/tests/components/jquery/src/ajax/load.js +0 -75
- data/tests/components/jquery/src/ajax/parseJSON.js +0 -13
- data/tests/components/jquery/src/ajax/parseXML.js +0 -28
- data/tests/components/jquery/src/ajax/script.js +0 -64
- data/tests/components/jquery/src/ajax/var/nonce.js +0 -5
- data/tests/components/jquery/src/ajax/var/rquery.js +0 -3
- data/tests/components/jquery/src/ajax/xhr.js +0 -136
- data/tests/components/jquery/src/attributes.js +0 -11
- data/tests/components/jquery/src/attributes/attr.js +0 -141
- data/tests/components/jquery/src/attributes/classes.js +0 -158
- data/tests/components/jquery/src/attributes/prop.js +0 -94
- data/tests/components/jquery/src/attributes/support.js +0 -35
- data/tests/components/jquery/src/attributes/val.js +0 -161
- data/tests/components/jquery/src/callbacks.js +0 -205
- data/tests/components/jquery/src/core.js +0 -502
- data/tests/components/jquery/src/core/access.js +0 -60
- data/tests/components/jquery/src/core/init.js +0 -123
- data/tests/components/jquery/src/core/parseHTML.js +0 -39
- data/tests/components/jquery/src/core/ready.js +0 -97
- data/tests/components/jquery/src/core/var/rsingleTag.js +0 -4
- data/tests/components/jquery/src/css.js +0 -450
- data/tests/components/jquery/src/css/addGetHookIf.js +0 -22
- data/tests/components/jquery/src/css/curCSS.js +0 -57
- data/tests/components/jquery/src/css/defaultDisplay.js +0 -70
- data/tests/components/jquery/src/css/hiddenVisibleSelectors.js +0 -15
- data/tests/components/jquery/src/css/support.js +0 -96
- data/tests/components/jquery/src/css/swap.js +0 -28
- data/tests/components/jquery/src/css/var/cssExpand.js +0 -3
- data/tests/components/jquery/src/css/var/getStyles.js +0 -12
- data/tests/components/jquery/src/css/var/isHidden.js +0 -13
- data/tests/components/jquery/src/css/var/rmargin.js +0 -3
- data/tests/components/jquery/src/css/var/rnumnonpx.js +0 -5
- data/tests/components/jquery/src/data.js +0 -178
- data/tests/components/jquery/src/data/Data.js +0 -181
- data/tests/components/jquery/src/data/accepts.js +0 -20
- data/tests/components/jquery/src/data/var/data_priv.js +0 -5
- data/tests/components/jquery/src/data/var/data_user.js +0 -5
- data/tests/components/jquery/src/deferred.js +0 -149
- data/tests/components/jquery/src/deprecated.js +0 -13
- data/tests/components/jquery/src/dimensions.js +0 -50
- data/tests/components/jquery/src/effects.js +0 -648
- data/tests/components/jquery/src/effects/Tween.js +0 -114
- data/tests/components/jquery/src/effects/animatedSelector.js +0 -13
- data/tests/components/jquery/src/event.js +0 -868
- data/tests/components/jquery/src/event/ajax.js +0 -13
- data/tests/components/jquery/src/event/alias.js +0 -39
- data/tests/components/jquery/src/event/support.js +0 -9
- data/tests/components/jquery/src/exports/amd.js +0 -24
- data/tests/components/jquery/src/exports/global.js +0 -32
- data/tests/components/jquery/src/intro.js +0 -44
- data/tests/components/jquery/src/jquery.js +0 -37
- data/tests/components/jquery/src/manipulation.js +0 -580
- data/tests/components/jquery/src/manipulation/_evalUrl.js +0 -18
- data/tests/components/jquery/src/manipulation/support.js +0 -32
- data/tests/components/jquery/src/manipulation/var/rcheckableType.js +0 -3
- data/tests/components/jquery/src/offset.js +0 -207
- data/tests/components/jquery/src/outro.js +0 -1
- data/tests/components/jquery/src/queue.js +0 -142
- data/tests/components/jquery/src/queue/delay.js +0 -22
- data/tests/components/jquery/src/selector-native.js +0 -172
- data/tests/components/jquery/src/selector-sizzle.js +0 -14
- data/tests/components/jquery/src/selector.js +0 -1
- data/tests/components/jquery/src/serialize.js +0 -111
- data/tests/components/jquery/src/sizzle/dist/sizzle.js +0 -2067
- data/tests/components/jquery/src/sizzle/dist/sizzle.min.js +0 -3
- data/tests/components/jquery/src/sizzle/dist/sizzle.min.map +0 -1
- data/tests/components/jquery/src/traversing.js +0 -199
- data/tests/components/jquery/src/traversing/findFilter.js +0 -100
- data/tests/components/jquery/src/traversing/var/rneedsContext.js +0 -6
- data/tests/components/jquery/src/var/arr.js +0 -3
- data/tests/components/jquery/src/var/class2type.js +0 -4
- data/tests/components/jquery/src/var/concat.js +0 -5
- data/tests/components/jquery/src/var/hasOwn.js +0 -5
- data/tests/components/jquery/src/var/indexOf.js +0 -5
- data/tests/components/jquery/src/var/pnum.js +0 -3
- data/tests/components/jquery/src/var/push.js +0 -5
- data/tests/components/jquery/src/var/rnotwhite.js +0 -3
- data/tests/components/jquery/src/var/slice.js +0 -5
- data/tests/components/jquery/src/var/strundefined.js +0 -3
- data/tests/components/jquery/src/var/support.js +0 -4
- data/tests/components/jquery/src/var/toString.js +0 -5
- data/tests/components/jquery/src/wrap.js +0 -79
@@ -1,61 +0,0 @@
|
|
1
|
-
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
2
|
-
<html><head>
|
3
|
-
<script src="../src/prettify.js"></script>
|
4
|
-
<script src="../src/lang-css.js"></script>
|
5
|
-
<style>
|
6
|
-
body { margin: 0; padding: 0 }
|
7
|
-
pre { margin: 0 }
|
8
|
-
</style>
|
9
|
-
</head>
|
10
|
-
<script>
|
11
|
-
// This page displays some code styled using a theme named in the
|
12
|
-
// query part of the URL.
|
13
|
-
var themeName = decodeURIComponent(document.location.search.replace(/^\?/, ''));
|
14
|
-
|
15
|
-
// Call out to the parent so that it can resize the iframe once this
|
16
|
-
// document's body is loaded.
|
17
|
-
function adjustHeightInParent() {
|
18
|
-
if (parent !== window) {
|
19
|
-
try {
|
20
|
-
var div = document.body.getElementsByTagName('div')[0];
|
21
|
-
parent.adjustChildIframeSize(
|
22
|
-
themeName, div.offsetWidth, div.offsetHeight);
|
23
|
-
} catch (ex) {
|
24
|
-
// Can happen when this page is opened in its own tab.
|
25
|
-
}
|
26
|
-
}
|
27
|
-
}
|
28
|
-
|
29
|
-
// Load the necessary CSS
|
30
|
-
(function () {
|
31
|
-
document.title = 'Theme ' + themeName;
|
32
|
-
// Load the stylesheet that we're demoing.
|
33
|
-
var link = document.createElement('link');
|
34
|
-
link.rel = 'stylesheet';
|
35
|
-
link.type = 'text/css';
|
36
|
-
link.href = themeName === 'default'
|
37
|
-
? '../src/prettify.css' : themeName + '.css';
|
38
|
-
document.getElementsByTagName('head')[0].appendChild(link);
|
39
|
-
})();
|
40
|
-
</script>
|
41
|
-
|
42
|
-
<body onload="prettyPrint(); adjustHeightInParent()">
|
43
|
-
<div style="width: 40em; display: inline-block">
|
44
|
-
<pre class="prettyprint lang-html linenums">
|
45
|
-
<script type="text/javascript">
|
46
|
-
// Say hello world until the user starts questioning
|
47
|
-
// the meaningfulness of their existence.
|
48
|
-
function helloWorld(world) {
|
49
|
-
for (var i = 42; --i >= 0;) {
|
50
|
-
alert('Hello ' + String(world));
|
51
|
-
}
|
52
|
-
}
|
53
|
-
</script>
|
54
|
-
<style>
|
55
|
-
p { color: pink }
|
56
|
-
b { color: blue }
|
57
|
-
u { color: "umber" }
|
58
|
-
</style>
|
59
|
-
</pre>
|
60
|
-
</div>
|
61
|
-
</body></html>
|
@@ -1,34 +0,0 @@
|
|
1
|
-
/* desert scheme ported from vim to google prettify */
|
2
|
-
pre.prettyprint { display: block; background-color: #333 }
|
3
|
-
pre .nocode { background-color: none; color: #000 }
|
4
|
-
pre .str { color: #ffa0a0 } /* string - pink */
|
5
|
-
pre .kwd { color: #f0e68c; font-weight: bold }
|
6
|
-
pre .com { color: #87ceeb } /* comment - skyblue */
|
7
|
-
pre .typ { color: #98fb98 } /* type - lightgreen */
|
8
|
-
pre .lit { color: #cd5c5c } /* literal - darkred */
|
9
|
-
pre .pun { color: #fff } /* punctuation */
|
10
|
-
pre .pln { color: #fff } /* plaintext */
|
11
|
-
pre .tag { color: #f0e68c; font-weight: bold } /* html/xml tag - lightyellow */
|
12
|
-
pre .atn { color: #bdb76b; font-weight: bold } /* attribute name - khaki */
|
13
|
-
pre .atv { color: #ffa0a0 } /* attribute value - pink */
|
14
|
-
pre .dec { color: #98fb98 } /* decimal - lightgreen */
|
15
|
-
|
16
|
-
/* Specify class=linenums on a pre to get line numbering */
|
17
|
-
ol.linenums { margin-top: 0; margin-bottom: 0; color: #AEAEAE } /* IE indents via margin-left */
|
18
|
-
li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8 { list-style-type: none }
|
19
|
-
/* Alternate shading for lines */
|
20
|
-
li.L1,li.L3,li.L5,li.L7,li.L9 { }
|
21
|
-
|
22
|
-
@media print {
|
23
|
-
pre.prettyprint { background-color: none }
|
24
|
-
pre .str, code .str { color: #060 }
|
25
|
-
pre .kwd, code .kwd { color: #006; font-weight: bold }
|
26
|
-
pre .com, code .com { color: #600; font-style: italic }
|
27
|
-
pre .typ, code .typ { color: #404; font-weight: bold }
|
28
|
-
pre .lit, code .lit { color: #044 }
|
29
|
-
pre .pun, code .pun { color: #440 }
|
30
|
-
pre .pln, code .pln { color: #000 }
|
31
|
-
pre .tag, code .tag { color: #006; font-weight: bold }
|
32
|
-
pre .atn, code .atn { color: #404 }
|
33
|
-
pre .atv, code .atv { color: #060 }
|
34
|
-
}
|
@@ -1,64 +0,0 @@
|
|
1
|
-
/* Doxy pretty-printing styles. Used with prettify.js. */
|
2
|
-
|
3
|
-
pre .str, code .str { color: #fec243; } /* string - eggyolk gold */
|
4
|
-
pre .kwd, code .kwd { color: #8470FF; } /* keyword - light slate blue */
|
5
|
-
pre .com, code .com { color: #32cd32; font-style: italic; } /* comment - green */
|
6
|
-
pre .typ, code .typ { color: #6ecbcc; } /* type - turq green */
|
7
|
-
pre .lit, code .lit { color: #d06; } /* literal - cherry red */
|
8
|
-
pre .pun, code .pun { color: #8B8970; } /* punctuation - lemon chiffon4 */
|
9
|
-
pre .pln, code .pln { color: #f0f0f0; } /* plaintext - white */
|
10
|
-
pre .tag, code .tag { color: #9c9cff; } /* html/xml tag (bluey) */
|
11
|
-
pre .htm, code .htm { color: #dda0dd; } /* html tag light purply*/
|
12
|
-
pre .xsl, code .xsl { color: #d0a0d0; } /* xslt tag light purply*/
|
13
|
-
pre .atn, code .atn { color: #46eeee; font-weight: normal;} /* html/xml attribute name - lt turquoise */
|
14
|
-
pre .atv, code .atv { color: #EEB4B4; } /* html/xml attribute value - rosy brown2 */
|
15
|
-
pre .dec, code .dec { color: #3387CC; } /* decimal - blue */
|
16
|
-
|
17
|
-
a {
|
18
|
-
text-decoration: none;
|
19
|
-
}
|
20
|
-
pre.prettyprint, code.prettyprint {
|
21
|
-
font-family:'Droid Sans Mono','CPMono_v07 Bold','Droid Sans';
|
22
|
-
font-weight: bold;
|
23
|
-
font-size: 9pt;
|
24
|
-
background-color: #0f0f0f;
|
25
|
-
-moz-border-radius: 8px;
|
26
|
-
-webkit-border-radius: 8px;
|
27
|
-
-o-border-radius: 8px;
|
28
|
-
-ms-border-radius: 8px;
|
29
|
-
-khtml-border-radius: 8px;
|
30
|
-
border-radius: 8px;
|
31
|
-
} /* background is black (well, just a tad less dark ) */
|
32
|
-
|
33
|
-
pre.prettyprint {
|
34
|
-
width: 95%;
|
35
|
-
margin: 1em auto;
|
36
|
-
padding: 1em;
|
37
|
-
white-space: pre-wrap;
|
38
|
-
}
|
39
|
-
|
40
|
-
pre.prettyprint a, code.prettyprint a {
|
41
|
-
text-decoration:none;
|
42
|
-
}
|
43
|
-
/* Specify class=linenums on a pre to get line numbering; line numbers themselves are the same color as punctuation */
|
44
|
-
ol.linenums { margin-top: 0; margin-bottom: 0; color: #8B8970; } /* IE indents via margin-left */
|
45
|
-
li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8 { list-style-type: none }
|
46
|
-
/* Alternate shading for lines */
|
47
|
-
li.L1,li.L3,li.L5,li.L7,li.L9 { }
|
48
|
-
|
49
|
-
/* print is mostly unchanged from default at present */
|
50
|
-
@media print {
|
51
|
-
pre.prettyprint, code.prettyprint { background-color: #fff; }
|
52
|
-
pre .str, code .str { color: #088; }
|
53
|
-
pre .kwd, code .kwd { color: #006; font-weight: bold; }
|
54
|
-
pre .com, code .com { color: #0C3; font-style: italic; }
|
55
|
-
pre .typ, code .typ { color: #404; font-weight: bold; }
|
56
|
-
pre .lit, code .lit { color: #044; }
|
57
|
-
pre .pun, code .pun { color: #440; }
|
58
|
-
pre .pln, code .pln { color: #000; }
|
59
|
-
pre .tag, code .tag { color: #b66ff7; font-weight: bold; }
|
60
|
-
pre .htm, code .htm { color: #606; font-weight: bold; }
|
61
|
-
pre .xsl, code .xsl { color: #606; font-weight: bold; }
|
62
|
-
pre .atn, code .atn { color: #c71585; font-weight: normal; }
|
63
|
-
pre .atv, code .atv { color: #088; font-weight: normal; }
|
64
|
-
}
|
@@ -1,89 +0,0 @@
|
|
1
|
-
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
2
|
-
<html><head>
|
3
|
-
<title>Prettify Themes Gallery</title>
|
4
|
-
<style type="text/css">
|
5
|
-
iframe { width: 100%; border-style: none; margin: 0; padding: 0 }
|
6
|
-
</style>
|
7
|
-
<script>
|
8
|
-
var allThemes = [
|
9
|
-
{ name: 'default' },
|
10
|
-
{ name: 'desert',
|
11
|
-
authorHtml: '<a href="http://code.google.com/u/@VhJeSlJYBhVMWgF7/">'
|
12
|
-
+ 'techto…@<\/a>' },
|
13
|
-
{ name: 'sunburst', authorHtml: 'David Leibovic' },
|
14
|
-
{ name: 'sons-of-obsidian',
|
15
|
-
authorHtml: '<a href="http://CodeTunnel.com/blog/post/71'
|
16
|
-
+ '/google-code-prettify-obsidian-theme">Alex Ford<\/a>' },
|
17
|
-
{ name: 'doxy', authorHtml: 'Robert Sperberg' },
|
18
|
-
];
|
19
|
-
|
20
|
-
// Called by the demo.html frames loaded per theme to
|
21
|
-
// size the iframes properly and to allow them to tile
|
22
|
-
// the page nicely.
|
23
|
-
function adjustChildIframeSize(themeName, width, height) {
|
24
|
-
if (typeof console != 'undefined') {
|
25
|
-
try {
|
26
|
-
console.log('adjusting ' + themeName + ' to ' + width + 'x' + height);
|
27
|
-
} catch (ex) {
|
28
|
-
// Don't bother logging log failure.
|
29
|
-
}
|
30
|
-
}
|
31
|
-
|
32
|
-
var container = document.getElementById(themeName).parentNode;
|
33
|
-
container.style.width = (+width + 16) + 'px';
|
34
|
-
container.style.display = 'inline-block';
|
35
|
-
var iframe = container.getElementsByTagName('iframe')[0];
|
36
|
-
iframe.style.height = (+height + 16) + 'px';
|
37
|
-
}
|
38
|
-
</script>
|
39
|
-
</head>
|
40
|
-
|
41
|
-
<body>
|
42
|
-
<noscript>This page requires JavaScript</noscript>
|
43
|
-
|
44
|
-
<h1>Gallery of themes for
|
45
|
-
<a href="http://code.google.com/p/google-code-prettify/">code prettify</a></h1>
|
46
|
-
<p>
|
47
|
-
Click on a theme name for a link to the file in revision control.
|
48
|
-
Print preview this page to see how the themes work on the printed page.
|
49
|
-
</p>
|
50
|
-
<script>(function () {
|
51
|
-
// Produce an iframe per theme.
|
52
|
-
// We pass the threme name to the iframe via its URI query, and
|
53
|
-
// it loads prettify and the theme CSS, and calls back to this page
|
54
|
-
// to resize the iframe.
|
55
|
-
for (var i = 0, n = allThemes.length; i < n; ++i) {
|
56
|
-
var theme = allThemes[i];
|
57
|
-
if (!theme) { continue; }
|
58
|
-
var iframe = document.createElement('iframe');
|
59
|
-
iframe.name = theme.name;
|
60
|
-
iframe.src = 'demo.html?' + encodeURIComponent(theme.name);
|
61
|
-
var header = document.createElement('h2');
|
62
|
-
header.id = theme.name;
|
63
|
-
var linkToThemeSrc = document.createElement('a');
|
64
|
-
linkToThemeSrc.href = (
|
65
|
-
'http://code.google.com/p/google-code-prettify/source/browse/trunk/' +
|
66
|
-
(theme.name === 'default'
|
67
|
-
? 'src/prettify.css'
|
68
|
-
: 'styles/' + encodeURIComponent(theme.name) + '.css'));
|
69
|
-
linkToThemeSrc.appendChild(document.createTextNode(
|
70
|
-
theme.name.replace(/\b[a-z]/g, // Capitalize first letter of each word
|
71
|
-
function (letter) { return letter.toUpperCase(); })));
|
72
|
-
header.appendChild(linkToThemeSrc);
|
73
|
-
|
74
|
-
var attribution;
|
75
|
-
if (theme.authorHtml) {
|
76
|
-
attribution = document.createElement('span');
|
77
|
-
attribution.className = 'attribution';
|
78
|
-
attribution.innerHTML = 'by ' + theme.authorHtml;
|
79
|
-
}
|
80
|
-
|
81
|
-
var div = document.createElement('div');
|
82
|
-
div.appendChild(header);
|
83
|
-
if (attribution) { div.appendChild(attribution); }
|
84
|
-
div.appendChild(iframe);
|
85
|
-
document.body.appendChild(div);
|
86
|
-
}
|
87
|
-
})()</script>
|
88
|
-
|
89
|
-
</body></html>
|
@@ -1,118 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Derived from einaros's Sons of Obsidian theme at
|
3
|
-
* http://studiostyl.es/schemes/son-of-obsidian by
|
4
|
-
* Alex Ford of CodeTunnel:
|
5
|
-
* http://CodeTunnel.com/blog/post/71/google-code-prettify-obsidian-theme
|
6
|
-
*/
|
7
|
-
|
8
|
-
.str
|
9
|
-
{
|
10
|
-
color: #EC7600;
|
11
|
-
}
|
12
|
-
.kwd
|
13
|
-
{
|
14
|
-
color: #93C763;
|
15
|
-
}
|
16
|
-
.com
|
17
|
-
{
|
18
|
-
color: #66747B;
|
19
|
-
}
|
20
|
-
.typ
|
21
|
-
{
|
22
|
-
color: #678CB1;
|
23
|
-
}
|
24
|
-
.lit
|
25
|
-
{
|
26
|
-
color: #FACD22;
|
27
|
-
}
|
28
|
-
.pun
|
29
|
-
{
|
30
|
-
color: #F1F2F3;
|
31
|
-
}
|
32
|
-
.pln
|
33
|
-
{
|
34
|
-
color: #F1F2F3;
|
35
|
-
}
|
36
|
-
.tag
|
37
|
-
{
|
38
|
-
color: #8AC763;
|
39
|
-
}
|
40
|
-
.atn
|
41
|
-
{
|
42
|
-
color: #E0E2E4;
|
43
|
-
}
|
44
|
-
.atv
|
45
|
-
{
|
46
|
-
color: #EC7600;
|
47
|
-
}
|
48
|
-
.dec
|
49
|
-
{
|
50
|
-
color: purple;
|
51
|
-
}
|
52
|
-
pre.prettyprint
|
53
|
-
{
|
54
|
-
border: 0px solid #888;
|
55
|
-
}
|
56
|
-
ol.linenums
|
57
|
-
{
|
58
|
-
margin-top: 0;
|
59
|
-
margin-bottom: 0;
|
60
|
-
}
|
61
|
-
.prettyprint {
|
62
|
-
background: #000;
|
63
|
-
}
|
64
|
-
li.L0, li.L1, li.L2, li.L3, li.L4, li.L5, li.L6, li.L7, li.L8, li.L9
|
65
|
-
{
|
66
|
-
color: #555;
|
67
|
-
list-style-type: decimal;
|
68
|
-
}
|
69
|
-
li.L1, li.L3, li.L5, li.L7, li.L9 {
|
70
|
-
background: #111;
|
71
|
-
}
|
72
|
-
@media print
|
73
|
-
{
|
74
|
-
.str
|
75
|
-
{
|
76
|
-
color: #060;
|
77
|
-
}
|
78
|
-
.kwd
|
79
|
-
{
|
80
|
-
color: #006;
|
81
|
-
font-weight: bold;
|
82
|
-
}
|
83
|
-
.com
|
84
|
-
{
|
85
|
-
color: #600;
|
86
|
-
font-style: italic;
|
87
|
-
}
|
88
|
-
.typ
|
89
|
-
{
|
90
|
-
color: #404;
|
91
|
-
font-weight: bold;
|
92
|
-
}
|
93
|
-
.lit
|
94
|
-
{
|
95
|
-
color: #044;
|
96
|
-
}
|
97
|
-
.pun
|
98
|
-
{
|
99
|
-
color: #440;
|
100
|
-
}
|
101
|
-
.pln
|
102
|
-
{
|
103
|
-
color: #000;
|
104
|
-
}
|
105
|
-
.tag
|
106
|
-
{
|
107
|
-
color: #006;
|
108
|
-
font-weight: bold;
|
109
|
-
}
|
110
|
-
.atn
|
111
|
-
{
|
112
|
-
color: #404;
|
113
|
-
}
|
114
|
-
.atv
|
115
|
-
{
|
116
|
-
color: #060;
|
117
|
-
}
|
118
|
-
}
|
@@ -1,51 +0,0 @@
|
|
1
|
-
/* Pretty printing styles. Used with prettify.js. */
|
2
|
-
/* Vim sunburst theme by David Leibovic */
|
3
|
-
|
4
|
-
pre .str, code .str { color: #65B042; } /* string - green */
|
5
|
-
pre .kwd, code .kwd { color: #E28964; } /* keyword - dark pink */
|
6
|
-
pre .com, code .com { color: #AEAEAE; font-style: italic; } /* comment - gray */
|
7
|
-
pre .typ, code .typ { color: #89bdff; } /* type - light blue */
|
8
|
-
pre .lit, code .lit { color: #3387CC; } /* literal - blue */
|
9
|
-
pre .pun, code .pun { color: #fff; } /* punctuation - white */
|
10
|
-
pre .pln, code .pln { color: #fff; } /* plaintext - white */
|
11
|
-
pre .tag, code .tag { color: #89bdff; } /* html/xml tag - light blue */
|
12
|
-
pre .atn, code .atn { color: #bdb76b; } /* html/xml attribute name - khaki */
|
13
|
-
pre .atv, code .atv { color: #65B042; } /* html/xml attribute value - green */
|
14
|
-
pre .dec, code .dec { color: #3387CC; } /* decimal - blue */
|
15
|
-
|
16
|
-
pre.prettyprint, code.prettyprint {
|
17
|
-
background-color: #000;
|
18
|
-
-moz-border-radius: 8px;
|
19
|
-
-webkit-border-radius: 8px;
|
20
|
-
-o-border-radius: 8px;
|
21
|
-
-ms-border-radius: 8px;
|
22
|
-
-khtml-border-radius: 8px;
|
23
|
-
border-radius: 8px;
|
24
|
-
}
|
25
|
-
|
26
|
-
pre.prettyprint {
|
27
|
-
width: 95%;
|
28
|
-
margin: 1em auto;
|
29
|
-
padding: 1em;
|
30
|
-
white-space: pre-wrap;
|
31
|
-
}
|
32
|
-
|
33
|
-
|
34
|
-
/* Specify class=linenums on a pre to get line numbering */
|
35
|
-
ol.linenums { margin-top: 0; margin-bottom: 0; color: #AEAEAE; } /* IE indents via margin-left */
|
36
|
-
li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8 { list-style-type: none }
|
37
|
-
/* Alternate shading for lines */
|
38
|
-
li.L1,li.L3,li.L5,li.L7,li.L9 { }
|
39
|
-
|
40
|
-
@media print {
|
41
|
-
pre .str, code .str { color: #060; }
|
42
|
-
pre .kwd, code .kwd { color: #006; font-weight: bold; }
|
43
|
-
pre .com, code .com { color: #600; font-style: italic; }
|
44
|
-
pre .typ, code .typ { color: #404; font-weight: bold; }
|
45
|
-
pre .lit, code .lit { color: #044; }
|
46
|
-
pre .pun, code .pun { color: #440; }
|
47
|
-
pre .pln, code .pln { color: #000; }
|
48
|
-
pre .tag, code .tag { color: #006; font-weight: bold; }
|
49
|
-
pre .atn, code .atn { color: #404; }
|
50
|
-
pre .atv, code .atv { color: #060; }
|
51
|
-
}
|
@@ -1,38 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "jquery",
|
3
|
-
"version": "2.1.4",
|
4
|
-
"main": "dist/jquery.js",
|
5
|
-
"license": "MIT",
|
6
|
-
"ignore": [
|
7
|
-
"**/.*",
|
8
|
-
"build",
|
9
|
-
"dist/cdn",
|
10
|
-
"speed",
|
11
|
-
"test",
|
12
|
-
"*.md",
|
13
|
-
"AUTHORS.txt",
|
14
|
-
"Gruntfile.js",
|
15
|
-
"package.json"
|
16
|
-
],
|
17
|
-
"devDependencies": {
|
18
|
-
"sizzle": "2.1.1-jquery.2.1.2",
|
19
|
-
"requirejs": "2.1.10",
|
20
|
-
"qunit": "1.14.0",
|
21
|
-
"sinon": "1.8.1"
|
22
|
-
},
|
23
|
-
"keywords": [
|
24
|
-
"jquery",
|
25
|
-
"javascript",
|
26
|
-
"library"
|
27
|
-
],
|
28
|
-
"homepage": "https://github.com/jquery/jquery",
|
29
|
-
"_release": "2.1.4",
|
30
|
-
"_resolution": {
|
31
|
-
"type": "version",
|
32
|
-
"tag": "2.1.4",
|
33
|
-
"commit": "7751e69b615c6eca6f783a81e292a55725af6b85"
|
34
|
-
},
|
35
|
-
"_source": "git://github.com/jquery/jquery.git",
|
36
|
-
"_target": ">= 1.9.0",
|
37
|
-
"_originalSource": "jquery"
|
38
|
-
}
|