nunify 0.5.3 → 0.5.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/lib/nunify/version.rb +1 -1
  3. data/vendor/assets/images/nunify/bg-black.png +0 -0
  4. data/vendor/assets/images/nunify/bg-black1.png +0 -0
  5. data/vendor/assets/images/nunify/bg-breadcrumb.png +0 -0
  6. data/vendor/assets/images/nunify/bg-green.png +0 -0
  7. data/vendor/assets/images/nunify/bg-white.png +0 -0
  8. data/vendor/assets/images/nunify/overlay-icon.png +0 -0
  9. data/vendor/assets/images/nunify/patterns/1.png +0 -0
  10. data/vendor/assets/images/nunify/patterns/10.png +0 -0
  11. data/vendor/assets/images/nunify/patterns/11.png +0 -0
  12. data/vendor/assets/images/nunify/patterns/12.png +0 -0
  13. data/vendor/assets/images/nunify/patterns/13.png +0 -0
  14. data/vendor/assets/images/nunify/patterns/14.png +0 -0
  15. data/vendor/assets/images/nunify/patterns/15.png +0 -0
  16. data/vendor/assets/images/nunify/patterns/2.png +0 -0
  17. data/vendor/assets/images/nunify/patterns/3.png +0 -0
  18. data/vendor/assets/images/nunify/patterns/4.png +0 -0
  19. data/vendor/assets/images/nunify/patterns/5.png +0 -0
  20. data/vendor/assets/images/nunify/patterns/6.png +0 -0
  21. data/vendor/assets/images/nunify/patterns/7.png +0 -0
  22. data/vendor/assets/images/nunify/patterns/8.png +0 -0
  23. data/vendor/assets/images/nunify/patterns/9.png +0 -0
  24. data/vendor/assets/javascripts/nunify.js +3 -0
  25. data/vendor/assets/javascripts/nunify/app.js +256 -0
  26. data/vendor/assets/javascripts/nunify/plugins/circles-master.js +141 -0
  27. data/vendor/assets/javascripts/nunify/plugins/datepicker.js +63 -0
  28. data/vendor/assets/javascripts/nunify/plugins/form-sliders.js +78 -0
  29. data/vendor/assets/javascripts/nunify/plugins/masking.js +16 -0
  30. data/vendor/assets/javascripts/nunify/plugins/owl-carousel.js +72 -0
  31. data/vendor/assets/javascripts/nunify/plugins/validation.js +134 -0
  32. data/vendor/assets/javascripts/nunify/plugins/vector-map.js +276 -0
  33. data/vendor/assets/stylesheets/nunify.scss +7 -0
  34. data/vendor/assets/stylesheets/nunify/app.scss +2743 -0
  35. data/vendor/assets/stylesheets/nunify/plugins.scss +542 -0
  36. data/vendor/assets/stylesheets/nunify/plugins/animate.css +2728 -0
  37. data/vendor/assets/stylesheets/nunify/plugins/box-shadows.css +60 -0
  38. data/vendor/assets/stylesheets/nunify/style.scss +2312 -0
  39. data/vendor/assets/stylesheets/nunify/themes/aqua.css +862 -0
  40. data/vendor/assets/stylesheets/nunify/themes/blue.css +864 -0
  41. data/vendor/assets/stylesheets/nunify/themes/brown.css +864 -0
  42. data/vendor/assets/stylesheets/nunify/themes/dark-blue.css +864 -0
  43. data/vendor/assets/stylesheets/nunify/themes/default.css +503 -0
  44. data/vendor/assets/stylesheets/nunify/themes/light-green.css +864 -0
  45. data/vendor/assets/stylesheets/nunify/themes/light.css +853 -0
  46. data/vendor/assets/stylesheets/nunify/themes/orange.css +863 -0
  47. data/vendor/assets/stylesheets/nunify/themes/purple.css +864 -0
  48. data/vendor/assets/stylesheets/nunify/themes/red.css +876 -0
  49. metadata +47 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9f851a81ae6281e74790afbf74ac3f498a27c916
4
- data.tar.gz: 655dab7a520c842de0e955e2388ae280567d53e4
3
+ metadata.gz: daa97147187a408990e2e19f28f3308718206245
4
+ data.tar.gz: bbc2b42659394ce19d48a335e985a8e3d3da072f
5
5
  SHA512:
