kea-rails 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (122) hide show
  1. checksums.yaml +4 -4
  2. data/lib/kea-rails/version.rb +1 -1
  3. data/vendor/assets/components/Keypress/LICENSE +191 -0
  4. data/vendor/assets/components/Keypress/README.md +78 -0
  5. data/vendor/assets/components/Keypress/bower.json +28 -0
  6. data/vendor/assets/components/Keypress/keypress-2.1.0.min.js +33 -0
  7. data/vendor/assets/components/Keypress/keypress.coffee +921 -0
  8. data/vendor/assets/components/Keypress/keypress.js +1132 -0
  9. data/vendor/assets/components/Keypress/package.json +15 -0
  10. data/vendor/assets/components/attachejs/attache-jquery.js +47 -0
  11. data/vendor/assets/components/attachejs/attache-knockout.js +56 -0
  12. data/vendor/assets/components/attachejs/attache.css +10 -0
  13. data/vendor/assets/components/attachejs/attache.js +589 -0
  14. data/vendor/assets/components/attachejs/bower.json +36 -0
  15. data/vendor/assets/components/humane-js/bower.json +8 -0
  16. data/vendor/assets/components/humane-js/changelog.md +165 -0
  17. data/vendor/assets/components/humane-js/humane.js +238 -0
  18. data/vendor/assets/components/humane-js/humane.min.js +11 -0
  19. data/vendor/assets/components/humane-js/index.html +190 -0
  20. data/vendor/assets/components/humane-js/package.json +25 -0
  21. data/vendor/assets/components/humane-js/readme.md +85 -0
  22. data/vendor/assets/components/humane-js/test/issue23.html +11 -0
  23. data/vendor/assets/components/humane-js/test/issue36.html +9 -0
  24. data/vendor/assets/components/humane-js/test/issue38.html +15 -0
  25. data/vendor/assets/components/humane-js/test/issue49.html +9 -0
  26. data/vendor/assets/components/humane-js/theme-src/bigbox.styl +65 -0
  27. data/vendor/assets/components/humane-js/theme-src/boldlight.styl +64 -0
  28. data/vendor/assets/components/humane-js/theme-src/jackedup.styl +69 -0
  29. data/vendor/assets/components/humane-js/theme-src/libnotify.styl +61 -0
  30. data/vendor/assets/components/humane-js/theme-src/original.styl +51 -0
  31. data/vendor/assets/components/humane-js/themes/bigbox.css +123 -0
  32. data/vendor/assets/components/humane-js/themes/boldlight.css +122 -0
  33. data/vendor/assets/components/humane-js/themes/flatty.css +94 -0
  34. data/vendor/assets/components/humane-js/themes/jackedup.css +123 -0
  35. data/vendor/assets/components/humane-js/themes/libnotify.css +115 -0
  36. data/vendor/assets/components/humane-js/themes/original.css +72 -0
  37. data/vendor/assets/components/knockout-sortable/README.md +129 -0
  38. data/vendor/assets/components/knockout-sortable/bower.json +15 -0
  39. data/vendor/assets/components/knockout-sortable/build/knockout-sortable.js +358 -0
  40. data/vendor/assets/components/knockout-sortable/build/knockout-sortable.min.js +2 -0
  41. data/vendor/assets/components/uri.js/README.md +437 -0
  42. data/vendor/assets/components/uri.js/URI.jquery.json +38 -0
  43. data/vendor/assets/components/uri.js/about-uris.html +156 -0
  44. data/vendor/assets/components/uri.js/build.html +66 -0
  45. data/vendor/assets/components/uri.js/build.js +78 -0
  46. data/vendor/assets/components/uri.js/component.json +15 -0
  47. data/vendor/assets/components/uri.js/contribute.md +11 -0
  48. data/vendor/assets/components/uri.js/docs.html +1280 -0
  49. data/vendor/assets/components/uri.js/index.html +173 -0
  50. data/vendor/assets/components/uri.js/jquery-1.10.2.min.js +6 -0
  51. data/vendor/assets/components/uri.js/jquery-1.7.2.min.js +4 -0
  52. data/vendor/assets/components/uri.js/jquery-1.8.2.min.js +2 -0
  53. data/vendor/assets/components/uri.js/jquery-1.9.1.min.js +5 -0
  54. data/vendor/assets/components/uri.js/jquery-uri-plugin.html +203 -0
  55. data/vendor/assets/components/uri.js/package.json +75 -0
  56. data/vendor/assets/components/uri.js/prettify/lang-apollo.js +2 -0
  57. data/vendor/assets/components/uri.js/prettify/lang-clj.js +18 -0
  58. data/vendor/assets/components/uri.js/prettify/lang-css.js +2 -0
  59. data/vendor/assets/components/uri.js/prettify/lang-go.js +1 -0
  60. data/vendor/assets/components/uri.js/prettify/lang-hs.js +2 -0
  61. data/vendor/assets/components/uri.js/prettify/lang-lisp.js +3 -0
  62. data/vendor/assets/components/uri.js/prettify/lang-lua.js +2 -0
  63. data/vendor/assets/components/uri.js/prettify/lang-ml.js +2 -0
  64. data/vendor/assets/components/uri.js/prettify/lang-n.js +4 -0
  65. data/vendor/assets/components/uri.js/prettify/lang-proto.js +1 -0
  66. data/vendor/assets/components/uri.js/prettify/lang-scala.js +2 -0
  67. data/vendor/assets/components/uri.js/prettify/lang-sql.js +2 -0
  68. data/vendor/assets/components/uri.js/prettify/lang-tex.js +1 -0
  69. data/vendor/assets/components/uri.js/prettify/lang-vb.js +2 -0
  70. data/vendor/assets/components/uri.js/prettify/lang-vhdl.js +3 -0
  71. data/vendor/assets/components/uri.js/prettify/lang-wiki.js +2 -0
  72. data/vendor/assets/components/uri.js/prettify/lang-xq.js +3 -0
  73. data/vendor/assets/components/uri.js/prettify/lang-yaml.js +2 -0
  74. data/vendor/assets/components/uri.js/prettify/prettify.css +1 -0
  75. data/vendor/assets/components/uri.js/prettify/prettify.js +28 -0
  76. data/vendor/assets/components/uri.js/prettify/prettify.sunburst.css +52 -0
  77. data/vendor/assets/components/uri.js/screen.css +167 -0
  78. data/vendor/assets/components/uri.js/screen.js +39 -0
  79. data/vendor/assets/components/uri.js/src/IPv6.js +185 -0
  80. data/vendor/assets/components/uri.js/src/SecondLevelDomains.js +220 -0
  81. data/vendor/assets/components/uri.js/src/URI.fragmentQuery.js +103 -0
  82. data/vendor/assets/components/uri.js/src/URI.fragmentURI.js +96 -0
  83. data/vendor/assets/components/uri.js/src/URI.js +1938 -0
  84. data/vendor/assets/components/uri.js/src/URI.min.js +81 -0
  85. data/vendor/assets/components/uri.js/src/URITemplate.js +494 -0
  86. data/vendor/assets/components/uri.js/src/jquery.URI.js +232 -0
  87. data/vendor/assets/components/uri.js/src/jquery.URI.min.js +7 -0
  88. data/vendor/assets/components/uri.js/src/punycode.js +508 -0
  89. data/vendor/assets/components/uri.js/test/index.html +26 -0
  90. data/vendor/assets/components/uri.js/test/pre_libs.js +4 -0
  91. data/vendor/assets/components/uri.js/test/qunit/qunit-composite.css +13 -0
  92. data/vendor/assets/components/uri.js/test/qunit/qunit-composite.js +167 -0
  93. data/vendor/assets/components/uri.js/test/qunit/qunit.css +244 -0
  94. data/vendor/assets/components/uri.js/test/qunit/qunit.js +2212 -0
  95. data/vendor/assets/components/uri.js/test/test.URI.html +26 -0
  96. data/vendor/assets/components/uri.js/test/test.fragmentQuery.html +31 -0
  97. data/vendor/assets/components/uri.js/test/test.fragmentURI.html +31 -0
  98. data/vendor/assets/components/uri.js/test/test.jQuery-1.10.html +31 -0
  99. data/vendor/assets/components/uri.js/test/test.jQuery-1.7.html +31 -0
  100. data/vendor/assets/components/uri.js/test/test.jQuery-1.8.html +31 -0
  101. data/vendor/assets/components/uri.js/test/test.jQuery-1.9.html +31 -0
  102. data/vendor/assets/components/uri.js/test/test.js +1409 -0
  103. data/vendor/assets/components/uri.js/test/test_fragmentQuery.js +57 -0
  104. data/vendor/assets/components/uri.js/test/test_fragmentURI.js +59 -0
  105. data/vendor/assets/components/uri.js/test/test_jim.js +143 -0
  106. data/vendor/assets/components/uri.js/test/test_jquery.js +138 -0
  107. data/vendor/assets/components/uri.js/test/test_template.js +385 -0
  108. data/vendor/assets/components/uri.js/test/urls.js +1236 -0
  109. data/vendor/assets/components/uri.js/uri-template.html +234 -0
  110. data/vendor/assets/components/uri.js/utils/SLDs.php +37 -0
  111. data/vendor/assets/components/uri.js/utils/sld.js +101 -0
  112. data/vendor/assets/components/veiljs/bower.json +36 -0
  113. data/vendor/assets/components/veiljs/veil-jquery.js +47 -0
  114. data/vendor/assets/components/veiljs/veil-knockout.js +55 -0
  115. data/vendor/assets/components/veiljs/veil.js +465 -0
  116. data/vendor/assets/javascripts/fuse.js +472 -0
  117. data/vendor/assets/javascripts/jquery-ui.js +3844 -0
  118. data/vendor/assets/javascripts/knockout-3.2.0-debug.js +5299 -0
  119. data/vendor/assets/javascripts/moment.js +1902 -0
  120. data/vendor/assets/javascripts/pikaday.js +896 -0
  121. data/vendor/assets/stylesheets/pikaday.css +171 -0
  122. metadata +120 -1
