cupboard 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/app/assets/images/icook-logo-footer.svg +1 -0
- data/app/assets/images/vip_modal.svg +1 -0
- data/app/assets/stylesheets/_base.scss +3 -1
- data/app/assets/stylesheets/_components.scss +31 -29
- data/app/assets/stylesheets/_helpers.scss +4 -3
- data/app/assets/stylesheets/_layouts.scss +1 -2
- data/app/assets/stylesheets/_vendors.scss +7 -0
- data/app/assets/stylesheets/base/_basic.scss +35 -0
- data/app/assets/stylesheets/base/_forms.scss +96 -50
- data/app/assets/stylesheets/base/_inputs.scss +85 -0
- data/app/assets/stylesheets/base/_lists.scss +1 -1
- data/app/assets/stylesheets/base/{_table.scss → _tables.scss} +12 -12
- data/app/assets/stylesheets/base/_typography.scss +34 -210
- data/app/assets/stylesheets/components/_badges.scss +47 -10
- data/app/assets/stylesheets/components/_breadcrumbs.scss +25 -9
- data/app/assets/stylesheets/components/_buttons.scss +3 -207
- data/app/assets/stylesheets/components/_pagination.scss +26 -16
- data/app/assets/stylesheets/components/_search-form.scss +89 -28
- data/app/assets/stylesheets/components/_sorting-cards.scss +1 -1
- data/app/assets/stylesheets/components/alerts/_alert-global.scss +45 -23
- data/app/assets/stylesheets/components/alerts/_alert-market.scss +6 -6
- data/app/assets/stylesheets/components/alerts/_alert-no-result.scss +1 -0
- data/app/assets/stylesheets/components/alerts/_report-msg.scss +51 -0
- data/app/assets/stylesheets/components/buttons/_card-buttons.scss +88 -0
- data/app/assets/stylesheets/components/buttons/_default-buttons.scss +98 -0
- data/app/assets/stylesheets/components/buttons/_round-buttons.scss +125 -0
- data/app/assets/stylesheets/components/cards/_brand-product-card.scss +65 -36
- data/app/assets/stylesheets/components/cards/_dish-card.scss +8 -12
- data/app/assets/stylesheets/components/cards/_featured-card.scss +69 -0
- data/app/assets/stylesheets/components/cards/_feeds-card.scss +9 -12
- data/app/assets/stylesheets/components/cards/_list-card.scss +88 -96
- data/app/assets/stylesheets/components/cards/_photo-card.scss +57 -101
- data/app/assets/stylesheets/components/cards/_product-card.scss +8 -8
- data/app/assets/stylesheets/components/cards/_recipe-card.scss +86 -67
- data/app/assets/stylesheets/components/cards/_video-card.scss +28 -29
- data/app/assets/stylesheets/components/comments/_comment-form.scss +5 -13
- data/app/assets/stylesheets/components/comments/_single-comment.scss +21 -14
- data/app/assets/stylesheets/components/covers/_brand-cover.scss +1 -1
- data/app/assets/stylesheets/components/covers/_categories-cover.scss +65 -45
- data/app/assets/stylesheets/components/covers/_users-cover.scss +75 -0
- data/app/assets/stylesheets/components/features/_feature-events.scss +2 -5
- data/app/assets/stylesheets/components/features/_feature-slides.scss +5 -6
- data/app/assets/stylesheets/components/icons/_footer-social-icons.scss +11 -34
- data/app/assets/stylesheets/components/icons/_icon-status.scss +12 -16
- data/app/assets/stylesheets/components/icons/_icookfont.scss +5 -0
- data/app/assets/stylesheets/components/modals/_modal-reset.scss +1 -1
- data/app/assets/stylesheets/components/modals/_recipe-list-modal.scss +8 -5
- data/app/assets/stylesheets/components/modals/_vip-modal.scss +114 -0
- data/app/assets/stylesheets/components/navigations/_blog-navi.scss +15 -19
- data/app/assets/stylesheets/components/navigations/_brand-tabs-navi.scss +4 -4
- data/app/assets/stylesheets/components/navigations/_categories-navi.scss +54 -137
- data/app/assets/stylesheets/components/recipes/_ingredients.scss +17 -22
- data/app/assets/stylesheets/components/recipes/_notes.scss +2 -2
- data/app/assets/stylesheets/components/recipes/_recipe-details.scss +5 -3
- data/app/assets/stylesheets/components/recipes/_recipe-navi.scss +29 -32
- data/app/assets/stylesheets/components/recipes/_steps.scss +2 -9
- data/app/assets/stylesheets/components/sidebars/_brand-ingredients.scss +3 -8
- data/app/assets/stylesheets/components/sidebars/_brand-popular-lists.scss +10 -13
- data/app/assets/stylesheets/components/sidebars/_brand-recent-events.scss +1 -2
- data/app/assets/stylesheets/components/sidebars/_business-kitchen.scss +11 -10
- data/app/assets/stylesheets/components/sidebars/_business-sponsors.scss +65 -0
- data/app/assets/stylesheets/components/sidebars/_hot-categories.scss +20 -39
- data/app/assets/stylesheets/components/sidebars/_icook-video.scss +4 -8
- data/app/assets/stylesheets/components/sidebars/_popular-recipes.scss +88 -33
- data/app/assets/stylesheets/components/sidebars/_popular-search.scss +17 -25
- data/app/assets/stylesheets/components/sidebars/_recipes-collect.scss +5 -2
- data/app/assets/stylesheets/components/sidebars/_sidebar-basic.scss +5 -14
- data/app/assets/stylesheets/components/sidebars/_tv-more-recipes.scss +3 -4
- data/app/assets/stylesheets/components/sidebars/_tv-popular-tags.scss +4 -5
- data/app/assets/stylesheets/components/users/_fav-list.scss +6 -8
- data/app/assets/stylesheets/components/users/_user-stats.scss +29 -25
- data/app/assets/stylesheets/helpers/_mixin-badge.scss +4 -3
- data/app/assets/stylesheets/helpers/_mixin-ellipsis.scss +39 -0
- data/app/assets/stylesheets/helpers/_mixin-flex.scss +247 -0
- data/app/assets/stylesheets/helpers/_mixin-icons.scss +6 -18
- data/app/assets/stylesheets/helpers/_variables-color.scss +47 -83
- data/app/assets/stylesheets/layouts/_base-footer.scss +15 -18
- data/app/assets/stylesheets/layouts/_global-navbar.scss +12 -15
- data/app/assets/stylesheets/layouts/_mega-footer.scss +298 -0
- data/app/assets/stylesheets/vendors/SpinKit/.bower.json +30 -0
- data/app/assets/stylesheets/vendors/SpinKit/CHANGELOG.md +40 -0
- data/app/assets/stylesheets/vendors/SpinKit/CONTRIBUTING.md +22 -0
- data/app/assets/stylesheets/vendors/SpinKit/LICENSE +20 -0
- data/app/assets/stylesheets/vendors/SpinKit/README.md +72 -0
- data/app/assets/stylesheets/vendors/SpinKit/bower.json +19 -0
- data/app/assets/stylesheets/vendors/SpinKit/css/spinkit.css +770 -0
- data/app/assets/stylesheets/vendors/SpinKit/css/spinners/1-rotating-plane.css +35 -0
- data/app/assets/stylesheets/vendors/SpinKit/css/spinners/10-fading-circle.css +129 -0
- data/app/assets/stylesheets/vendors/SpinKit/css/spinners/11-folding-cube.css +85 -0
- data/app/assets/stylesheets/vendors/SpinKit/css/spinners/2-double-bounce.css +44 -0
- data/app/assets/stylesheets/vendors/SpinKit/css/spinners/3-wave.css +56 -0
- data/app/assets/stylesheets/vendors/SpinKit/css/spinners/4-wandering-cubes.css +68 -0
- data/app/assets/stylesheets/vendors/SpinKit/css/spinners/5-pulse.css +32 -0
- data/app/assets/stylesheets/vendors/SpinKit/css/spinners/6-chasing-dots.css +58 -0
- data/app/assets/stylesheets/vendors/SpinKit/css/spinners/7-three-bounce.css +44 -0
- data/app/assets/stylesheets/vendors/SpinKit/css/spinners/8-circle.css +133 -0
- data/app/assets/stylesheets/vendors/SpinKit/css/spinners/9-cube-grid.css +76 -0
- data/app/assets/stylesheets/vendors/SpinKit/examples/1-rotating-plane.html +49 -0
- data/app/assets/stylesheets/vendors/SpinKit/examples/10-fading-circle.html +156 -0
- data/app/assets/stylesheets/vendors/SpinKit/examples/11-folding-cube.html +104 -0
- data/app/assets/stylesheets/vendors/SpinKit/examples/2-double-bounce.html +61 -0
- data/app/assets/stylesheets/vendors/SpinKit/examples/3-wave.html +76 -0
- data/app/assets/stylesheets/vendors/SpinKit/examples/4-wandering-cubes.html +85 -0
- data/app/assets/stylesheets/vendors/SpinKit/examples/5-pulse.html +46 -0
- data/app/assets/stylesheets/vendors/SpinKit/examples/6-chasing-dots.html +75 -0
- data/app/assets/stylesheets/vendors/SpinKit/examples/7-three-bounce.html +62 -0
- data/app/assets/stylesheets/vendors/SpinKit/examples/8-circle.html +160 -0
- data/app/assets/stylesheets/vendors/SpinKit/examples/9-cube-grid.html +100 -0
- data/app/assets/stylesheets/vendors/SpinKit/gulpfile.js +97 -0
- data/app/assets/stylesheets/vendors/SpinKit/package.json +34 -0
- data/app/assets/stylesheets/vendors/SpinKit/scss/_variables.scss +3 -0
- data/app/assets/stylesheets/vendors/SpinKit/scss/spinkit.scss +12 -0
- data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/1-rotating-plane.scss +25 -0
- data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/10-fading-circle.scss +63 -0
- data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/11-folding-cube.scss +70 -0
- data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/2-double-bounce.scss +38 -0
- data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/3-wave.scss +42 -0
- data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/4-wandering-cubes.scss +51 -0
- data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/5-pulse.scss +25 -0
- data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/6-chasing-dots.scss +52 -0
- data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/7-three-bounce.scss +40 -0
- data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/8-circle.scss +62 -0
- data/app/assets/stylesheets/vendors/SpinKit/scss/spinners/9-cube-grid.scss +55 -0
- data/lib/cupboard/version.rb +1 -1
- metadata +62 -8
- data/app/assets/stylesheets/components/navigations/_categories-navi-responsive.scss +0 -129
- data/app/assets/stylesheets/components/navigations/_tv-navi.scss +0 -252
- data/app/assets/stylesheets/helpers/_mixin-buttons.scss +0 -17
- data/app/assets/stylesheets/layouts/_footer-nav.scss +0 -151
- data/app/assets/stylesheets/layouts/_sub-header-market.scss +0 -138
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2015 Tobias Ahlin
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
6
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
7
|
+
the Software without restriction, including without limitation the rights to
|
|
8
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
9
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
10
|
+
subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
17
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
18
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
19
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
20
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# [SpinKit](http://tobiasahlin.com/spinkit/)
|
|
2
|
+
|
|
3
|
+
Simple loading spinners animated with CSS. See [demo](http://tobiasahlin.com/spinkit/). SpinKit uses hardware accelerated (`translate` and `opacity`) CSS animations to create smooth and easily customizable animations.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
### Regular CSS
|
|
8
|
+
|
|
9
|
+
Grab the HTML and CSS for a spinner from the example files, or add SpinKit directly to your project with `bower`:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
$ bower install spinkit
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
or npm:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
$ npm install spinkit
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
### SCSS
|
|
22
|
+
|
|
23
|
+
If you're using SCSS you can include specific spinners (rather than all of them) by importing them one by one:
|
|
24
|
+
|
|
25
|
+
```scss
|
|
26
|
+
@import '../bower_components/spinkit/scss/spinners/1-rotating-plane',
|
|
27
|
+
'../bower_components/spinkit/scss/spinners/3-wave';
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
You currently need to use an [autoprefixer](https://github.com/postcss/autoprefixer) if you want to support all browsers. If you're compiling your SCSS with gulp you can use [gulp-autoprefixer](https://github.com/sindresorhus/gulp-autoprefixer), and [grunt-autoprefixer](https://github.com/nDmitry/grunt-autoprefixer) if you use grunt.
|
|
31
|
+
|
|
32
|
+
Variables that can be overridden are listed in [scss/_variables.scss](https://github.com/tobiasahlin/SpinKit/blob/master/scss/_variables.scss).
|
|
33
|
+
|
|
34
|
+
## Web browser compatibility
|
|
35
|
+
|
|
36
|
+
CSS animations are supported in the latest version of all major browsers, and browsers with `animation` support make up [almost 90% of all usage](http://caniuse.com/#feat=css-animation). If you need to support IE9 and below, however, this section is for you.
|
|
37
|
+
|
|
38
|
+
### Implementing a fallback spinner
|
|
39
|
+
|
|
40
|
+
How do you know if you need to provide a fallback? You can easily check for animation support with [Modernizr](http://modernizr.com), or manually check for the `animation` property, and replace the spinner with a GIF if it's not supported:
|
|
41
|
+
|
|
42
|
+
```javascript
|
|
43
|
+
function browserSupportsCSSProperty(propertyName) {
|
|
44
|
+
var elm = document.createElement('div');
|
|
45
|
+
propertyName = propertyName.toLowerCase();
|
|
46
|
+
|
|
47
|
+
if (elm.style[propertyName] != undefined)
|
|
48
|
+
return true;
|
|
49
|
+
|
|
50
|
+
var propertyNameCapital = propertyName.charAt(0).toUpperCase() + propertyName.substr(1),
|
|
51
|
+
domPrefixes = 'Webkit Moz ms O'.split(' ');
|
|
52
|
+
|
|
53
|
+
for (var i = 0; i < domPrefixes.length; i++) {
|
|
54
|
+
if (elm.style[domPrefixes[i] + propertyNameCapital] != undefined)
|
|
55
|
+
return true;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
return false;
|
|
59
|
+
}
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Use it to check for `animation` support:
|
|
63
|
+
|
|
64
|
+
```javascript
|
|
65
|
+
if (!browserSupportsCSSProperty('animation')) {
|
|
66
|
+
// fallback…
|
|
67
|
+
}
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Contributing
|
|
71
|
+
|
|
72
|
+
See [CONTRIBUTING.md](https://github.com/tobiasahlin/SpinKit/blob/master/CONTRIBUTING.md) for details.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "SpinKit",
|
|
3
|
+
"homepage": "https://github.com/tobiasahlin/SpinKit",
|
|
4
|
+
"authors": [
|
|
5
|
+
"Tobias Ahlin"
|
|
6
|
+
],
|
|
7
|
+
"description": "A collection of loading indicators animated with CSS",
|
|
8
|
+
"main": "css/spinkit.css",
|
|
9
|
+
"keywords": [
|
|
10
|
+
"css",
|
|
11
|
+
"scss",
|
|
12
|
+
"web"
|
|
13
|
+
],
|
|
14
|
+
"license": "MIT",
|
|
15
|
+
"ignore": [
|
|
16
|
+
"**/.*",
|
|
17
|
+
"node_modules"
|
|
18
|
+
]
|
|
19
|
+
}
|