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.
Files changed (311) hide show
  1. package/.drone.yml +1 -0
  2. package/.gitmodules +3 -0
  3. package/{jsdoc.conf.json → .jsdoc.json} +14 -1
  4. package/README.md +47 -42
  5. package/dist/browser/poweredup.js +1 -1
  6. package/dist/browser/poweredup.js.map +1 -1
  7. package/dist/node/color.d.ts +6 -0
  8. package/dist/node/color.js +38 -0
  9. package/dist/node/color.js.map +1 -0
  10. package/dist/node/consts.d.ts +48 -27
  11. package/dist/node/consts.js +53 -31
  12. package/dist/node/consts.js.map +1 -1
  13. package/dist/node/devices/absolutemotor.js +6 -6
  14. package/dist/node/devices/absolutemotor.js.map +1 -1
  15. package/dist/node/devices/basicmotor.js +2 -2
  16. package/dist/node/devices/basicmotor.js.map +1 -1
  17. package/dist/node/devices/colordistancesensor.d.ts +11 -0
  18. package/dist/node/devices/colordistancesensor.js +95 -2
  19. package/dist/node/devices/colordistancesensor.js.map +1 -1
  20. package/dist/node/devices/device.js +2 -0
  21. package/dist/node/devices/device.js.map +1 -1
  22. package/dist/node/devices/duplotrainbasecolorsensor.d.ts +2 -1
  23. package/dist/node/devices/duplotrainbasecolorsensor.js +15 -2
  24. package/dist/node/devices/duplotrainbasecolorsensor.js.map +1 -1
  25. package/dist/node/devices/light.js +1 -1
  26. package/dist/node/devices/light.js.map +1 -1
  27. package/dist/node/devices/tachomotor.js +6 -6
  28. package/dist/node/devices/tachomotor.js.map +1 -1
  29. package/dist/node/devices/technic3x3colorlightmatrix.d.ts +22 -0
  30. package/dist/node/devices/technic3x3colorlightmatrix.js +77 -0
  31. package/dist/node/devices/technic3x3colorlightmatrix.js.map +1 -0
  32. package/dist/node/devices/techniccolorsensor.js +2 -1
  33. package/dist/node/devices/techniccolorsensor.js.map +1 -1
  34. package/dist/node/devices/technicmediumhubtiltsensor.d.ts +25 -1
  35. package/dist/node/devices/technicmediumhubtiltsensor.js +70 -2
  36. package/dist/node/devices/technicmediumhubtiltsensor.js.map +1 -1
  37. package/dist/node/devices/technicsmallangularmotor.d.ts +12 -0
  38. package/dist/node/devices/technicsmallangularmotor.js +35 -0
  39. package/dist/node/devices/technicsmallangularmotor.js.map +1 -0
  40. package/dist/node/hubs/basehub.js +4 -0
  41. package/dist/node/hubs/basehub.js.map +1 -1
  42. package/dist/node/hubs/hub.js +1 -1
  43. package/dist/node/hubs/hub.js.map +1 -1
  44. package/dist/node/hubs/lpf2hub.js +20 -19
  45. package/dist/node/hubs/lpf2hub.js.map +1 -1
  46. package/dist/node/hubs/movehub.js +1 -1
  47. package/dist/node/hubs/movehub.js.map +1 -1
  48. package/dist/node/hubs/technicmediumhub.js +1 -1
  49. package/dist/node/hubs/technicmediumhub.js.map +1 -1
  50. package/dist/node/hubs/technicsmallhub.d.ts +18 -0
  51. package/dist/node/hubs/technicsmallhub.js +64 -0
  52. package/dist/node/hubs/technicsmallhub.js.map +1 -0
  53. package/dist/node/index-browser.js +6 -0
  54. package/dist/node/index-browser.js.map +1 -1
  55. package/dist/node/index-node.d.ts +4 -1
  56. package/dist/node/index-node.js +7 -1
  57. package/dist/node/index-node.js.map +1 -1
  58. package/dist/node/poweredup-browser.js +8 -1
  59. package/dist/node/poweredup-browser.js.map +1 -1
  60. package/dist/node/poweredup-node.js +30 -1
  61. package/dist/node/poweredup-node.js.map +1 -1
  62. package/dist/node/utils.d.ts +1 -1
  63. package/dist/node/utils.js +10 -3
  64. package/dist/node/utils.js.map +1 -1
  65. package/docs/AbsoluteMotor.html +1220 -1405
  66. package/docs/BaseHub.html +787 -872
  67. package/docs/BasicMotor.html +923 -1078
  68. package/docs/ColorDistanceSensor.html +2188 -1540
  69. package/docs/CurrentSensor.html +711 -800
  70. package/docs/Device.html +574 -665
  71. package/docs/DuploTrainBase.html +1255 -1375
  72. package/docs/DuploTrainBaseColorSensor.html +1049 -978
  73. package/docs/DuploTrainBaseMotor.html +958 -1113
  74. package/docs/DuploTrainBaseSpeaker.html +793 -916
  75. package/docs/DuploTraniBaseSpeedometer.html +628 -719
  76. package/docs/Hub.html +5621 -2397
  77. package/docs/HubLED.html +831 -944
  78. package/docs/LPF2Hub.html +1215 -1335
  79. package/docs/Light.html +831 -944
  80. package/docs/Mario.html +1255 -1420
  81. package/docs/MarioAccelerometer.html +834 -911
  82. package/docs/MarioBarcodeSensor.html +834 -911
  83. package/docs/MarioPantsSensor.html +711 -800
  84. package/docs/MediumLinearMotor.html +861 -1000
  85. package/docs/MotionSensor.html +711 -800
  86. package/docs/MoveHub.html +1255 -1420
  87. package/docs/MoveHubMediumLinearMotor.html +861 -1000
  88. package/docs/MoveHubTiltSensor.html +730 -814
  89. package/docs/PiezoBuzzer.html +732 -834
  90. package/docs/PoweredUP.html +4322 -0
  91. package/docs/RemoteControl.html +1255 -1420
  92. package/docs/RemoteControlButton.html +711 -800
  93. package/docs/SimpleMediumLinearMotor.html +628 -719
  94. package/docs/TachoMotor.html +1644 -1835
  95. package/docs/Technic3x3ColorLightMatrix.html +1181 -0
  96. package/docs/TechnicColorSensor.html +1008 -1099
  97. package/docs/TechnicDistanceSensor.html +939 -1027
  98. package/docs/TechnicForceSensor.html +883 -968
  99. package/docs/TechnicLargeAngularMotor.html +1254 -1439
  100. package/docs/TechnicLargeLinearMotor.html +1254 -1439
  101. package/docs/TechnicMediumAngularMotor.html +1254 -1439
  102. package/docs/TechnicMediumHub.html +1255 -1420
  103. package/docs/TechnicMediumHubAccelerometerSensor.html +749 -828
  104. package/docs/TechnicMediumHubGyroSensor.html +749 -828
  105. package/docs/TechnicMediumHubTiltSensor.html +1340 -831
  106. package/docs/TechnicSmallAngularMotor.html +2073 -0
  107. package/docs/TechnicXLargeLinearMotor.html +1254 -1439
  108. package/docs/TiltSensor.html +730 -814
  109. package/docs/TrainMotor.html +958 -1113
  110. package/docs/VoltageSensor.html +711 -800
  111. package/docs/WeDo2SmartHub.html +1112 -1221
  112. package/docs/consts.js.html +791 -0
  113. package/docs/devices_absolutemotor.js.html +95 -197
  114. package/docs/devices_basicmotor.js.html +91 -193
  115. package/docs/devices_colordistancesensor.js.html +184 -193
  116. package/docs/devices_currentsensor.js.html +89 -191
  117. package/docs/devices_device.js.html +91 -191
  118. package/docs/devices_duplotrainbasecolorsensor.js.html +104 -193
  119. package/docs/devices_duplotrainbasemotor.js.html +92 -194
  120. package/docs/devices_duplotrainbasespeaker.js.html +89 -191
  121. package/docs/devices_duplotrainbasespeedometer.js.html +89 -191
  122. package/docs/devices_hubled.js.html +89 -191
  123. package/docs/devices_light.js.html +90 -192
  124. package/docs/devices_marioaccelerometer.js.html +89 -191
  125. package/docs/devices_mariobarcodesensor.js.html +89 -191
  126. package/docs/devices_mariopantssensor.js.html +89 -191
  127. package/docs/devices_mediumlinearmotor.js.html +92 -194
  128. package/docs/devices_motionsensor.js.html +89 -191
  129. package/docs/devices_movehubmediumlinearmotor.js.html +92 -194
  130. package/docs/devices_movehubtiltsensor.js.html +89 -191
  131. package/docs/devices_piezobuzzer.js.html +89 -191
  132. package/docs/devices_remotecontrolbutton.js.html +89 -191
  133. package/docs/devices_simplemediumlinearmotor.js.html +92 -194
  134. package/docs/devices_tachomotor.js.html +95 -197
  135. package/docs/devices_technic3x3colorlightmatrix.js.html +190 -0
  136. package/docs/devices_techniccolorsensor.js.html +91 -192
  137. package/docs/devices_technicdistancesensor.js.html +89 -191
  138. package/docs/devices_technicforcesensor.js.html +89 -191
  139. package/docs/devices_techniclargeangularmotor.js.html +92 -194
  140. package/docs/devices_techniclargelinearmotor.js.html +92 -194
  141. package/docs/devices_technicmediumangularmotor.js.html +92 -194
  142. package/docs/devices_technicmediumhubaccelerometersensor.js.html +89 -191
  143. package/docs/devices_technicmediumhubgyrosensor.js.html +89 -191
  144. package/docs/devices_technicmediumhubtiltsensor.js.html +159 -193
  145. package/docs/devices_technicsmallangularmotor.js.html +148 -0
  146. package/docs/devices_technicxlargelinearmotor.js.html +92 -194
  147. package/docs/devices_tiltsensor.js.html +89 -191
  148. package/docs/devices_trainmotor.js.html +92 -194
  149. package/docs/devices_voltagesensor.js.html +89 -191
  150. package/docs/fonts/OpenSans-Bold-webfont.eot +0 -0
  151. package/docs/fonts/OpenSans-Bold-webfont.svg +1830 -0
  152. package/docs/fonts/OpenSans-Bold-webfont.woff +0 -0
  153. package/docs/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
  154. package/docs/fonts/OpenSans-BoldItalic-webfont.svg +1830 -0
  155. package/docs/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
  156. package/docs/fonts/OpenSans-Italic-webfont.eot +0 -0
  157. package/docs/fonts/OpenSans-Italic-webfont.svg +1830 -0
  158. package/docs/fonts/OpenSans-Italic-webfont.woff +0 -0
  159. package/docs/fonts/OpenSans-Light-webfont.eot +0 -0
  160. package/docs/fonts/OpenSans-Light-webfont.svg +1831 -0
  161. package/docs/fonts/OpenSans-Light-webfont.woff +0 -0
  162. package/docs/fonts/OpenSans-LightItalic-webfont.eot +0 -0
  163. package/docs/fonts/OpenSans-LightItalic-webfont.svg +1835 -0
  164. package/docs/fonts/OpenSans-LightItalic-webfont.woff +0 -0
  165. package/docs/fonts/OpenSans-Regular-webfont.eot +0 -0
  166. package/docs/fonts/OpenSans-Regular-webfont.svg +1831 -0
  167. package/docs/fonts/OpenSans-Regular-webfont.woff +0 -0
  168. package/docs/fonts/OpenSans-Semibold-webfont.eot +0 -0
  169. package/docs/fonts/OpenSans-Semibold-webfont.svg +1830 -0
  170. package/docs/fonts/OpenSans-Semibold-webfont.ttf +0 -0
  171. package/docs/fonts/OpenSans-Semibold-webfont.woff +0 -0
  172. package/docs/fonts/OpenSans-SemiboldItalic-webfont.eot +0 -0
  173. package/docs/fonts/OpenSans-SemiboldItalic-webfont.svg +1830 -0
  174. package/docs/fonts/OpenSans-SemiboldItalic-webfont.ttf +0 -0
  175. package/docs/fonts/OpenSans-SemiboldItalic-webfont.woff +0 -0
  176. package/docs/global.html +9829 -0
  177. package/docs/hubs_basehub.js.html +93 -191
  178. package/docs/hubs_duplotrainbase.js.html +89 -191
  179. package/docs/hubs_hub.js.html +90 -192
  180. package/docs/hubs_lpf2hub.js.html +109 -210
  181. package/docs/hubs_mario.js.html +89 -191
  182. package/docs/hubs_movehub.js.html +90 -192
  183. package/docs/hubs_remotecontrol.js.html +89 -191
  184. package/docs/hubs_technicmediumhub.js.html +90 -192
  185. package/docs/hubs_technicsmallhub.js.html +177 -0
  186. package/docs/hubs_wedo2smarthub.js.html +89 -191
  187. package/docs/icons/home.svg +4 -0
  188. package/docs/icons/search.svg +4 -0
  189. package/docs/index.html +143 -236
  190. package/docs/poweredup-browser.js.html +348 -0
  191. package/docs/poweredup-node.js.html +314 -0
  192. package/docs/scripts/linenumber.js +23 -0
  193. package/docs/scripts/pagelocation.js +89 -0
  194. package/docs/styles/collapse.css +27 -0
  195. package/docs/styles/jsdoc-default.css +953 -0
  196. package/docs/styles/prettify-jsdoc.css +111 -0
  197. package/docs/styles/prettify-tomorrow.css +15 -9
  198. package/jsdoc-template/braintree/CHANGELOG.md +31 -0
  199. package/jsdoc-template/braintree/LICENSE +27 -0
  200. package/jsdoc-template/braintree/README.md +90 -0
  201. package/jsdoc-template/braintree/package.json +39 -0
  202. package/jsdoc-template/braintree/publish.js +675 -0
  203. package/jsdoc-template/braintree/static/fonts/OpenSans-Bold-webfont.eot +0 -0
  204. package/jsdoc-template/braintree/static/fonts/OpenSans-Bold-webfont.svg +1830 -0
  205. package/jsdoc-template/braintree/static/fonts/OpenSans-Bold-webfont.woff +0 -0
  206. package/jsdoc-template/braintree/static/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
  207. package/jsdoc-template/braintree/static/fonts/OpenSans-BoldItalic-webfont.svg +1830 -0
  208. package/jsdoc-template/braintree/static/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
  209. package/jsdoc-template/braintree/static/fonts/OpenSans-Italic-webfont.eot +0 -0
  210. package/jsdoc-template/braintree/static/fonts/OpenSans-Italic-webfont.svg +1830 -0
  211. package/jsdoc-template/braintree/static/fonts/OpenSans-Italic-webfont.woff +0 -0
  212. package/jsdoc-template/braintree/static/fonts/OpenSans-Light-webfont.eot +0 -0
  213. package/jsdoc-template/braintree/static/fonts/OpenSans-Light-webfont.svg +1831 -0
  214. package/jsdoc-template/braintree/static/fonts/OpenSans-Light-webfont.woff +0 -0
  215. package/jsdoc-template/braintree/static/fonts/OpenSans-LightItalic-webfont.eot +0 -0
  216. package/jsdoc-template/braintree/static/fonts/OpenSans-LightItalic-webfont.svg +1835 -0
  217. package/jsdoc-template/braintree/static/fonts/OpenSans-LightItalic-webfont.woff +0 -0
  218. package/jsdoc-template/braintree/static/fonts/OpenSans-Regular-webfont.eot +0 -0
  219. package/jsdoc-template/braintree/static/fonts/OpenSans-Regular-webfont.svg +1831 -0
  220. package/jsdoc-template/braintree/static/fonts/OpenSans-Regular-webfont.woff +0 -0
  221. package/jsdoc-template/braintree/static/fonts/OpenSans-Semibold-webfont.eot +0 -0
  222. package/jsdoc-template/braintree/static/fonts/OpenSans-Semibold-webfont.svg +1830 -0
  223. package/jsdoc-template/braintree/static/fonts/OpenSans-Semibold-webfont.ttf +0 -0
  224. package/jsdoc-template/braintree/static/fonts/OpenSans-Semibold-webfont.woff +0 -0
  225. package/jsdoc-template/braintree/static/fonts/OpenSans-SemiboldItalic-webfont.eot +0 -0
  226. package/jsdoc-template/braintree/static/fonts/OpenSans-SemiboldItalic-webfont.svg +1830 -0
  227. package/jsdoc-template/braintree/static/fonts/OpenSans-SemiboldItalic-webfont.ttf +0 -0
  228. package/jsdoc-template/braintree/static/fonts/OpenSans-SemiboldItalic-webfont.woff +0 -0
  229. package/jsdoc-template/braintree/static/icons/home.svg +4 -0
  230. package/jsdoc-template/braintree/static/icons/search.svg +4 -0
  231. package/jsdoc-template/braintree/static/scripts/linenumber.js +23 -0
  232. package/jsdoc-template/braintree/static/scripts/pagelocation.js +89 -0
  233. package/jsdoc-template/braintree/static/styles/collapse.css +27 -0
  234. package/jsdoc-template/braintree/static/styles/jsdoc-default.css +953 -0
  235. package/jsdoc-template/braintree/static/styles/prettify-jsdoc.css +111 -0
  236. package/jsdoc-template/braintree/static/styles/prettify-tomorrow.css +138 -0
  237. package/jsdoc-template/braintree/tmpl/augments.tmpl +10 -0
  238. package/jsdoc-template/braintree/tmpl/container.tmpl +213 -0
  239. package/jsdoc-template/braintree/tmpl/details.tmpl +223 -0
  240. package/jsdoc-template/braintree/tmpl/example.tmpl +2 -0
  241. package/jsdoc-template/braintree/tmpl/examples.tmpl +14 -0
  242. package/jsdoc-template/braintree/tmpl/exceptions.tmpl +28 -0
  243. package/jsdoc-template/braintree/tmpl/layout.tmpl +150 -0
  244. package/jsdoc-template/braintree/tmpl/mainpage.tmpl +9 -0
  245. package/jsdoc-template/braintree/tmpl/members.tmpl +38 -0
  246. package/jsdoc-template/braintree/tmpl/method.tmpl +128 -0
  247. package/jsdoc-template/braintree/tmpl/params.tmpl +125 -0
  248. package/jsdoc-template/braintree/tmpl/properties.tmpl +111 -0
  249. package/jsdoc-template/braintree/tmpl/returns.tmpl +17 -0
  250. package/jsdoc-template/braintree/tmpl/source.tmpl +9 -0
  251. package/jsdoc-template/braintree/tmpl/tutorial.tmpl +23 -0
  252. package/jsdoc-template/braintree/tmpl/type.tmpl +11 -0
  253. package/package.json +14 -15
  254. package/src/color.ts +20 -0
  255. package/src/consts.ts +47 -26
  256. package/src/devices/colordistancesensor.ts +98 -3
  257. package/src/devices/device.ts +1 -0
  258. package/src/devices/duplotrainbasecolorsensor.ts +17 -2
  259. package/src/devices/technic3x3colorlightmatrix.ts +64 -0
  260. package/src/devices/techniccolorsensor.ts +2 -1
  261. package/src/devices/technicmediumhubtiltsensor.ts +75 -3
  262. package/src/devices/technicsmallangularmotor.ts +17 -0
  263. package/src/hubs/basehub.ts +4 -0
  264. package/src/hubs/lpf2hub.ts +8 -9
  265. package/src/hubs/technicmediumhub.ts +1 -1
  266. package/src/hubs/technicsmallhub.ts +60 -0
  267. package/src/index-browser.ts +6 -0
  268. package/src/index-node.ts +6 -0
  269. package/src/poweredup-browser.ts +8 -1
  270. package/src/poweredup-node.ts +9 -1
  271. package/src/utils.ts +7 -0
  272. package/docs/classes.list.html +0 -8654
  273. package/docs/fonts/glyphicons-halflings-regular.eot +0 -0
  274. package/docs/fonts/glyphicons-halflings-regular.svg +0 -288
  275. package/docs/fonts/glyphicons-halflings-regular.ttf +0 -0
  276. package/docs/fonts/glyphicons-halflings-regular.woff +0 -0
  277. package/docs/fonts/glyphicons-halflings-regular.woff2 +0 -0
  278. package/docs/img/glyphicons-halflings-white.png +0 -0
  279. package/docs/img/glyphicons-halflings.png +0 -0
  280. package/docs/quicksearch.html +0 -31
  281. package/docs/scripts/docstrap.lib.js +0 -11
  282. package/docs/scripts/fulltext-search-ui.js +0 -89
  283. package/docs/scripts/fulltext-search.js +0 -36
  284. package/docs/scripts/lunr.min.js +0 -6
  285. package/docs/scripts/prettify/Apache-License-2.0.txt +0 -202
  286. package/docs/scripts/prettify/jquery.min.js +0 -6
  287. package/docs/scripts/prettify/lang-css.js +0 -21
  288. package/docs/scripts/prettify/prettify.js +0 -496
  289. package/docs/scripts/sunlight.js +0 -1157
  290. package/docs/scripts/toc.js +0 -203
  291. package/docs/styles/darkstrap.css +0 -960
  292. package/docs/styles/site.cerulean.css +0 -7008
  293. package/docs/styles/site.cosmo.css +0 -7061
  294. package/docs/styles/site.cyborg.css +0 -7048
  295. package/docs/styles/site.darkly.css +0 -7171
  296. package/docs/styles/site.darkstrap.css +0 -5638
  297. package/docs/styles/site.dibs-bootstrap.css +0 -5899
  298. package/docs/styles/site.flatly.css +0 -7147
  299. package/docs/styles/site.journal.css +0 -6973
  300. package/docs/styles/site.lumen.css +0 -7298
  301. package/docs/styles/site.paper.css +0 -7623
  302. package/docs/styles/site.readable.css +0 -6997
  303. package/docs/styles/site.sandstone.css +0 -7035
  304. package/docs/styles/site.simplex.css +0 -7023
  305. package/docs/styles/site.slate.css +0 -7343
  306. package/docs/styles/site.spacelab.css +0 -7055
  307. package/docs/styles/site.superhero.css +0 -7131
  308. package/docs/styles/site.united.css +0 -6895
  309. package/docs/styles/site.yeti.css +0 -7195
  310. package/docs/styles/sunlight.dark.css +0 -345
  311. package/docs/styles/sunlight.default.css +0 -344
