-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
54 changed files
with
3,133 additions
and
1,800 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# http://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.scss] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
TiTatoggle - (bs3 addon without JS) | ||
========== | ||
TiTatoggle - (bootstrap 3 addon without JS) | ||
=========================================== | ||
|
||
Using awesome toggle buttons without Javascript or any other logic, other than plane form elements. | ||
The Pattern is the same as Twitter-Bootstrap. So it can be implemented without a breeze. | ||
|
||
Browser support: Internet Explorer 9, FireFox, Safari, Chrome, Safari Ios, Stock Android browser 4.2, Chrome Android | ||
Browser support: Internet Explorer 9/10/11, Edge, FireFox, Safari, Chrome, Safari Ios, Stock Android browser 4.2, Chrome Android | ||
|
||
Install: | ||
''' | ||
$ npm i titatoggle --save-dev (Bootstrap 4.x.x) | ||
$ npm i [email protected] --save-dev (Legacy bootstrap 3.x.x) | ||
$ bower install titatoggle | ||
''' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,15 +7,25 @@ <h3 id="howto">Howto</h3> | |
You have a few options to include this into your project. | ||
</p> | ||
|
||
<h4>Install</h4> | ||
|
||
<h4>Latest version (Bootstrap 4)</h4> | ||
|
||
<code>$ npm install titatoggle --save-dev</code> | ||
|
||
<h4>Previous version (Bootstrap 3)</h4> | ||
<code>$ npm install [email protected] --save-dev</code> | ||
|
||
<h4>Bower</h4> | ||
<p> | ||
<code>$ bower install titatoggle</code> | ||
</p> | ||
<code>$ bower install titatoggle</code> | ||
|
||
|
||
|
||
|
||
<h4>Less</h4> | ||
<h4>SASS</h4> | ||
<p> | ||
Inside the project you will find <code>_titatoggle.less</code> Include this file into your own project, and stuff just works. | ||
If needed, you can fiddle around with some less variables. | ||
Inside the project you will find <code>_titatoggle.scss</code> Include this file into your own project, and stuff just works. | ||
If needed, you can fiddle around with some sass variables. | ||
</p> | ||
|
||
<h4>CSS</h4> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,62 @@ | ||
<div class="hero"> | ||
<div class="container"> | ||
<h1 class="text-center">Bootstrap 3 Ti-Ta-Toggle <small>(bs3 addon without JS)</small></h1> | ||
<p class="text-center lead"> | ||
Using awesome toggle buttons without Javascript or any other logic, other than plane form elements. | ||
The Pattern is the same as Twitter-Bootstrap. So it can be implemented without a breeze. | ||
</p> | ||
<p class="text-center"> | ||
<em>Browser support: Internet Explorer 9, FireFox, Safari, Chrome, Safari Ios, Stock Android browser 4.2, Chrome Android</em> | ||
</p> | ||
<div class="container-fluid"> | ||
<div class="row"> | ||
<div class="col-sm-3"> | ||
<h5>Default checkbox</h5> | ||
<div class="checkbox checkbox-slider--default checkbox-slider-lg"> | ||
<label> | ||
<input type="checkbox"><span>Check</span> | ||
</label> | ||
</div> | ||
</div> | ||
<div class="col-sm-3"> | ||
<h5>With text</h5> | ||
<div class="checkbox checkbox-slider--a checkbox-slider-lg"> | ||
<label> | ||
<input type="checkbox"><span>This</span> | ||
</label> | ||
</div> | ||
</div> | ||
<div class="col-sm-3"> | ||
<h5>iOS like</h5> | ||
<div class="checkbox checkbox-slider--b checkbox-slider-lg"> | ||
<label> | ||
<input type="checkbox"><span>Out</span> | ||
</label> | ||
</div> | ||
</div> | ||
<div class="col-sm-3"> | ||
<h5>Material like</h5> | ||
<div class="checkbox checkbox-slider--c checkbox-slider-lg"> | ||
<label> | ||
<input type="checkbox"><span>Dude</span> | ||
</label> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<hr> | ||
<p class="text-center"> | ||
<iframe src="http://ghbtns.com/github-btn.html?user=kleinejan&repo=titatoggle&type=watch&count=true&size=large" | ||
allowtransparency="true" frameborder="0" scrolling="0" width="170" height="30"></iframe> | ||
<iframe src="http://ghbtns.com/github-btn.html?user=kleinejan&repo=titatoggle&type=fork&count=true&size=large" | ||
allowtransparency="true" frameborder="0" scrolling="0" width="170" height="30"></iframe> | ||
</p> | ||
<div class="container"> | ||
<h1 class="text-center">Bootstrap 4 Ti-Ta-Toggle | ||
<small>(addon without JS)</small> | ||
</h1> | ||
<p class="text-center lead"> | ||
Using awesome toggle buttons without Javascript or any other logic, other than plane form elements. | ||
The Pattern is the same as Twitter-Bootstrap. So it can be implemented without a breeze. | ||
</p> | ||
<p class="text-center"> | ||
<em>Browser support: Internet Explorer 9/10/11, Edge, FireFox, Safari, Chrome, Safari Ios, Stock Android browser | ||
4.2, Chrome Android</em> | ||
</p> | ||
<p class="text-center"> | ||
<em>Version 1.0.0 of TitaToggle has support for Bootstrap v3.x.x </em> | ||
</p> | ||
<div class="container-fluid"> | ||
<div class="row"> | ||
<div class="col-sm-3"> | ||
<h5>Default checkbox</h5> | ||
<div class="checkbox checkbox-slider--default checkbox-slider-lg"> | ||
<label> | ||
<input type="checkbox"><span>Check</span> | ||
</label> | ||
</div> | ||
</div> | ||
<div class="col-sm-3"> | ||
<h5>With text</h5> | ||
<div class="checkbox checkbox-slider--a checkbox-slider-lg"> | ||
<label> | ||
<input type="checkbox"><span>This</span> | ||
</label> | ||
</div> | ||
</div> | ||
<div class="col-sm-3"> | ||
<h5>iOS like</h5> | ||
<div class="checkbox checkbox-slider--b checkbox-slider-lg"> | ||
<label> | ||
<input type="checkbox"><span>Out</span> | ||
</label> | ||
</div> | ||
</div> | ||
<div class="col-sm-3"> | ||
<h5>Material like</h5> | ||
<div class="checkbox checkbox-slider--c checkbox-slider-lg"> | ||
<label> | ||
<input type="checkbox"><span>Dude</span> | ||
</label> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<hr> | ||
<p class="text-center"> | ||
<iframe src="http://ghbtns.com/github-btn.html?user=kleinejan&repo=titatoggle&type=watch&count=true&size=large" | ||
allowtransparency="true" frameborder="0" scrolling="0" width="170" height="30"></iframe> | ||
<iframe src="http://ghbtns.com/github-btn.html?user=kleinejan&repo=titatoggle&type=fork&count=true&size=large" | ||
allowtransparency="true" frameborder="0" scrolling="0" width="170" height="30"></iframe> | ||
</p> | ||
|
||
</div> | ||
</div> | ||
</div> |
Oops, something went wrong.