cupboard 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (132) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -0
  3. data/app/assets/images/icook-logo-footer.svg +1 -0
  4. data/app/assets/images/vip_modal.svg +1 -0
  5. data/app/assets/stylesheets/_base.scss +3 -1
  6. data/app/assets/stylesheets/_components.scss +31 -29
  7. data/app/assets/stylesheets/_helpers.scss +4 -3
  8. data/app/assets/stylesheets/_layouts.scss +1 -2
  9. data/app/assets/stylesheets/_vendors.scss +7 -0
  10. data/app/assets/stylesheets/base/_basic.scss +35 -0
  11. data/app/assets/stylesheets/base/_forms.scss +96 -50
  12. data/app/assets/stylesheets/base/_inputs.scss +85 -0
  13. data/app/assets/stylesheets/base/_lists.scss +1 -1
  14. data/app/assets/stylesheets/base/{_table.scss → _tables.scss} +12 -12
  15. data/app/assets/stylesheets/base/_typography.scss +34 -210
  16. data/app/assets/stylesheets/components/_badges.scss +47 -10
  17. data/app/assets/stylesheets/components/_breadcrumbs.scss +25 -9
  18. data/app/assets/stylesheets/components/_buttons.scss +3 -207
  19. data/app/assets/stylesheets/components/_pagination.scss +26 -16
  20. data/app/assets/stylesheets/components/_search-form.scss +89 -28
  21. data/app/assets/stylesheets/components/_sorting-cards.scss +1 -1
  22. data/app/assets/stylesheets/components/alerts/_alert-global.scss +45 -23
  23. data/app/assets/stylesheets/components/alerts/_alert-market.scss +6 -6
  24. data/app/assets/stylesheets/components/alerts/_alert-no-result.scss +1 -0
  25. data/app/assets/stylesheets/components/alerts/_report-msg.scss +51 -0
  26. data/app/assets/stylesheets/components/buttons/_card-buttons.scss +88 -0
  27. data/app/assets/stylesheets/components/buttons/_default-buttons.scss +98 -0
  28. data/app/assets/stylesheets/components/buttons/_round-buttons.scss +125 -0
  29. data/app/assets/stylesheets/components/cards/_brand-product-card.scss +65 -36
  30. data/app/assets/stylesheets/components/cards/_dish-card.scss +8 -12
  31. data/app/assets/stylesheets/components/cards/_featured-card.scss +69 -0
  32. data/app/assets/stylesheets/components/cards/_feeds-card.scss +9 -12
  33. data/app/assets/stylesheets/components/cards/_list-card.scss +88 -96
  34. data/app/assets/stylesheets/components/cards/_photo-card.scss +57 -101
  35. data/app/assets/stylesheets/components/cards/_product-card.scss +8 -8
  36. data/app/assets/stylesheets/components/cards/_recipe-card.scss +86 -67
  37. data/app/assets/stylesheets/components/cards/_video-card.scss +28 -29
  38. data/app/assets/stylesheets/components/comments/_comment-form.scss +5 -13
  39. data/app/assets/stylesheets/components/comments/_single-comment.scss +21 -14
  40. data/app/assets/stylesheets/components/covers/_brand-cover.scss +1 -1
  41. data/app/assets/stylesheets/components/covers/_categories-cover.scss +65 -45
  42. data/app/assets/stylesheets/components/covers/_users-cover.scss +75 -0
  43. data/app/assets/stylesheets/components/features/_feature-events.scss +2 -5
  44. data/app/assets/stylesheets/components/features/_feature-slides.scss +5 -6
  45. data/app/assets/stylesheets/components/icons/_footer-social-icons.scss +11 -34
  46. data/app/assets/stylesheets/components/icons/_icon-status.scss +12 -16
  47. data/app/assets/stylesheets/components/icons/_icookfont.scss +5 -0
  48. data/app/assets/stylesheets/components/modals/_modal-reset.scss +1 -1
  49. data/app/assets/stylesheets/components/modals/_recipe-list-modal.scss +8 -5
  50. data/app/assets/stylesheets/components/modals/_vip-modal.scss +114 -0
  51. data/app/assets/stylesheets/components/navigations/_blog-navi.scss +15 -19
  52. data/app/assets/stylesheets/components/navigations/_brand-tabs-navi.scss +4 -4
  53. data/app/assets/stylesheets/components/navigations/_categories-navi.scss +54 -137
  54. data/app/assets/stylesheets/components/recipes/_ingredients.scss +17 -22
  55. data/app/assets/stylesheets/components/recipes/_notes.scss +2 -2
  56. data/app/assets/stylesheets/components/recipes/_recipe-details.scss +5 -3
  57. data/app/assets/stylesheets/components/recipes/_recipe-navi.scss +29 -32
  58. data/app/assets/stylesheets/components/recipes/_steps.scss +2 -9
  59. data/app/assets/stylesheets/components/sidebars/_brand-ingredients.scss +3 -8
  60. data/app/assets/stylesheets/components/sidebars/_brand-popular-lists.scss +10 -13
  61. data/app/assets/stylesheets/components/sidebars/_brand-recent-events.scss +1 -2
  62. data/app/assets/stylesheets/components/sidebars/_business-kitchen.scss +11 -10
  63. data/app/assets/stylesheets/components/sidebars/_business-sponsors.scss +65 -0
  64. data/app/assets/stylesheets/components/sidebars/_hot-categories.scss +20 -39
  65. data/app/assets/stylesheets/components/sidebars/_icook-video.scss +4 -8
  66. data/app/assets/stylesheets/components/sidebars/_popular-recipes.scss +88 -33
  67. data/app/assets/stylesheets/components/sidebars/_popular-search.scss +17 -25
  68. data/app/assets/stylesheets/components/sidebars/_recipes-collect.scss +5 -2
  69. data/app/assets/stylesheets/components/sidebars/_sidebar-basic.scss +5 -14
  70. data/app/assets/stylesheets/components/sidebars/_tv-more-recipes.scss +3 -4
  71. data/app/assets/stylesheets/components/sidebars/_tv-popular-tags.scss +4 -5
  72. data/app/assets/stylesheets/components/users/_fav-list.scss +6 -8
  73. data/app/assets/stylesheets/components/users/_user-stats.scss +29 -25
  74. data/app/assets/stylesheets/helpers/_mixin-badge.scss +4 -3
  75. data/app/assets/stylesheets/helpers/_mixin-ellipsis.scss +39 -0
  76. data/app/assets/stylesheets/helpers/_mixin-flex.scss +247 -0
  77. data/app/assets/stylesheets/helpers/_mixin-icons.scss +6 -18
  78. data/app/assets/stylesheets/helpers/_variables-color.scss +47 -83
  79. data/app/assets/stylesheets/layouts/_base-footer.scss +15 -18
  80. data/app/assets/stylesheets/layouts/_global-navbar.scss +12 -15
  81. data/app/assets/stylesheets/layouts/_mega-footer.scss +298 -0
  82. data/app/assets/stylesheets/vendors/SpinKit/.bower.json +30 -0
  83. data/app/assets/stylesheets/vendors/SpinKit/CHANGELOG.md +40 -0
  84. data/app/assets/stylesheets/vendors/SpinKit/CONTRIBUTING.md +22 -0
  85. data/app/assets/stylesheets/vendors/SpinKit/LICENSE +20 -0
  86. data/app/assets/stylesheets/vendors/SpinKit/README.md +72 -0
  87. data/app/assets/stylesheets/vendors/SpinKit/bower.json +19 -0
  88. data/app/assets/stylesheets/vendors/SpinKit/css/spinkit.css +770 -0
  89. data/app/assets/stylesheets/vendors/SpinKit/css/spinners/1-rotating-plane.css +35 -0
  90. data/app/assets/stylesheets/vendors/SpinKit/css/spinners/10-fading-circle.css +129 -0
  91. data/app/assets/stylesheets/vendors/SpinKit/css/spinners/11-folding-cube.css +85 -0
  92. data/app/assets/stylesheets/vendors/SpinKit/css/spinners/2-double-bounce.css +44 -0
  93. data/app/assets/stylesheets/vendors/SpinKit/css/spinners/3-wave.css +56 -0
  94. data/app/assets/stylesheets/vendors/SpinKit/css/spinners/4-wandering-cubes.css +68 -0
  95. data/app/assets/stylesheets/vendors/SpinKit/css/spinners/5-pulse.css +32 -0
  96. data/app/assets/stylesheets/vendors/SpinKit/css/spinners/6-chasing-dots.css +58 -0
  97. data/app/assets/stylesheets/vendors/SpinKit/css/spinners/7-three-bounce.css +44 -0
  98. data/app/assets/stylesheets/vendors/SpinKit/css/spinners/8-circle.css +133 -0
  99. data/app/assets/stylesheets/vendors/SpinKit/css/spinners/9-cube-grid.css +76 -0
  100. data/app/assets/stylesheets/vendors/SpinKit/examples/1-rotating-plane.html +49 -0
  101. data/app/assets/stylesheets/vendors/SpinKit/examples/10-fading-circle.html +156 -0
  102. data/app/assets/stylesheets/vendors/SpinKit/examples/11-folding-cube.html +104 -0
  103. data/app/assets/stylesheets/vendors/SpinKit/examples/2-double-bounce.html +61 -0
  104. data/app/assets/stylesheets/vendors/SpinKit/examples/3-wave.html +76 -0
  105. data/app/assets/stylesheets/vendors/SpinKit/examples/4-wandering-cubes.html +85 -0
  106. data/app/assets/stylesheets/vendors/SpinKit/examples/5-pulse.html +46 -0
  107. data/app/assets/stylesheets/vendors/SpinKit/examples/6-chasing-dots.html +75 -0
  108. data/app/assets/stylesheets/vendors/SpinKit/examples/7-three-bounce.html +62 -0
  109. data/app/assets/stylesheets/vendors/SpinKit/examples/8-circle.html +160 -0
  110. data/app/assets/stylesheets/vendors/SpinKit/examples/9-cube-grid.html +100 -0
  111. data/app/assets/stylesheets/vendors/SpinKit/gulpfile.js +97 -0
  112. data/app/assets/stylesheets/vendors/SpinKit/package.json +34 -0
  113. data/app/assets/stylesheets/vendors/SpinKit/scss/_variables.scss +3 -0
  114. data/app/assets/stylesheets/vendors/SpinKit/scss/spinkit.scss +12 -0
  115. data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/1-rotating-plane.scss +25 -0
  116. data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/10-fading-circle.scss +63 -0
  117. data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/11-folding-cube.scss +70 -0
  118. data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/2-double-bounce.scss +38 -0
  119. data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/3-wave.scss +42 -0
  120. data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/4-wandering-cubes.scss +51 -0
  121. data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/5-pulse.scss +25 -0
  122. data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/6-chasing-dots.scss +52 -0
  123. data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/7-three-bounce.scss +40 -0
  124. data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/8-circle.scss +62 -0
  125. data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/9-cube-grid.scss +55 -0
  126. data/lib/cupboard/version.rb +1 -1
  127. metadata +62 -8
  128. data/app/assets/stylesheets/components/navigations/_categories-navi-responsive.scss +0 -129
  129. data/app/assets/stylesheets/components/navigations/_tv-navi.scss +0 -252
  130. data/app/assets/stylesheets/helpers/_mixin-buttons.scss +0 -17
  131. data/app/assets/stylesheets/layouts/_footer-nav.scss +0 -151
  132. data/app/assets/stylesheets/layouts/_sub-header-market.scss +0 -138