6
- metadata.gz: dcdcdfe42c0a8146946e7493d59db54fd0329e3114afb1d0cf7c085532b93edf297708a995cde0d3173f7676a73c9723ba91e444484d7d70efedee7d27fe2fff
7
- data.tar.gz: d2b089b3e71aa6692c6c8a68c5e18f59e414a5abcb0ab0070b4ea291b85fbb3f0205df90d811a0784ba9e6fe28c829c7282e87645cadf0331435f5c9ab6b9f9a
6
+ metadata.gz: e6d1eeb604b9e6d4b4ecc770ac09005773212db8d5682c568a9aaa75fd4adcfab37ace161a6321bc17108e47183dfcbcec943f796591ff0ba4033da96a67b476
7
+ data.tar.gz: 71c1939712fa53a1bf7225a7f19f6a6f56ec104a1f59003bc4d706f831233629a861c45da3f66fb8394f8e9d700143f60b6b370a8384674a7437bda8ec5dc8ce
@@ -1,3 +1,3 @@
1
1
  module Nunify
2
- VERSION = "0.5.3"
2
+ VERSION = "0.5.4"
3
3
  end
@@ -0,0 +1,3 @@
1
+ //= require nunify/app
2
+ //= require_tree ./nunify/plugins
3
+
@@ -0,0 +1,256 @@
1
+ /*
2
+ * Template Name: Unify - Responsive Bootstrap Template
3
+ * Description: Business, Corporate, Portfolio and Blog Theme.
4
+ * Version: 1.4
5
+ * Author: @htmlstream
6
+ * Website: http://htmlstream.com
7
+ */
8
+
9
+ var App = function () {
10
+
11
+ function handleIEFixes() {
12
+ //fix html5 placeholder attribute for ie7 & ie8
13
+ if (jQuery.browser.msie && jQuery.browser.version.substr(0, 1) < 9) { // ie7&ie8
14
+ jQuery('input[placeholder], textarea[placeholder]').each(function () {
15
+ var input = jQuery(this);
16
+
17
+ jQuery(input).val(input.attr('placeholder'));
18
+
19
+ jQuery(input).focus(function () {
20
+ if (input.val() == input.attr('placeholder')) {
21
+ input.val('');
22
+ }
23
+ });
24
+
25
+ jQuery(input).blur(function () {
26
+ if (input.val() == '' || input.val() == input.attr('placeholder')) {
27
+ input.val(input.attr('placeholder'));
28
+ }
29
+ });
30
+ });
31
+ }
32
+ }
33
+
34
+ function handleBootstrap() {
35
+ /*Bootstrap Carousel*/
36
+ jQuery('.carousel').carousel({
37
+ interval: 15000,
38
+ pause: 'hover'
39
+ });
40
+
41
+ /*Tooltips*/
42
+ jQuery('.tooltips').tooltip();
43
+ jQuery('.tooltips-show').tooltip('show');
44
+ jQuery('.tooltips-hide').tooltip('hide');
45
+ jQuery('.tooltips-toggle').tooltip('toggle');
46
+ jQuery('.tooltips-destroy').tooltip('destroy');
47
+
48
+ /*Popovers*/
49
+ jQuery('.popovers').popover();
50
+ jQuery('.popovers-show').popover('show');
51
+ jQuery('.popovers-hide').popover('hide');
52
+ jQuery('.popovers-toggle').popover('toggle');
53
+ jQuery('.popovers-destroy').popover('destroy');
54
+ }
55
+
56
+ function handleSearch() {
57
+ jQuery('.search').click(function () {
58
+ if(jQuery('.search-btn').hasClass('fa-search')){
59
+ jQuery('.search-open').fadeIn(500);
60
+ jQuery('.search-btn').removeClass('fa-search');
61
+ jQuery('.search-btn').addClass('fa-times');
62
+ } else {
63
+ jQuery('.search-open').fadeOut(500);
64
+ jQuery('.search-btn').addClass('fa-search');
65
+ jQuery('.search-btn').removeClass('fa-times');
66
+ }
67
+ });
68
+ }
69
+
70
+ function handleToggle() {
71
+ jQuery('.list-toggle').on('click', function() {
72
+ jQuery(this).toggleClass('active');
73
+ });
74
+
75
+ /*
76
+ jQuery('#serviceList').on('shown.bs.collapse'), function() {
77
+ jQuery(".servicedrop").addClass('glyphicon-chevron-up').removeClass('glyphicon-chevron-down');
78
+ }
79
+
80
+ jQuery('#serviceList').on('hidden.bs.collapse'), function() {
81
+ jQuery(".servicedrop").addClass('glyphicon-chevron-down').removeClass('glyphicon-chevron-up');
82
+ }
83
+ */
84
+ }
85
+
86
+ function handleSwitcher() {
87
+ var panel = jQuery('.style-switcher');
88
+
89
+ jQuery('.style-switcher-btn').click(function () {
90
+ jQuery('.style-switcher').show();
91
+ });
92
+
93
+ jQuery('.theme-close').click(function () {
94
+ jQuery('.style-switcher').hide();
95
+ });
96
+
97
+ jQuery('li', panel).click(function () {
98
+ var color = jQuery(this).attr("data-style");
99
+ var data_header = jQuery(this).attr("data-header");
100
+ setColor(color, data_header);
101
+ jQuery('.list-unstyled li', panel).removeClass("theme-active");
102
+ jQuery(this).addClass("theme-active");
103
+ });
104
+
105
+ var setColor = function (color, data_header) {
106
+ jQuery('#style_color').attr("href", "assets/css/themes/" + color + ".css");
107
+ if(data_header == 'light'){
108
+ jQuery('#style_color-header-1').attr("href", "assets/css/themes/headers/header1-" + color + ".css");
109
+ jQuery('#logo-header').attr("src", "assets/img/logo1-" + color + ".png");
110
+ jQuery('#logo-footer').attr("src", "assets/img/logo2-" + color + ".png");
111
+ } else if(data_header == 'dark'){
112
+ jQuery('#style_color-header-2').attr("href", "assets/css/themes/headers/header2-" + color + ".css");
113
+ jQuery('#logo-header').attr("src", "assets/img/logo1-" + color + ".png");
114
+ jQuery('#logo-footer').attr("src", "assets/img/logo2-" + color + ".png");
115
+ }
116
+ }
117
+ }
118
+
119
+ function handleBoxed() {
120
+ jQuery('.boxed-layout-btn').click(function(){
121
+ jQuery(this).addClass("active-switcher-btn");
122
+ jQuery(".wide-layout-btn").removeClass("active-switcher-btn");
123
+ jQuery("body").addClass("boxed-layout container");
124
+ });
125
+ jQuery('.wide-layout-btn').click(function(){
126
+ jQuery(this).addClass("active-switcher-btn");
127
+ jQuery(".boxed-layout-btn").removeClass("active-switcher-btn");
128
+ jQuery("body").removeClass("boxed-layout container");
129
+ });
130
+ }
131
+
132
+ function handleHeader() {
133
+ jQuery(window).scroll(function() {
134
+ if (jQuery(window).scrollTop()>100){
135
+ jQuery(".header-fixed .header").addClass("header-fixed-shrink");
136
+ }
137
+ else {
138
+ jQuery(".header-fixed .header").removeClass("header-fixed-shrink");
139
+ }
140
+ });
141
+ }
142
+
143
+ return {
144
+ init: function () {
145
+ handleBootstrap();
146
+ handleIEFixes();
147
+ handleSearch();
148
+ handleToggle();
149
+ handleSwitcher();
150
+ handleBoxed();
151
+ handleHeader();
152
+ },
153
+
154
+ initSliders: function () {
155
+ jQuery('#clients-flexslider').flexslider({
156
+ animation: "slide",
157
+ easing: "swing",
158
+ animationLoop: true,
159
+ itemWidth: 1,
160
+ itemMargin: 1,
161
+ minItems: 2,
162
+ maxItems: 9,
163
+ controlNav: false,
164
+ directionNav: false,
165
+ move: 2
166
+ });
167
+
168
+ jQuery('#clients-flexslider1').flexslider({
169
+ animation: "slide",
170
+ easing: "swing",
171
+ animationLoop: true,
172
+ itemWidth: 1,
173
+ itemMargin: 1,
174
+ minItems: 2,
175
+ maxItems: 5,
176
+ controlNav: false,
177
+ directionNav: false,
178
+ move: 2
179
+ });
180
+
181
+ jQuery('#photo-flexslider').flexslider({
182
+ animation: "slide",
183
+ controlNav: false,
184
+ animationLoop: false,
185
+ itemWidth: 80,
186
+ itemMargin: 0
187
+ });
188
+
189
+ jQuery('#testimonal_carousel').collapse({
190
+ toggle: false
191
+ });
192
+ },
193
+
194
+ initFancybox: function () {
195
+ jQuery(".fancybox-button").fancybox({
196
+ groupAttr: 'data-rel',
197
+ prevEffect: 'none',
198
+ nextEffect: 'none',
199
+ closeBtn: true,
200
+ helpers: {
201
+ title: {
202
+ type: 'inside'
203
+ }
204
+ }
205
+ });
206
+
207
+ jQuery(".iframe").fancybox({
208
+ maxWidth : 800,
209
+ maxHeight : 600,
210
+ fitToView : false,
211
+ width : '70%',
212
+ height : '70%',
213
+ autoSize : false,
214
+ closeClick : false,
215
+ openEffect : 'none',
216
+ closeEffect : 'none'
217
+ });
218
+ },
219
+
220
+ initBxSlider: function () {
221
+ jQuery('.bxslider').bxSlider({
222
+ maxSlides: 4,
223
+ minSlides: 4,
224
+ slideWidth: 360,
225
+ slideMargin: 10,
226
+ });
227
+
228
+ jQuery('.bxslider1').bxSlider({
229
+ minSlides: 3,
230
+ maxSlides: 3,
231
+ slideWidth: 360,
232
+ slideMargin: 10
233
+ });
234
+
235
+ jQuery('.bxslider2').bxSlider({
236
+ minSlides: 2,
237
+ maxSlides: 2,
238
+ slideWidth: 360,
239
+ slideMargin: 10
240
+ });
241
+ },
242
+
243
+ initCounter: function () {
244
+ jQuery('.counter').counterUp({
245
+ delay: 10,
246
+ time: 1000
247
+ });
248
+ },
249
+
250
+ initParallaxBg: function () {
251
+ jQuery('.parallaxBg').parallax("50%", 0.2);
252
+ },
253
+
254
+ };
255
+
256
+ }();
@@ -0,0 +1,141 @@
1
+ var CirclesMaster = function () {
2
+
3
+ return {
4
+
5
+ //Circles Master v1
6
+ initCirclesMaster1: function () {
7
+ //Circles 1
8
+ Circles.create({
9
+ id: 'circle-1',
10
+ percentage: 87,
11
+ radius: 80,
12
+ width: 8,
13
+ number: 87,
14
+ text: '%',
15
+ colors: ['#eee', '#72c02c'],
16
+ duration: 2000
17
+ })
18
+
19
+ //Circles 2
20
+ Circles.create({
21
+ id: 'circle-2',
22
+ percentage: 74,
23
+ radius: 80,
24
+ width: 8,
25
+ number: 74,
26
+ text: '%',
27
+ colors: ['#eee', '#72c02c'],
28
+ duration: 2000
29
+ })
30
+
31
+ //Circles 3
32
+ Circles.create({
33
+ id: 'circle-3',
34
+ percentage: 65,
35
+ radius: 80,
36
+ width: 8,
37
+ number: 65,
38
+ text: '%',
39
+ colors: ['#eee', '#72c02c'],
40
+ duration: 2000
41
+ })
42
+
43
+ //Circles 4
44
+ Circles.create({
45
+ id: 'circle-4',
46
+ percentage: 69,
47
+ radius: 35,
48
+ width: 2,
49
+ number: 69,
50
+ text: '%',
51
+ colors: ['#eee', '#72c02c'],
52
+ duration: 2000
53
+ })
54
+
55
+ //Circles 5
56
+ Circles.create({
57
+ id: 'circle-5',
58
+ percentage: 82,
59
+ radius: 35,
60
+ width: 2,
61
+ number: 82,
62
+ text: '%',
63
+ colors: ['#eee', '#9B6BCC'],
64
+ duration: 2000
65
+ })
66
+
67
+ //Circles 6
68
+ Circles.create({
69
+ id: 'circle-6',
70
+ percentage: 87,
71
+ radius: 80,
72
+ width: 3,
73
+ number: 87,
74
+ text: '%',
75
+ colors: ['#eee', '#72c02c'],
76
+ duration: 2000
77
+ })
78
+
79
+ //Circles 7
80
+ Circles.create({
81
+ id: 'circle-7',
82
+ percentage: 74,
83
+ radius: 80,
84
+ width: 3,
85
+ number: 74,
86
+ text: '%',
87
+ colors: ['#eee', '#72c02c'],
88
+ duration: 2000
89
+ })
90
+
91
+ //Circles 8
92
+ Circles.create({
93
+ id: 'circle-8',
94
+ percentage: 65,
95
+ radius: 80,
96
+ width: 3,
97
+ number: 65,
98
+ text: '%',
99
+ colors: ['#eee', '#72c02c'],
100
+ duration: 2000
101
+ })
102
+
103
+ //Circles 9
104
+ Circles.create({
105
+ id: 'circle-9',
106
+ percentage: 91,
107
+ radius: 80,
108
+ width: 3,
109
+ number: 91,
110
+ text: '%',
111
+ colors: ['#eee', '#72c02c'],
112
+ duration: 2000
113
+ })
114
+ },
115
+
116
+ //Circles Master v2
117
+ initCirclesMaster2: function () {
118
+ var colors = [
119
+ ['#D3B6C6', '#9B6BCC'], ['#C9FF97', '#72c02c'], ['#BEE3F7', '#3498DB'], ['#FFC2BB', '#E74C3C']
120
+ ];
121
+
122
+ for (var i = 1; i <= 4; i++) {
123
+ var child = document.getElementById('circles-' + i),
124
+ percentage = 45 + (i * 9);
125
+
126
+ Circles.create({
127
+ id: child.id,
128
+ percentage: percentage,
129
+ radius: 70,
130
+ width: 2,
131
+ number: percentage / 1,
132
+ text: '%',
133
+ colors: colors[i - 1],
134
+ duration: 2000,
135
+ });
136
+ }
137
+ }
138
+
139
+ };
140
+
141
+ }();