├── README.md
├── components
├── flatpickr-material-design-theme
│ ├── README.md
│ ├── flatpickr-material-design-theme.css
│ └── flatpickr-material-design-theme.gif
└── material-design-range-input
│ └── readme.md
└── images
├── bootstrap-5columns.png
├── bootstrap-touchspin.png
├── bsreveal.gif
├── card-as-radio-material.gif
├── clear-button.gif
├── clockpicker.gif
├── contenteditable.gif
├── custom-scrollbar.gif
├── datepicker.gif
├── datetimepicker.gif
├── dropzone.png
├── form-validation.gif
├── formatted-inputs.gif
├── input-icons.png
├── ionrangeslider-material.gif
├── line-ripple.gif
├── maxlength.gif
├── range-sliders-material.gif
├── right-click.gif
├── snackbar.gif
├── summernote.png
├── switch.gif
├── test.png
└── textarea-autosize.gif
/README.md:
--------------------------------------------------------------------------------
1 | # Bootstrap-4-Advanced-Components
2 |
3 | The ultimate plugins to enhance Bootstrap 4.
4 |
5 | Here is the beginning of a collection of plugins and tweaks to enhance Bootstrap 4 standard components.
6 |
7 | At first I will focus on bringing the material design components to Bootstrap 4, enhancing the wonderfull [Daemonite material design 2 for Bootstrap 4](https://djibe.github.io/material/).
8 |
9 | Later, I will provide both standard Bootstrap 4 and material Bootstrap 4 versions.
10 | NB. WIP means work in progress ;-)
11 |
12 | ## Bootstrap tricks
13 |
14 | ### Bootstrap 4 - How to set 5 columns per row
15 |
16 | Learn how to add the capacity of a 5 column grid to Bootstrap 4.
17 | See my fiddle on StackOverflow [for 5 columns with Bootstrap 4](https://stackoverflow.com/questions/50734727/5-columns-per-row-in-bootstrap-4/50747942#50747942);
18 |
19 | 
20 |
21 | ## DROPPED Alerts and notifications
22 |
23 | BS 4.3+ have built-in toasts components. See [material design Toast/snackbar demo](https://djibe.github.io/material/docs/4.5/material/snackbars/).
24 |
25 | ### Archived
26 |
27 | Bootstrap Notify plugin by mouse0270 to add snackbar and toasts notifications to Bootstrap < 4.3.
28 | [See the Bootstrap 4 demo](https://jsfiddle.net/djibe89/5hw6ktkk/).
29 |
30 | 
31 |
32 | ## Badges
33 |
34 | All you need is [available in Material UI 2](https://djibe.github.io/material/docs/4.5/material/badges/).
35 |
36 | ## Collapse
37 |
38 | All you need is [available in Material UI 2](https://djibe.github.io/material/docs/4.5/components/collapse/).
39 |
40 | ## Forms
41 |
42 | These components try to bring material components to Bootstrap 4 : [Google material design sepcs for Text fields](https://material.io/guidelines/components/text-fields.html).
43 |
44 | ### Text fields and inputs - input spinners
45 |
46 | Bootstrap Touchspin adds useful input spinners to your form fields. [Bootstrap 4 demo here](https://jsfiddle.net/djibe89/q25m35ot/).
47 |
48 | 
49 |
50 | ### Text fields - add icons to input or placeholder
51 |
52 | 7 ways to add an incon to an input in material design, before it as an input-group or within it, using CSS or hacking the placeholder. Enjoy my [Bootstrap 4 demo here](https://jsfiddle.net/djibe89/tyh21Lxe/).
53 |
54 | 
55 |
56 | ### Text fields - Clear button
57 |
58 | The Clear button for input fields in Bootstrap 4 demo is available here.
59 |
60 | 
61 |
62 | ### Text fields - Multi-line fields, Textarea autosize
63 |
64 | Multi-line fields is brought to you in Bootstrap 4 through the use of textarea autosize plugin, see the Bootstrap 4 demo here.
65 |
66 | 
67 |
68 | ### Text fields - Character or word counter
69 |
70 | Character counter is brought to you in Bootstrap 4 through the use of maxlength plugin, see the Bootstrap 4 demo here.
71 |
72 | 
73 |
74 | ### Text fields - label color on focus and line ripple effect
75 |
76 | Daemonite material UI 2 has all you need for your forms.
77 |
78 | See the Bootstrap 4 demo here.
79 |
80 | 
81 |
82 | ### Text fields - Password redaction
83 |
84 | Here is my plugin to show/reveal the password with a toggle icon on a password input field, see the Bootstrap 4 demo here
85 |
86 | 
87 |
88 | ### Text fields - text field error, form validation
89 |
90 | I chose Parsley jQuery plugin to introduce form validation in Bootstrap 4, see the Bootstrap 4 demo here.
91 |
92 | 
93 |
94 | ### Text fields - touch spin, input spinner
95 |
96 | I chose bootstrapTouchSpin plugin to use spinners in Bootstrap 4, here is the concept but the plugin is not yet Bootstrap 4 compatible, see the Bootstrap 4 demo here.
97 |
98 | ### Text fields - Formatted inputs
99 |
100 | I chose inputMask plugin to enhance inputs masking, see the Bootstrap 4 demo here
101 |
102 | 
103 |
104 | ### Switches
105 |
106 | Bootstrap 4 has the [switches you need](https://djibe.github.io/material/docs/4.5/components/forms/#switches).
107 |
108 | For extra switches:
109 |
110 | I chose Bootstrap switch plugin to transform BS checkboxes and radio buttons into switches, see the demo of switches for Bootstrap 4.
111 |
112 | 
113 |
114 | ### Radio buttons alternative : use cards as radio buttons
115 |
116 | I coded a demo to apply a card styling to radio buttons.
117 | Play with my [djibe material cards as radio buttons demo ](https://jsfiddle.net/djibe89/g5nz7kmo/64/).
118 |
119 | 
120 |
121 | ### Inline editing with contenteditable
122 |
123 | I styled the HTML5 contenteditable aspect for a material look of this HTML5 standard component. See the demo for Bootstrap 4 inline editing.
124 |
125 | 
126 |
127 | ### Summernote text editor
128 |
129 | I styled Summernote plugin to give it a material look. See the demo and tutorial for Bootstrap 4 Summernote text editor.
130 |
131 | 
132 |
133 | ### Other to be delivered
134 |
135 | * Search panel
136 | * Edit-inline (X-editable)
137 |
138 | ***
139 |
140 | ## Pickers
141 |
142 | ### Time picker
143 |
144 | I forked Clockpicker plugin by Weareoutman for effective time picking in Bootstrap 4 with updated styles, see the Clockpicker for Bootstrap 4 demo.
145 |
146 | 
147 |
148 | ### Date picker
149 |
150 | Use the built-in datepicker from Daemonite material UI for effective date picking, see the Daemonite documentation here
151 |
152 | 
153 |
154 | ### DateTime picker
155 |
156 | I updated bootstrap Material Datetimepicker by t00rk plugin for effective date and time picking, see the fork here
157 |
158 | See the Bootstrap 4 demo here
159 |
160 | See the Bootstrap 4 demo with material UI here : here
161 |
162 | 
163 |
164 | ### Drag and drop files for upload
165 |
166 | I chose DropzoneJS plugin to enhence file upload, then I gave it a mterial look. See the Bootstrap 4 tutorial and demo here.
167 |
168 | 
169 |
170 | ***
171 |
172 | ## Scrollbar - smooth and design
173 |
174 | I chose m-custom-scrollbar by malihu plugin for a cross-browser custom scrollbar with smooth scroll.
175 |
176 | See the Bootstrap 4 demo here.
177 |
178 | 
179 |
180 | ## Sliders - input type="range" and alternatives
181 |
182 | ### HTML5 input range cross-browser styling
183 |
184 | Material design look for HTML5 range sliders. Pure CSS code. Works with Chrome, Safari, Firefox and Edge.
185 | Compatible with Bootstrap 4.
186 | Play with [pure CSS range sliders demo by djibe](https://jsfiddle.net/djibe89/g5nz7kmo).
187 |
188 | 
189 |
190 | ### Material design theme for ionRangeSlider plugin
191 |
192 | My material design theme for [ionRangeSlider plugin](https://github.com/IonDen/ion.rangeSlider). jQuery dependency.
193 | Play with [material theme demo for ionRangeSlider](https://djibe.github.io/material/docs/4.5/plugins/sliders-ionrangeslider/).
194 |
195 | ## Right click menu
196 |
197 | Want a context menu for your site ?
198 |
199 | See the tutorial and demo for a context menu - right click menu using Bootstrap 4
200 |
201 | 
202 |
203 | ## Other utilities for Bootstrap 4
204 |
205 | WIP, to be delivered :
206 |
207 | - Sticky content
208 |
--------------------------------------------------------------------------------
/components/flatpickr-material-design-theme/README.md:
--------------------------------------------------------------------------------
1 | # Material design theme for flatpickr v4
2 |
3 | [Flatpickr](https://github.com/flatpickr/flatpickr) is an awesome inline date picker.
4 |
5 | I did a material skin to reproduce latest [Material design studies](https://material.io/components/pickers).
6 |
7 | It fits perfectly into my [Material UI theme for Bootstrap 4](https://djibe.github.io/material/).
8 |
9 | ## Demo
10 |
11 | 
12 |
13 | You can play with my [Flatpickr fiddle](https://jsfiddle.net/djibe89/xn153qdg/) here.
14 |
15 | ## How to use
16 |
17 | Download CSS file from this repository.
18 |
19 | Add my flatpickr theme in your `head`.
20 |
21 | ```html
22 |
23 | ```
24 |
25 | Add flatpickr JavaScript before your `body` closing tag.
26 |
27 | ```html
28 |
29 | ```
30 |
31 | Declare a simple input.
32 |
33 | ```html
34 |