@@ -0,0 +1,70 @@
1
+ /*
2
+ * Usage:
3
+ *
4
+ <div class="sk-folding-cube">
5
+ <div class="sk-cube1 sk-cube"></div>
6
+ <div class="sk-cube2 sk-cube"></div>
7
+ <div class="sk-cube4 sk-cube"></div>
8
+ <div class="sk-cube3 sk-cube"></div>
9
+ </div>
10
+ *
11
+ */
12
+ @import "../variables";
13
+
14
+ .sk-folding-cube {
15
+ $cubeCount: 4;
16
+ $animationDuration: 2.4s;
17
+ $delayRange: $animationDuration/2;
18
+
19
+ margin: $spinkit-spinner-margin;
20
+ width: $spinkit-size;
21
+ height: $spinkit-size;
22
+ position: relative;
23
+ transform: rotateZ(45deg);
24
+
25
+ .sk-cube {
26
+ float: left;
27
+ width: 50%;
28
+ height: 50%;
29
+ position: relative;
30
+ transform: scale(1.1);
31
+ }
32
+
33
+ .sk-cube:before {
34
+ content: '';
35
+ position: absolute;
36
+ top: 0;
37
+ left: 0;
38
+ width: 100%;
39
+ height: 100%;
40
+ background-color: $spinkit-spinner-color;
41
+ animation: sk-foldCubeAngle $animationDuration infinite linear both;
42
+ transform-origin: 100% 100%;
43
+ }
44
+
45
+ // Rotation / angle
46
+ @for $i from 2 through $cubeCount {
47
+ .sk-cube#{$i} {
48
+ transform: scale(1.1) rotateZ(90deg * ($i - 1));
49
+ }
50
+ }
51
+
52
+ @for $i from 2 through $cubeCount {
53
+ .sk-cube#{$i}:before {
54
+ animation-delay: $delayRange / $cubeCount * ($i - 1);
55
+ }
56
+ }
57
+ }
58
+
59
+ @keyframes sk-foldCubeAngle {
60
+ 0%, 10% {
61
+ transform: perspective(140px) rotateX(-180deg);
62
+ opacity: 0;
63
+ } 25%, 75% {
64
+ transform: perspective(140px) rotateX(0deg);
65
+ opacity: 1;
66
+ } 90%, 100% {
67
+ transform: perspective(140px) rotateY(180deg);
68
+ opacity: 0;
69
+ }
70
+ }
@@ -0,0 +1,38 @@
1
+ /*
2
+ * Usage:
3
+ *
4
+ <div class="sk-double-bounce">
5
+ <div class="sk-child sk-double-bounce1"></div>
6
+ <div class="sk-child sk-double-bounce2"></div>
7
+ </div>
8
+ *
9
+ */
10
+ @import "../variables";
11
+
12
+ .sk-double-bounce {
13
+ width: $spinkit-size;
14
+ height: $spinkit-size;
15
+ position: relative;
16
+ margin: $spinkit-spinner-margin;
17
+
18
+ .sk-child {
19
+ width: 100%;
20
+ height: 100%;
21
+ border-radius: 50%;
22
+ background-color: $spinkit-spinner-color;
23
+ opacity: 0.6;
24
+ position: absolute;
25
+ top: 0;
26
+ left: 0;
27
+ animation: sk-doubleBounce 2.0s infinite ease-in-out;
28
+ }
29
+
30
+ .sk-double-bounce2 {
31
+ animation-delay: -1.0s;
32
+ }
33
+ }
34
+
35
+ @keyframes sk-doubleBounce {
36
+ 0%, 100% { transform: scale(0) }
37
+ 50% { transform: scale(1.0) }
38
+ }
@@ -0,0 +1,42 @@
1
+ /*
2
+ * Usage:
3
+ *
4
+ <div class="sk-wave">
5
+ <div class="sk-rect sk-rect1"></div>
6
+ <div class="sk-rect sk-rect2"></div>
7
+ <div class="sk-rect sk-rect3"></div>
8
+ <div class="sk-rect sk-rect4"></div>
9
+ <div class="sk-rect sk-rect5"></div>
10
+ </div>
11
+ *
12
+ */
13
+ @import "../variables";
14
+
15
+ .sk-wave {
16
+ $rectCount: 5;
17
+ $animationDuration: 1.2s;
18
+ $delayRange: 0.4s;
19
+
20
+ margin: $spinkit-spinner-margin;
21
+ width: $spinkit-size * 1.25;
22
+ height: $spinkit-size;
23
+ text-align: center;
24
+ font-size: 10px;
25
+
26
+ .sk-rect {
27
+ background-color: $spinkit-spinner-color;
28
+ height: 100%;
29
+ width: 6px;
30
+ display: inline-block;
31
+ animation: sk-waveStretchDelay $animationDuration infinite ease-in-out;
32
+ }
33
+
34
+ @for $i from 1 through $rectCount {
35
+ .sk-rect#{$i} { animation-delay: - $animationDuration + $delayRange / ($rectCount - 1) * ($i - 1); }
36
+ }
37
+ }
38
+
39
+ @keyframes sk-waveStretchDelay {
40
+ 0%, 40%, 100% { transform: scaleY(0.4) }
41
+ 20% { transform: scaleY(1.0) }
42
+ }
@@ -0,0 +1,51 @@
1
+ /*
2
+ * Usage:
3
+ *
4
+ <div class="sk-wandering-cubes">
5
+ <div class="sk-cube sk-cube1"></div>
6
+ <div class="sk-cube sk-cube2"></div>
7
+ </div>
8
+ *
9
+ */
10
+ @import "../variables";
11
+
12
+ .sk-wandering-cubes {
13
+ $animationDuration: 1.8s;
14
+
15
+ margin: $spinkit-spinner-margin;
16
+ width: $spinkit-size;
17
+ height: $spinkit-size;
18
+ position: relative;
19
+
20
+ .sk-cube {
21
+ background-color: $spinkit-spinner-color;
22
+ width: 10px;
23
+ height: 10px;
24
+ position: absolute;
25
+ top: 0;
26
+ left: 0;
27
+ animation: sk-wanderingCube $animationDuration ease-in-out #{-$animationDuration} infinite both;
28
+ }
29
+
30
+ .sk-cube2 {
31
+ animation-delay: -$animationDuration / 2;
32
+ }
33
+ }
34
+
35
+ @keyframes sk-wanderingCube {
36
+ $cubeDistance: 30px;
37
+ 0% {
38
+ transform: rotate(0deg);
39
+ } 25% {
40
+ transform: translateX($cubeDistance) rotate(-90deg) scale(0.5);
41
+ } 50% {
42
+ /* Hack to make FF rotate in the right direction */
43
+ transform: translateX($cubeDistance) translateY($cubeDistance) rotate(-179deg);
44
+ } 50.1% {
45
+ transform: translateX($cubeDistance) translateY($cubeDistance) rotate(-180deg);
46
+ } 75% {
47
+ transform: translateX(0) translateY($cubeDistance) rotate(-270deg) scale(0.5);
48
+ } 100% {
49
+ transform: rotate(-360deg);
50
+ }
51
+ }
@@ -0,0 +1,25 @@
1
+ /*
2
+ * Usage:
3
+ *
4
+ <div class="sk-spinner sk-spinner-pulse"></div>
5
+ *
6
+ */
7
+ @import "../variables";
8
+
9
+ .sk-spinner-pulse {
10
+ width: $spinkit-size;
11
+ height: $spinkit-size;
12
+ margin: $spinkit-spinner-margin;
13
+ background-color: $spinkit-spinner-color;
14
+ border-radius: 100%;
15
+ animation: sk-pulseScaleOut 1.0s infinite ease-in-out;
16
+ }
17
+
18
+ @keyframes sk-pulseScaleOut {
19
+ 0% {
20
+ transform: scale(0);
21
+ } 100% {
22
+ transform: scale(1.0);
23
+ opacity: 0;
24
+ }
25
+ }
@@ -0,0 +1,52 @@
1
+ /*
2
+ * Usage:
3
+ *
4
+ <div class="sk-chasing-dots">
5
+ <div class="sk-child sk-dot1"></div>
6
+ <div class="sk-child sk-dot2"></div>
7
+ </div>
8
+ *
9
+ */
10
+ @import "../variables";
11
+
12
+ .sk-chasing-dots {
13
+ $animationDuration: 2.0s;
14
+
15
+ margin: $spinkit-spinner-margin;
16
+ width: $spinkit-size;
17
+ height: $spinkit-size;
18
+ position: relative;
19
+ text-align: center;
20
+ animation: sk-chasingDotsRotate $animationDuration infinite linear;
21
+
22
+ .sk-child {
23
+ width: 60%;
24
+ height: 60%;
25
+ display: inline-block;
26
+ position: absolute;
27
+ top: 0;
28
+ background-color: $spinkit-spinner-color;
29
+ border-radius: 100%;
30
+ animation: sk-chasingDotsBounce $animationDuration infinite ease-in-out;
31
+ }
32
+
33
+ .sk-dot2 {
34
+ top: auto;
35
+ bottom: 0;
36
+ animation-delay: - $animationDuration/2;
37
+ }
38
+ }
39
+
40
+ @keyframes sk-chasingDotsRotate {
41
+ 100% {
42
+ transform: rotate(360deg);
43
+ }
44
+ }
45
+
46
+ @keyframes sk-chasingDotsBounce {
47
+ 0%, 100% {
48
+ transform: scale(0);
49
+ } 50% {
50
+ transform: scale(1.0);
51
+ }
52
+ }
@@ -0,0 +1,40 @@
1
+ /*
2
+ * Usage:
3
+ *
4
+ <div class="sk-three-bounce">
5
+ <div class="sk-child sk-bounce1"></div>
6
+ <div class="sk-child sk-bounce2"></div>
7
+ <div class="sk-child sk-bounce3"></div>
8
+ </div>
9
+ *
10
+ */
11
+ @import "../variables";
12
+
13
+ .sk-three-bounce {
14
+ $animationDuration: 1.4s;
15
+ $delayRange: 0.32s;
16
+ margin: $spinkit-spinner-margin;
17
+ width: $spinkit-size * 2;
18
+ text-align: center;
19
+
20
+ .sk-child {
21
+ width: $spinkit-size / 2;
22
+ height: $spinkit-size / 2;
23
+ background-color: $spinkit-spinner-color;
24
+
25
+ border-radius: 100%;
26
+ display: inline-block;
27
+ animation: sk-three-bounce $animationDuration ease-in-out 0s infinite both;
28
+ }
29
+
30
+ .sk-bounce1 { animation-delay: -$delayRange; }
31
+ .sk-bounce2 { animation-delay: -$delayRange / 2; }
32
+ }
33
+
34
+ @keyframes sk-three-bounce {
35
+ 0%, 80%, 100% {
36
+ transform: scale(0);
37
+ } 40% {
38
+ transform: scale(1.0);
39
+ }
40
+ }
@@ -0,0 +1,62 @@
1
+ /*
2
+ * Usage:
3
+ *
4
+ <div class="sk-circle">
5
+ <div class="sk-circle1 sk-child"></div>
6
+ <div class="sk-circle2 sk-child"></div>
7
+ <div class="sk-circle3 sk-child"></div>
8
+ <div class="sk-circle4 sk-child"></div>
9
+ <div class="sk-circle5 sk-child"></div>
10
+ <div class="sk-circle6 sk-child"></div>
11
+ <div class="sk-circle7 sk-child"></div>
12
+ <div class="sk-circle8 sk-child"></div>
13
+ <div class="sk-circle9 sk-child"></div>
14
+ <div class="sk-circle10 sk-child"></div>
15
+ <div class="sk-circle11 sk-child"></div>
16
+ <div class="sk-circle12 sk-child"></div>
17
+ </div>
18
+ *
19
+ */
20
+ @import "../variables";
21
+
22
+ .sk-circle {
23
+ $circleCount: 12;
24
+ $animationDuration: 1.2s;
25
+
26
+ margin: $spinkit-spinner-margin;
27
+ width: $spinkit-size;
28
+ height: $spinkit-size;
29
+ position: relative;
30
+
31
+ .sk-child {
32
+ width: 100%;
33
+ height: 100%;
34
+ position: absolute;
35
+ left: 0;
36
+ top: 0;
37
+ }
38
+
39
+ .sk-child:before {
40
+ content: '';
41
+ display: block;
42
+ margin: 0 auto;
43
+ width: 15%;
44
+ height: 15%;
45
+ background-color: $spinkit-spinner-color;
46
+ border-radius: 100%;
47
+ animation: sk-circleBounceDelay $animationDuration infinite ease-in-out both;
48
+ }
49
+
50
+ @for $i from 2 through $circleCount {
51
+ .sk-circle#{$i} { transform: rotate(360deg / $circleCount * ($i - 1)); }
52
+ }
53
+
54
+ @for $i from 2 through $circleCount {
55
+ .sk-circle#{$i}:before { animation-delay: - $animationDuration + $animationDuration / $circleCount * ($i - 1); }
56
+ }
57
+ }
58
+
59
+ @keyframes sk-circleBounceDelay {
60
+ 0%, 80%, 100% { transform: scale(0) }
61
+ 40% { transform: scale(1.0) }
62
+ }
@@ -0,0 +1,55 @@
1
+ /*
2
+ * Usage:
3
+ *
4
+ <div class="sk-cube-grid">
5
+ <div class="sk-cube sk-cube1"></div>
6
+ <div class="sk-cube sk-cube2"></div>
7
+ <div class="sk-cube sk-cube3"></div>
8
+ <div class="sk-cube sk-cube4"></div>
9
+ <div class="sk-cube sk-cube5"></div>
10
+ <div class="sk-cube sk-cube6"></div>
11
+ <div class="sk-cube sk-cube7"></div>
12
+ <div class="sk-cube sk-cube8"></div>
13
+ <div class="sk-cube sk-cube9"></div>
14
+ </div>
15
+ *
16
+ */
17
+ @import "../variables";
18
+
19
+ .sk-cube-grid {
20
+ $delayRange: 0.4s;
21
+
22
+ width: $spinkit-size;
23
+ height: $spinkit-size;
24
+ margin: $spinkit-spinner-margin;
25
+
26
+ .sk-cube {
27
+ width: 33.33%;
28
+ height: 33.33%;
29
+ background-color: $spinkit-spinner-color;
30
+ float: left;
31
+ animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
32
+ }
33
+
34
+ /*
35
+ * Spinner positions
36
+ * 1 2 3
37
+ * 4 5 6
38
+ * 7 8 9
39
+ */
40
+
41
+ .sk-cube1 { animation-delay: $delayRange * 0.50 }
42
+ .sk-cube2 { animation-delay: $delayRange * 0.75 }
43
+ .sk-cube3 { animation-delay: $delayRange }
44
+ .sk-cube4 { animation-delay: $delayRange * 0.25 }
45
+ .sk-cube5 { animation-delay: $delayRange * 0.50 }
46
+ .sk-cube6 { animation-delay: $delayRange * 0.75 }
47
+ .sk-cube7 { animation-delay: 0.0s }
48
+ .sk-cube8 { animation-delay: $delayRange * 0.25 }
49
+ .sk-cube9 { animation-delay: $delayRange * 0.50 }
50
+ }
51
+
52
+ @keyframes sk-cubeGridScaleDelay {
53
+ 0%, 70%, 100% { transform:scale3D(1.0, 1.0, 1.0) }
54
+ 35% { transform:scale3D(0.0, 0.0, 1.0) }
55
+ }
@@ -1,3 +1,3 @@
1
1
  module Cupboard
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cupboard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stan Lo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-10-03 00:00:00.000000000 Z
11
+ date: 2016-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -157,6 +157,7 @@ files:
157
157
  - app/assets/images/category-default.jpg
