node-poweredup 6.11.0 → 8.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/.drone.yml +1 -0
- package/.gitmodules +3 -0
- package/{jsdoc.conf.json → .jsdoc.json} +14 -1
- package/README.md +47 -42
- package/dist/browser/poweredup.js +1 -1
- package/dist/browser/poweredup.js.map +1 -1
- package/dist/node/color.d.ts +6 -0
- package/dist/node/color.js +38 -0
- package/dist/node/color.js.map +1 -0
- package/dist/node/consts.d.ts +48 -27
- package/dist/node/consts.js +53 -31
- package/dist/node/consts.js.map +1 -1
- package/dist/node/devices/absolutemotor.js +6 -6
- package/dist/node/devices/absolutemotor.js.map +1 -1
- package/dist/node/devices/basicmotor.js +2 -2
- package/dist/node/devices/basicmotor.js.map +1 -1
- package/dist/node/devices/colordistancesensor.d.ts +11 -0
- package/dist/node/devices/colordistancesensor.js +95 -2
- package/dist/node/devices/colordistancesensor.js.map +1 -1
- package/dist/node/devices/device.js +2 -0
- package/dist/node/devices/device.js.map +1 -1
- package/dist/node/devices/duplotrainbasecolorsensor.d.ts +2 -1
- package/dist/node/devices/duplotrainbasecolorsensor.js +15 -2
- package/dist/node/devices/duplotrainbasecolorsensor.js.map +1 -1
- package/dist/node/devices/light.js +1 -1
- package/dist/node/devices/light.js.map +1 -1
- package/dist/node/devices/tachomotor.js +6 -6
- package/dist/node/devices/tachomotor.js.map +1 -1
- package/dist/node/devices/technic3x3colorlightmatrix.d.ts +22 -0
- package/dist/node/devices/technic3x3colorlightmatrix.js +77 -0
- package/dist/node/devices/technic3x3colorlightmatrix.js.map +1 -0
- package/dist/node/devices/techniccolorsensor.js +2 -1
- package/dist/node/devices/techniccolorsensor.js.map +1 -1
- package/dist/node/devices/technicmediumhubtiltsensor.d.ts +25 -1
- package/dist/node/devices/technicmediumhubtiltsensor.js +70 -2
- package/dist/node/devices/technicmediumhubtiltsensor.js.map +1 -1
- package/dist/node/devices/technicsmallangularmotor.d.ts +12 -0
- package/dist/node/devices/technicsmallangularmotor.js +35 -0
- package/dist/node/devices/technicsmallangularmotor.js.map +1 -0
- package/dist/node/hubs/basehub.js +4 -0
- package/dist/node/hubs/basehub.js.map +1 -1
- package/dist/node/hubs/hub.js +1 -1
- package/dist/node/hubs/hub.js.map +1 -1
- package/dist/node/hubs/lpf2hub.js +20 -19
- package/dist/node/hubs/lpf2hub.js.map +1 -1
- package/dist/node/hubs/movehub.js +1 -1
- package/dist/node/hubs/movehub.js.map +1 -1
- package/dist/node/hubs/technicmediumhub.js +1 -1
- package/dist/node/hubs/technicmediumhub.js.map +1 -1
- package/dist/node/hubs/technicsmallhub.d.ts +18 -0
- package/dist/node/hubs/technicsmallhub.js +64 -0
- package/dist/node/hubs/technicsmallhub.js.map +1 -0
- package/dist/node/index-browser.js +6 -0
- package/dist/node/index-browser.js.map +1 -1
- package/dist/node/index-node.d.ts +4 -1
- package/dist/node/index-node.js +7 -1
- package/dist/node/index-node.js.map +1 -1
- package/dist/node/poweredup-browser.js +8 -1
- package/dist/node/poweredup-browser.js.map +1 -1
- package/dist/node/poweredup-node.js +30 -1
- package/dist/node/poweredup-node.js.map +1 -1
- package/dist/node/utils.d.ts +1 -1
- package/dist/node/utils.js +10 -3
- package/dist/node/utils.js.map +1 -1
- package/docs/AbsoluteMotor.html +1220 -1405
- package/docs/BaseHub.html +787 -872
- package/docs/BasicMotor.html +923 -1078
- package/docs/ColorDistanceSensor.html +2188 -1540
- package/docs/CurrentSensor.html +711 -800
- package/docs/Device.html +574 -665
- package/docs/DuploTrainBase.html +1255 -1375
- package/docs/DuploTrainBaseColorSensor.html +1049 -978
- package/docs/DuploTrainBaseMotor.html +958 -1113
- package/docs/DuploTrainBaseSpeaker.html +793 -916
- package/docs/DuploTraniBaseSpeedometer.html +628 -719
- package/docs/Hub.html +5621 -2397
- package/docs/HubLED.html +831 -944
- package/docs/LPF2Hub.html +1215 -1335
- package/docs/Light.html +831 -944
- package/docs/Mario.html +1255 -1420
- package/docs/MarioAccelerometer.html +834 -911
- package/docs/MarioBarcodeSensor.html +834 -911
- package/docs/MarioPantsSensor.html +711 -800
- package/docs/MediumLinearMotor.html +861 -1000
- package/docs/MotionSensor.html +711 -800
- package/docs/MoveHub.html +1255 -1420
- package/docs/MoveHubMediumLinearMotor.html +861 -1000
- package/docs/MoveHubTiltSensor.html +730 -814
- package/docs/PiezoBuzzer.html +732 -834
- package/docs/PoweredUP.html +4322 -0
- package/docs/RemoteControl.html +1255 -1420
- package/docs/RemoteControlButton.html +711 -800
- package/docs/SimpleMediumLinearMotor.html +628 -719
- package/docs/TachoMotor.html +1644 -1835
- package/docs/Technic3x3ColorLightMatrix.html +1181 -0
- package/docs/TechnicColorSensor.html +1008 -1099
- package/docs/TechnicDistanceSensor.html +939 -1027
- package/docs/TechnicForceSensor.html +883 -968
- package/docs/TechnicLargeAngularMotor.html +1254 -1439
- package/docs/TechnicLargeLinearMotor.html +1254 -1439
- package/docs/TechnicMediumAngularMotor.html +1254 -1439
- package/docs/TechnicMediumHub.html +1255 -1420
- package/docs/TechnicMediumHubAccelerometerSensor.html +749 -828
- package/docs/TechnicMediumHubGyroSensor.html +749 -828
- package/docs/TechnicMediumHubTiltSensor.html +1340 -831
- package/docs/TechnicSmallAngularMotor.html +2073 -0
- package/docs/TechnicXLargeLinearMotor.html +1254 -1439
- package/docs/TiltSensor.html +730 -814
- package/docs/TrainMotor.html +958 -1113
- package/docs/VoltageSensor.html +711 -800
- package/docs/WeDo2SmartHub.html +1112 -1221
- package/docs/consts.js.html +791 -0
- package/docs/devices_absolutemotor.js.html +95 -197
- package/docs/devices_basicmotor.js.html +91 -193
- package/docs/devices_colordistancesensor.js.html +184 -193
- package/docs/devices_currentsensor.js.html +89 -191
- package/docs/devices_device.js.html +91 -191
- package/docs/devices_duplotrainbasecolorsensor.js.html +104 -193
- package/docs/devices_duplotrainbasemotor.js.html +92 -194
- package/docs/devices_duplotrainbasespeaker.js.html +89 -191
- package/docs/devices_duplotrainbasespeedometer.js.html +89 -191
- package/docs/devices_hubled.js.html +89 -191
- package/docs/devices_light.js.html +90 -192
- package/docs/devices_marioaccelerometer.js.html +89 -191
- package/docs/devices_mariobarcodesensor.js.html +89 -191
- package/docs/devices_mariopantssensor.js.html +89 -191
- package/docs/devices_mediumlinearmotor.js.html +92 -194
- package/docs/devices_motionsensor.js.html +89 -191
- package/docs/devices_movehubmediumlinearmotor.js.html +92 -194
- package/docs/devices_movehubtiltsensor.js.html +89 -191
- package/docs/devices_piezobuzzer.js.html +89 -191
- package/docs/devices_remotecontrolbutton.js.html +89 -191
- package/docs/devices_simplemediumlinearmotor.js.html +92 -194
- package/docs/devices_tachomotor.js.html +95 -197
- package/docs/devices_technic3x3colorlightmatrix.js.html +190 -0
- package/docs/devices_techniccolorsensor.js.html +91 -192
- package/docs/devices_technicdistancesensor.js.html +89 -191
- package/docs/devices_technicforcesensor.js.html +89 -191
- package/docs/devices_techniclargeangularmotor.js.html +92 -194
- package/docs/devices_techniclargelinearmotor.js.html +92 -194
- package/docs/devices_technicmediumangularmotor.js.html +92 -194
- package/docs/devices_technicmediumhubaccelerometersensor.js.html +89 -191
- package/docs/devices_technicmediumhubgyrosensor.js.html +89 -191
- package/docs/devices_technicmediumhubtiltsensor.js.html +159 -193
- package/docs/devices_technicsmallangularmotor.js.html +148 -0
- package/docs/devices_technicxlargelinearmotor.js.html +92 -194
- package/docs/devices_tiltsensor.js.html +89 -191
- package/docs/devices_trainmotor.js.html +92 -194
- package/docs/devices_voltagesensor.js.html +89 -191
- package/docs/fonts/OpenSans-Bold-webfont.eot +0 -0
- package/docs/fonts/OpenSans-Bold-webfont.svg +1830 -0
- package/docs/fonts/OpenSans-Bold-webfont.woff +0 -0
- package/docs/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
- package/docs/fonts/OpenSans-BoldItalic-webfont.svg +1830 -0
- package/docs/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
- package/docs/fonts/OpenSans-Italic-webfont.eot +0 -0
- package/docs/fonts/OpenSans-Italic-webfont.svg +1830 -0
- package/docs/fonts/OpenSans-Italic-webfont.woff +0 -0
- package/docs/fonts/OpenSans-Light-webfont.eot +0 -0
- package/docs/fonts/OpenSans-Light-webfont.svg +1831 -0
- package/docs/fonts/OpenSans-Light-webfont.woff +0 -0
- package/docs/fonts/OpenSans-LightItalic-webfont.eot +0 -0
- package/docs/fonts/OpenSans-LightItalic-webfont.svg +1835 -0
- package/docs/fonts/OpenSans-LightItalic-webfont.woff +0 -0
- package/docs/fonts/OpenSans-Regular-webfont.eot +0 -0
- package/docs/fonts/OpenSans-Regular-webfont.svg +1831 -0
- package/docs/fonts/OpenSans-Regular-webfont.woff +0 -0
- package/docs/fonts/OpenSans-Semibold-webfont.eot +0 -0
- package/docs/fonts/OpenSans-Semibold-webfont.svg +1830 -0
- package/docs/fonts/OpenSans-Semibold-webfont.ttf +0 -0
- package/docs/fonts/OpenSans-Semibold-webfont.woff +0 -0
- package/docs/fonts/OpenSans-SemiboldItalic-webfont.eot +0 -0
- package/docs/fonts/OpenSans-SemiboldItalic-webfont.svg +1830 -0
- package/docs/fonts/OpenSans-SemiboldItalic-webfont.ttf +0 -0
- package/docs/fonts/OpenSans-SemiboldItalic-webfont.woff +0 -0
- package/docs/global.html +9829 -0
- package/docs/hubs_basehub.js.html +93 -191
- package/docs/hubs_duplotrainbase.js.html +89 -191
- package/docs/hubs_hub.js.html +90 -192
- package/docs/hubs_lpf2hub.js.html +109 -210
- package/docs/hubs_mario.js.html +89 -191
- package/docs/hubs_movehub.js.html +90 -192
- package/docs/hubs_remotecontrol.js.html +89 -191
- package/docs/hubs_technicmediumhub.js.html +90 -192
- package/docs/hubs_technicsmallhub.js.html +177 -0
- package/docs/hubs_wedo2smarthub.js.html +89 -191
- package/docs/icons/home.svg +4 -0
- package/docs/icons/search.svg +4 -0
- package/docs/index.html +143 -236
- package/docs/poweredup-browser.js.html +348 -0
- package/docs/poweredup-node.js.html +314 -0
- package/docs/scripts/linenumber.js +23 -0
- package/docs/scripts/pagelocation.js +89 -0
- package/docs/styles/collapse.css +27 -0
- package/docs/styles/jsdoc-default.css +953 -0
- package/docs/styles/prettify-jsdoc.css +111 -0
- package/docs/styles/prettify-tomorrow.css +15 -9
- package/jsdoc-template/braintree/CHANGELOG.md +31 -0
- package/jsdoc-template/braintree/LICENSE +27 -0
- package/jsdoc-template/braintree/README.md +90 -0
- package/jsdoc-template/braintree/package.json +39 -0
- package/jsdoc-template/braintree/publish.js +675 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Bold-webfont.eot +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Bold-webfont.svg +1830 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Bold-webfont.woff +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-BoldItalic-webfont.svg +1830 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Italic-webfont.eot +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Italic-webfont.svg +1830 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Italic-webfont.woff +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Light-webfont.eot +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Light-webfont.svg +1831 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Light-webfont.woff +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-LightItalic-webfont.eot +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-LightItalic-webfont.svg +1835 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-LightItalic-webfont.woff +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Regular-webfont.eot +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Regular-webfont.svg +1831 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Regular-webfont.woff +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Semibold-webfont.eot +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Semibold-webfont.svg +1830 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Semibold-webfont.ttf +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-Semibold-webfont.woff +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-SemiboldItalic-webfont.eot +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-SemiboldItalic-webfont.svg +1830 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-SemiboldItalic-webfont.ttf +0 -0
- package/jsdoc-template/braintree/static/fonts/OpenSans-SemiboldItalic-webfont.woff +0 -0
- package/jsdoc-template/braintree/static/icons/home.svg +4 -0
- package/jsdoc-template/braintree/static/icons/search.svg +4 -0
- package/jsdoc-template/braintree/static/scripts/linenumber.js +23 -0
- package/jsdoc-template/braintree/static/scripts/pagelocation.js +89 -0
- package/jsdoc-template/braintree/static/styles/collapse.css +27 -0
- package/jsdoc-template/braintree/static/styles/jsdoc-default.css +953 -0
- package/jsdoc-template/braintree/static/styles/prettify-jsdoc.css +111 -0
- package/jsdoc-template/braintree/static/styles/prettify-tomorrow.css +138 -0
- package/jsdoc-template/braintree/tmpl/augments.tmpl +10 -0
- package/jsdoc-template/braintree/tmpl/container.tmpl +213 -0
- package/jsdoc-template/braintree/tmpl/details.tmpl +223 -0
- package/jsdoc-template/braintree/tmpl/example.tmpl +2 -0
- package/jsdoc-template/braintree/tmpl/examples.tmpl +14 -0
- package/jsdoc-template/braintree/tmpl/exceptions.tmpl +28 -0
- package/jsdoc-template/braintree/tmpl/layout.tmpl +150 -0
- package/jsdoc-template/braintree/tmpl/mainpage.tmpl +9 -0
- package/jsdoc-template/braintree/tmpl/members.tmpl +38 -0
- package/jsdoc-template/braintree/tmpl/method.tmpl +128 -0
- package/jsdoc-template/braintree/tmpl/params.tmpl +125 -0
- package/jsdoc-template/braintree/tmpl/properties.tmpl +111 -0
- package/jsdoc-template/braintree/tmpl/returns.tmpl +17 -0
- package/jsdoc-template/braintree/tmpl/source.tmpl +9 -0
- package/jsdoc-template/braintree/tmpl/tutorial.tmpl +23 -0
- package/jsdoc-template/braintree/tmpl/type.tmpl +11 -0
- package/package.json +14 -15
- package/src/color.ts +20 -0
- package/src/consts.ts +47 -26
- package/src/devices/colordistancesensor.ts +98 -3
- package/src/devices/device.ts +1 -0
- package/src/devices/duplotrainbasecolorsensor.ts +17 -2
- package/src/devices/technic3x3colorlightmatrix.ts +64 -0
- package/src/devices/techniccolorsensor.ts +2 -1
- package/src/devices/technicmediumhubtiltsensor.ts +75 -3
- package/src/devices/technicsmallangularmotor.ts +17 -0
- package/src/hubs/basehub.ts +4 -0
- package/src/hubs/lpf2hub.ts +8 -9
- package/src/hubs/technicmediumhub.ts +1 -1
- package/src/hubs/technicsmallhub.ts +60 -0
- package/src/index-browser.ts +6 -0
- package/src/index-node.ts +6 -0
- package/src/poweredup-browser.ts +8 -1
- package/src/poweredup-node.ts +9 -1
- package/src/utils.ts +7 -0
- package/docs/classes.list.html +0 -8654
- package/docs/fonts/glyphicons-halflings-regular.eot +0 -0
- package/docs/fonts/glyphicons-halflings-regular.svg +0 -288
- package/docs/fonts/glyphicons-halflings-regular.ttf +0 -0
- package/docs/fonts/glyphicons-halflings-regular.woff +0 -0
- package/docs/fonts/glyphicons-halflings-regular.woff2 +0 -0
- package/docs/img/glyphicons-halflings-white.png +0 -0
- package/docs/img/glyphicons-halflings.png +0 -0
- package/docs/quicksearch.html +0 -31
- package/docs/scripts/docstrap.lib.js +0 -11
- package/docs/scripts/fulltext-search-ui.js +0 -89
- package/docs/scripts/fulltext-search.js +0 -36
- package/docs/scripts/lunr.min.js +0 -6
- package/docs/scripts/prettify/Apache-License-2.0.txt +0 -202
- package/docs/scripts/prettify/jquery.min.js +0 -6
- package/docs/scripts/prettify/lang-css.js +0 -21
- package/docs/scripts/prettify/prettify.js +0 -496
- package/docs/scripts/sunlight.js +0 -1157
- package/docs/scripts/toc.js +0 -203
- package/docs/styles/darkstrap.css +0 -960
- package/docs/styles/site.cerulean.css +0 -7008
- package/docs/styles/site.cosmo.css +0 -7061
- package/docs/styles/site.cyborg.css +0 -7048
- package/docs/styles/site.darkly.css +0 -7171
- package/docs/styles/site.darkstrap.css +0 -5638
- package/docs/styles/site.dibs-bootstrap.css +0 -5899
- package/docs/styles/site.flatly.css +0 -7147
- package/docs/styles/site.journal.css +0 -6973
- package/docs/styles/site.lumen.css +0 -7298
- package/docs/styles/site.paper.css +0 -7623
- package/docs/styles/site.readable.css +0 -6997
- package/docs/styles/site.sandstone.css +0 -7035
- package/docs/styles/site.simplex.css +0 -7023
- package/docs/styles/site.slate.css +0 -7343
- package/docs/styles/site.spacelab.css +0 -7055
- package/docs/styles/site.superhero.css +0 -7131
- package/docs/styles/site.united.css +0 -6895
- package/docs/styles/site.yeti.css +0 -7195
- package/docs/styles/sunlight.dark.css +0 -345
- package/docs/styles/sunlight.default.css +0 -344
|
@@ -0,0 +1,953 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: "Avenir Next W01";
|
|
3
|
+
font-style: normal;
|
|
4
|
+
font-weight: 600;
|
|
5
|
+
src: url("https://fast.fonts.net/dv2/14/14c73713-e4df-4dba-933b-057feeac8dd1.woff2?d44f19a684109620e484167ba790e8180fd9e29df91d80ce3d096f014db863074e1ea706cf5ed4e1c042492e76df291ce1d24ec684d3d9da9684f55406b9f22bce02f0f30f556681593dafea074d7bd44e28a680d083ccfd44ed4f8a3087a20c56147c11f917ed1dbd85c4a18cf38da25e6ac78f008f472262304d50e7e0cb7541ef1642c676db6e4bde4924846f5daf486fbde9335e98f6a20f6664bc4525253d1d4fca42cf1c490483c8daf0237f6a0fd292563417ad80ca3e69321417747bdc6f0969f34b2a0401b5e2b9a4dfd5b06d9710850900c66b34870aef&projectId=f750d5c7-baa2-4767-afd7-45484f47fe17") format('woff2');
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@font-face {
|
|
9
|
+
font-family: "Avenir Next W01";
|
|
10
|
+
font-style: normal;
|
|
11
|
+
font-weight: 500;
|
|
12
|
+
src: url("https://fast.fonts.net/dv2/14/627fbb5a-3bae-4cd9-b617-2f923e29d55e.woff2?d44f19a684109620e484167ba790e8180fd9e29df91d80ce3d096f014db863074e1ea706cf5ed4e1c042492e76df291ce1d24ec684d3d9da9684f55406b9f22bce02f0f30f556681593dafea074d7bd44e28a680d083ccfd44ed4f8a3087a20c56147c11f917ed1dbd85c4a18cf38da25e6ac78f008f472262304d50e7e0cb7541ef1642c676db6e4bde4924846f5daf486fbde9335e98f6a20f6664bc4525253d1d4fca42cf1c490483c8daf0237f6a0fd292563417ad80ca3e69321417747bdc6f0969f34b2a0401b5e2b9a4dfd5b06d9710850900c66b34870aef&projectId=f750d5c7-baa2-4767-afd7-45484f47fe17") format('woff2');
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@font-face {
|
|
16
|
+
font-family: "Avenir Next W01";
|
|
17
|
+
font-style: normal;
|
|
18
|
+
font-weight: 400;
|
|
19
|
+
src: url("https://fast.fonts.net/dv2/14/2cd55546-ec00-4af9-aeca-4a3cd186da53.woff2?d44f19a684109620e484167ba790e8180fd9e29df91d80ce3d096f014db863074e1ea706cf5ed4e1c042492e76df291ce1d24ec684d3d9da9684f55406b9f22bce02f0f30f556681593dafea074d7bd44e28a680d083ccfd44ed4f8a3087a20c56147c11f917ed1dbd85c4a18cf38da25e6ac78f008f472262304d50e7e0cb7541ef1642c676db6e4bde4924846f5daf486fbde9335e98f6a20f6664bc4525253d1d4fca42cf1c490483c8daf0237f6a0fd292563417ad80ca3e69321417747bdc6f0969f34b2a0401b5e2b9a4dfd5b06d9710850900c66b34870aef&projectId=f750d5c7-baa2-4767-afd7-45484f47fe17") format('woff2');
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@font-face {
|
|
23
|
+
font-family: 'bt_mono';
|
|
24
|
+
font-style: normal;
|
|
25
|
+
font-weight: 400;
|
|
26
|
+
src: url('https://assets.braintreegateway.com/fonts/bt_mono_regular-webfont.eot');
|
|
27
|
+
src: url('https://assets.braintreegateway.com/fonts/bt_mono_regular-webfont.woff2') format('woff2'), url('https://assets.braintreegateway.com/fonts/bt_mono_regular-webfont.woff') format('woff'), url('https://assets.braintreegateway.com/fonts/bt_mono_regular-webfont.ttf') format('truetype'), url('https://assets.braintreegateway.com/fonts/bt_mono_regular-webfont.svg#bt_mono_reqular-webfont') format('svg');
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@font-face {
|
|
31
|
+
font-family: 'bt_mono';
|
|
32
|
+
font-style: normal;
|
|
33
|
+
font-weight: 500;
|
|
34
|
+
src: url('https://assets.braintreegateway.com/fonts/bt_mono_medium-webfont.eot');
|
|
35
|
+
src: url('https://assets.braintreegateway.com/fonts/bt_mono_medium-webfont.woff2') format('woff2'), url('https://assets.braintreegateway.com/fonts/bt_mono_medium-webfont.woff') format('woff'), url('https://assets.braintreegateway.com/fonts/bt_mono_medium-webfont.ttf') format('truetype'), url('https://assets.braintreegateway.com/fonts/bt_mono_medium-webfont.svg#bt_mono_medium-webfont') format('svg');
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@font-face {
|
|
39
|
+
font-family: 'bt_mono';
|
|
40
|
+
font-style: normal;
|
|
41
|
+
font-weight: 600;
|
|
42
|
+
src: url('https://assets.braintreegateway.com/fonts/bt_mono_bold-webfont.eot');
|
|
43
|
+
src: url('https://assets.braintreegateway.com/fonts/bt_mono_bold-webfont.woff2') format('woff2'), url('https://assets.braintreegateway.com/fonts/bt_mono_bold-webfont.woff') format('woff'), url('https://assets.braintreegateway.com/fonts/bt_mono_bold-webfont.ttf') format('truetype'), url('https://assets.braintreegateway.com/fonts/bt_mono_bold-webfont.svg#bt_mono_bold-webfont') format('svg');
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@font-face {
|
|
47
|
+
font-family: 'bt_mono';
|
|
48
|
+
font-style: normal;
|
|
49
|
+
font-weight: 900;
|
|
50
|
+
src: url('https://assets.braintreegateway.com/fonts/bt_mono_heavy-webfont.eot');
|
|
51
|
+
src: url('https://assets.braintreegateway.com/fonts/bt_mono_heavy-webfont.woff2') format('woff2'), url('https://assets.braintreegateway.com/fonts/bt_mono_heavy-webfont.woff') format('woff'), url('https://assets.braintreegateway.com/fonts/bt_mono_heavy-webfont.ttf') format('truetype'), url('https://assets.braintreegateway.com/fonts/bt_mono_heavy-webfont.svg#bt_mono_heavy-webfont') format('svg');
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
* {
|
|
55
|
+
box-sizing: border-box
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
html, body {
|
|
59
|
+
height: 100%;
|
|
60
|
+
width: 100%;
|
|
61
|
+
-webkit-font-smoothing: antialiased;
|
|
62
|
+
-moz-osx-font-smoothing: grayscale;
|
|
63
|
+
color: #3e3c42;
|
|
64
|
+
text-rendering: optimizeLegibility;
|
|
65
|
+
margin: 0;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
body {
|
|
69
|
+
color: #3e3c42;
|
|
70
|
+
background-color: #f3f3f3;
|
|
71
|
+
width: 100%;
|
|
72
|
+
font: 16px/1.875 "Avenir Next W01", "Avenir Next", "Helvetica Neue", Helvetica, sans-serif;
|
|
73
|
+
font-size: 16px;
|
|
74
|
+
line-height: 160%;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
a, a:active {
|
|
78
|
+
color: #0095dd;
|
|
79
|
+
text-decoration: none;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
a:hover {
|
|
83
|
+
text-decoration: underline
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
p, ul, ol, blockquote {
|
|
87
|
+
margin-bottom: 1em;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
p {
|
|
91
|
+
max-width: 800px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
h1, h2, h3, h4, h5, h6 {
|
|
95
|
+
color: #706d77;
|
|
96
|
+
font-weight: 500;
|
|
97
|
+
margin: 0;
|
|
98
|
+
line-height: 1;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
h1 {
|
|
102
|
+
color: #4b484f;
|
|
103
|
+
font-weight: 500;
|
|
104
|
+
font-size: 40px;
|
|
105
|
+
display: block;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
h1 span {
|
|
109
|
+
color: #999;
|
|
110
|
+
font-size: 32px;
|
|
111
|
+
display: block;
|
|
112
|
+
line-height: 1.5;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
h1.page-title {
|
|
116
|
+
border-bottom: 1px dashed #ccc;
|
|
117
|
+
margin-bottom: 20px;
|
|
118
|
+
padding-bottom: 30px;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
h2 {
|
|
122
|
+
font-size: 30px;
|
|
123
|
+
margin: 1.5em 0 0;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
h3 {
|
|
127
|
+
font-size: 20px;
|
|
128
|
+
margin: 1.5em 0 0;
|
|
129
|
+
text-transform: uppercase;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
h3.reference-title {
|
|
133
|
+
display: block;
|
|
134
|
+
font-weight: 400;
|
|
135
|
+
margin-top: 2em;
|
|
136
|
+
max-width: 200px;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
h3.reference-title small {
|
|
140
|
+
display: inline-block;
|
|
141
|
+
color: #0095dd;
|
|
142
|
+
margin-left: 5px;
|
|
143
|
+
font-weight: 500;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
h3.subsection-title {
|
|
147
|
+
border-bottom: 1px solid #ececec;
|
|
148
|
+
padding-bottom: 20px;
|
|
149
|
+
margin-top: 3em;
|
|
150
|
+
margin-bottom: 1em;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
h4 {
|
|
154
|
+
font-size: 16px;
|
|
155
|
+
margin: 1em 0 0;
|
|
156
|
+
font-weight: bold;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
h4.name {
|
|
160
|
+
font-size: 20px;
|
|
161
|
+
margin-top: 0;
|
|
162
|
+
font-weight: 500;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
h5 {
|
|
166
|
+
margin: 2em 0 0.5em 0;
|
|
167
|
+
font-size: 14px;
|
|
168
|
+
font-weight: 500;
|
|
169
|
+
text-transform: uppercase;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.container-overview .subsection-title {
|
|
173
|
+
font-size: 14px;
|
|
174
|
+
text-transform: uppercase;
|
|
175
|
+
margin: 8px 0 15px 0;
|
|
176
|
+
font-weight: bold;
|
|
177
|
+
color: #4D4E53;
|
|
178
|
+
padding-top: 10px;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
h6 {
|
|
182
|
+
font-size: 100%;
|
|
183
|
+
letter-spacing: -0.01em;
|
|
184
|
+
margin: 6px 0 3px 0;
|
|
185
|
+
font-style: italic;
|
|
186
|
+
text-transform: uppercase;
|
|
187
|
+
font-weight: 500;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
tt, code, kbd, samp {
|
|
191
|
+
font-family: "Source Code Pro", monospace;
|
|
192
|
+
background: #f4f4f4;
|
|
193
|
+
padding: 1px 5px;
|
|
194
|
+
border-radius: 5px;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.class-description {
|
|
198
|
+
margin-bottom: 1em;
|
|
199
|
+
margin-top: 1em;
|
|
200
|
+
padding: 10px 20px;
|
|
201
|
+
background-color: rgba(26, 159, 224, 0.1);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.class-description:empty {
|
|
205
|
+
margin: 0
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
#main {
|
|
209
|
+
background-color: white;
|
|
210
|
+
float: right;
|
|
211
|
+
min-width: 360px;
|
|
212
|
+
width: calc(100% - 300px);
|
|
213
|
+
padding: 30px;
|
|
214
|
+
z-index: 100;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
header {
|
|
218
|
+
display: block;
|
|
219
|
+
max-width: 1400px;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
section {
|
|
223
|
+
display: block;
|
|
224
|
+
max-width: 1400px;
|
|
225
|
+
background-color: #fff;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.variation {
|
|
229
|
+
display: none
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.signature-attributes {
|
|
233
|
+
font-size: 60%;
|
|
234
|
+
color: #aaa;
|
|
235
|
+
font-style: italic;
|
|
236
|
+
font-weight: lighter;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.rule {
|
|
240
|
+
width: 100%;
|
|
241
|
+
margin-top: 20px;
|
|
242
|
+
display: block;
|
|
243
|
+
border-top: 1px solid #ccc;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
ul {
|
|
247
|
+
list-style-type: none;
|
|
248
|
+
padding-left: 0;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
ul li a {
|
|
252
|
+
font-weight: 500;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
ul ul {
|
|
256
|
+
padding-top: 5px;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
ul li ul {
|
|
260
|
+
padding-left: 20px;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
ul li ul li a {
|
|
264
|
+
font-weight: normal;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
nav {
|
|
268
|
+
float: left;
|
|
269
|
+
display: block;
|
|
270
|
+
width: 300px;
|
|
271
|
+
background: #f7f7f7;
|
|
272
|
+
overflow-x: visible;
|
|
273
|
+
overflow-y: auto;
|
|
274
|
+
height: 100%;
|
|
275
|
+
padding: 0px 30px 100px 30px;
|
|
276
|
+
height: 100%;
|
|
277
|
+
position: fixed;
|
|
278
|
+
transition: left 0.2s;
|
|
279
|
+
z-index: 998;
|
|
280
|
+
margin-top: 0px;
|
|
281
|
+
top: 43px;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.navicon-button {
|
|
285
|
+
display: inline-block;
|
|
286
|
+
position: fixed;
|
|
287
|
+
bottom: 1.5em;
|
|
288
|
+
right: 1.5em;
|
|
289
|
+
z-index: 2;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
nav h3 {
|
|
293
|
+
font-size: 13px;
|
|
294
|
+
text-transform: uppercase;
|
|
295
|
+
letter-spacing: 1px;
|
|
296
|
+
font-weight: bold;
|
|
297
|
+
line-height: 24px;
|
|
298
|
+
margin: 40px 0 10px 0;
|
|
299
|
+
padding: 0;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
nav ul {
|
|
303
|
+
font-size: 100%;
|
|
304
|
+
line-height: 17px;
|
|
305
|
+
padding: 0;
|
|
306
|
+
margin: 0;
|
|
307
|
+
list-style-type: none;
|
|
308
|
+
border: none;
|
|
309
|
+
padding-left: 0;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
nav ul a {
|
|
313
|
+
font-size: 16px;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
nav ul a, nav ul a:active {
|
|
317
|
+
display: block;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
nav ul a:hover, nav ul a:active {
|
|
321
|
+
color: hsl(200, 100%, 43%);
|
|
322
|
+
text-decoration: none;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
nav>ul {
|
|
326
|
+
padding: 0 10px;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
nav>ul li:first-child {
|
|
330
|
+
padding-top: 0;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
nav ul li ul {
|
|
334
|
+
padding-left: 0;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
nav>ul>li {
|
|
338
|
+
border-bottom: 1px solid #e2e2e2;
|
|
339
|
+
padding: 10px 0 20px 0;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
nav>ul>li.active ul {
|
|
343
|
+
border-left: 3px solid #0095dd;
|
|
344
|
+
padding-left: 15px;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
nav>ul>li.active ul li.active a {
|
|
348
|
+
font-weight: bold;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
nav>ul>li.active a {
|
|
352
|
+
color: #0095dd;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
nav>ul>li>a {
|
|
356
|
+
color: #706d77;
|
|
357
|
+
padding: 20px 0;
|
|
358
|
+
font-size: 18px;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
nav ul ul {
|
|
362
|
+
margin-bottom: 10px;
|
|
363
|
+
padding-left: 0;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
nav ul ul a {
|
|
367
|
+
color: #5f5c63;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
nav ul ul a, nav ul ul a:active {
|
|
371
|
+
font-family: 'bt_mono', monospace;
|
|
372
|
+
font-size: 14px;
|
|
373
|
+
padding-left: 20px;
|
|
374
|
+
padding-top: 3px;
|
|
375
|
+
padding-bottom: 9px;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
nav h2 {
|
|
379
|
+
font-size: 12px;
|
|
380
|
+
margin: 0;
|
|
381
|
+
padding: 0;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
nav>h2>a {
|
|
385
|
+
color: hsl(202, 71%, 50%);
|
|
386
|
+
border-bottom: 1px solid hsl(202, 71%, 50%);
|
|
387
|
+
padding-bottom: 5px;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
nav>h2>a:hover {
|
|
391
|
+
font-weight: 500;
|
|
392
|
+
text-decoration: none;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
footer {
|
|
396
|
+
background-color: #fff;
|
|
397
|
+
color: hsl(0, 0%, 28%);
|
|
398
|
+
margin-left: 300px;
|
|
399
|
+
display: block;
|
|
400
|
+
font-style: italic;
|
|
401
|
+
font-size: 12px;
|
|
402
|
+
padding: 30px;
|
|
403
|
+
text-align: center;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
.ancestors {
|
|
407
|
+
color: #999;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
.ancestors a {
|
|
411
|
+
color: #999 !important;
|
|
412
|
+
text-decoration: none;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
.clear {
|
|
416
|
+
clear: both;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
.important {
|
|
420
|
+
font-weight: bold;
|
|
421
|
+
color: #950B02;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
.yes-def {
|
|
425
|
+
text-indent: -1000px;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
.type-signature {
|
|
429
|
+
color: #aaa;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
.name, .signature {
|
|
433
|
+
font-family: 'bt_mono', monospace;
|
|
434
|
+
word-wrap: break-word;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
.details {
|
|
438
|
+
margin-top: 14px;
|
|
439
|
+
font-size: 13px;
|
|
440
|
+
text-align: right;
|
|
441
|
+
background: #ffffff;
|
|
442
|
+
/* Old browsers */
|
|
443
|
+
background: -moz-linear-gradient(left, #ffffff 0%, #fafafa 100%);
|
|
444
|
+
/* FF3.6-15 */
|
|
445
|
+
background: -webkit-linear-gradient(left, #ffffff 0%, #fafafa 100%);
|
|
446
|
+
/* Chrome10-25,Safari5.1-6 */
|
|
447
|
+
background: linear-gradient(to right, #ffffff 0%, #fafafa 100%);
|
|
448
|
+
/* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
|
|
449
|
+
filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#fafafa', GradientType=1);
|
|
450
|
+
padding-right: 5px;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
.details dt {
|
|
454
|
+
display: inline-block;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
.details dd {
|
|
458
|
+
display: inline-block;
|
|
459
|
+
margin: 0;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
.details dd a {
|
|
463
|
+
font-style: italic;
|
|
464
|
+
font-weight: normal;
|
|
465
|
+
line-height: 1;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
.details ul {
|
|
469
|
+
list-style-type: none;
|
|
470
|
+
margin: 0;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
.details pre.prettyprint {
|
|
474
|
+
margin: 0
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
.details .object-value {
|
|
478
|
+
padding-top: 0
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
.description {
|
|
482
|
+
margin-bottom: 1em;
|
|
483
|
+
margin-top: 1em;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
.code-caption {
|
|
487
|
+
font-style: italic;
|
|
488
|
+
margin: 0;
|
|
489
|
+
font-size: 16px;
|
|
490
|
+
color: #545454;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
.prettyprint {
|
|
494
|
+
font-size: 13px;
|
|
495
|
+
border: 1px solid #ddd;
|
|
496
|
+
border-radius: 3px;
|
|
497
|
+
overflow: auto;
|
|
498
|
+
background-color: #fbfbfb;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
.prettyprint.source {
|
|
502
|
+
width: inherit;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
.prettyprint code {
|
|
506
|
+
font-size: 100%;
|
|
507
|
+
line-height: 18px;
|
|
508
|
+
display: block;
|
|
509
|
+
margin: 0 30px;
|
|
510
|
+
background-color: #fbfbfb;
|
|
511
|
+
color: #4D4E53;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
.prettyprint>code {
|
|
515
|
+
padding: 30px 15px;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
.prettyprint .linenums code {
|
|
519
|
+
padding: 0 15px;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
.prettyprint .linenums li:first-of-type code {
|
|
523
|
+
padding-top: 15px;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
.prettyprint code span.line {
|
|
527
|
+
display: inline-block;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
.prettyprint.linenums {
|
|
531
|
+
-webkit-user-select: none;
|
|
532
|
+
-moz-user-select: none;
|
|
533
|
+
-ms-user-select: none;
|
|
534
|
+
user-select: none;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
.prettyprint.linenums ol {
|
|
538
|
+
padding-left: 0
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
.prettyprint.linenums li {
|
|
542
|
+
border-left: 3px #ddd solid
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
.prettyprint.linenums li.selected, .prettyprint.linenums li.selected * {
|
|
546
|
+
background-color: lightyellow
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
.prettyprint.linenums li * {
|
|
550
|
+
-webkit-user-select: text;
|
|
551
|
+
-moz-user-select: text;
|
|
552
|
+
-ms-user-select: text;
|
|
553
|
+
user-select: text;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
.readme .prettyprint {
|
|
557
|
+
max-width: 800px;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
.params, .props {
|
|
561
|
+
border-spacing: 0;
|
|
562
|
+
border: 1px solid #ddd;
|
|
563
|
+
border-radius: 3px;
|
|
564
|
+
width: 100%;
|
|
565
|
+
font-size: 14px;
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
.params .name, .props .name, .name code {
|
|
569
|
+
color: #4D4E53;
|
|
570
|
+
font-family: 'bt_mono', monospace;
|
|
571
|
+
font-size: 100%;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
.params td, .params th, .props td, .props th {
|
|
575
|
+
margin: 0px;
|
|
576
|
+
text-align: left;
|
|
577
|
+
vertical-align: top;
|
|
578
|
+
padding: 10px;
|
|
579
|
+
display: table-cell;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
.params td {
|
|
583
|
+
border-top: 1px solid #eee;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
.params thead tr, .props thead tr {
|
|
587
|
+
background-color: #fff;
|
|
588
|
+
font-weight: bold;
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
.params .params thead tr, .props .props thead tr {
|
|
592
|
+
background-color: #fff;
|
|
593
|
+
font-weight: bold;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
.params td.description>p:first-child, .props td.description>p:first-child {
|
|
597
|
+
margin-top: 0;
|
|
598
|
+
padding-top: 0;
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
.params td.description>p:last-child, .props td.description>p:last-child {
|
|
602
|
+
margin-bottom: 0;
|
|
603
|
+
padding-bottom: 0;
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
dl.param-type {
|
|
607
|
+
margin-top: 5px;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
.param-type dt, .param-type dd {
|
|
611
|
+
display: inline-block
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
.param-type dd {
|
|
615
|
+
font-family: Consolas, Monaco, 'Andale Mono', monospace
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
.disabled {
|
|
619
|
+
color: #454545
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
/* tag source style */
|
|
624
|
+
|
|
625
|
+
.tag-deprecated {
|
|
626
|
+
padding-right: 5px;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
.tag-source {
|
|
630
|
+
border-bottom: 1px solid rgba(28, 160, 224, 0.35);
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
.tag-source:first-child {
|
|
634
|
+
border-bottom: 1px solid rgba(28, 160, 224, 1);
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
/* navicon button */
|
|
639
|
+
|
|
640
|
+
.navicon-button {
|
|
641
|
+
position: relative;
|
|
642
|
+
transition: 0.25s;
|
|
643
|
+
cursor: pointer;
|
|
644
|
+
user-select: none;
|
|
645
|
+
opacity: .8;
|
|
646
|
+
background-color: white;
|
|
647
|
+
border-radius: 100%;
|
|
648
|
+
width: 50px;
|
|
649
|
+
height: 50px;
|
|
650
|
+
-webkit-box-shadow: 0px 2px 9px 0px rgba(0, 0, 0, 0.31);
|
|
651
|
+
-moz-box-shadow: 0px 2px 9px 0px rgba(0, 0, 0, 0.31);
|
|
652
|
+
box-shadow: 0px 2px 9px 0px rgba(0, 0, 0, 0.31);
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
.navicon-button .navicon:before, .navicon-button .navicon:after {
|
|
656
|
+
transition: 0.25s;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
.navicon-button:hover {
|
|
660
|
+
transition: 0.5s;
|
|
661
|
+
opacity: 1;
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
.navicon-button:hover .navicon:before, .navicon-button:hover .navicon:after {
|
|
665
|
+
transition: 0.25s;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
.navicon-button:hover .navicon:before {
|
|
669
|
+
top: .425rem;
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
.navicon-button:hover .navicon:after {
|
|
673
|
+
top: -.425rem;
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
|
|
677
|
+
/* navicon */
|
|
678
|
+
|
|
679
|
+
.navicon {
|
|
680
|
+
position: relative;
|
|
681
|
+
width: 1.5em;
|
|
682
|
+
height: .195rem;
|
|
683
|
+
background: #000;
|
|
684
|
+
top: calc(50% - .09rem);
|
|
685
|
+
left: calc(50% - .75rem);
|
|
686
|
+
transition: 0.3s;
|
|
687
|
+
border-radius: 5px;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
.navicon:before, .navicon:after {
|
|
691
|
+
display: block;
|
|
692
|
+
content: "";
|
|
693
|
+
height: .195rem;
|
|
694
|
+
width: 1.5rem;
|
|
695
|
+
background: #000;
|
|
696
|
+
position: absolute;
|
|
697
|
+
z-index: -1;
|
|
698
|
+
transition: 0.3s 0.25s;
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
.navicon:before {
|
|
702
|
+
top: 0.425rem;
|
|
703
|
+
height: .195rem;
|
|
704
|
+
border-radius: 5px;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
.navicon:after {
|
|
708
|
+
top: -0.425rem;
|
|
709
|
+
border-radius: 5px;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
/* open */
|
|
714
|
+
|
|
715
|
+
.nav-trigger:checked+label:not(.steps) .navicon:before, .nav-trigger:checked+label:not(.steps) .navicon:after {
|
|
716
|
+
top: 0 !important;
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
.nav-trigger:checked+label .navicon:before, .nav-trigger:checked+label .navicon:after {
|
|
720
|
+
transition: 0.5s;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
|
|
724
|
+
/* Minus */
|
|
725
|
+
|
|
726
|
+
.nav-trigger:checked+label {
|
|
727
|
+
transform: scale(0.75);
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
|
|
731
|
+
/* × and + */
|
|
732
|
+
|
|
733
|
+
.nav-trigger:checked+label.plus .navicon, .nav-trigger:checked+label.x .navicon {
|
|
734
|
+
background: transparent;
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
.nav-trigger:checked+label.plus .navicon:before, .nav-trigger:checked+label.x .navicon:before {
|
|
738
|
+
transform: rotate(-45deg);
|
|
739
|
+
background: #000;
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
.nav-trigger:checked+label.plus .navicon:after, .nav-trigger:checked+label.x .navicon:after {
|
|
743
|
+
transform: rotate(45deg);
|
|
744
|
+
background: #000;
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
.nav-trigger:checked+label.plus {
|
|
748
|
+
transform: scale(0.75) rotate(45deg);
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
.nav-trigger:checked~nav {
|
|
752
|
+
left: 0 !important;
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
.nav-trigger:checked~.overlay {
|
|
756
|
+
display: block;
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
.nav-trigger {
|
|
760
|
+
position: fixed;
|
|
761
|
+
top: 0;
|
|
762
|
+
clip: rect(0, 0, 0, 0);
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
.overlay {
|
|
766
|
+
display: none;
|
|
767
|
+
position: fixed;
|
|
768
|
+
top: 0;
|
|
769
|
+
bottom: 0;
|
|
770
|
+
left: 0;
|
|
771
|
+
right: 0;
|
|
772
|
+
width: 100%;
|
|
773
|
+
height: 100%;
|
|
774
|
+
background: hsla(0, 0%, 0%, 0.5);
|
|
775
|
+
z-index: 1;
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
table {
|
|
779
|
+
border-collapse: separate;
|
|
780
|
+
;
|
|
781
|
+
display: block;
|
|
782
|
+
overflow-x: auto;
|
|
783
|
+
/*table-layout:fixed;*/
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
table tbody td {
|
|
787
|
+
border-top: 1px solid hsl(207, 10%, 86%);
|
|
788
|
+
border-right: 1px solid #eee;
|
|
789
|
+
padding: 5px;
|
|
790
|
+
/*word-wrap: break-word;*/
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
td table.params, td table.props {
|
|
794
|
+
border: 0;
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
@media only screen and (min-width: 320px) and (max-width: 680px) {
|
|
798
|
+
body {
|
|
799
|
+
overflow-x: hidden;
|
|
800
|
+
}
|
|
801
|
+
#main {
|
|
802
|
+
padding: 30px 30px;
|
|
803
|
+
width: 100%;
|
|
804
|
+
min-width: 360px;
|
|
805
|
+
}
|
|
806
|
+
nav {
|
|
807
|
+
background: #FFF;
|
|
808
|
+
width: 300px;
|
|
809
|
+
height: 100%;
|
|
810
|
+
position: fixed;
|
|
811
|
+
top: 0;
|
|
812
|
+
right: 0;
|
|
813
|
+
bottom: 0;
|
|
814
|
+
left: -300px;
|
|
815
|
+
z-index: 3;
|
|
816
|
+
padding: 0 10px;
|
|
817
|
+
transition: left 0.2s;
|
|
818
|
+
margin-top: 0;
|
|
819
|
+
}
|
|
820
|
+
.navicon-button {
|
|
821
|
+
display: inline-block;
|
|
822
|
+
position: fixed;
|
|
823
|
+
bottom: 1.5em;
|
|
824
|
+
right: 20px;
|
|
825
|
+
z-index: 1000;
|
|
826
|
+
}
|
|
827
|
+
.top-nav-wrapper {
|
|
828
|
+
display: none;
|
|
829
|
+
}
|
|
830
|
+
#main h1.page-title {
|
|
831
|
+
margin: 0.5em 0;
|
|
832
|
+
}
|
|
833
|
+
footer {
|
|
834
|
+
margin-left: 0;
|
|
835
|
+
margin-bottom: 30px;
|
|
836
|
+
}
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
.top-nav-wrapper {
|
|
840
|
+
background-color: #ececec;
|
|
841
|
+
position: fixed;
|
|
842
|
+
top: 0px;
|
|
843
|
+
left: 0px;
|
|
844
|
+
padding: 10px 10px 0 10px;
|
|
845
|
+
z-index: 999;
|
|
846
|
+
width: 300px;
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
.top-nav-wrapper ul {
|
|
850
|
+
margin: 0;
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
.top-nav-wrapper ul li {
|
|
854
|
+
display: inline-block;
|
|
855
|
+
padding: 0 10px;
|
|
856
|
+
vertical-align: top;
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
.top-nav-wrapper ul li.active {
|
|
860
|
+
border-bottom: 2px solid rgba(28, 160, 224, 1);
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
.search-wrapper {
|
|
864
|
+
display: inline-block;
|
|
865
|
+
position: relative;
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
.search-wrapper svg {
|
|
869
|
+
position: absolute;
|
|
870
|
+
left: 0px;
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
input.search-input {
|
|
874
|
+
background: transparent;
|
|
875
|
+
box-shadow: 0;
|
|
876
|
+
border: 0;
|
|
877
|
+
border-bottom: 1px solid #c7c7c7;
|
|
878
|
+
padding: 7px 15px 12px 35px;
|
|
879
|
+
margin: 0 auto;
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
|
|
883
|
+
/* Smooth outline with box-shadow: */
|
|
884
|
+
|
|
885
|
+
input.search-input:focus {
|
|
886
|
+
border-bottom: 2px solid rgba(28, 160, 224, 1);
|
|
887
|
+
outline: none;
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
|
|
891
|
+
/* Hightlight JS Paradiso Light Theme */
|
|
892
|
+
|
|
893
|
+
.hljs-comment, .hljs-quote {
|
|
894
|
+
color: #776e71
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
.hljs-variable, .hljs-template-variable, .hljs-tag, .hljs-name, .hljs-selector-id, .hljs-selector-class, .hljs-regexp, .hljs-link, .hljs-meta {
|
|
898
|
+
color: #ef6155
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
.hljs-number, .hljs-built_in, .hljs-builtin-name, .hljs-literal, .hljs-type, .hljs-params, .hljs-deletion {
|
|
902
|
+
color: #f99b15
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
.hljs-title, .hljs-section, .hljs-attribute {
|
|
906
|
+
color: #fec418
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
.hljs-string, .hljs-symbol, .hljs-bullet, .hljs-addition {
|
|
910
|
+
color: #48b685
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
.hljs-keyword, .hljs-selector-tag {
|
|
914
|
+
color: #815ba4
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
.hljs {
|
|
918
|
+
display: block;
|
|
919
|
+
overflow-x: auto;
|
|
920
|
+
background: #e7e9db;
|
|
921
|
+
color: #4f424c;
|
|
922
|
+
padding: 0.5em
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
.hljs-emphasis {
|
|
926
|
+
font-style: italic
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
.hljs-strong {
|
|
930
|
+
font-weight: bold
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
.link-icon {
|
|
934
|
+
opacity: 0;
|
|
935
|
+
position: absolute;
|
|
936
|
+
margin-left: -25px;
|
|
937
|
+
padding-right: 5px;
|
|
938
|
+
padding-top: 2px;
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
.example-container .link-icon {
|
|
942
|
+
margin-top: -6px;
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
.example-container:hover .link-icon,
|
|
946
|
+
.name-container:hover .link-icon {
|
|
947
|
+
opacity: .5;
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
.name-container {
|
|
951
|
+
display: flex;
|
|
952
|
+
padding-top: 1em;
|
|
953
|
+
}
|