@@ -0,0 +1,85 @@
1
+ # humane.js
2
+ This project was heavily inspired by [humanmsg](http://code.google.com/p/humanmsg/) project for jQuery. I really
3
+ liked the project but I wanted to remove the jQuery dependency, add support for CSS transitions, and have more
4
+ control over the timing.
5
+
6
+ ## About
7
+ humane.js tries to be as unobtrusive as possible to the user experience while providing helpful information that is
8
+ clear and grabs the users attention. It is framework independent. Customizable.
9
+
10
+ ## Setup
11
+ Setup is simple:
12
+
13
+ - Download tar/zip
14
+ - Select a [theme](https://github.com/wavded/humane-js/wiki/Themes) from `themes` dir.
15
+ - Include the theme CSS in your page
16
+ - Include `humane.min.js` in your page
17
+
18
+ ## Demo/Usage
19
+
20
+ You can see a [demo and usage here](http://wavded.github.com/humane-js/)
21
+
22
+ ## Custom Themes
23
+
24
+ Got a neat theme/animation, love to see it. View `theme-src/bigbox.styl` for an template to get started (uses [Stylus](http://learnboost.github.com/stylus/) w/ Nib and Canvas).
25
+
26
+ To get setup with Stylus use [npm](http://npmjs.org):
27
+
28
+ ```sh
29
+ npm install --development
30
+ ```
31
+
32
+ With Stylus installed you can watch for changes and compile into CSS by running:
33
+
34
+ ```sh
35
+ npm run watch
36
+ ```
37
+
38
+ ## Desktop and Mobile Browser Support
39
+
40
+ humane.js has been tested for the following browsers.
41
+
42
+ - Internet Explorer 7+
43
+ - Firefox 3+
44
+ - Chrome 9+
45
+ - Safari 3+
46
+ - Opera 10+
47
+ - iOS 4+
48
+ - Android 2+
49
+
50
+ ## AMD and Node.js Support
51
+
52
+ humane.js works for AMD systems like [require.js](http://requirejs.org/) and within Node.js CommonJS module system like [browserify](https://github.com/substack/node-browserify).
53
+
54
+ ## Contributers
55
+
56
+ Many thanks to the JS/Browser wizards that helped make this better, community rocks!
57
+
58
+ - @bga_ (Alexander)
59
+ - @joseanpg (Jose)
60
+ - @OiNutter (Will McKenzie)
61
+ - @ianmassey (Ian Massey)
62
+
63
+ ## License
64
+
65
+ (The MIT License)
66
+
67
+ Copyright (c) 2014 Marc Harter <wavded@gmail.com>
68
+
69
+ Permission is hereby granted, free of charge, to any person obtaining
70
+ a copy of this software and associated documentation files (the
71
+ 'Software'), to deal in the Software without restriction, including
72
+ without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
73
+ permit persons to whom the Software is furnished to do so, subject to
74
+ the following conditions:
75
+
76
+ The above copyright notice and this permission notice shall be
77
+ included in all copies or substantial portions of the Software.
78
+
79
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
80
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
81
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
82
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
83
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
84
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
85
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,11 @@
1
+ <link href='../themes/bigbox.css' rel='stylesheet'>
2
+ <script src='../humane.js'></script>
3
+ <body onload="humaneShow();">
4
+ <p>Automatically Show</p>
5
+ <script>
6
+ function humaneShow(){
7
+ humane.log("Welcome Back");
8
+ }
9
+ </script>
10
+ </body>
11
+
@@ -0,0 +1,9 @@
1
+ <html>
2
+ <head>
3
+ <link href='../themes/bigbox.css' rel='stylesheet'>
4
+ <script src='../humane.js'></script>
5
+ </head>
6
+ <script>
7
+ humane.log("Hello");
8
+ </script>
9
+ </html>
@@ -0,0 +1,15 @@
1
+ <html>
2
+ <head>
3
+ <link href='../themes/bigbox.css' rel='stylesheet'>
4
+ <script src='../humane.js'></script>
5
+ </head>
6
+ <div id='notify'></div>
7
+ <script>
8
+ var notify = humane.create({container: document.getElementById('notify')});
9
+ notify.log("<h2>Order successfully submitted for 435645 of the Test Brochure</h2><p>You will be contacted shortly with confirmation of your order</p>", {
10
+ timeout: 5000,
11
+ clickToClose: false,
12
+ addnCls: "humane-bigbox-success"
13
+ })
14
+ </script>
15
+ </html>
@@ -0,0 +1,9 @@
1
+ <link href='../themes/bigbox.css' rel='stylesheet'>
2
+ <script src='//cdnjs.cloudflare.com/ajax/libs/require.js/2.1.8/require.min.js'></script>
3
+ <script>
4
+ requirejs.config({ baseUrl: '../' })
5
+ require(['humane'], function (humane) {
6
+ console.assert(!window.humane, 'global should not exist')
7
+ humane.log('hello')
8
+ })
9
+ </script>
@@ -0,0 +1,65 @@
1
+ @import 'nib'
2
+ vendor-prefixes = moz webkit ms o official
3
+ support-for-ie = false
4
+
5
+ html, body { min-height: 100% }
6
+ .humane
7
+ .humane-bigbox
8
+ position : fixed
9
+ transition : all .3s ease-out
10
+ z-index : 100000
11
+ filter : unquote("progid:DXImageTransform.Microsoft.Alpha(Opacity=100)")
12
+
13
+ .humane
14
+ .humane-bigbox
15
+ font-family : Ubuntu, Verdana, sans-serif
16
+ line-height : 40px
17
+ font-size : 35px
18
+ top : 25%
19
+ left : 25%
20
+ opacity : 0
21
+ width : 50%
22
+ min-height : 40px
23
+ padding : 30px
24
+ text-align : center
25
+ background-image : linear-gradient-image(200px, rgba(0,0,0,1), rgba(100,100,100,0.8))
26
+ background : linear-gradient(top, rgba(0,0,0,1), rgba(0,0,0,0.9)) no-repeat
27
+ *background-color : #000
28
+ color : #fff
29
+ border-radius : 15px
30
+ text-shadow : 0 -1px 1px #ddd
31
+ box-shadow : 0 15px 15px -15px #000
32
+ transform : scale(0.1)
33
+ p, ul
34
+ margin: 0
35
+ padding: 0
36
+ ul
37
+ list-style: none
38
+ &.humane-bigbox-info
39
+ background-image : linear-gradient-image(200px, rgba(0,0,100,1), rgba(0,0,100,0.8))
40
+ background : linear-gradient(top, rgba(0,0,100,1), rgba(0,0,100,0.9)) no-repeat
41
+ *background-color : #030
42
+ &.humane-bigbox-success
43
+ background-image : linear-gradient-image(200px, rgba(0,100,0,1), rgba(0,100,0,0.8))
44
+ background : linear-gradient(top, rgba(0,100,0,1), rgba(0,100,0,0.9)) no-repeat
45
+ *background-color : #030
46
+ &.humane-bigbox-error
47
+ background-image : linear-gradient-image(200px, rgba(100,0,0,1), rgba(100,0,0,0.8))
48
+ background : linear-gradient(top, rgba(100,0,0,1), rgba(100,0,0,0.9)) no-repeat
49
+ *background-color : #300
50
+
51
+ .humane.humane-animate
52
+ .humane-bigbox.humane-bigbox-animate
53
+ opacity: 1
54
+ transform: scale(1)
55
+ &:hover
56
+ opacity: 0.6
57
+ transform: scale(0.8)
58
+
59
+ .humane.humane-js-animate
60
+ .humane-bigbox.humane-bigbox-js-animate
61
+ opacity: 1
62
+ transform: scale(1)
63
+ &:hover
64
+ opacity: 0.6
65
+ filter : unquote("progid:DXImageTransform.Microsoft.Alpha(Opacity=60)")
@@ -0,0 +1,64 @@
1
+ @import 'nib'
2
+ vendor-prefixes = moz webkit ms o official
3
+ support-for-ie = false
4
+
5
+ html, body { min-height: 100% }
6
+ .humane
7
+ .humane-boldlight
8
+ position : fixed
9
+ transition : all .3s ease-out
10
+ z-index : 100000
11
+ filter : unquote("progid:DXImageTransform.Microsoft.Alpha(Opacity=100)")
12
+
13
+ .humane
14
+ .humane-boldlight
15
+ font-family : Ubuntu, Verdana, sans-serif
16
+ font-size : 25px
17
+ letter-spacing : -1px
18
+ top : 25%
19
+ left : 25%
20
+ opacity : 0
21
+ width : 50%
22
+ color : #000
23
+ padding : 10px
24
+ text-align : center
25
+ background-image : linear-gradient-image(150px, rgba(255,255,255,0.8), rgba(150,150,150,0.8))
26
+ background : linear-gradient(top, rgba(255,255,255,0.8), rgba(150,150,150,0.8)) no-repeat
27
+ *background-color: #fff
28
+ border-radius : 15px
29
+ text-shadow : 0 -1px 1px rgba(#ddd,0.4)
30
+ box-shadow : 0 4px 4px -4px #eee
31
+ transform : scale(1.1)
32
+ p, ul
33
+ margin: 0
34
+ padding: 0
35
+ ul
36
+ list-style: none
37
+ &.humane-boldlight-info
38
+ background-image : linear-gradient-image(200px, rgba(100,100,255,1), rgba(100,100,255,0.8))
39
+ background : linear-gradient(top, rgba(100,100,255,1), rgba(100,100,255,0.8)) no-repeat
40
+ *background-color : rgb(100,100,255)
41
+ &.humane-boldlight-success
42
+ background-image : linear-gradient-image(200px, rgba(100,255,100,0.8), rgba(100,255,100,0.8))
43
+ background : linear-gradient(top, rgba(100,255,100,1), rgba(100,255,100,0.8)) no-repeat
44
+ *background-color : rgb(100,255,100)
45
+ &.humane-boldlight-error
46
+ background-image : linear-gradient-image(200px, rgba(255,100,100,0.8), rgba(255,100,100,0.8))
47
+ background : linear-gradient(top, rgba(255,100,100,1), rgba(255,100,100,0.8)) no-repeat
48
+ *background-color : rgb(255,100,100)
49
+
50
+ .humane.humane-animate
51
+ .humane-boldlight.humane-boldlight-animate
52
+ opacity : 1
53
+ transform : scale(1)
54
+ &:hover
55
+ opacity : 0.4
56
+ transform : scale(1.8)
57
+
58
+ .humane.humane-animate
59
+ .humane-boldlight.humane-boldlight-js-animate
60
+ opacity : 1
61
+ transform : scale(1)
62
+ &:hover
63
+ opacity : 0.4
64
+ filter : unquote("progid:DXImageTransform.Microsoft.Alpha(Opacity=40)")
@@ -0,0 +1,69 @@
1
+ @import 'nib'
2
+ vendor-prefixes = moz webkit ms o official
3
+ support-for-ie = false
4
+
5
+ html, body { min-height: 100% }
6
+ .humane
7
+ .humane-jackedup
8
+ position : fixed
9
+ transition : all .6s ease-in-out
10
+ z-index : 100000
11
+ filter : unquote("progid:DXImageTransform.Microsoft.Alpha(Opacity=100)")
12
+
13
+ .humane
14
+ .humane-jackedup
15
+ font-family : Helvetica Neue, Helvetica, san-serif
16
+ font-size : 18px
17
+ letter-spacing : -1px
18
+ top : 20px
19
+ left : 30%
20
+ opacity : 0
21
+ width : 40%
22
+ color : #333
23
+ padding : 10px
24
+ text-align : center
25
+ background-image : linear-gradient-image(150px, rgba(0,0,0,.1), rgba(0,0,0,.2))
26
+ background : linear-gradient(top, rgba(0,0,0,.1), rgba(0,0,0,.2)) no-repeat
27
+ background-color : #fff
28
+ border-radius : 3px
29
+ text-shadow : 0 1px 1px rgba(rgba(255,255,255,.8))
30
+ box-shadow : 0 1px 2px rgba(0,0,0,.5)
31
+ transform : translateY(-100px)
32
+ p, ul
33
+ margin: 0
34
+ padding: 0
35
+ ul
36
+ list-style: none
37
+ &.humane-jackedup-info
38
+ background-image : linear-gradient-image(200px, rgba(100,100,255,1), rgba(100,100,255,0.8))
39
+ background : linear-gradient(top, rgba(0,0,0,.7), rgba(0,0,0,.85)) no-repeat
40
+ background-color : #fff
41
+ color : #fff
42
+ text-shadow : 0 -1px 1px rgba(0,0,0,.35)
43
+ &.humane-jackedup-success
44
+ background-image : linear-gradient-image(200px, rgba(100,255,100,1), rgba(100,255,100,0.8))
45
+ background : linear-gradient(top, rgba(98,196,98,1), rgba(87,169,87,1)) no-repeat
46
+ background-color : rgb(100,255,100)
47
+ color : #fff
48
+ text-shadow : 0 -1px 1px rgba(0,0,0,.35)
49
+ &.humane-jackedup-error
50
+ background-image : linear-gradient-image(200px, rgba(238,95,91,1), rgba(196,60,53,1))
51
+ background : linear-gradient(top, rgba(238,95,91,1), rgba(196,60,53,1)) no-repeat
52
+ background-color : rgb(238,95,91)
53
+ color : #fff
54
+ text-shadow : 0 -1px 1px rgba(rgba(0,0,0,.35))
55
+
56
+ .humane-animate
57
+ .humane-jackedup.humane-jackedup-animate
58
+ opacity : 1
59
+ transform : translateY(0)
60
+ &:hover
61
+ opacity : .7
62
+
63
+ .humane-js-animate
64
+ .humane-jackedup.humane-jackedup-js-animate
65
+ opacity : 1
66
+ transform : translateY(0)
67
+ &:hover
68
+ opacity : 0.7
69
+ filter : unquote("progid:DXImageTransform.Microsoft.Alpha(Opacity=70)")
@@ -0,0 +1,61 @@
1
+ @import 'nib'
2
+ vendor-prefixes = moz webkit ms o official
3
+ support-for-ie = false
4
+
5
+ html, body { min-height: 100% }
6
+ .humane
7
+ .humane-libnotify
8
+ position : fixed
9
+ transition : all .3s ease-out
10
+ z-index : 100000
11
+ filter : unquote("progid:DXImageTransform.Microsoft.Alpha(Opacity=100)")
12
+
13
+ .humane
14
+ .humane-libnotify
15
+ font-family : Ubuntu, Arial, sans-serif
16
+ text-align : center
17
+ font-size : 15px
18
+ top : 10px
19
+ right : 10px
20
+ opacity : 0
21
+ width : 150px
22
+ color : #fff
23
+ padding : 10px
24
+ background-image : linear-gradient-image(80px, rgba(0,0,0,0.9), rgba(50,50,50,0.9))
25
+ background : linear-gradient(top, rgba(0,0,0,0.9), rgba(50,50,50,0.9)) no-repeat
26
+ *background-color : #000
27
+ border-radius : 5px
28
+ box-shadow : 0 4px 4px -4px #000
29
+ transform : translateY(-40px)
30
+ p, ul
31
+ margin: 0
32
+ padding: 0
33
+ ul
34
+ list-style: none
35
+ &.humane-libnotify-info
36
+ background-image : linear-gradient-image(80px, rgba(0,0,50,0.9), rgba(0,0,100,0.9))
37
+ background : linear-gradient(top, rgba(0,0,50,0.9), rgba(0,0,100,0.9)) no-repeat
38
+ *background-color : #030
39
+ &.humane-libnotify-success
40
+ background-image : linear-gradient-image(80px, rgba(0,50,0,0.9), rgba(0,100,0,0.9))
41
+ background : linear-gradient(top, rgba(0,50,0,0.9), rgba(0,100,0,0.9)) no-repeat
42
+ *background-color : #030
43
+ &.humane-libnotify-error
44
+ background-image : linear-gradient-image(200px, rgba(50,0,0,0.9), rgba(100,0,0,0.9))
45
+ background : linear-gradient(top, rgba(50,0,0,0.9), rgba(100,0,0,0.9)) no-repeat
46
+ *background-color : #300
47
+
48
+ .humane.humane-animate
49
+ .humane-libnotify.humane-libnotify-animate
50
+ opacity : 1
51
+ transform : translateY(0)
52
+ &:hover
53
+ opacity : 0.2
54
+
55
+ .humane.humane-animate
56
+ .humane-libnotify.humane-libnotify-js-animate
57
+ opacity : 1
58
+ transform : translateY(0)
59
+ &:hover
60
+ opacity : 0.2
61
+ filter : unquote("progid:DXImageTransform.Microsoft.Alpha(Opacity=20)")
@@ -0,0 +1,51 @@
1
+ @import 'nib'
2
+ vendor-prefixes = moz webkit ms o official
3
+ support-for-ie = false
4
+
5
+ html, body { min-height: 100% }
6
+ .humane
7
+ .humane-original
8
+ position : fixed
9
+ transition : all .2s ease-out
10
+ z-index : 100000
11
+ filter : unquote("progid:DXImageTransform.Microsoft.Alpha(Opacity=100)")
12
+
13
+ .humane
14
+ .humane-original
15
+ font-family : Ubuntu, Verdana, sans-serif
16
+ line-height : 40px
17
+ font-size : 25px
18
+ top : 25%
19
+ left : 25%
20
+ opacity : 0
21
+ width : 50%
22
+ min-height : 40px
23
+ padding : 10px
24
+ text-align : center
25
+ background-color : #000
26
+ color : #fff
27
+ border-radius : 15px
28
+ p, ul
29
+ margin: 0
30
+ padding: 0
31
+ ul
32
+ list-style: none
33
+ &.humane-original-info
34
+ background-color : #030
35
+ &.humane-original-success
36
+ background-color : #030
37
+ &.humane-original-error
38
+ background-color : #300
39
+
40
+ .humane.humane-animate
41
+ .humane-original.humane-original-animate
42
+ opacity : 0.8
43
+ &:hover
44
+ opacity : 0.6
45
+
46
+ .humane.humane-js-animate
47
+ .humane-original.humane-original-js-animate
48
+ opacity : 0.8
49
+ &:hover
50
+ opacity : 0.6
51
+ filter : unquote("progid:DXImageTransform.Microsoft.Alpha(Opacity=60)")
@@ -0,0 +1,123 @@
1
+ html,
2
+ body {
3
+ min-height: 100%;
4
+ }
5
+ .humane,
6
+ .humane-bigbox {
7
+ position: fixed;
8
+ -moz-transition: all 0.3s ease-out;
9
+ -webkit-transition: all 0.3s ease-out;
10
+ -ms-transition: all 0.3s ease-out;
11
+ -o-transition: all 0.3s ease-out;
12
+ transition: all 0.3s ease-out;
13
+ z-index: 100000;
14
+ filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
15
+ }
16
+ .humane,
17
+ .humane-bigbox {
18
+ font-family: Ubuntu, Verdana, sans-serif;
19
+ line-height: 40px;
20
+ font-size: 35px;
21
+ top: 25%;
22
+ left: 25%;
23
+ opacity: 0;
24
+ width: 50%;
25
+ min-height: 40px;
26
+ padding: 30px;
27
+ text-align: center;
28
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADICAYAAAAp8ov1AAAABmJLR0QA/wD/AP+gvaeTAAAAc0lEQVQokb2RQQ6EMAwDx/7/n80BtIEC3RYhLlXrVLGTAYiBWBIGtkPSP01SfreTVoV5re9Rcee1scwDk9NurbR62sZJcpzy9O+2X5KsXabyPaQFYNuvkqkRviDTp9Vs8opC0TpkHvJtVjeReW/5kEyX1gKeLEKE9peeWAAAAABJRU5ErkJggg==');
29
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #000), color-stop(1, rgba(0,0,0,0.9))) no-repeat;
30
+ background: -moz-linear-gradient(top, #000 0%, rgba(0,0,0,0.9) 100%) no-repeat;
31
+ background: -webkit-linear-gradient(top, #000 0%, rgba(0,0,0,0.9) 100%) no-repeat;
32
+ background: -ms-linear-gradient(top, #000 0%, rgba(0,0,0,0.9) 100%) no-repeat;
33
+ background: -o-linear-gradient(top, #000 0%, rgba(0,0,0,0.9) 100%) no-repeat;
34
+ background: linear-gradient(top, #000 0%, rgba(0,0,0,0.9) 100%) no-repeat;
35
+ *background-color: #000;
36
+ color: #fff;
37
+ -webkit-border-radius: 15px;
38
+ border-radius: 15px;
39
+ text-shadow: 0 -1px 1px #ddd;
40
+ -webkit-box-shadow: 0 15px 15px -15px #000;
41
+ box-shadow: 0 15px 15px -15px #000;
42
+ -moz-transform: scale(0.1);
43
+ -webkit-transform: scale(0.1);
44
+ -ms-transform: scale(0.1);
45
+ -o-transform: scale(0.1);
46
+ transform: scale(0.1);
47
+ }
48
+ .humane p,
49
+ .humane-bigbox p,
50
+ .humane ul,
51
+ .humane-bigbox ul {
52
+ margin: 0;
53
+ padding: 0;
54
+ }
55
+ .humane ul,
56
+ .humane-bigbox ul {
57
+ list-style: none;
58
+ }
59
+ .humane.humane-bigbox-info,
60
+ .humane-bigbox.humane-bigbox-info {
61
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADICAYAAAAp8ov1AAAABmJLR0QA/wD/AP+gvaeTAAAAQElEQVQokWNgYEj5z8TAwPCfiYGBgQGVIEKMTG2DTYwRVez/IHIaNcUGyBnYgpORel6gpvFEJhBqpxIaG8/AAADsKDq/HhYQ2AAAAABJRU5ErkJggg==');
62
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #000064), color-stop(1, rgba(0,0,100,0.9))) no-repeat;
63
+ background: -moz-linear-gradient(top, #000064 0%, rgba(0,0,100,0.9) 100%) no-repeat;
64
+ background: -webkit-linear-gradient(top, #000064 0%, rgba(0,0,100,0.9) 100%) no-repeat;
65
+ background: -ms-linear-gradient(top, #000064 0%, rgba(0,0,100,0.9) 100%) no-repeat;
66
+ background: -o-linear-gradient(top, #000064 0%, rgba(0,0,100,0.9) 100%) no-repeat;
67
+ background: linear-gradient(top, #000064 0%, rgba(0,0,100,0.9) 100%) no-repeat;
68
+ *background-color: #030;
69
+ }
70
+ .humane.humane-bigbox-success,
71
+ .humane-bigbox.humane-bigbox-success {
72
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADICAYAAAAp8ov1AAAABmJLR0QA/wD/AP+gvaeTAAAAPklEQVQokWNgSGH4z8TAACEYUAkixMjUNsjEGFHF/g8ip1FVbGCcgS04GannBaoaT1wCwWkvmXbQ2HgGBgYA8Yw6v+m4Kh8AAAAASUVORK5CYII=');
73
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #006400), color-stop(1, rgba(0,100,0,0.9))) no-repeat;
74
+ background: -moz-linear-gradient(top, #006400 0%, rgba(0,100,0,0.9) 100%) no-repeat;
75
+ background: -webkit-linear-gradient(top, #006400 0%, rgba(0,100,0,0.9) 100%) no-repeat;
76
+ background: -ms-linear-gradient(top, #006400 0%, rgba(0,100,0,0.9) 100%) no-repeat;
77
+ background: -o-linear-gradient(top, #006400 0%, rgba(0,100,0,0.9) 100%) no-repeat;
78
+ background: linear-gradient(top, #006400 0%, rgba(0,100,0,0.9) 100%) no-repeat;
79
+ *background-color: #030;
80
+ }
81
+ .humane.humane-bigbox-error,
82
+ .humane-bigbox.humane-bigbox-error {
83
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADICAYAAAAp8ov1AAAABmJLR0QA/wD/AP+gvaeTAAAAPklEQVQokWNIYWD4z8QAJRhQCSLEyNQ2uMQYUcX+DyKnUVdsQJyBLTgZqecF6hpPVALBaS+ZdtDYeAYGBgYA9vA6v4OR3MkAAAAASUVORK5CYII=');
84
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #640000), color-stop(1, rgba(100,0,0,0.9))) no-repeat;
85
+ background: -moz-linear-gradient(top, #640000 0%, rgba(100,0,0,0.9) 100%) no-repeat;
86
+ background: -webkit-linear-gradient(top, #640000 0%, rgba(100,0,0,0.9) 100%) no-repeat;
87
+ background: -ms-linear-gradient(top, #640000 0%, rgba(100,0,0,0.9) 100%) no-repeat;
88
+ background: -o-linear-gradient(top, #640000 0%, rgba(100,0,0,0.9) 100%) no-repeat;
89
+ background: linear-gradient(top, #640000 0%, rgba(100,0,0,0.9) 100%) no-repeat;
90
+ *background-color: #300;
91
+ }
92
+ .humane.humane-animate,
93
+ .humane-bigbox.humane-bigbox-animate {
94
+ opacity: 1;
95
+ -moz-transform: scale(1);
96
+ -webkit-transform: scale(1);
97
+ -ms-transform: scale(1);
98
+ -o-transform: scale(1);
99
+ transform: scale(1);
100
+ }
101
+ .humane.humane-animate:hover,
102
+ .humane-bigbox.humane-bigbox-animate:hover {
103
+ opacity: 0.6;
104
+ -moz-transform: scale(0.8);
105
+ -webkit-transform: scale(0.8);
106
+ -ms-transform: scale(0.8);
107
+ -o-transform: scale(0.8);
108
+ transform: scale(0.8);
109
+ }
110
+ .humane.humane-js-animate,
111
+ .humane-bigbox.humane-bigbox-js-animate {
112
+ opacity: 1;
113
+ -moz-transform: scale(1);
114
+ -webkit-transform: scale(1);
115
+ -ms-transform: scale(1);
116
+ -o-transform: scale(1);
117
+ transform: scale(1);
118
+ }
119
+ .humane.humane-js-animate:hover,
120
+ .humane-bigbox.humane-bigbox-js-animate:hover {
121
+ opacity: 0.6;
122
+ filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=60);
123
+ }