158
158
  - app/assets/images/default-avatar.png
159
159
  - app/assets/images/favicon.ico
160
+ - app/assets/images/icook-logo-footer.svg
160
161
  - app/assets/images/icook-logo.png
161
162
  - app/assets/images/icook-logo.svg
162
163
  - app/assets/images/logo-2x.png
@@ -166,16 +167,19 @@ files:
166
167
  - app/assets/images/setting-pr.jpg
167
168
  - app/assets/images/step-placeholder.jpg
168
169
  - app/assets/images/vip-icon.svg
170
+ - app/assets/images/vip_modal.svg
169
171
  - app/assets/pages/index.md
170
172
  - app/assets/stylesheets/_base.scss
171
173
  - app/assets/stylesheets/_components.scss
172
174
  - app/assets/stylesheets/_helpers.scss
173
175
  - app/assets/stylesheets/_layouts.scss
176
+ - app/assets/stylesheets/_vendors.scss
174
177
  - app/assets/stylesheets/base/_base.scss
175
178
  - app/assets/stylesheets/base/_basic.scss
176
179
  - app/assets/stylesheets/base/_forms.scss
180
+ - app/assets/stylesheets/base/_inputs.scss
177
181
  - app/assets/stylesheets/base/_lists.scss
178
- - app/assets/stylesheets/base/_table.scss
182
+ - app/assets/stylesheets/base/_tables.scss
179
183
  - app/assets/stylesheets/base/_typography.scss
