{"_id":"css-toggle-switch","_rev":"11-9a4ee5adb7ab12abce688384f94c47dd","name":"css-toggle-switch","description":"Accessible CSS toggle switch using standard form controls","dist-tags":{"latest":"4.1.0"},"versions":{"3.1.1":{"name":"css-toggle-switch","version":"3.1.1","repository":{"type":"git","url":"https://github.com/ghinda/css-toggle-switch.git"},"dependencies":{},"devDependencies":{"grunt":"~0.4","grunt-contrib-watch":"~0.6","grunt-concurrent":"~1.0","grunt-contrib-connect":"~0.9","connect-livereload":"~0.5","matchdep":"~0.3","grunt-sass":"~0","grunt-saucelabs":"~8"},"peerDependencies":{"grunt-cli":"~0.1"},"engines":{"node":">=0.10.0"},"scripts":{"test":"grunt test"},"description":"Accessible CSS toggle switch using standard form controls","bugs":{"url":"https://github.com/ghinda/css-toggle-switch/issues"},"homepage":"https://ghinda.net/css-toggle-switch","keywords":["css","toggle","switch","ui"],"files":["dist/*.css","src/*.scss","LICENSE"],"author":{"name":"Ionut Colceriu","email":"contact@ghinda.net","url":"https://ghinda.net/"},"license":"UNLICENSE","gitHead":"b8284201a5fcd423986356e015d2a1ef67571e0b","_id":"css-toggle-switch@3.1.1","_shasum":"52e14cbd22633a1fc0f87653522cbe031792b93f","_from":".","_npmVersion":"2.1.4","_nodeVersion":"0.10.32","_npmUser":{"name":"ghinda","email":"contact@ghinda.net"},"maintainers":[{"name":"ghinda","email":"contact@ghinda.net"}],"dist":{"shasum":"52e14cbd22633a1fc0f87653522cbe031792b93f","tarball":"https://registry.npmjs.org/css-toggle-switch/-/css-toggle-switch-3.1.1.tgz","integrity":"sha512-b63YGQZQG6K3fQ1C0iET9X3EUf+MFIxh3zu5gOnfVUuOvx4WH32jpGAa7V7XOGsHNInvPf4a/wuLLoZ5Y/Dn/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3sqBPt0x3/F/uoNQt3uyvUd4kz57cSft8gHnSwBsQMwIgehpwmu8XhqA1P+ygi+3OSzkpf3UjAqp9qnRo5G/zs9I="}]}},"3.2.0":{"name":"css-toggle-switch","version":"3.2.0","repository":{"type":"git","url":"git+https://github.com/ghinda/css-toggle-switch.git"},"dependencies":{},"devDependencies":{"grunt":"~0.4","grunt-contrib-watch":"~0.6","grunt-concurrent":"~1.0","grunt-contrib-connect":"~0.9","connect-livereload":"~0.5","matchdep":"~0.3","grunt-sass":"~0","grunt-saucelabs":"~8"},"peerDependencies":{"grunt-cli":"~0.1"},"engines":{"node":">=0.10.0"},"scripts":{"test":"grunt test"},"description":"Accessible CSS toggle switch using standard form controls","bugs":{"url":"https://github.com/ghinda/css-toggle-switch/issues"},"homepage":"https://ghinda.net/css-toggle-switch","keywords":["css","toggle","switch","ui"],"files":["dist/*.css","src/*.scss","LICENSE"],"author":{"name":"Ionut Colceriu","email":"contact@ghinda.net","url":"https://ghinda.net/"},"license":"MIT","gitHead":"d2d72e82c6c6d117755aa765ddd540c733557902","_id":"css-toggle-switch@3.2.0","_shasum":"3c7bf2965059d26185401e30418655f97dd96327","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"ghinda","email":"contact@ghinda.net"},"maintainers":[{"name":"ghinda","email":"contact@ghinda.net"}],"dist":{"shasum":"3c7bf2965059d26185401e30418655f97dd96327","tarball":"https://registry.npmjs.org/css-toggle-switch/-/css-toggle-switch-3.2.0.tgz","integrity":"sha512-9Arcy6fj75D3RxFhg+upoNuguZZX0UPFF6JflphMMjqh48XpbGoBySvOXVcmXmk3RNVZLgS0Z2ZPpTgBtmKsiw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDISB6XocdXjYr56TcHUgZHrEnJuwCtoP5ONx1tNGqEFQIgYvvxSnAQa/ESDTmICwzPOLW5d813q6tDKkq5a+tb2pM="}]}},"4.0.0":{"name":"css-toggle-switch","version":"4.0.0","repository":{"type":"git","url":"git+https://github.com/ghinda/css-toggle-switch.git"},"dependencies":{},"devDependencies":{"assemble":"^0.4.42","connect-livereload":"~0.5","grunt":"~0.4","grunt-build-control":"^0.6.1","grunt-contrib-clean":"^0.6.0","grunt-contrib-connect":"~0.9","grunt-contrib-copy":"^0.8.2","grunt-contrib-watch":"~0.6","grunt-sass":"~0","grunt-saucelabs":"~8","matchdep":"~0.3"},"peerDependencies":{},"engines":{"node":">=0.10.0"},"scripts":{"test":"node -e \"require('grunt').tasks(['test']);\""},"description":"Accessible CSS toggle switch using standard form controls","bugs":{"url":"https://github.com/ghinda/css-toggle-switch/issues"},"homepage":"https://ghinda.net/css-toggle-switch","keywords":["css","toggle","switch","ui"],"files":["dist/","src/","LICENSE","README.md"],"author":{"name":"Ionut Colceriu","email":"contact@ghinda.net","url":"https://ghinda.net/"},"license":"MIT","gitHead":"31512e1cd6d2fbdc4d4f14ade0b2d3f8fa7f1a7a","_id":"css-toggle-switch@4.0.0","_shasum":"07409cf7e516acd3ed7694337c8420b95630215a","_from":".","_npmVersion":"3.4.1","_nodeVersion":"0.12.7","_npmUser":{"name":"ghinda","email":"contact@ghinda.net"},"maintainers":[{"name":"ghinda","email":"contact@ghinda.net"}],"dist":{"shasum":"07409cf7e516acd3ed7694337c8420b95630215a","tarball":"https://registry.npmjs.org/css-toggle-switch/-/css-toggle-switch-4.0.0.tgz","integrity":"sha512-CnjCu+/0B5FBwLXWXgAHTnhW0dR9WGHjkl7krjhwgrlLwUEGO7nfb1UWPsFMgjivCaCShsSGgxcG3wYD8TStVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGJBMAFhghZ13T3ELlMthXCHWFdvhNtpGaeXaTmyZ8fwIgVZEbG1dGhCFYYmxpm8nJ4zl8I+kB4HN/urj0IKaiC60="}]}},"4.0.1":{"name":"css-toggle-switch","version":"4.0.1","repository":{"type":"git","url":"git+https://github.com/ghinda/css-toggle-switch.git"},"dependencies":{},"devDependencies":{"assemble":"^0.4.42","connect-livereload":"~0.5","grunt":"~0.4","grunt-build-control":"^0.6.1","grunt-contrib-clean":"^0.6.0","grunt-contrib-connect":"~0.9","grunt-contrib-copy":"^0.8.2","grunt-contrib-watch":"~0.6","grunt-sass":"~0","grunt-saucelabs":"~8","matchdep":"~0.3"},"peerDependencies":{},"engines":{"node":">=0.10.0"},"scripts":{"test":"node -e \"require('grunt').tasks(['test']);\""},"description":"Accessible CSS toggle switch using standard form controls","bugs":{"url":"https://github.com/ghinda/css-toggle-switch/issues"},"homepage":"https://ghinda.net/css-toggle-switch","keywords":["css","toggle","switch","ui"],"files":["dist/","src/","LICENSE","README.md"],"author":{"name":"Ionut Colceriu","email":"contact@ghinda.net","url":"https://ghinda.net/"},"license":"MIT","gitHead":"fd2eee79b183d260bf043cddcdfa0d7a53031a0e","_id":"css-toggle-switch@4.0.1","_shasum":"b9ff9395e06fec024c9a4d72d1b6a8eb991ff4af","_from":".","_npmVersion":"3.4.1","_nodeVersion":"0.12.7","_npmUser":{"name":"ghinda","email":"contact@ghinda.net"},"maintainers":[{"name":"ghinda","email":"contact@ghinda.net"}],"dist":{"shasum":"b9ff9395e06fec024c9a4d72d1b6a8eb991ff4af","tarball":"https://registry.npmjs.org/css-toggle-switch/-/css-toggle-switch-4.0.1.tgz","integrity":"sha512-zT+yBlyJAiUwLA8r+dJwflYF7g1UKEBnjgAstveaSoUXuLLw0VBxZsD11hDNXYRcBRQMsGUihhebuTJV5EXDrg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBe2BC+HIs0fGeIm8H8s1MnuaqixcX4Gcx5d0d2SCmZWAiEAzi+K11rtyQA09hYBk9nlcJhJig841P0CWIV7yn5AHIM="}]}},"4.0.2":{"name":"css-toggle-switch","version":"4.0.2","repository":{"type":"git","url":"git+https://github.com/ghinda/css-toggle-switch.git"},"dependencies":{},"devDependencies":{"assemble":"^0.4.42","connect-livereload":"~0.5","grunt":"~0.4","grunt-build-control":"^0.6.1","grunt-contrib-clean":"^0.6.0","grunt-contrib-connect":"~0.9","grunt-contrib-copy":"^0.8.2","grunt-contrib-watch":"~0.6","grunt-sass":"~0","grunt-saucelabs":"~8","matchdep":"~0.3"},"peerDependencies":{},"engines":{"node":">=0.10.0"},"scripts":{"test":"node -e \"require('grunt').tasks(['test']);\""},"description":"Accessible CSS toggle switch using standard form controls","bugs":{"url":"https://github.com/ghinda/css-toggle-switch/issues"},"homepage":"https://ghinda.net/css-toggle-switch","keywords":["css","toggle","switch","ui"],"files":["dist/","src/","LICENSE","README.md"],"author":{"name":"Ionut Colceriu","email":"contact@ghinda.net","url":"https://ghinda.net/"},"license":"MIT","gitHead":"5b5e51a4d060280c9895858bdb82fee6700bf807","_id":"css-toggle-switch@4.0.2","_shasum":"80fed6cb48a8e5f50e0a4a3b9ff6cbeded8d8272","_from":".","_npmVersion":"3.4.1","_nodeVersion":"0.12.7","_npmUser":{"name":"ghinda","email":"contact@ghinda.net"},"maintainers":[{"name":"ghinda","email":"contact@ghinda.net"}],"dist":{"shasum":"80fed6cb48a8e5f50e0a4a3b9ff6cbeded8d8272","tarball":"https://registry.npmjs.org/css-toggle-switch/-/css-toggle-switch-4.0.2.tgz","integrity":"sha512-80pnQe5LxzfB90FVWpXb8FOaAftaF7XVt2wsBqj4mSbDzW7fnwIvnMatl1Ar67LUd8lIiDcxJtiSc98jvvhVjg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFs41VqTRDvJuFvraLR/tarLwRqboeyD39jrD8z8ouQXAiEAn4oa/z6nYq4spHgzQzvOwxWhzcCv81SYBYkzWyrgS4U="}]}},"4.0.3":{"name":"css-toggle-switch","version":"4.0.3","repository":{"type":"git","url":"git+https://github.com/ghinda/css-toggle-switch.git"},"devDependencies":{"connect-livereload":"^0.6.0","grunt":"^1.0.1","grunt-assemble":"^0.6.0","grunt-build-control":"^0.7.1","grunt-contrib-clean":"^1.1.0","grunt-contrib-connect":"^1.0.2","grunt-contrib-copy":"^1.0.0","grunt-contrib-watch":"^1.0.0","grunt-sass":"^2.0.0","grunt-saucelabs":"^9.0.0","matchdep":"1.0.1"},"peerDependencies":{},"engines":{"node":">=4"},"scripts":{"test":"grunt test"},"description":"Accessible CSS toggle switch using standard form controls","bugs":{"url":"https://github.com/ghinda/css-toggle-switch/issues"},"homepage":"https://ghinda.net/css-toggle-switch","keywords":["css","toggle","switch","ui"],"files":["dist/","src/","LICENSE","README.md"],"author":{"name":"Ionut Colceriu","email":"contact@ghinda.net","url":"https://ghinda.net/"},"license":"MIT","gitHead":"7edb5f203bdf335e07b84fa66b8ebfd58dd2970a","_id":"css-toggle-switch@4.0.3","_npmVersion":"5.2.0","_nodeVersion":"8.2.1","_npmUser":{"name":"ghinda","email":"contact@ghinda.net"},"dist":{"integrity":"sha512-qdiWYcSTtc90mq6H/P84LHhSmPcz/t7Y7Yy08rkoBQPDKyUc2RQficGnZUE1zgVf7190t3FVz1Ubs9S8kTeHnQ==","shasum":"e362a5faffae0f3fe52cbccd263dac7dd09976c9","tarball":"https://registry.npmjs.org/css-toggle-switch/-/css-toggle-switch-4.0.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH35vxdkj8t0LLtzPRPQDGVaCvg5XpKnOm+qyFf/1f36AiEAlzoeM6yNI8o73Tut2AxGicRom4SSrrgV2CyUfOTbHqg="}]},"maintainers":[{"name":"ghinda","email":"contact@ghinda.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/css-toggle-switch-4.0.3.tgz_1502100306262_0.9089399364311248"}},"4.1.0":{"name":"css-toggle-switch","version":"4.1.0","repository":{"type":"git","url":"git+https://github.com/ghinda/css-toggle-switch.git"},"devDependencies":{"connect-livereload":"^0.6.0","grunt":"^1.0.1","grunt-assemble":"^0.6.0","grunt-build-control":"^0.7.1","grunt-contrib-clean":"^1.1.0","grunt-contrib-connect":"^1.0.2","grunt-contrib-copy":"^1.0.0","grunt-contrib-watch":"^1.0.0","grunt-sass":"^2.0.0","grunt-saucelabs":"^9.0.0","matchdep":"1.0.1"},"peerDependencies":{},"engines":{"node":">=4"},"scripts":{"test":"grunt test"},"description":"Accessible CSS toggle switch using standard form controls","bugs":{"url":"https://github.com/ghinda/css-toggle-switch/issues"},"homepage":"https://ghinda.net/css-toggle-switch","keywords":["css","toggle","switch","ui"],"files":["dist/","src/","LICENSE","README.md"],"author":{"name":"Ionut Colceriu","email":"contact@ghinda.net","url":"https://ghinda.net/"},"license":"MIT","gitHead":"381561ca99038b9faf8db7d213a05069ead3b5c6","_id":"css-toggle-switch@4.1.0","_npmVersion":"5.2.0","_nodeVersion":"8.2.1","_npmUser":{"name":"ghinda","email":"contact@ghinda.net"},"dist":{"integrity":"sha512-XdA6fyaQqlBqTmFa6NX58tLPJj4SgDLAxV4Ec73GHQYRTYUTZoEyYHYxWGacLNTP8sTiVycKcAMBrPBKaiIZ9g==","shasum":"b4ba42856194bc0bdea610ab37c8d38d44d21d4f","tarball":"https://registry.npmjs.org/css-toggle-switch/-/css-toggle-switch-4.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDy0SHn4i7LSbdIG3LlgvGWoMrl7FqVoCmd9wi+G44iLQIgbhlyEUx+m6UezIilzx0gpn+VoBrzUP194H+lOtHzWhk="}]},"maintainers":[{"name":"ghinda","email":"contact@ghinda.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/css-toggle-switch-4.1.0.tgz_1502439192883_0.8025246623437852"}}},"readme":"# CSS Toggle Switch\n\n[![Build Status](https://travis-ci.org/ghinda/css-toggle-switch.png)](https://travis-ci.org/ghinda/css-toggle-switch)\n[![Downloads](https://img.shields.io/npm/dt/css-toggle-switch.svg)](https://www.npmjs.com/package/css-toggle-switch)\n[![Get help on Codementor](https://cdn.codementor.io/badges/get_help_github.svg)](https://www.codementor.io/ionutcolceriu?utm_source=github&utm_medium=button&utm_term=ionutcolceriu&utm_campaign=github)\n\nCSS Toggle Switches are a set of accessible CSS-only *switch* components, created from standard form controls in the markup.\n\nYou can use them standalone, or with [Bootstrap](http://getbootstrap.com/) or [Foundation](http://foundation.zurb.com/).\n\n## Install\n\nDownload from the [project page](http://ghinda.net/css-toggle-switch/).\n\nWith [Bower](http://bower.io/): `bower install --save css-toggle-switch`\n\nWith [npm](https://www.npmjs.com/package/css-toggle-switch): `npm install --save css-toggle-switch`\n\nFrom [jsDelivr](https://www.jsdelivr.com/projects/css-toggle-switch)\n\n```\n<link rel=\"stylesheet\" type=\"text/css\" href=\"https://cdn.jsdelivr.net/css-toggle-switch/latest/toggle-switch.css\" />\n```\n\n\n## How to use it\n\nJust include `toggle-switch.css`, and use the markup from the [documentation](http://ghinda.net/css-toggle-switch/).\n\n### Scaling\n\nBy default, the switches will scale along with the font size on their parent, because they're built using `em`s.\n\nIf you want to switches to scale using `rem`s, you can include the `toggle-switch-rem.css` file (without including `toggle-switch.css`).\n\nIf you don't need the switches to scale at all, you can use the the `toggle-switch-px.css` file.\n\n\n## Switches\n\n### Light switch\n\nUse the light switch, instead of a checkbox, for simple *On/Off* options.\n\n### Toggle switch\n\nUse the toggle switches, instead of radio buttons, for two or more, specific options.\n\n\n## Browser support\n\nThe toggle switches work on all modern browsers, including mobile ones(even proxy-browsers like Opera Mini).\n\n**Browsers without support for media-queries, such as IE8 and bellow, get standard form elements.**\n\nThe `onclick=\"\"` attribute is required for older iOS and Opera Mini support.\n\n## Development\n\nYou'll need Grunt:\n\n```\n  grunt server\n```\n\nThen\n\n```\n  http://localhost:9000/\n```\n\nDon't use the `gh-pages` branch. It's used only for hosting the documentation website.\n\n\n## License\n\nCSS Toggle Switch is a project by [Ionuț Colceriu](http://ghinda.net), licensed under the [MIT license](LICENSE).\n","maintainers":[{"name":"ghinda","email":"contact@ghinda.net"}],"time":{"modified":"2022-06-14T04:54:20.011Z","created":"2015-03-10T22:09:50.533Z","3.1.1":"2015-03-10T22:09:50.533Z","3.2.0":"2015-10-08T10:46:06.007Z","4.0.0":"2015-11-19T08:45:46.775Z","4.0.1":"2015-11-26T13:38:58.885Z","4.0.2":"2015-12-02T14:55:30.074Z","4.0.3":"2017-08-07T10:05:07.329Z","4.1.0":"2017-08-11T08:13:14.694Z"},"homepage":"https://ghinda.net/css-toggle-switch","keywords":["css","toggle","switch","ui"],"repository":{"type":"git","url":"git+https://github.com/ghinda/css-toggle-switch.git"},"author":{"name":"Ionut Colceriu","email":"contact@ghinda.net","url":"https://ghinda.net/"},"bugs":{"url":"https://github.com/ghinda/css-toggle-switch/issues"},"license":"MIT","readmeFilename":"README.md"}