action_ui 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +36 -0
- data/lib/cre_pro-rails.rb +8 -0
- data/lib/cre_pro/rails.rb +7 -0
- data/lib/cre_pro/rails/version.rb +5 -0
- data/vendor/assets/javascripts/gp/gp.js +292 -0
- data/vendor/assets/javascripts/ld/bootstrap-checkbox-radio-switch-tags.js +869 -0
- data/vendor/assets/javascripts/ld/bootstrap-datetimepicker.js +2573 -0
- data/vendor/assets/javascripts/ld/bootstrap-notify.js +379 -0
- data/vendor/assets/javascripts/ld/bootstrap-selectpicker.js +1711 -0
- data/vendor/assets/javascripts/ld/bootstrap-table.js +2484 -0
- data/vendor/assets/javascripts/ld/chartist.min.js +8 -0
- data/vendor/assets/javascripts/ld/demo.js +731 -0
- data/vendor/assets/javascripts/ld/fullcalendar.min.js +9 -0
- data/vendor/assets/javascripts/ld/jquery-jvectormap.js +3381 -0
- data/vendor/assets/javascripts/ld/jquery-ui.min.js +24 -0
- data/vendor/assets/javascripts/ld/jquery.bootstrap.wizard.min.js +22 -0
- data/vendor/assets/javascripts/ld/jquery.datatables.js +15498 -0
- data/vendor/assets/javascripts/ld/jquery.min.js +5 -0
- data/vendor/assets/javascripts/ld/jquery.validate.min.js +4 -0
- data/vendor/assets/javascripts/ld/ld.js +422 -0
- data/vendor/assets/javascripts/ld/moment.min.js +7 -0
- data/vendor/assets/javascripts/ld/sweetalert2.js +877 -0
- data/vendor/assets/javascripts/mk/bootstrap-datepicker.js +474 -0
- data/vendor/assets/javascripts/mk/bootstrap.min.js +7 -0
- data/vendor/assets/javascripts/mk/jasny-bootstrap.min.js +6 -0
- data/vendor/assets/javascripts/mk/jquery.dropdown.js +378 -0
- data/vendor/assets/javascripts/mk/jquery.flexisel.js +342 -0
- data/vendor/assets/javascripts/mk/jquery.min.js +3 -0
- data/vendor/assets/javascripts/mk/jquery.tagsinput.js +355 -0
- data/vendor/assets/javascripts/mk/mk.js +191 -0
- data/vendor/assets/javascripts/mk/mk.min.js +1 -0
- data/vendor/assets/javascripts/mk/nouislider.min.js +31 -0
- data/vendor/assets/javascripts/pd/bootstrap-checkbox-radio-switch-tags.js +869 -0
- data/vendor/assets/javascripts/pd/bootstrap-datetimepicker.js +2576 -0
- data/vendor/assets/javascripts/pd/bootstrap-notify.js +379 -0
- data/vendor/assets/javascripts/pd/bootstrap-selectpicker.js +1711 -0
- data/vendor/assets/javascripts/pd/bootstrap-table.js +2484 -0
- data/vendor/assets/javascripts/pd/bootstrap.min.js +12 -0
- data/vendor/assets/javascripts/pd/chartist.min.js +9 -0
- data/vendor/assets/javascripts/pd/demo.js +911 -0
- data/vendor/assets/javascripts/pd/fullcalendar.min.js +9 -0
- data/vendor/assets/javascripts/pd/jquery-1.10.2.js +9789 -0
- data/vendor/assets/javascripts/pd/jquery-1.10.2.min.js +3 -0
- data/vendor/assets/javascripts/pd/jquery-jvectormap.js +3381 -0
- data/vendor/assets/javascripts/pd/jquery-ui.min.js +24 -0
- data/vendor/assets/javascripts/pd/jquery.bootstrap.wizard.min.js +22 -0
- data/vendor/assets/javascripts/pd/jquery.datatables.js +15498 -0
- data/vendor/assets/javascripts/pd/jquery.easypiechart.min.js +9 -0
- data/vendor/assets/javascripts/pd/jquery.min.js +5 -0
- data/vendor/assets/javascripts/pd/jquery.tagsinput.js +355 -0
- data/vendor/assets/javascripts/pd/jquery.validate.min.js +4 -0
- data/vendor/assets/javascripts/pd/moment.min.js +7 -0
- data/vendor/assets/javascripts/pd/pd.js +335 -0
- data/vendor/assets/javascripts/pd/sweetalert2.js +877 -0
- data/vendor/assets/javascripts/pk/bootstrap-datepicker.js +492 -0
- data/vendor/assets/javascripts/pk/bootstrap-select.js +1711 -0
- data/vendor/assets/javascripts/pk/chartist.min.js +8 -0
- data/vendor/assets/javascripts/pk/ct-pk-bootstrapswitch.js +249 -0
- data/vendor/assets/javascripts/pk/ct-pk-checkbox.js +109 -0
- data/vendor/assets/javascripts/pk/ct-pk-radio.js +140 -0
- data/vendor/assets/javascripts/pk/ct-pk.js +305 -0
- data/vendor/assets/javascripts/pk/demo.js +289 -0
- data/vendor/assets/javascripts/pk/jasny-bootstrap.min.js +6 -0
- data/vendor/assets/javascripts/pk/jquery-1.10.2.js +9789 -0
- data/vendor/assets/javascripts/pk/jquery-ui-1.10.4.custom.min.js +6 -0
- data/vendor/assets/javascripts/pk/jquery.tagsinput.js +355 -0
- data/vendor/assets/javascripts/pk/photo_swipe/init-gallery.js +205 -0
- data/vendor/assets/javascripts/pk/photo_swipe/photoswipe-ui-default.min.js +4 -0
- data/vendor/assets/javascripts/pk/photo_swipe/photoswipe.min.js +4 -0
- data/vendor/assets/javascripts/pk/presentation-page/atv-img-min.js +233 -0
- data/vendor/assets/javascripts/pk/presentation-page/jquery.sharrre.js +585 -0
- data/vendor/assets/javascripts/sd/bootstrap-datepicker.js +492 -0
- data/vendor/assets/javascripts/sd/bootstrap-select.js +1711 -0
- data/vendor/assets/javascripts/sd/chartist.min.js +8 -0
- data/vendor/assets/javascripts/sd/demo.js +227 -0
- data/vendor/assets/javascripts/sd/jquery-ui.custom.min.js +7 -0
- data/vendor/assets/javascripts/sd/jquery.flexisel.js +342 -0
- data/vendor/assets/javascripts/sd/jquery.js +9789 -0
- data/vendor/assets/javascripts/sd/jquery.tagsinput.js +355 -0
- data/vendor/assets/javascripts/sd/retina.min.js +10 -0
- data/vendor/assets/javascripts/sd/sd-bootstrapswitch.js +249 -0
- data/vendor/assets/javascripts/sd/sd-checkbox.js +109 -0
- data/vendor/assets/javascripts/sd/sd-morphing.js +89 -0
- data/vendor/assets/javascripts/sd/sd-radio.js +140 -0
- data/vendor/assets/javascripts/sd/sd.js +398 -0
- data/vendor/assets/stylesheets/gp/components/_buttons.scss +121 -0
- data/vendor/assets/stylesheets/gp/components/_cards.scss +271 -0
- data/vendor/assets/stylesheets/gp/components/_carousel.scss +15 -0
- data/vendor/assets/stylesheets/gp/components/_clients.scss +172 -0
- data/vendor/assets/stylesheets/gp/components/_closure.scss +19 -0
- data/vendor/assets/stylesheets/gp/components/_contact.scss +93 -0
- data/vendor/assets/stylesheets/gp/components/_dropdown.scss +173 -0
- data/vendor/assets/stylesheets/gp/components/_example-pages.scss +524 -0
- data/vendor/assets/stylesheets/gp/components/_footers.scss +191 -0
- data/vendor/assets/stylesheets/gp/components/_headers.scss +72 -0
- data/vendor/assets/stylesheets/gp/components/_inputs.scss +145 -0
- data/vendor/assets/stylesheets/gp/components/_labels.scss +15 -0
- data/vendor/assets/stylesheets/gp/components/_misc.scss +332 -0
- data/vendor/assets/stylesheets/gp/components/_mixins.scss +11 -0
- data/vendor/assets/stylesheets/gp/components/_navbars.scss +252 -0
- data/vendor/assets/stylesheets/gp/components/_numbers.scss +61 -0
- data/vendor/assets/stylesheets/gp/components/_projects.scss +279 -0
- data/vendor/assets/stylesheets/gp/components/_responsive.scss +950 -0
- data/vendor/assets/stylesheets/gp/components/_sections.scss +328 -0
- data/vendor/assets/stylesheets/gp/components/_social-buttons.scss +30 -0
- data/vendor/assets/stylesheets/gp/components/_team.scss +182 -0
- data/vendor/assets/stylesheets/gp/components/_theme.scss +22 -0
- data/vendor/assets/stylesheets/gp/components/_typography.scss +252 -0
- data/vendor/assets/stylesheets/gp/components/_variables.scss +267 -0
- data/vendor/assets/stylesheets/gp/components/mixins/_buttons.scss +61 -0
- data/vendor/assets/stylesheets/gp/components/mixins/_cards.scss +8 -0
- data/vendor/assets/stylesheets/gp/components/mixins/_inputs.scss +17 -0
- data/vendor/assets/stylesheets/gp/components/mixins/_navbars.scss +11 -0
- data/vendor/assets/stylesheets/gp/components/mixins/_transparency.scss +20 -0
- data/vendor/assets/stylesheets/gp/components/mixins/_vendor-prefixes.scss +284 -0
- data/vendor/assets/stylesheets/gp/gp.scss +30 -0
- data/vendor/assets/stylesheets/ld/ld.scss +53 -0
- data/vendor/assets/stylesheets/ld/ld/_alerts.scss +82 -0
- data/vendor/assets/stylesheets/ld/ld/_buttons.scss +123 -0
- data/vendor/assets/stylesheets/ld/ld/_cards.scss +315 -0
- data/vendor/assets/stylesheets/ld/ld/_carousel.scss +15 -0
- data/vendor/assets/stylesheets/ld/ld/_checkbox-radio-switch.scss +253 -0
- data/vendor/assets/stylesheets/ld/ld/_collapse.scss +49 -0
- data/vendor/assets/stylesheets/ld/ld/_dropdown.scss +176 -0
- data/vendor/assets/stylesheets/ld/ld/_footers.scss +155 -0
- data/vendor/assets/stylesheets/ld/ld/_forms.scss +41 -0
- data/vendor/assets/stylesheets/ld/ld/_inputs.scss +170 -0
- data/vendor/assets/stylesheets/ld/ld/_labels.scss +54 -0
- data/vendor/assets/stylesheets/ld/ld/_media.scss +80 -0
- data/vendor/assets/stylesheets/ld/ld/_misc.scss +87 -0
- data/vendor/assets/stylesheets/ld/ld/_mixins.scss +22 -0
- data/vendor/assets/stylesheets/ld/ld/_modal.scss +79 -0
- data/vendor/assets/stylesheets/ld/ld/_navbars.scss +362 -0
- data/vendor/assets/stylesheets/ld/ld/_pages.scss +215 -0
- data/vendor/assets/stylesheets/ld/ld/_progress-bars.scss +26 -0
- data/vendor/assets/stylesheets/ld/ld/_responsive.scss +647 -0
- data/vendor/assets/stylesheets/ld/ld/_sidebar-and-main-panel.scss +576 -0
- data/vendor/assets/stylesheets/ld/ld/_sliders.scss +219 -0
- data/vendor/assets/stylesheets/ld/ld/_social-buttons.scss +77 -0
- data/vendor/assets/stylesheets/ld/ld/_tables.scss +120 -0
- data/vendor/assets/stylesheets/ld/ld/_tabs-navs-pagination.scss +302 -0
- data/vendor/assets/stylesheets/ld/ld/_tags.scss +123 -0
- data/vendor/assets/stylesheets/ld/ld/_tooltips-and-popovers.scss +156 -0
- data/vendor/assets/stylesheets/ld/ld/_typography.scss +93 -0
- data/vendor/assets/stylesheets/ld/ld/_variables.scss +319 -0
- data/vendor/assets/stylesheets/ld/ld/mixins/_buttons.scss +74 -0
- data/vendor/assets/stylesheets/ld/ld/mixins/_cards.scss +8 -0
- data/vendor/assets/stylesheets/ld/ld/mixins/_chartist.scss +85 -0
- data/vendor/assets/stylesheets/ld/ld/mixins/_icons.scss +13 -0
- data/vendor/assets/stylesheets/ld/ld/mixins/_inputs.scss +17 -0
- data/vendor/assets/stylesheets/ld/ld/mixins/_labels.scss +21 -0
- data/vendor/assets/stylesheets/ld/ld/mixins/_morphing-buttons.scss +34 -0
- data/vendor/assets/stylesheets/ld/ld/mixins/_navbars.scss +11 -0
- data/vendor/assets/stylesheets/ld/ld/mixins/_social-buttons.scss +43 -0
- data/vendor/assets/stylesheets/ld/ld/mixins/_table-row.scss +22 -0
- data/vendor/assets/stylesheets/ld/ld/mixins/_tabs.scss +4 -0
- data/vendor/assets/stylesheets/ld/ld/mixins/_transparency.scss +20 -0
- data/vendor/assets/stylesheets/ld/ld/mixins/_vendor-prefixes.scss +197 -0
- data/vendor/assets/stylesheets/ld/ld/plugins/_animate.scss +188 -0
- data/vendor/assets/stylesheets/ld/ld/plugins/_bootstrap-select.scss +308 -0
- data/vendor/assets/stylesheets/ld/ld/plugins/_bootstrap-table.scss +328 -0
- data/vendor/assets/stylesheets/ld/ld/plugins/_chartist.scss +247 -0
- data/vendor/assets/stylesheets/ld/ld/plugins/_datatables.net.scss +513 -0
- data/vendor/assets/stylesheets/ld/ld/plugins/_datetime-picker.scss +440 -0
- data/vendor/assets/stylesheets/ld/ld/plugins/_fullcalendar.scss +1114 -0
- data/vendor/assets/stylesheets/ld/ld/plugins/_jquery.jvectormap.scss +135 -0
- data/vendor/assets/stylesheets/ld/ld/plugins/_perfect-scrollbar.scss +111 -0
- data/vendor/assets/stylesheets/ld/ld/plugins/_sweetalert2.scss +531 -0
- data/vendor/assets/stylesheets/mk/mk.scss +50 -0
- data/vendor/assets/stylesheets/mk/mk/_alerts.scss +41 -0
- data/vendor/assets/stylesheets/mk/mk/_buttons.scss +283 -0
- data/vendor/assets/stylesheets/mk/mk/_cards.scss +576 -0
- data/vendor/assets/stylesheets/mk/mk/_carousel.scss +86 -0
- data/vendor/assets/stylesheets/mk/mk/_checkboxes.scss +195 -0
- data/vendor/assets/stylesheets/mk/mk/_colors.scss +326 -0
- data/vendor/assets/stylesheets/mk/mk/_dialogs.scss +99 -0
- data/vendor/assets/stylesheets/mk/mk/_dividers.scss +73 -0
- data/vendor/assets/stylesheets/mk/mk/_dropdown.scss +86 -0
- data/vendor/assets/stylesheets/mk/mk/_example-pages.scss +775 -0
- data/vendor/assets/stylesheets/mk/mk/_fileupload.scss +115 -0
- data/vendor/assets/stylesheets/mk/mk/_flexisel.scss +54 -0
- data/vendor/assets/stylesheets/mk/mk/_form.scss +58 -0
- data/vendor/assets/stylesheets/mk/mk/_images.scss +6 -0
- data/vendor/assets/stylesheets/mk/mk/_import-bs-less.scss +4 -0
- data/vendor/assets/stylesheets/mk/mk/_import-bs-sass.scss +2 -0
- data/vendor/assets/stylesheets/mk/mk/_info-areas.scss +57 -0
- data/vendor/assets/stylesheets/mk/mk/_inputs-size.scss +223 -0
- data/vendor/assets/stylesheets/mk/mk/_inputs.scss +394 -0
- data/vendor/assets/stylesheets/mk/mk/_labels.scss +10 -0
- data/vendor/assets/stylesheets/mk/mk/_lists.scss +104 -0
- data/vendor/assets/stylesheets/mk/mk/_media.scss +47 -0
- data/vendor/assets/stylesheets/mk/mk/_misc.scss +94 -0
- data/vendor/assets/stylesheets/mk/mk/_mixins.scss +413 -0
- data/vendor/assets/stylesheets/mk/mk/_navbar.scss +311 -0
- data/vendor/assets/stylesheets/mk/mk/_pagination.scss +91 -0
- data/vendor/assets/stylesheets/mk/mk/_panels.scss +47 -0
- data/vendor/assets/stylesheets/mk/mk/_pills.scss +128 -0
- data/vendor/assets/stylesheets/mk/mk/_popups.scss +77 -0
- data/vendor/assets/stylesheets/mk/mk/_progress.scss +33 -0
- data/vendor/assets/stylesheets/mk/mk/_radios.scss +114 -0
- data/vendor/assets/stylesheets/mk/mk/_responsive.scss +115 -0
- data/vendor/assets/stylesheets/mk/mk/_ripples.scss +40 -0
- data/vendor/assets/stylesheets/mk/mk/_sections.scss +131 -0
- data/vendor/assets/stylesheets/mk/mk/_select.scss +108 -0
- data/vendor/assets/stylesheets/mk/mk/_shadows.scss +138 -0
- data/vendor/assets/stylesheets/mk/mk/_tables.scss +104 -0
- data/vendor/assets/stylesheets/mk/mk/_tabs.scss +53 -0
- data/vendor/assets/stylesheets/mk/mk/_tags.scss +97 -0
- data/vendor/assets/stylesheets/mk/mk/_togglebutton.scss +87 -0
- data/vendor/assets/stylesheets/mk/mk/_typography.scss +75 -0
- data/vendor/assets/stylesheets/mk/mk/_variables.scss +224 -0
- data/vendor/assets/stylesheets/mk/mk/_variables_bootstrap.scss +883 -0
- data/vendor/assets/stylesheets/mk/mk/_welljumbo.scss +28 -0
- data/vendor/assets/stylesheets/mk/mk/plugins/_plugin-datepicker.scss +204 -0
- data/vendor/assets/stylesheets/mk/mk/plugins/_plugin-nouislider.scss +161 -0
- data/vendor/assets/stylesheets/mk/mk/plugins/_plugin-selectize.scss +93 -0
- data/vendor/assets/stylesheets/mk/mk/plugins/_plugin-snackbarjs.scss +34 -0
- data/vendor/assets/stylesheets/mk/mk/sections/_blogs.scss +17 -0
- data/vendor/assets/stylesheets/mk/mk/sections/_contactus.scss +51 -0
- data/vendor/assets/stylesheets/mk/mk/sections/_features.scss +92 -0
- data/vendor/assets/stylesheets/mk/mk/sections/_footers.scss +163 -0
- data/vendor/assets/stylesheets/mk/mk/sections/_headers.scss +125 -0
- data/vendor/assets/stylesheets/mk/mk/sections/_pricing.scss +40 -0
- data/vendor/assets/stylesheets/mk/mk/sections/_projects.scss +75 -0
- data/vendor/assets/stylesheets/mk/mk/sections/_social-subscribe-lines.scss +71 -0
- data/vendor/assets/stylesheets/mk/mk/sections/_team.scss +53 -0
- data/vendor/assets/stylesheets/mk/mk/sections/_testimonials.scss +5 -0
- data/vendor/assets/stylesheets/pd/pd.scss +51 -0
- data/vendor/assets/stylesheets/pd/pd/_alerts.scss +60 -0
- data/vendor/assets/stylesheets/pd/pd/_animated-buttons.scss +61 -0
- data/vendor/assets/stylesheets/pd/pd/_buttons.scss +173 -0
- data/vendor/assets/stylesheets/pd/pd/_cards.scss +546 -0
- data/vendor/assets/stylesheets/pd/pd/_carousel.scss +15 -0
- data/vendor/assets/stylesheets/pd/pd/_chat-message.scss +206 -0
- data/vendor/assets/stylesheets/pd/pd/_checkbox-radio.scss +126 -0
- data/vendor/assets/stylesheets/pd/pd/_circlechart.scss +18 -0
- data/vendor/assets/stylesheets/pd/pd/_collapse.scss +40 -0
- data/vendor/assets/stylesheets/pd/pd/_dropdown.scss +413 -0
- data/vendor/assets/stylesheets/pd/pd/_footers.scss +87 -0
- data/vendor/assets/stylesheets/pd/pd/_forms.scss +43 -0
- data/vendor/assets/stylesheets/pd/pd/_inputs.scss +190 -0
- data/vendor/assets/stylesheets/pd/pd/_labels.scss +29 -0
- data/vendor/assets/stylesheets/pd/pd/_media.scss +80 -0
- data/vendor/assets/stylesheets/pd/pd/_misc.scss +104 -0
- data/vendor/assets/stylesheets/pd/pd/_mixins.scss +17 -0
- data/vendor/assets/stylesheets/pd/pd/_modal.scss +79 -0
- data/vendor/assets/stylesheets/pd/pd/_navbars.scss +289 -0
- data/vendor/assets/stylesheets/pd/pd/_pages.scss +196 -0
- data/vendor/assets/stylesheets/pd/pd/_progress-bars.scss +27 -0
- data/vendor/assets/stylesheets/pd/pd/_responsive.scss +666 -0
- data/vendor/assets/stylesheets/pd/pd/_sidebar-and-main-panel.scss +514 -0
- data/vendor/assets/stylesheets/pd/pd/_sliders.scss +222 -0
- data/vendor/assets/stylesheets/pd/pd/_social.scss +130 -0
- data/vendor/assets/stylesheets/pd/pd/_switch.scss +145 -0
- data/vendor/assets/stylesheets/pd/pd/_tables.scss +194 -0
- data/vendor/assets/stylesheets/pd/pd/_tabs-navs-pagination.scss +341 -0
- data/vendor/assets/stylesheets/pd/pd/_tags.scss +104 -0
- data/vendor/assets/stylesheets/pd/pd/_timeline.scss +178 -0
- data/vendor/assets/stylesheets/pd/pd/_tooltips-and-popovers.scss +156 -0
- data/vendor/assets/stylesheets/pd/pd/_typography.scss +117 -0
- data/vendor/assets/stylesheets/pd/pd/_variables.scss +367 -0
- data/vendor/assets/stylesheets/pd/pd/mixins/_alerts.scss +13 -0
- data/vendor/assets/stylesheets/pd/pd/mixins/_buttons.scss +89 -0
- data/vendor/assets/stylesheets/pd/pd/mixins/_cards.scss +7 -0
- data/vendor/assets/stylesheets/pd/pd/mixins/_chartist.scss +104 -0
- data/vendor/assets/stylesheets/pd/pd/mixins/_icons.scss +13 -0
- data/vendor/assets/stylesheets/pd/pd/mixins/_inputs.scss +17 -0
- data/vendor/assets/stylesheets/pd/pd/mixins/_labels.scss +10 -0
- data/vendor/assets/stylesheets/pd/pd/mixins/_navbars.scss +11 -0
- data/vendor/assets/stylesheets/pd/pd/mixins/_sidebar.scss +54 -0
- data/vendor/assets/stylesheets/pd/pd/mixins/_social.scss +68 -0
- data/vendor/assets/stylesheets/pd/pd/mixins/_table-row.scss +22 -0
- data/vendor/assets/stylesheets/pd/pd/mixins/_tabs.scss +4 -0
- data/vendor/assets/stylesheets/pd/pd/mixins/_transparency.scss +20 -0
- data/vendor/assets/stylesheets/pd/pd/mixins/_vendor-prefixes.scss +254 -0
- data/vendor/assets/stylesheets/pd/pd/plugins/_animate.scss +189 -0
- data/vendor/assets/stylesheets/pd/pd/plugins/_bootstrap-select.scss +313 -0
- data/vendor/assets/stylesheets/pd/pd/plugins/_bootstrap-table.scss +375 -0
- data/vendor/assets/stylesheets/pd/pd/plugins/_chartist.scss +246 -0
- data/vendor/assets/stylesheets/pd/pd/plugins/_datatables.net.scss +504 -0
- data/vendor/assets/stylesheets/pd/pd/plugins/_datetime-picker.scss +418 -0
- data/vendor/assets/stylesheets/pd/pd/plugins/_fullcalendar.scss +1124 -0
- data/vendor/assets/stylesheets/pd/pd/plugins/_jquery.jvectormap.scss +135 -0
- data/vendor/assets/stylesheets/pd/pd/plugins/_perfect-scrollbar.scss +112 -0
- data/vendor/assets/stylesheets/pd/pd/plugins/_sweetalert2.scss +531 -0
- data/vendor/assets/stylesheets/pk/ct-pk.scss +64 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_alerts.scss +69 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_animated-buttons.scss +63 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_bootstrap-select.scss +320 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_buttons.scss +161 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_cards.scss +570 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_carousel.scss +59 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_chartist.scss +354 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_checkbox-radio.scss +129 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_collapse.scss +40 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_datepicker.scss +198 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_dropdown.scss +291 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_fileupload.scss +112 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_footers.scss +193 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_headers.scss +85 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_images.scss +28 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_info-areas.scss +62 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_inputs.scss +171 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_labels.scss +29 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_media.scss +82 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_misc.scss +124 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_mixins.scss +16 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_modal.scss +91 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_navbars.scss +285 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_preloaders.scss +282 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_progress-bars.scss +27 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_responsive.scss +411 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_sections.scss +45 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_sidebar.scss +206 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_sliders.scss +222 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_social.scss +130 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_switch.scss +145 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_tables.scss +135 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_tabs-navs-pagination.scss +311 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_tags.scss +108 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_tooltips-and-popovers.scss +188 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_typography.scss +106 -0
- data/vendor/assets/stylesheets/pk/ct-pk/_variables.scss +301 -0
- data/vendor/assets/stylesheets/pk/ct-pk/mixins/_alerts.scss +11 -0
- data/vendor/assets/stylesheets/pk/ct-pk/mixins/_buttons.scss +104 -0
- data/vendor/assets/stylesheets/pk/ct-pk/mixins/_inputs.scss +17 -0
- data/vendor/assets/stylesheets/pk/ct-pk/mixins/_labels.scss +10 -0
- data/vendor/assets/stylesheets/pk/ct-pk/mixins/_navbars.scss +11 -0
- data/vendor/assets/stylesheets/pk/ct-pk/mixins/_popovers.scss +21 -0
- data/vendor/assets/stylesheets/pk/ct-pk/mixins/_social.scss +68 -0
- data/vendor/assets/stylesheets/pk/ct-pk/mixins/_tabs.scss +4 -0
- data/vendor/assets/stylesheets/pk/ct-pk/mixins/_transparency.scss +17 -0
- data/vendor/assets/stylesheets/pk/ct-pk/mixins/_vendor-prefixes.scss +233 -0
- data/vendor/assets/stylesheets/pk/ct-pk/plugins/photo-swipe/_default-skin.scss +592 -0
- data/vendor/assets/stylesheets/pk/ct-pk/plugins/photo-swipe/_gallery.scss +27 -0
- data/vendor/assets/stylesheets/pk/ct-pk/plugins/photo-swipe/_main-settings.scss +11 -0
- data/vendor/assets/stylesheets/pk/ct-pk/plugins/photo-swipe/_main.scss +213 -0
- data/vendor/assets/stylesheets/pk/examples.scss +1083 -0
- data/vendor/assets/stylesheets/sd/examples.scss +403 -0
- data/vendor/assets/stylesheets/sd/sd.scss +41 -0
- data/vendor/assets/stylesheets/sd/sd/_alerts.scss +37 -0
- data/vendor/assets/stylesheets/sd/sd/_bootstrap-select.scss +307 -0
- data/vendor/assets/stylesheets/sd/sd/_buttons.scss +108 -0
- data/vendor/assets/stylesheets/sd/sd/_cards.scss +462 -0
- data/vendor/assets/stylesheets/sd/sd/_carousel.scss +15 -0
- data/vendor/assets/stylesheets/sd/sd/_chartist.scss +335 -0
- data/vendor/assets/stylesheets/sd/sd/_checkbox-radio-switch.scss +246 -0
- data/vendor/assets/stylesheets/sd/sd/_collapse.scss +33 -0
- data/vendor/assets/stylesheets/sd/sd/_datepicker.scss +199 -0
- data/vendor/assets/stylesheets/sd/sd/_dropdown.scss +98 -0
- data/vendor/assets/stylesheets/sd/sd/_flexisel.scss +53 -0
- data/vendor/assets/stylesheets/sd/sd/_footers.scss +216 -0
- data/vendor/assets/stylesheets/sd/sd/_icons.scss +127 -0
- data/vendor/assets/stylesheets/sd/sd/_inputs.scss +141 -0
- data/vendor/assets/stylesheets/sd/sd/_labels.scss +54 -0
- data/vendor/assets/stylesheets/sd/sd/_media.scss +80 -0
- data/vendor/assets/stylesheets/sd/sd/_misc.scss +115 -0
- data/vendor/assets/stylesheets/sd/sd/_mixins.scss +20 -0
- data/vendor/assets/stylesheets/sd/sd/_modal.scss +79 -0
- data/vendor/assets/stylesheets/sd/sd/_morphing-buttons.scss +161 -0
- data/vendor/assets/stylesheets/sd/sd/_navbars.scss +293 -0
- data/vendor/assets/stylesheets/sd/sd/_progress-bars.scss +9 -0
- data/vendor/assets/stylesheets/sd/sd/_responsive.scss +302 -0
- data/vendor/assets/stylesheets/sd/sd/_sections.scss +12 -0
- data/vendor/assets/stylesheets/sd/sd/_sidebar-menu.scss +232 -0
- data/vendor/assets/stylesheets/sd/sd/_sliders.scss +218 -0
- data/vendor/assets/stylesheets/sd/sd/_social-buttons.scss +76 -0
- data/vendor/assets/stylesheets/sd/sd/_tables.scss +110 -0
- data/vendor/assets/stylesheets/sd/sd/_tabs-navs-pagination.scss +217 -0
- data/vendor/assets/stylesheets/sd/sd/_tags.scss +220 -0
- data/vendor/assets/stylesheets/sd/sd/_tooltips-and-popovers.scss +156 -0
- data/vendor/assets/stylesheets/sd/sd/_typography.scss +73 -0
- data/vendor/assets/stylesheets/sd/sd/_variables.scss +249 -0
- data/vendor/assets/stylesheets/sd/sd/mixins/_buttons.scss +76 -0
- data/vendor/assets/stylesheets/sd/sd/mixins/_cards.scss +8 -0
- data/vendor/assets/stylesheets/sd/sd/mixins/_icons.scss +13 -0
- data/vendor/assets/stylesheets/sd/sd/mixins/_inputs.scss +17 -0
- data/vendor/assets/stylesheets/sd/sd/mixins/_labels.scss +21 -0
- data/vendor/assets/stylesheets/sd/sd/mixins/_morphing-buttons.scss +34 -0
- data/vendor/assets/stylesheets/sd/sd/mixins/_navbars.scss +11 -0
- data/vendor/assets/stylesheets/sd/sd/mixins/_social-buttons.scss +43 -0
- data/vendor/assets/stylesheets/sd/sd/mixins/_tabs.scss +4 -0
- data/vendor/assets/stylesheets/sd/sd/mixins/_transparency.scss +20 -0
- data/vendor/assets/stylesheets/sd/sd/mixins/_vendor-prefixes.scss +177 -0
- metadata +484 -0
@@ -0,0 +1,109 @@
|
|
1
|
+
!function ($) {
|
2
|
+
|
3
|
+
/* CHECKBOX PUBLIC CLASS DEFINITION
|
4
|
+
* ============================== */
|
5
|
+
|
6
|
+
var Checkbox = function (element, options) {
|
7
|
+
this.init(element, options);
|
8
|
+
}
|
9
|
+
|
10
|
+
Checkbox.prototype = {
|
11
|
+
|
12
|
+
constructor: Checkbox
|
13
|
+
|
14
|
+
, init: function (element, options) {
|
15
|
+
var $el = this.$element = $(element)
|
16
|
+
|
17
|
+
this.options = $.extend({}, $.fn.checkbox.defaults, options);
|
18
|
+
$el.before(this.options.template);
|
19
|
+
this.setState();
|
20
|
+
}
|
21
|
+
|
22
|
+
, setState: function () {
|
23
|
+
var $el = this.$element
|
24
|
+
, $parent = $el.closest('.checkbox');
|
25
|
+
|
26
|
+
$el.prop('disabled') && $parent.addClass('disabled');
|
27
|
+
$el.prop('checked') && $parent.addClass('checked');
|
28
|
+
}
|
29
|
+
|
30
|
+
, toggle: function () {
|
31
|
+
var ch = 'checked'
|
32
|
+
, $el = this.$element
|
33
|
+
, $parent = $el.closest('.checkbox')
|
34
|
+
, checked = $el.prop(ch)
|
35
|
+
, e = $.Event('toggle')
|
36
|
+
|
37
|
+
if ($el.prop('disabled') == false) {
|
38
|
+
$parent.toggleClass(ch) && checked ? $el.removeAttr(ch) : $el.prop(ch, ch);
|
39
|
+
$el.trigger(e).trigger('change');
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
, setCheck: function (option) {
|
44
|
+
var d = 'disabled'
|
45
|
+
, ch = 'checked'
|
46
|
+
, $el = this.$element
|
47
|
+
, $parent = $el.closest('.checkbox')
|
48
|
+
, checkAction = option == 'check' ? true : false
|
49
|
+
, e = $.Event(option)
|
50
|
+
|
51
|
+
$parent[checkAction ? 'addClass' : 'removeClass' ](ch) && checkAction ? $el.prop(ch, ch) : $el.removeAttr(ch);
|
52
|
+
$el.trigger(e).trigger('change');
|
53
|
+
}
|
54
|
+
|
55
|
+
}
|
56
|
+
|
57
|
+
|
58
|
+
/* CHECKBOX PLUGIN DEFINITION
|
59
|
+
* ======================== */
|
60
|
+
|
61
|
+
var old = $.fn.checkbox
|
62
|
+
|
63
|
+
$.fn.checkbox = function (option) {
|
64
|
+
return this.each(function () {
|
65
|
+
var $this = $(this)
|
66
|
+
, data = $this.data('checkbox')
|
67
|
+
, options = $.extend({}, $.fn.checkbox.defaults, $this.data(), typeof option == 'object' && option);
|
68
|
+
if (!data) $this.data('checkbox', (data = new Checkbox(this, options)));
|
69
|
+
if (option == 'toggle') data.toggle()
|
70
|
+
if (option == 'check' || option == 'uncheck') data.setCheck(option)
|
71
|
+
else if (option) data.setState();
|
72
|
+
});
|
73
|
+
}
|
74
|
+
|
75
|
+
$.fn.checkbox.defaults = {
|
76
|
+
template: '<span class="icons"><span class="first-icon fa fa-square-o"></span><span class="second-icon fa fa-check-square-o"></span></span>'
|
77
|
+
}
|
78
|
+
|
79
|
+
|
80
|
+
/* CHECKBOX NO CONFLICT
|
81
|
+
* ================== */
|
82
|
+
|
83
|
+
$.fn.checkbox.noConflict = function () {
|
84
|
+
$.fn.checkbox = old;
|
85
|
+
return this;
|
86
|
+
}
|
87
|
+
|
88
|
+
|
89
|
+
/* CHECKBOX DATA-API
|
90
|
+
* =============== */
|
91
|
+
|
92
|
+
$(document).on('click.checkbox.data-api', '[data-toggle^=checkbox], .checkbox', function (e) {
|
93
|
+
var $checkbox = $(e.target);
|
94
|
+
if (e.target.tagName != "A") {
|
95
|
+
e && e.preventDefault() && e.stopPropagation();
|
96
|
+
if (!$checkbox.hasClass('checkbox')) $checkbox = $checkbox.closest('.checkbox');
|
97
|
+
$checkbox.find(':checkbox').checkbox('toggle');
|
98
|
+
}
|
99
|
+
});
|
100
|
+
|
101
|
+
$(function () {
|
102
|
+
$('[data-toggle="checkbox"]').each(function () {
|
103
|
+
var $checkbox = $(this);
|
104
|
+
$checkbox.checkbox();
|
105
|
+
});
|
106
|
+
});
|
107
|
+
|
108
|
+
}(window.jQuery);
|
109
|
+
|
@@ -0,0 +1,89 @@
|
|
1
|
+
!function ($) {
|
2
|
+
|
3
|
+
var old = $.fn.morphingButton
|
4
|
+
|
5
|
+
$.fn.morphingButton = function (option) {
|
6
|
+
var $this = $(this);
|
7
|
+
|
8
|
+
if(option == undefined){
|
9
|
+
|
10
|
+
$(this).wrap('<div class="btn-morphing"/>');
|
11
|
+
$(this).addClass('btn-toggle');
|
12
|
+
$container = $(this).parent('.btn-morphing');
|
13
|
+
$container.append('<span class="fa"/>');
|
14
|
+
|
15
|
+
if($(this).hasClass('btn-lg')){
|
16
|
+
$container.append('<svg width="55px" height="55px"><path class="circle" transform="rotate(90, 27.5, 27.5)" d="m2.5,27.5c0,-13.81215 11.18785,-25 25,-25c13.81215,0 25,11.18785 25,25c0,13.81215 -11.18785,25 -25,25c-13.81215,0 -25,-11.18785 -25,-25z"/></svg>');
|
17
|
+
$container.addClass('morphing-lg');
|
18
|
+
} else {
|
19
|
+
$container.append('<svg width="40px" height="40px"><path class="circle" transform="rotate(90, 20,20)" d="m1,20c0,-10.49724 8.50276,-19 19,-19c10.49724,0 19,8.50276 19,19c0,10.49724 -8.50276,19 -19,19c-10.49724,0 -19,-8.50276 -19,-19z"/></svg>');
|
20
|
+
}
|
21
|
+
|
22
|
+
if($(this).hasClass('btn-round')){
|
23
|
+
$container.find('path').css('stroke-width','1px');
|
24
|
+
}
|
25
|
+
|
26
|
+
$(this).click(function(){
|
27
|
+
button = this;
|
28
|
+
|
29
|
+
$rotation_color = $(this).data('rotation-color');
|
30
|
+
$parent = $(this).parent('.btn-morphing');
|
31
|
+
$path = $parent.find('path');
|
32
|
+
$svg = $parent.find('svg');
|
33
|
+
|
34
|
+
$(this).addClass('resize');
|
35
|
+
$(this).html('');
|
36
|
+
|
37
|
+
setTimeout(function(){
|
38
|
+
$(button).css('border-color','transparent');
|
39
|
+
$svg.attr('class','rotation-animate');
|
40
|
+
$path.attr('class','circle circle-animation');
|
41
|
+
if($rotation_color != undefined && $rotation_color != ''){
|
42
|
+
$path.attr('class','circle circle-animation circle-' + $rotation_color);
|
43
|
+
} else {
|
44
|
+
$path.attr('class','circle circle-animation circle-gray');
|
45
|
+
}
|
46
|
+
|
47
|
+
$parent.find('span').css('display','block');
|
48
|
+
$parent.find('svg').css('display','block');
|
49
|
+
$(button).css('pointer-events','none');
|
50
|
+
|
51
|
+
}, 420);
|
52
|
+
|
53
|
+
|
54
|
+
});
|
55
|
+
|
56
|
+
} else if(option){
|
57
|
+
|
58
|
+
if(option.action == 'setState'){
|
59
|
+
state = option.state;
|
60
|
+
icon = option.icon;
|
61
|
+
|
62
|
+
$item = $(this);
|
63
|
+
|
64
|
+
$parent = $item.parent('.btn-morphing');
|
65
|
+
$parent.addClass('morphing-' + state);
|
66
|
+
$path = $parent.find('path');
|
67
|
+
$svg = $parent.find('svg');
|
68
|
+
$parent.find('.fa').addClass(icon).addClass('visible');
|
69
|
+
|
70
|
+
$path.css('stroke-dashoffset',0).attr('class','circle');;
|
71
|
+
|
72
|
+
setTimeout(function(){
|
73
|
+
$svg.removeAttr('class');
|
74
|
+
}, 500);
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
|
79
|
+
/* CHECKBOX NO CONFLICT
|
80
|
+
* ================== */
|
81
|
+
|
82
|
+
$.fn.morphingButton.noConflict = function () {
|
83
|
+
$.fn.morphingButton = old;
|
84
|
+
return this;
|
85
|
+
}
|
86
|
+
|
87
|
+
|
88
|
+
}(window.jQuery);
|
89
|
+
|
@@ -0,0 +1,140 @@
|
|
1
|
+
/* =============================================================
|
2
|
+
* flatui-radio v0.0.3
|
3
|
+
* ============================================================ */
|
4
|
+
|
5
|
+
!function ($) {
|
6
|
+
|
7
|
+
/* RADIO PUBLIC CLASS DEFINITION
|
8
|
+
* ============================== */
|
9
|
+
|
10
|
+
var Radio = function (element, options) {
|
11
|
+
this.init(element, options);
|
12
|
+
}
|
13
|
+
|
14
|
+
Radio.prototype = {
|
15
|
+
|
16
|
+
constructor: Radio
|
17
|
+
|
18
|
+
, init: function (element, options) {
|
19
|
+
var $el = this.$element = $(element)
|
20
|
+
|
21
|
+
this.options = $.extend({}, $.fn.radio.defaults, options);
|
22
|
+
$el.before(this.options.template);
|
23
|
+
this.setState();
|
24
|
+
}
|
25
|
+
|
26
|
+
, setState: function () {
|
27
|
+
var $el = this.$element
|
28
|
+
, $parent = $el.closest('.radio');
|
29
|
+
|
30
|
+
$el.prop('disabled') && $parent.addClass('disabled');
|
31
|
+
$el.prop('checked') && $parent.addClass('checked');
|
32
|
+
}
|
33
|
+
|
34
|
+
, toggle: function () {
|
35
|
+
var d = 'disabled'
|
36
|
+
, ch = 'checked'
|
37
|
+
, $el = this.$element
|
38
|
+
, checked = $el.prop(ch)
|
39
|
+
, $parent = $el.closest('.radio')
|
40
|
+
, $parentWrap = $el.closest('form').length ? $el.closest('form') : $el.closest('body')
|
41
|
+
, $elemGroup = $parentWrap.find(':radio[name="' + $el.attr('name') + '"]')
|
42
|
+
, e = $.Event('toggle')
|
43
|
+
|
44
|
+
if ($el.prop(d) == false) {
|
45
|
+
$elemGroup.not($el).each(function () {
|
46
|
+
var $el = $(this)
|
47
|
+
, $parent = $(this).closest('.radio');
|
48
|
+
|
49
|
+
if ($el.prop(d) == false) {
|
50
|
+
$parent.removeClass(ch) && $el.removeAttr(ch).trigger('change');
|
51
|
+
}
|
52
|
+
});
|
53
|
+
|
54
|
+
if (checked == false) $parent.addClass(ch) && $el.prop(ch, true);
|
55
|
+
$el.trigger(e);
|
56
|
+
|
57
|
+
if (checked !== $el.prop(ch)) {
|
58
|
+
$el.trigger('change');
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
, setCheck: function (option) {
|
64
|
+
var ch = 'checked'
|
65
|
+
, $el = this.$element
|
66
|
+
, $parent = $el.closest('.radio')
|
67
|
+
, checkAction = option == 'check' ? true : false
|
68
|
+
, checked = $el.prop(ch)
|
69
|
+
, $parentWrap = $el.closest('form').length ? $el.closest('form') : $el.closest('body')
|
70
|
+
, $elemGroup = $parentWrap.find(':radio[name="' + $el['attr']('name') + '"]')
|
71
|
+
, e = $.Event(option)
|
72
|
+
|
73
|
+
$elemGroup.not($el).each(function () {
|
74
|
+
var $el = $(this)
|
75
|
+
, $parent = $(this).closest('.radio');
|
76
|
+
|
77
|
+
$parent.removeClass(ch) && $el.removeAttr(ch);
|
78
|
+
});
|
79
|
+
|
80
|
+
$parent[checkAction ? 'addClass' : 'removeClass'](ch) && checkAction ? $el.prop(ch, ch) : $el.removeAttr(ch);
|
81
|
+
$el.trigger(e);
|
82
|
+
|
83
|
+
if (checked !== $el.prop(ch)) {
|
84
|
+
$el.trigger('change');
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
}
|
89
|
+
|
90
|
+
|
91
|
+
/* RADIO PLUGIN DEFINITION
|
92
|
+
* ======================== */
|
93
|
+
|
94
|
+
var old = $.fn.radio
|
95
|
+
|
96
|
+
$.fn.radio = function (option) {
|
97
|
+
return this.each(function () {
|
98
|
+
var $this = $(this)
|
99
|
+
, data = $this.data('radio')
|
100
|
+
, options = $.extend({}, $.fn.radio.defaults, $this.data(), typeof option == 'object' && option);
|
101
|
+
if (!data) $this.data('radio', (data = new Radio(this, options)));
|
102
|
+
if (option == 'toggle') data.toggle()
|
103
|
+
if (option == 'check' || option == 'uncheck') data.setCheck(option)
|
104
|
+
else if (option) data.setState();
|
105
|
+
});
|
106
|
+
}
|
107
|
+
|
108
|
+
$.fn.radio.defaults = {
|
109
|
+
template: '<span class="icons"><span class="first-icon fa fa-circle-o"></span><span class="second-icon fa fa-dot-circle-o"></span></span>'
|
110
|
+
}
|
111
|
+
|
112
|
+
|
113
|
+
/* RADIO NO CONFLICT
|
114
|
+
* ================== */
|
115
|
+
|
116
|
+
$.fn.radio.noConflict = function () {
|
117
|
+
$.fn.radio = old;
|
118
|
+
return this;
|
119
|
+
}
|
120
|
+
|
121
|
+
|
122
|
+
/* RADIO DATA-API
|
123
|
+
* =============== */
|
124
|
+
|
125
|
+
$(document).on('click.radio.data-api', '[data-toggle^=radio], .radio', function (e) {
|
126
|
+
var $radio = $(e.target);
|
127
|
+
e && e.preventDefault() && e.stopPropagation();
|
128
|
+
if (!$radio.hasClass('radio')) $radio = $radio.closest('.radio');
|
129
|
+
$radio.find(':radio').radio('toggle');
|
130
|
+
});
|
131
|
+
|
132
|
+
$(function () {
|
133
|
+
$('[data-toggle="radio"]').each(function () {
|
134
|
+
var $radio = $(this);
|
135
|
+
$radio.radio();
|
136
|
+
});
|
137
|
+
});
|
138
|
+
|
139
|
+
}(window.jQuery);
|
140
|
+
|
@@ -0,0 +1,398 @@
|
|
1
|
+
var searchVisible = 0;
|
2
|
+
var transparent = true;
|
3
|
+
|
4
|
+
var transparentDemo = true;
|
5
|
+
var fixedTop = false;
|
6
|
+
|
7
|
+
var navbar_initialized = false;
|
8
|
+
|
9
|
+
$(document).ready(function(){
|
10
|
+
window_width = $(window).width();
|
11
|
+
|
12
|
+
burger_menu = $('nav[role="navigation"]').hasClass('navbar-burger') ? true : false;
|
13
|
+
|
14
|
+
// Init navigation toggle for small screens
|
15
|
+
if(window_width < 768 || burger_menu){
|
16
|
+
gsdk.initRightMenu();
|
17
|
+
}
|
18
|
+
|
19
|
+
// Activate Morpghing Buttons
|
20
|
+
$('[data-toggle="morphing"]').each(function () {
|
21
|
+
$(this).morphingButton();
|
22
|
+
});
|
23
|
+
|
24
|
+
// Activate the tooltips
|
25
|
+
$('[rel="tooltip"]').tooltip();
|
26
|
+
|
27
|
+
// Activate the switches with icons
|
28
|
+
if($('.switch').length != 0){
|
29
|
+
$('.switch')['bootstrapSwitch']();
|
30
|
+
}
|
31
|
+
// Activate regular switches
|
32
|
+
if($("[data-toggle='switch']").length != 0){
|
33
|
+
$("[data-toggle='switch']").wrap('<div class="switch" />').parent().bootstrapSwitch();
|
34
|
+
}
|
35
|
+
|
36
|
+
// Activate bootstrap-select
|
37
|
+
if($(".selectpicker").length != 0){
|
38
|
+
$(".selectpicker").selectpicker();
|
39
|
+
}
|
40
|
+
|
41
|
+
if($(".tagsinput").length != 0){
|
42
|
+
$(".tagsinput").tagsInput();
|
43
|
+
}
|
44
|
+
|
45
|
+
if($('.tagsinput-autocomplete').length != 0){
|
46
|
+
$(".tagsinput-autocomplete").tagsInput({
|
47
|
+
autocomplete_url: [{"value":"Alien","id":1},{"value":"Alex","id":2},{"value":"Alexander","id":3},{"value":"Alejandro","id":4}]
|
48
|
+
//autocomplete_url:'test/fake_plaintext_endpoint.html' //jquery.autocomplete (not jquery ui)
|
49
|
+
});
|
50
|
+
}
|
51
|
+
|
52
|
+
if($('.datepicker').length != 0){
|
53
|
+
$('.datepicker').datepicker({
|
54
|
+
weekStart:1,
|
55
|
+
color: '{color}'
|
56
|
+
});
|
57
|
+
}
|
58
|
+
|
59
|
+
|
60
|
+
$('.btn-tooltip').tooltip();
|
61
|
+
$('.label-tooltip').tooltip();
|
62
|
+
|
63
|
+
// Carousel
|
64
|
+
$('.carousel').carousel({
|
65
|
+
interval: 4000
|
66
|
+
});
|
67
|
+
|
68
|
+
$('.form-control').on("focus", function(){
|
69
|
+
$(this).parent('.input-group').addClass("input-group-focus");
|
70
|
+
}).on("blur", function(){
|
71
|
+
$(this).parent(".input-group").removeClass("input-group-focus");
|
72
|
+
});
|
73
|
+
|
74
|
+
if($('.alert-auto-close').length != 0){
|
75
|
+
setTimeout(function(){
|
76
|
+
$('.alert-auto-close').fadeOut(function(){
|
77
|
+
$(this).remove();
|
78
|
+
});
|
79
|
+
}, 5000);
|
80
|
+
}
|
81
|
+
|
82
|
+
demo.initPickColor();
|
83
|
+
|
84
|
+
// Make the images from the card fill the hole space
|
85
|
+
gsdk.fitBackgroundForCards();
|
86
|
+
|
87
|
+
// Init icon search action for the navbar
|
88
|
+
gsdk.initNavbarSearch();
|
89
|
+
|
90
|
+
// Init popovers
|
91
|
+
gsdk.initPopovers();
|
92
|
+
|
93
|
+
// Init Collapse Areas
|
94
|
+
gsdk.initCollapseArea();
|
95
|
+
|
96
|
+
// Init Sliders
|
97
|
+
gsdk.initSliders();
|
98
|
+
|
99
|
+
// Init video card actions
|
100
|
+
gsdk.initVideoCards();
|
101
|
+
|
102
|
+
});
|
103
|
+
|
104
|
+
// activate collapse right menu when the windows is resized
|
105
|
+
$(window).resize(function(){
|
106
|
+
if($(window).width() < 768){
|
107
|
+
gsdk.initRightMenu();
|
108
|
+
} else if(!burger_menu && gsdk.misc.navbar_menu_visible){
|
109
|
+
gsdk.toggleSidebarMenu();
|
110
|
+
}
|
111
|
+
});
|
112
|
+
|
113
|
+
gsdk = {
|
114
|
+
misc:{
|
115
|
+
navbar_menu_visible: 0
|
116
|
+
},
|
117
|
+
initRightMenu: function(){
|
118
|
+
if(!navbar_initialized){
|
119
|
+
$navbar = $('nav').find('.navbar-collapse').first().clone(true);
|
120
|
+
|
121
|
+
ul_content = '';
|
122
|
+
|
123
|
+
$navbar.children('ul').each(function(){
|
124
|
+
content_buff = $(this).html();
|
125
|
+
ul_content = ul_content + content_buff;
|
126
|
+
});
|
127
|
+
|
128
|
+
ul_content = '<ul class="nav navbar-nav">' + ul_content + '</ul>';
|
129
|
+
$navbar.html(ul_content);
|
130
|
+
|
131
|
+
$('body').append($navbar);
|
132
|
+
|
133
|
+
background_image = $navbar.data('nav-image');
|
134
|
+
if(background_image != undefined){
|
135
|
+
$navbar.css('background',"url('" + background_image + "')")
|
136
|
+
.removeAttr('data-nav-image')
|
137
|
+
.css('background-size',"cover")
|
138
|
+
.addClass('has-image');
|
139
|
+
}
|
140
|
+
|
141
|
+
|
142
|
+
$toggle = $('.navbar-toggle');
|
143
|
+
|
144
|
+
$navbar.find('a').removeClass('btn btn-round btn-default');
|
145
|
+
$navbar.find('button').removeClass('btn-round btn-fill btn-info btn-primary btn-success btn-danger btn-warning btn-neutral');
|
146
|
+
$navbar.find('button').addClass('btn-simple btn-block');
|
147
|
+
|
148
|
+
$toggle.click(gsdk.toggleSidebarMenu);
|
149
|
+
|
150
|
+
navbar_initialized = true;
|
151
|
+
}
|
152
|
+
|
153
|
+
},
|
154
|
+
|
155
|
+
toggleSidebarMenu: function(){
|
156
|
+
if(gsdk.misc.navbar_menu_visible == 1) {
|
157
|
+
$('html').removeClass('nav-open');
|
158
|
+
gsdk.misc.navbar_menu_visible = 0;
|
159
|
+
$('.body-click').remove();
|
160
|
+
setTimeout(function(){
|
161
|
+
$toggle.removeClass('toggled');
|
162
|
+
}, 400);
|
163
|
+
|
164
|
+
} else {
|
165
|
+
setTimeout(function(){
|
166
|
+
$toggle.addClass('toggled');
|
167
|
+
}, 430);
|
168
|
+
|
169
|
+
div = '<div class="body-click"></div>';
|
170
|
+
$(div).appendTo("body").click(function() {
|
171
|
+
$('html').removeClass('nav-open');
|
172
|
+
gsdk.misc.navbar_menu_visible = 0;
|
173
|
+
$('.body-click').remove();
|
174
|
+
setTimeout(function(){
|
175
|
+
$toggle.removeClass('toggled');
|
176
|
+
}, 400);
|
177
|
+
});
|
178
|
+
|
179
|
+
$('html').addClass('nav-open');
|
180
|
+
gsdk.misc.navbar_menu_visible = 1;
|
181
|
+
}
|
182
|
+
},
|
183
|
+
|
184
|
+
checkScrollForTransparentNavbar: debounce(function() {
|
185
|
+
if($(document).scrollTop() > 260 ) {
|
186
|
+
if(transparent) {
|
187
|
+
transparent = false;
|
188
|
+
$('nav[role="navigation"]').removeClass('navbar-transparent');
|
189
|
+
}
|
190
|
+
} else {
|
191
|
+
if( !transparent ) {
|
192
|
+
transparent = true;
|
193
|
+
$('nav[role="navigation"]').addClass('navbar-transparent');
|
194
|
+
}
|
195
|
+
}
|
196
|
+
}, 17),
|
197
|
+
|
198
|
+
fitBackgroundForCards: function(){
|
199
|
+
$('.card').each(function(){
|
200
|
+
if(!$(this).hasClass('card-product') && !$(this).hasClass('card-user')){
|
201
|
+
image = $(this).find('.image img');
|
202
|
+
|
203
|
+
image.hide();
|
204
|
+
image_src = image.attr('src');
|
205
|
+
|
206
|
+
$(this).find('.image').css({
|
207
|
+
"background-image": "url('" + image_src + "')",
|
208
|
+
"background-position": "center center",
|
209
|
+
"background-size": "cover"
|
210
|
+
});
|
211
|
+
}
|
212
|
+
});
|
213
|
+
},
|
214
|
+
initPopovers: function(){
|
215
|
+
if($('[data-toggle="popover"]').length != 0){
|
216
|
+
$('body').append('<div class="popover-filter"></div>');
|
217
|
+
|
218
|
+
// Activate Popovers
|
219
|
+
$('[data-toggle="popover"]').popover().on('show.bs.popover', function () {
|
220
|
+
$('.popover-filter').click(function(){
|
221
|
+
$(this).removeClass('in');
|
222
|
+
$('[data-toggle="popover"]').popover('hide');
|
223
|
+
});
|
224
|
+
$('.popover-filter').addClass('in');
|
225
|
+
}).on('hide.bs.popover', function(){
|
226
|
+
$('.popover-filter').removeClass('in');
|
227
|
+
});
|
228
|
+
|
229
|
+
}
|
230
|
+
},
|
231
|
+
initCollapseArea: function(){
|
232
|
+
$('[data-toggle="gsdk-collapse"]').each(function () {
|
233
|
+
var thisdiv = $(this).attr("data-target");
|
234
|
+
$(thisdiv).addClass("gsdk-collapse");
|
235
|
+
});
|
236
|
+
|
237
|
+
$('[data-toggle="gsdk-collapse"]').hover(function(){
|
238
|
+
var thisdiv = $(this).attr("data-target");
|
239
|
+
if(!$(this).hasClass('state-open')){
|
240
|
+
$(this).addClass('state-hover');
|
241
|
+
$(thisdiv).css({
|
242
|
+
'height':'30px'
|
243
|
+
});
|
244
|
+
}
|
245
|
+
|
246
|
+
},
|
247
|
+
function(){
|
248
|
+
var thisdiv = $(this).attr("data-target");
|
249
|
+
$(this).removeClass('state-hover');
|
250
|
+
|
251
|
+
if(!$(this).hasClass('state-open')){
|
252
|
+
$(thisdiv).css({
|
253
|
+
'height':'0px'
|
254
|
+
});
|
255
|
+
}
|
256
|
+
}).click(function(event){
|
257
|
+
event.preventDefault();
|
258
|
+
|
259
|
+
var thisdiv = $(this).attr("data-target");
|
260
|
+
var height = $(thisdiv).children('.panel-body').height();
|
261
|
+
|
262
|
+
if($(this).hasClass('state-open')){
|
263
|
+
$(thisdiv).css({
|
264
|
+
'height':'0px',
|
265
|
+
});
|
266
|
+
$(this).removeClass('state-open');
|
267
|
+
} else {
|
268
|
+
$(thisdiv).css({
|
269
|
+
'height':height + 30,
|
270
|
+
});
|
271
|
+
$(this).addClass('state-open');
|
272
|
+
}
|
273
|
+
});
|
274
|
+
},
|
275
|
+
initSliders: function(){
|
276
|
+
// Sliders for demo purpose in refine cards section
|
277
|
+
if($('#slider-range').length != 0){
|
278
|
+
$( "#slider-range" ).slider({
|
279
|
+
range: true,
|
280
|
+
min: 0,
|
281
|
+
max: 500,
|
282
|
+
values: [ 75, 300 ],
|
283
|
+
});
|
284
|
+
}
|
285
|
+
if($('#refine-price-range').length != 0){
|
286
|
+
$( "#refine-price-range" ).slider({
|
287
|
+
range: true,
|
288
|
+
min: 0,
|
289
|
+
max: 999,
|
290
|
+
values: [ 100, 850 ],
|
291
|
+
slide: function( event, ui ) {
|
292
|
+
min_price = ui.values[0];
|
293
|
+
max_price = ui.values[1];
|
294
|
+
$(this).siblings('.price-left').html('€ ' + min_price);
|
295
|
+
$(this).siblings('.price-right').html('€ ' + max_price)
|
296
|
+
}
|
297
|
+
});
|
298
|
+
}
|
299
|
+
if($('#slider-default').length != 0 || $('#slider-default2').length != 0){
|
300
|
+
$( "#slider-default, #slider-default2" ).slider({
|
301
|
+
value: 70,
|
302
|
+
orientation: "horizontal",
|
303
|
+
range: "min",
|
304
|
+
animate: true
|
305
|
+
});
|
306
|
+
}
|
307
|
+
},
|
308
|
+
initVideoCards: function(){
|
309
|
+
$('[data-toggle="video"]').click(function(){
|
310
|
+
id_video = $(this).data('video');
|
311
|
+
video = $('#' + id_video).get(0);
|
312
|
+
|
313
|
+
card_parent = $(this).closest('.card');
|
314
|
+
|
315
|
+
if(video.paused){
|
316
|
+
video.play();
|
317
|
+
$(this).html('<i class="fa fa-pause"></i> Pause');
|
318
|
+
card_parent.addClass('state-play');
|
319
|
+
} else {
|
320
|
+
video.pause();
|
321
|
+
$(this).html('<i class="fa fa-play"></i> Play');
|
322
|
+
card_parent.removeClass('state-play');
|
323
|
+
}
|
324
|
+
});
|
325
|
+
},
|
326
|
+
initNavbarSearch: function(){
|
327
|
+
$('[data-toggle="search"]').click(function(){
|
328
|
+
if(searchVisible == 0){
|
329
|
+
searchVisible = 1;
|
330
|
+
$(this).parent().addClass('active');
|
331
|
+
$('.navbar-search-form').fadeIn(function(){
|
332
|
+
$('.navbar-search-form input').focus();
|
333
|
+
});
|
334
|
+
} else {
|
335
|
+
searchVisible = 0;
|
336
|
+
$(this).parent().removeClass('active');
|
337
|
+
$(this).blur();
|
338
|
+
$('.navbar-search-form').fadeOut(function(){
|
339
|
+
$('.navbar-search-form input').blur();
|
340
|
+
});
|
341
|
+
}
|
342
|
+
});
|
343
|
+
}
|
344
|
+
}
|
345
|
+
|
346
|
+
demo = {
|
347
|
+
initPickColor: function(){
|
348
|
+
$('.pick-class-label').click(function(){
|
349
|
+
var new_class = $(this).attr('new-class');
|
350
|
+
var old_class = $('#display-buttons').attr('data-class');
|
351
|
+
var display_div = $('#display-buttons');
|
352
|
+
if(display_div.length) {
|
353
|
+
var display_buttons = display_div.find('.btn');
|
354
|
+
display_buttons.removeClass(old_class);
|
355
|
+
display_buttons.addClass(new_class);
|
356
|
+
display_div.attr('data-class', new_class);
|
357
|
+
}
|
358
|
+
});
|
359
|
+
}
|
360
|
+
}
|
361
|
+
|
362
|
+
examples = {
|
363
|
+
initContactUsMap: function(){
|
364
|
+
var myLatlng = new google.maps.LatLng(44.433530, 26.093928);
|
365
|
+
var mapOptions = {
|
366
|
+
zoom: 14,
|
367
|
+
center: myLatlng,
|
368
|
+
scrollwheel: false, //we disable de scroll over the map, it is a really annoing when you scroll through page
|
369
|
+
}
|
370
|
+
var map = new google.maps.Map(document.getElementById("contactUsMap"), mapOptions);
|
371
|
+
|
372
|
+
var marker = new google.maps.Marker({
|
373
|
+
position: myLatlng,
|
374
|
+
title:"Hello World!"
|
375
|
+
});
|
376
|
+
|
377
|
+
// To add the marker to the map, call setMap();
|
378
|
+
marker.setMap(map);
|
379
|
+
}
|
380
|
+
}
|
381
|
+
|
382
|
+
// Returns a function, that, as long as it continues to be invoked, will not
|
383
|
+
// be triggered. The function will be called after it stops being called for
|
384
|
+
// N milliseconds. If `immediate` is passed, trigger the function on the
|
385
|
+
// leading edge, instead of the trailing.
|
386
|
+
|
387
|
+
function debounce(func, wait, immediate) {
|
388
|
+
var timeout;
|
389
|
+
return function() {
|
390
|
+
var context = this, args = arguments;
|
391
|
+
clearTimeout(timeout);
|
392
|
+
timeout = setTimeout(function() {
|
393
|
+
timeout = null;
|
394
|
+
if (!immediate) func.apply(context, args);
|
395
|
+
}, wait);
|
396
|
+
if (immediate && !timeout) func.apply(context, args);
|
397
|
+
};
|
398
|
+
};
|