180
184
  - app/assets/stylesheets/components/_alerts.scss
181
185
  - app/assets/stylesheets/components/_badges.scss
@@ -197,8 +201,13 @@ files:
197
201
  - app/assets/stylesheets/components/alerts/_alert-global.scss
198
202
  - app/assets/stylesheets/components/alerts/_alert-market.scss
199
203
  - app/assets/stylesheets/components/alerts/_alert-no-result.scss
204
+ - app/assets/stylesheets/components/alerts/_report-msg.scss
205
+ - app/assets/stylesheets/components/buttons/_card-buttons.scss
206
+ - app/assets/stylesheets/components/buttons/_default-buttons.scss
207
+ - app/assets/stylesheets/components/buttons/_round-buttons.scss
200
208
  - app/assets/stylesheets/components/cards/_brand-product-card.scss
201
209
  - app/assets/stylesheets/components/cards/_dish-card.scss
210
+ - app/assets/stylesheets/components/cards/_featured-card.scss
202
211
  - app/assets/stylesheets/components/cards/_feeds-card.scss
203
212
  - app/assets/stylesheets/components/cards/_list-card.scss
204
213
  - app/assets/stylesheets/components/cards/_photo-card.scss
@@ -209,6 +218,7 @@ files:
209
218
  - app/assets/stylesheets/components/comments/_single-comment.scss