@@ -1,345 +0,0 @@
1
- /* global styles */
2
- .sunlight-container {
3
- clear: both !important;
4
- position: relative !important;
5
- margin: 10px 0 !important;
6
- }
7
- .sunlight-code-container {
8
- clear: both !important;
9
- position: relative !important;
10
- border: none;
11
- border-color: #626262 !important;
12
- background-color: #262626 !important;
13
- }
14
- .sunlight-highlighted, .sunlight-container, .sunlight-container textarea {
15
- font-family: Consolas, Inconsolata, Monaco, "Courier New" !important;
16
- font-size: 12px !important;
17
- line-height: 15px !important;
18
- }
19
- .sunlight-highlighted, .sunlight-container textarea {
20
- color: #FFFFFF !important;
21
- margin: 0 !important;
22
- }
23
- .sunlight-container textarea {
24
- padding-left: 0 !important;
25
- margin-left: 0 !important;
26
- margin-right: 0 !important;
27
- padding-right: 0 !important;
28
- }
29
- .sunlight-code-container > .sunlight-highlighted {
30
- white-space: pre;
31
- overflow-x: auto;
32
- overflow-y: hidden; /* ie requires this wtf? */
33
- }
34
- .sunlight-highlighted {
35
- z-index: 1;
36
- position: relative;
37
- }
38
- .sunlight-highlighted * {
39
- background: transparent;
40
- }
41
- .sunlight-line-number-margin {
42
- float: left !important;
43
- margin-right: 5px !important;
44
- margin-top: 0 !important;
45
- margin-bottom: 0 !important;
46
- padding: 0 !important;
47
- padding-right: 4px !important;
48
- padding-left: 4px !important;
49
- border-right: 1px solid #9A9A9A !important;
50
- background-color: #3E3E3E !important;
51
- color: #9A9A9A !important;
52
- text-align: right !important;
53
- position: relative;
54
- z-index: 3;
55
- }
56
- .sunlight-highlighted a, .sunlight-line-number-margin a {
57
- border: none !important;
58
- text-decoration: none !important;
59
- font-style: normal !important;
60
- padding: 0 !important;
61
- }
62
- .sunlight-line-number-margin a {
63
- color: inherit !important;
64
- }
65
- .sunlight-line-highlight-overlay {
66
- position: absolute;
67
- top: 0;
68
- left: 0;
69
- width: 100%;
70
- z-index: 0;
71
- }
72
- .sunlight-line-highlight-overlay div {
73
- height: 15px;
74
- width: 100%;
75
- }
76
- .sunlight-line-highlight-overlay .sunlight-line-highlight-active {
77
- background-color: #4B4B4B;
78
- }
79
-
80
- /* menu */
81
- .sunlight-menu {
82
- background-color: #FFFFCC;
83
- color: #000000;
84
- }
85
- .sunlight-menu ul {
86
- margin: 0 !important;
87
- padding: 0 !important;
88
- list-style-type: none !important;
89
- }
90
- .sunlight-menu li {
91
- float: right !important;
92
- margin-left: 5px !important;
93
- }
94
- .sunlight-menu a, .sunlight-menu img {
95
- color: #000099 !important;
96
- text-decoration: none !important;
97
- border: none !important;
98
- }
99
-
100
-
101
-
102
-
103
- .sunlight-string,
104
- .sunlight-char,
105
- .sunlight-heredoc,
106
- .sunlight-heredocDeclaration,
107
- .sunlight-nowdoc,
108
- .sunlight-longString,
109
- .sunlight-rawString,
110
- .sunlight-binaryString,
111
- .sunlight-verbatimString,
112
- .sunlight-rawLongString,
113
- .sunlight-binaryLongString,
114
- .sunlight-diff .sunlight-added {
115
- color: #55EB54 !important;
116
- }
117
- .sunlight-operator,
118
- .sunlight-punctuation,
119
- .sunlight-delimiter {
120
- color: #B1EDEC !important;
121
- }
122
- .sunlight-ident,
123
- .sunlight-diff .sunlight-unchanged {
124
- color: #E0E0E0 !important;
125
- font-weight: bold !important;
126
- }
127
- .sunlight-comment,
128
- .sunlight-xmlDocCommentContent,
129
- .sunlight-nginx .sunlight-ssiCommand,
130
- .sunlight-sln .sunlight-formatDeclaration,
131
- .sunlight-diff .sunlight-mergeHeader,
132
- .sunlight-diff .sunlight-noNewLine {
133
- color: #787D31 !important;
134
- }
135
- .sunlight-number,
136
- .sunlight-cdata,
137
- .sunlight-guid,
138
- .sunlight-diff .sunlight-modified {
139
- color: #F7BA7E !important;
140
- font-weight: bold !important;
141
- }
142
- .sunlight-named-ident,
143
- .sunlight-xml .sunlight-attribute,
144
- .sunlight-constant,
145
- .sunlight-javascript .sunlight-globalVariable,
146
- .sunlight-globalObject,
147
- .sunlight-css .sunlight-id,
148
- .sunlight-python .sunlight-attribute,
149
- .sunlight-nginx .sunlight-context,
150
- .sunlight-httpd .sunlight-context,
151
- .sunlight-lisp .sunlight-declarationSpecifier,
152
- .sunlight-erlang .sunlight-userDefinedFunction,
153
- .sunlight-diff .sunlight-removed {
154
- color: #FBBDEE !important;
155
- font-weight: bold !important;
156
- }
157
- .sunlight-keyword,
158
- .sunlight-languageConstruct,
159
- .sunlight-specialOperator,
160
- .sunlight-xml .sunlight-tagName,
161
- .sunlight-xml .sunlight-operator,
162
- .sunlight-bash .sunlight-command,
163
- .sunlight-erlang .sunlight-moduleAttribute {
164
- color: #A3CCF7 !important;
165
- font-weight: bold !important;
166
- }
167
- .sunlight-shortOpenTag,
168
- .sunlight-openTag,
169
- .sunlight-closeTag,
170
- .sunlight-xmlOpenTag,
171
- .sunlight-xmlCloseTag,
172
- .sunlight-aspOpenTag,
173
- .sunlight-aspCloseTag,
174
- .sunlight-label,
175
- .sunlight-css .sunlight-importantFlag {
176
- background-color: #7373C1 !important;
177
- }
178
- .sunlight-content {
179
- color: #FFFFFF !important;
180
- font-weight: bold !important;
181
- }
182
- .sunlight-function,
183
- .sunlight-globalFunction,
184
- .sunlight-objective-c .sunlight-messageDestination,
185
- .sunlight-ruby .sunlight-specialFunction,
186
- .sunlight-6502asm .sunlight-illegalOpcode,
187
- .sunlight-powershell .sunlight-switch,
188
- .sunlight-lisp .sunlight-macro,
189
- .sunlight-lisp .sunlight-specialForm,
190
- .sunlight-lisp .sunlight-type,
191
- .sunlight-sln .sunlight-sectionName,
192
- .sunlight-diff .sunlight-header {
193
- color: #C8BBF1 !important;
194
- font-weight: bold !important;
195
- }
196
- .sunlight-variable,
197
- .sunlight-environmentVariable,
198
- .sunlight-specialVariable,
199
- .sunlight-objective-c .sunlight-messageArgumentName,
200
- .sunlight-lisp .sunlight-globalVariable,
201
- .sunlight-ruby .sunlight-globalVariable,
202
- .sunlight-ruby .sunlight-instanceVariable {
203
- color: #F5E5B0 !important;
204
- font-weight: bold !important;
205
- }
206
- .sunlight-regexLiteral,
207
- .sunlight-lisp .sunlight-operator,
208
- .sunlight-6502asm .sunlight-pseudoOp,
209
- .sunlight-erlang .sunlight-macro,
210
- .sunlight-diff .sunlight-rangeInfo {
211
- color: #E0F16A !important;
212
- }
213
- .sunlight-specialVariable {
214
- font-style: italic !important;
215
- font-weight: bold !important;
216
- }
217
- .sunlight-csharp .sunlight-pragma,
218
- .sunlight-preprocessorDirective,
219
- .sunlight-vb .sunlight-compilerDirective {
220
- color: #666363 !important;
221
- font-style: italic !important;
222
- }
223
- .sunlight-xmlDocCommentMeta,
224
- .sunlight-java .sunlight-annotation,
225
- .sunlight-scala .sunlight-annotation,
226
- .sunlight-docComment {
227
- color: #666363 !important;
228
- }
229
- .sunlight-quotedIdent,
230
- .sunlight-ruby .sunlight-subshellCommand,
231
- .sunlight-lisp .sunlight-keywordArgument,
232
- .sunlight-haskell .sunlight-infixOperator,
233
- .sunlight-erlang .sunlight-quotedAtom {
234
- color: #F8CA16 !important;
235
- }
236
-
237
-
238
-
239
-
240
- /* html/xml */
241
- .sunlight-xml .sunlight-tagName,
242
- .sunlight-xml .sunlight-operator,
243
- .sunlight-xml .sunlight-attribute {
244
- font-weight: normal !important;
245
- }
246
- .sunlight-doctype {
247
- color: #DEB9B2 !important;
248
- font-style: italic !important;
249
- }
250
- .sunlight-xml .sunlight-entity {
251
- background-color: #E6E585 !important;
252
- color: #000000 !important;
253
- }
254
-
255
- /* javascript */
256
- .sunlight-javascript .sunlight-reservedWord {
257
- font-style: italic !important;
258
- }
259
-
260
- /* css */
261
- .sunlight-css .sunlight-element {
262
- color: #E9EE97 !important;
263
- }
264
- .sunlight-css .sunlight-microsoftFilterPrefix {
265
- color: #C9FF9F !important;
266
- }
267
- .sunlight-css .sunlight-rule {
268
- color: #0099FF !important;
269
- }
270
- .sunlight-css .sunlight-class {
271
- color: #E78282 !important;
272
- }
273
- .sunlight-css .sunlight-pseudoClass, .sunlight-css .sunlight-pseudoElement {
274
- color: #73D693 !important;
275
- }
276
-
277
- /* bash */
278
- .sunlight-bash .sunlight-hashBang {
279
- color: #FFFF00 !important;
280
- }
281
-
282
- .sunlight-bash .sunlight-verbatimCommand {
283
- color: #BBA4EE !important;
284
- }
285
- .sunlight-bash .sunlight-variable,
286
- .sunlight-bash .sunlight-specialVariable {
287
- color: #ED8585 !important;
288
- }
289
-
290
- /* python */
291
- .sunlight-python .sunlight-specialMethod {
292
- font-weight: bold !important;
293
- color: #B0A3C2;
294
- }
295
-
296
- /* ruby */
297
- .sunlight-ruby .sunlight-symbol {
298
- font-weight: bold !important;
299
- color: #90EEA2 !important;
300
- }
301
-
302
- /* brainfuck */
303
- .sunlight-brainfuck {
304
- font-weight: bold !important;
305
- color: #000000 !important;
306
- }
307
- .sunlight-brainfuck .sunlight-increment {
308
- background-color: #FF9900 !important;
309
- }
310
- .sunlight-brainfuck .sunlight-decrement {
311
- background-color: #FF99FF !important;
312
- }
313
- .sunlight-brainfuck .sunlight-incrementPointer {
314
- background-color: #FFFF99 !important;
315
- }
316
- .sunlight-brainfuck .sunlight-decrementPointer {
317
- background-color: #66CCFF !important;
318
- }
319
- .sunlight-brainfuck .sunlight-read {
320
- background-color: #FFFFFF !important;
321
- }
322
- .sunlight-brainfuck .sunlight-write {
323
- background-color: #99FF99 !important;
324
- }
325
- .sunlight-brainfuck .sunlight-openLoop, .sunlight-brainfuck .sunlight-closeLoop {
326
- background-color: #FFFFFF !important;
327
- }
328
-
329
- /* 6502 asm */
330
- .sunlight-6502asm .sunlight-label {
331
- background: none !important;
332
- color: #FFFFFF !important;
333
- text-decoration: underline !important;
334
- }
335
-
336
- /* lisp */
337
- .sunlight-lisp .sunlight-macro {
338
- font-style: italic !important;
339
- }
340
-
341
- /* erlang */
342
- .sunlight-erlang .sunlight-atom {
343
- color: #FFFFFF !important;
344
- font-weight: bold !important;
345
- }
@@ -1,344 +0,0 @@
1
- /* global styles */
2
- .sunlight-container {
3
- clear: both !important;
4
- position: relative !important;
5
- margin: 10px 0 !important;
6
- }
7
- .sunlight-code-container {
8
- clear: both !important;
9
- position: relative !important;
10
- border: none;
11
- border-color: #969696 !important;
12
- background-color: #FFFFFF !important;
13
- }
14
- .sunlight-highlighted, .sunlight-container, .sunlight-container textarea {
15
- font-family: Consolas, Inconsolata, Monaco, "Courier New" !important;
16
- font-size: 12px !important;
17
- line-height: 15px !important;
18
- }
19
- .sunlight-highlighted, .sunlight-container textarea {
20
- color: #000000 !important;
21
- margin: 0 !important;
22
- }
23
- .sunlight-container textarea {
24
- padding-left: 0 !important;
25
- margin-left: 0 !important;
26
- margin-right: 0 !important;
27
- padding-right: 0 !important;
28
- }
29
- .sunlight-code-container > .sunlight-highlighted {
30
- white-space: pre;
31
- overflow-x: auto;
32
- overflow-y: hidden; /* ie requires this wtf? */
33
- }
34
- .sunlight-highlighted {
35
- z-index: 1;
36
- position: relative;
37
- }
38
- .sunlight-highlighted * {
39
- background: transparent;
40
- }
41
- .sunlight-line-number-margin {
42
- float: left !important;
43
- margin-right: 5px !important;
44
- margin-top: 0 !important;
45
- margin-bottom: 0 !important;
46
- padding: 0 !important;
47
- padding-right: 4px !important;
48
- padding-left: 4px !important;
49
- border-right: 1px solid #CCCCCC !important;
50
- background-color: #EEEEEE !important;
51
- color: #848484 !important;
52
- text-align: right !important;
53
- position: relative;
54
- z-index: 3;
55
- }
56
- .sunlight-highlighted a, .sunlight-line-number-margin a {
57
- border: none !important;
58
- text-decoration: none !important;
59
- font-weight: normal !important;
60
- font-style: normal !important;
61
- padding: 0 !important;
62
- }
63
- .sunlight-line-number-margin a {
64
- color: inherit !important;
65
- }
66
- .sunlight-line-highlight-overlay {
67
- position: absolute;
68
- top: 0;
69
- left: 0;
70
- width: 100%;
71
- z-index: 0;
72
- }
73
- .sunlight-line-highlight-overlay div {
74
- height: 15px;
75
- width: 100%;
76
- }
77
- .sunlight-line-highlight-overlay .sunlight-line-highlight-active {
78
- background-color: #E7FCFA;
79
- }
80
-
81
- /* menu */
82
- .sunlight-menu {
83
- background-color: #FFFFCC;
84
- color: #000000;
85
- }
86
- .sunlight-menu ul {
87
- margin: 0 !important;
88
- padding: 0 !important;
89
- list-style-type: none !important;
90
- }
91
- .sunlight-menu li {
92
- float: right !important;
93
- margin-left: 5px !important;
94
- }
95
- .sunlight-menu a, .sunlight-menu img {
96
- color: #000099 !important;
97
- text-decoration: none !important;
98
- border: none !important;
99
- }
100
-
101
-
102
-
103
-
104
- .sunlight-string,
105
- .sunlight-char,
106
- .sunlight-heredoc,
107
- .sunlight-heredocDeclaration,
108
- .sunlight-nowdoc,
109
- .sunlight-longString,
110
- .sunlight-rawString,
111
- .sunlight-binaryString,
112
- .sunlight-rawLongString,
113
- .sunlight-binaryLongString,
114
- .sunlight-verbatimString,
115
- .sunlight-diff .sunlight-removed {
116
- color: #990000 !important;
117
- }
118
-
119
- .sunlight-ident,
120
- .sunlight-operator,
121
- .sunlight-punctuation,
122
- .sunlight-delimiter,
123
- .sunlight-diff .sunlight-unchanged {
124
- color: #000000 !important;
125
- }
126
-
127
- .sunlight-comment,
128
- .sunlight-xmlDocCommentContent,
129
- .sunlight-nginx .sunlight-ssiCommand,
130
- .sunlight-sln .sunlight-formatDeclaration,
131
- .sunlight-diff .sunlight-added {
132
- color: #009900 !important;
133
- }
134
- .sunlight-number,
135
- .sunlight-guid,
136
- .sunlight-cdata {
137
- color: #CC6600 !important;
138
- }
139
-
140
- .sunlight-named-ident,
141
- .sunlight-constant,
142
- .sunlight-javascript .sunlight-globalVariable,
143
- .sunlight-globalObject,
144
- .sunlight-python .sunlight-attribute,
145
- .sunlight-nginx .sunlight-context,
146
- .sunlight-httpd .sunlight-context,
147
- .sunlight-haskell .sunlight-class,
148
- .sunlight-haskell .sunlight-type,
149
- .sunlight-lisp .sunlight-declarationSpecifier,
150
- .sunlight-erlang .sunlight-userDefinedFunction,
151
- .sunlight-diff .sunlight-header {
152
- color: #2B91AF !important;
153
- }
154
- .sunlight-keyword,
155
- .sunlight-languageConstruct,
156
- .sunlight-css
157
- .sunlight-element,
158
- .sunlight-bash .sunlight-command,
159
- .sunlight-specialOperator,
160
- .sunlight-erlang .sunlight-moduleAttribute,
161
- .sunlight-xml .sunlight-tagName,
162
- .sunlight-xml .sunlight-operator,
163
- .sunlight-diff .sunlight-modified {
164
- color: #0000FF !important;
165
- }
166
- .sunlight-shortOpenTag,
167
- .sunlight-openTag,
168
- .sunlight-closeTag,
169
- .sunlight-xmlOpenTag,
170
- .sunlight-xmlCloseTag,
171
- .sunlight-aspOpenTag,
172
- .sunlight-aspCloseTag,
173
- .sunlight-label,
174
- .sunlight-css .sunlight-importantFlag {
175
- background-color: #FFFF99 !important;
176
- color: #000000 !important;
177
- }
178
- .sunlight-function,
179
- .sunlight-globalFunction,
180
- .sunlight-ruby .sunlight-specialFunction,
181
- .sunlight-objective-c .sunlight-messageDestination,
182
- .sunlight-6502asm .sunlight-illegalOpcode,
183
- .sunlight-powershell .sunlight-switch,
184
- .sunlight-lisp .sunlight-macro,
185
- .sunlight-lisp .sunlight-specialForm,
186
- .sunlight-lisp .sunlight-type,
187
- .sunlight-sln .sunlight-sectionName,
188
- .sunlight-diff .sunlight-rangeInfo {
189
- color: #B069AF !important;
190
- }
191
-
192
- .sunlight-variable,
193
- .sunlight-specialVariable,
194
- .sunlight-environmentVariable,
195
- .sunlight-objective-c .sunlight-messageArgumentName,
196
- .sunlight-lisp .sunlight-globalVariable,
197
- .sunlight-ruby .sunlight-globalVariable,
198
- .sunlight-ruby .sunlight-instanceVariable,
199
- .sunlight-sln .sunlight-operator {
200
- color: #325484 !important;
201
- }
202
- .sunlight-regexLiteral,
203
- .sunlight-lisp .sunlight-operator,
204
- .sunlight-6502asm .sunlight-pseudoOp,
205
- .sunlight-erlang .sunlight-macro {
206
- color: #FF00B2 !important;
207
- }
208
- .sunlight-specialVariable {
209
- font-style: italic !important;
210
- font-weight: bold !important;
211
- }
212
- .sunlight-csharp .sunlight-pragma,
213
- .sunlight-preprocessorDirective,
214
- .sunlight-vb .sunlight-compilerDirective,
215
- .sunlight-diff .sunlight-mergeHeader,
216
- .sunlight-diff .sunlight-noNewLine {
217
- color: #999999 !important;
218
- font-style: italic !important;
219
- }
220
- .sunlight-xmlDocCommentMeta,
221
- .sunlight-java .sunlight-annotation,
222
- .sunlight-scala .sunlight-annotation,
223
- .sunlight-docComment {
224
- color: #808080 !important;
225
- }
226
- .sunlight-quotedIdent,
227
- .sunlight-ruby .sunlight-subshellCommand,
228
- .sunlight-lisp .sunlight-keywordArgument,
229
- .sunlight-haskell .sunlight-infixOperator,
230
- .sunlight-erlang .sunlight-quotedAtom {
231
- color: #999900 !important;
232
- }
233
-
234
-
235
-
236
- /* xml */
237
- .sunlight-xml .sunlight-string {
238
- color: #990099 !important;
239
- }
240
- .sunlight-xml .sunlight-attribute {
241
- color: #FF0000 !important;
242
- }
243
- .sunlight-xml .sunlight-entity {
244
- background-color: #EEEEEE !important;
245
- color: #000000 !important;
246
- border: 1px solid #000000 !important;
247
- }
248
- .sunlight-xml .sunlight-doctype {
249
- color: #2B91AF !important;
250
- }
251
-
252
- /* javascript */
253
- .sunlight-javascript .sunlight-reservedWord {
254
- font-style: italic !important;
255
- }
256
-
257
- /* css */
258
- .sunlight-css .sunlight-microsoftFilterPrefix {
259
- color: #FF00FF !important;
260
- }
261
- .sunlight-css .sunlight-rule {
262
- color: #0099FF !important;
263
- }
264
- .sunlight-css .sunlight-keyword {
265
- color: #4E65B8 !important;
266
- }
267
- .sunlight-css .sunlight-class {
268
- color: #FF0000 !important;
269
- }
270
- .sunlight-css .sunlight-id {
271
- color: #8A8E13 !important;
272
- }
273
- .sunlight-css .sunlight-pseudoClass,
274
- .sunlight-css .sunlight-pseudoElement {
275
- color: #368B87 !important;
276
- }
277
-
278
- /* bash */
279
- .sunlight-bash .sunlight-hashBang {
280
- color: #3D97F5 !important;
281
- }
282
- .sunlight-bash .sunlight-verbatimCommand {
283
- color: #999900 !important;
284
- }
285
- .sunlight-bash .sunlight-variable,
286
- .sunlight-bash .sunlight-specialVariable {
287
- color: #FF0000 !important;
288
- }
289
-
290
- /* python */
291
- .sunlight-python .sunlight-specialMethod {
292
- font-weight: bold !important;
293
- color: #A07DD3;
294
- }
295
-
296
- /* ruby */
297
- .sunlight-ruby .sunlight-symbol {
298
- font-weight: bold !important;
299
- color: #ED7272 !important;
300
- }
301
-
302
- /* brainfuck */
303
- .sunlight-brainfuck {
304
- font-weight: bold !important;
305
- color: #000000 !important;
306
- }
307
- .sunlight-brainfuck .sunlight-increment {
308
- background-color: #FF9900 !important;
309
- }
310
- .sunlight-brainfuck .sunlight-decrement {
311
- background-color: #FF99FF !important;
312
- }
313
- .sunlight-brainfuck .sunlight-incrementPointer {
314
- background-color: #FFFF99 !important;
315
- }
316
- .sunlight-brainfuck .sunlight-decrementPointer {
317
- background-color: #66CCFF !important;
318
- }
319
- .sunlight-brainfuck .sunlight-read {
320
- background-color: #FFFFFF !important;
321
- }
322
- .sunlight-brainfuck .sunlight-write {
323
- background-color: #99FF99 !important;
324
- }
325
- .sunlight-brainfuck .sunlight-openLoop, .sunlight-brainfuck .sunlight-closeLoop {
326
- background-color: #FFFFFF !important;
327
- }
328
-
329
- /* 6502 asm */
330
- .sunlight-6502asm .sunlight-label {
331
- font-weight: bold !important;
332
- color: #000000 !important;
333
- background: none !important;
334
- }
335
-
336
- /* lisp */
337
- .sunlight-lisp .sunlight-macro {
338
- font-style: italic !important;
339
- }
340
-
341
- /* erlang */
342
- .sunlight-erlang .sunlight-atom {
343
- font-weight: bold !important;
344
- }