210
219
  - app/assets/stylesheets/components/covers/_brand-cover.scss
211
220
  - app/assets/stylesheets/components/covers/_categories-cover.scss
221
+ - app/assets/stylesheets/components/covers/_users-cover.scss
212
222
  - app/assets/stylesheets/components/features/_feature-events.scss
213
223
  - app/assets/stylesheets/components/features/_feature-slides.scss
214
224
  - app/assets/stylesheets/components/icons/_footer-social-icons.scss
@@ -216,11 +226,10 @@ files:
216
226
  - app/assets/stylesheets/components/icons/_icookfont.scss
217
227
  - app/assets/stylesheets/components/modals/_modal-reset.scss
218
228
  - app/assets/stylesheets/components/modals/_recipe-list-modal.scss
229
+ - app/assets/stylesheets/components/modals/_vip-modal.scss
219
230
  - app/assets/stylesheets/components/navigations/_blog-navi.scss
220
231
  - app/assets/stylesheets/components/navigations/_brand-tabs-navi.scss
221
- - app/assets/stylesheets/components/navigations/_categories-navi-responsive.scss
222
232
  - app/assets/stylesheets/components/navigations/_categories-navi.scss
223
- - app/assets/stylesheets/components/navigations/_tv-navi.scss
224
233
  - app/assets/stylesheets/components/recipes/_ingredients.scss
225
234
  - app/assets/stylesheets/components/recipes/_notes.scss
226
235
  - app/assets/stylesheets/components/recipes/_recipe-details.scss
@@ -231,6 +240,7 @@ files:
231
240
  - app/assets/stylesheets/components/sidebars/_brand-recent-events.scss
232
241
  - app/assets/stylesheets/components/sidebars/_brand-video.scss
233
242
  - app/assets/stylesheets/components/sidebars/_business-kitchen.scss
243
+ - app/assets/stylesheets/components/sidebars/_business-sponsors.scss
234
244
  - app/assets/stylesheets/components/sidebars/_hot-categories.scss
235
245
  - app/assets/stylesheets/components/sidebars/_icook-video.scss
236
246
  - app/assets/stylesheets/components/sidebars/_popular-recipes.scss
@@ -244,16 +254,60 @@ files:
244
254
  - app/assets/stylesheets/helpers/_mixin-alert.scss
245
255
  - app/assets/stylesheets/helpers/_mixin-animation.scss
246
256
  - app/assets/stylesheets/helpers/_mixin-badge.scss
247
- - app/assets/stylesheets/helpers/_mixin-buttons.scss
257
+ - app/assets/stylesheets/helpers/_mixin-ellipsis.scss
258
+ - app/assets/stylesheets/helpers/_mixin-flex.scss
248
259
  - app/assets/stylesheets/helpers/_mixin-icons.scss
249
260
  - app/assets/stylesheets/helpers/_variables-color.scss
250
261
  - app/assets/stylesheets/layouts/_base-footer.scss
251
- - app/assets/stylesheets/layouts/_footer-nav.scss
252
262
  - app/assets/stylesheets/layouts/_footers.scss
253
263
  - app/assets/stylesheets/layouts/_global-navbar.scss
254
264
  - app/assets/stylesheets/layouts/_grids.scss
255
265
  - app/assets/stylesheets/layouts/_headers.scss
256
- - app/assets/stylesheets/layouts/_sub-header-market.scss
266
+ - app/assets/stylesheets/layouts/_mega-footer.scss
267
+ - app/assets/stylesheets/vendors/SpinKit/.bower.json
268
+ - app/assets/stylesheets/vendors/SpinKit/CHANGELOG.md
269
+ - app/assets/stylesheets/vendors/SpinKit/CONTRIBUTING.md
270
+ - app/assets/stylesheets/vendors/SpinKit/LICENSE
271
+ - app/assets/stylesheets/vendors/SpinKit/README.md
272
+ - app/assets/stylesheets/vendors/SpinKit/bower.json
273
+ - app/assets/stylesheets/vendors/SpinKit/css/spinkit.css
274
+ - app/assets/stylesheets/vendors/SpinKit/css/spinners/1-rotating-plane.css
275
+ - app/assets/stylesheets/vendors/SpinKit/css/spinners/10-fading-circle.css
276
+ - app/assets/stylesheets/vendors/SpinKit/css/spinners/11-folding-cube.css
277
+ - app/assets/stylesheets/vendors/SpinKit/css/spinners/2-double-bounce.css
278
+ - app/assets/stylesheets/vendors/SpinKit/css/spinners/3-wave.css
279
+ - app/assets/stylesheets/vendors/SpinKit/css/spinners/4-wandering-cubes.css
280
+ - app/assets/stylesheets/vendors/SpinKit/css/spinners/5-pulse.css
281
+ - app/assets/stylesheets/vendors/SpinKit/css/spinners/6-chasing-dots.css
282
+ - app/assets/stylesheets/vendors/SpinKit/css/spinners/7-three-bounce.css
283
+ - app/assets/stylesheets/vendors/SpinKit/css/spinners/8-circle.css
284
+ - app/assets/stylesheets/vendors/SpinKit/css/spinners/9-cube-grid.css
285
+ - app/assets/stylesheets/vendors/SpinKit/examples/1-rotating-plane.html
286
+ - app/assets/stylesheets/vendors/SpinKit/examples/10-fading-circle.html
287
+ - app/assets/stylesheets/vendors/SpinKit/examples/11-folding-cube.html
288
+ - app/assets/stylesheets/vendors/SpinKit/examples/2-double-bounce.html
289
+ - app/assets/stylesheets/vendors/SpinKit/examples/3-wave.html
290
+ - app/assets/stylesheets/vendors/SpinKit/examples/4-wandering-cubes.html
291
+ - app/assets/stylesheets/vendors/SpinKit/examples/5-pulse.html
292
+ - app/assets/stylesheets/vendors/SpinKit/examples/6-chasing-dots.html
293
+ - app/assets/stylesheets/vendors/SpinKit/examples/7-three-bounce.html
294
+ - app/assets/stylesheets/vendors/SpinKit/examples/8-circle.html
295
+ - app/assets/stylesheets/vendors/SpinKit/examples/9-cube-grid.html
296
+ - app/assets/stylesheets/vendors/SpinKit/gulpfile.js
297
+ - app/assets/stylesheets/vendors/SpinKit/package.json
298
+ - app/assets/stylesheets/vendors/SpinKit/scss/_variables.scss
299
+ - app/assets/stylesheets/vendors/SpinKit/scss/spinkit.scss
300
+ - app/assets/stylesheets/vendors/SpinKit/scss/spinners/1-rotating-plane.scss
301
+ - app/assets/stylesheets/vendors/SpinKit/scss/spinners/10-fading-circle.scss
302
+ - app/assets/stylesheets/vendors/SpinKit/scss/spinners/11-folding-cube.scss
303
+ - app/assets/stylesheets/vendors/SpinKit/scss/spinners/2-double-bounce.scss
304
+ - app/assets/stylesheets/vendors/SpinKit/scss/spinners/3-wave.scss
305
+ - app/assets/stylesheets/vendors/SpinKit/scss/spinners/4-wandering-cubes.scss
306
+ - app/assets/stylesheets/vendors/SpinKit/scss/spinners/5-pulse.scss
307
+ - app/assets/stylesheets/vendors/SpinKit/scss/spinners/6-chasing-dots.scss
308
+ - app/assets/stylesheets/vendors/SpinKit/scss/spinners/7-three-bounce.scss
309
+ - app/assets/stylesheets/vendors/SpinKit/scss/spinners/8-circle.scss
310
+ - app/assets/stylesheets/vendors/SpinKit/scss/spinners/9-cube-grid.scss
257
311
  - bin/console
258
312
  - bin/setup
259
313
  - config/initializers/assets.rb