alertifyjs-rails 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,34 @@
1
+ .alertify .ajs-dimmer {
2
+ background-color: #000;
3
+ opacity: .5;
4
+ }
5
+ .alertify .ajs-dialog {
6
+ max-width: 600px;
7
+ min-height: 122px;
8
+ background-color: #fff;
9
+ border: 1px solid rgba(0, 0, 0, 0.2);
10
+ box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
11
+ border-radius: 6px;
12
+ }
13
+ .alertify .ajs-header {
14
+ color: #333;
15
+ border-bottom: 1px solid #e5e5e5;
16
+ border-radius: 6px 6px 0 0;
17
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
18
+ font-size: 18px;
19
+ }
20
+ .alertify .ajs-body {
21
+ font-family: 'Roboto', sans-serif;
22
+ color: black;
23
+ }
24
+ .alertify.ajs-resizable .ajs-content,
25
+ .alertify.ajs-maximized:not(.ajs-resizable) .ajs-content {
26
+ top: 58px;
27
+ bottom: 68px;
28
+ }
29
+ .alertify .ajs-footer {
30
+ background-color: #fff;
31
+ padding: 15px;
32
+ border-top: 1px solid #e5e5e5;
33
+ border-radius: 0 0 6px 6px;
34
+ }
@@ -0,0 +1,34 @@
1
+ .alertify .ajs-dimmer {
2
+ background-color: #000;
3
+ opacity: .5;
4
+ }
5
+ .alertify .ajs-dialog {
6
+ max-width: 600px;
7
+ min-height: 122px;
8
+ background-color: #fff;
9
+ border: 1px solid rgba(0, 0, 0, 0.2);
10
+ box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
11
+ border-radius: 6px;
12
+ }
13
+ .alertify .ajs-header {
14
+ color: #333;
15
+ border-bottom: 1px solid #e5e5e5;
16
+ border-radius: 6px 6px 0 0;
17
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
18
+ font-size: 18px;
19
+ }
20
+ .alertify .ajs-body {
21
+ font-family: 'Roboto', sans-serif;
22
+ color: black;
23
+ }
24
+ .alertify.ajs-resizable .ajs-content,
25
+ .alertify.ajs-maximized:not(.ajs-resizable) .ajs-content {
26
+ top: 58px;
27
+ bottom: 68px;
28
+ }
29
+ .alertify .ajs-footer {
30
+ background-color: #fff;
31
+ padding: 15px;
32
+ border-top: 1px solid #e5e5e5;
33
+ border-radius: 0 0 6px 6px;
34
+ }
@@ -0,0 +1,63 @@
1
+ .alertify .ajs-dialog {
2
+ background-color: white;
3
+ box-shadow: 0px 15px 20px 0px rgba(0, 0, 0, 0.25);
4
+ border-radius: 2px;
5
+ }
6
+ .alertify .ajs-header {
7
+ color: black;
8
+ font-weight: bold;
9
+ background: #fafafa;
10
+ border-bottom: #eee 1px solid;
11
+ border-radius: 2px 2px 0 0;
12
+ }
13
+ .alertify .ajs-body {
14
+ color: black;
15
+ }
16
+ .alertify .ajs-body .ajs-content .ajs-input {
17
+ display: block;
18
+ width: 100%;
19
+ padding: 8px;
20
+ margin: 4px;
21
+ border-radius: 2px;
22
+ border: 1px solid #CCC;
23
+ }
24
+ .alertify .ajs-body .ajs-content p {
25
+ margin: 0;
26
+ }
27
+ .alertify .ajs-footer {
28
+ background: #fbfbfb;
29
+ border-top: #eee 1px solid;
30
+ border-radius: 0 0 2px 2px;
31
+ }
32
+ .alertify .ajs-footer .ajs-buttons .ajs-button {
33
+ background-color: transparent;
34
+ color: #000;
35
+ border: 0;
36
+ font-size: 14px;
37
+ font-weight: bold;
38
+ text-transform: uppercase;
39
+ }
40
+ .alertify .ajs-footer .ajs-buttons .ajs-button.ajs-ok {
41
+ color: #3593D2;
42
+ }
43
+ .alertify-notifier .ajs-message {
44
+ background: rgba(255, 255, 255, 0.95);
45
+ color: #000;
46
+ text-align: center;
47
+ border: solid 1px #ddd;
48
+ border-radius: 2px;
49
+ }
50
+ .alertify-notifier .ajs-message.ajs-success {
51
+ color: #fff;
52
+ background: rgba(91, 189, 114, 0.95);
53
+ text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5);
54
+ }
55
+ .alertify-notifier .ajs-message.ajs-error {
56
+ color: #fff;
57
+ background: rgba(217, 92, 92, 0.95);
58
+ text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5);
59
+ }
60
+ .alertify-notifier .ajs-message.ajs-warning {
61
+ background: rgba(252, 248, 215, 0.95);
62
+ border-color: #999;
63
+ }
@@ -0,0 +1,63 @@
1
+ .alertify .ajs-dialog {
2
+ background-color: white;
3
+ box-shadow: 0px 15px 20px 0px rgba(0, 0, 0, 0.25);
4
+ border-radius: 2px;
5
+ }
6
+ .alertify .ajs-header {
7
+ color: black;
8
+ font-weight: bold;
9
+ background: #fafafa;
10
+ border-bottom: #eee 1px solid;
11
+ border-radius: 2px 2px 0 0;
12
+ }
13
+ .alertify .ajs-body {
14
+ color: black;
15
+ }
16
+ .alertify .ajs-body .ajs-content .ajs-input {
17
+ display: block;
18
+ width: 100%;
19
+ padding: 8px;
20
+ margin: 4px;
21
+ border-radius: 2px;
22
+ border: 1px solid #CCC;
23
+ }
24
+ .alertify .ajs-body .ajs-content p {
25
+ margin: 0;
26
+ }
27
+ .alertify .ajs-footer {
28
+ background: #fbfbfb;
29
+ border-top: #eee 1px solid;
30
+ border-radius: 0 0 2px 2px;
31
+ }
32
+ .alertify .ajs-footer .ajs-buttons .ajs-button {
33
+ background-color: transparent;
34
+ color: #000;
35
+ border: 0;
36
+ font-size: 14px;
37
+ font-weight: bold;
38
+ text-transform: uppercase;
39
+ }
40
+ .alertify .ajs-footer .ajs-buttons .ajs-button.ajs-ok {
41
+ color: #3593D2;
42
+ }
43
+ .alertify-notifier .ajs-message {
44
+ background: rgba(255, 255, 255, 0.95);
45
+ color: #000;
46
+ text-align: center;
47
+ border: solid 1px #ddd;
48
+ border-radius: 2px;
49
+ }
50
+ .alertify-notifier .ajs-message.ajs-success {
51
+ color: #fff;
52
+ background: rgba(91, 189, 114, 0.95);
53
+ text-shadow: 1px -1px 0 rgba(0, 0, 0, 0.5);
54
+ }
55
+ .alertify-notifier .ajs-message.ajs-error {
56
+ color: #fff;
57
+ background: rgba(217, 92, 92, 0.95);
58
+ text-shadow: 1px -1px 0 rgba(0, 0, 0, 0.5);
59
+ }
60
+ .alertify-notifier .ajs-message.ajs-warning {
61
+ background: rgba(252, 248, 215, 0.95);
62
+ border-color: #999;
63
+ }
@@ -0,0 +1,59 @@
1
+ .alertify .ajs-dimmer {
2
+ background-color: rgba(0, 0, 0, 0.85);
3
+ opacity: 1;
4
+ }
5
+ .alertify .ajs-dialog {
6
+ max-width: 50%;
7
+ min-height: 137px;
8
+ background-color: #F4F4F4;
9
+ border: 1px solid #DDD;
10
+ box-shadow: none;
11
+ border-radius: 5px;
12
+ }
13
+ .alertify .ajs-header {
14
+ padding: 1.5rem 2rem;
15
+ border-bottom: none;
16
+ border-radius: 5px 5px 0 0;
17
+ color: #555;
18
+ background-color: #fff;
19
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
20
+ font-size: 1.6em;
21
+ font-weight: 700;
22
+ }
23
+ .alertify .ajs-body {
24
+ font-family: 'Roboto', sans-serif;
25
+ color: #555;
26
+ }
27
+ .alertify .ajs-body .ajs-content .ajs-input {
28
+ width: 100%;
29
+ margin: 0;
30
+ padding: .65em 1em;
31
+ font-size: 1em;
32
+ background-color: #FFF;
33
+ border: 1px solid rgba(0, 0, 0, 0.15);
34
+ outline: 0;
35
+ color: rgba(0, 0, 0, 0.7);
36
+ border-radius: .3125em;
37
+ -webkit-transition: background-color 0.3s ease-out, box-shadow 0.2s ease, border-color 0.2s ease;
38
+ transition: background-color 0.3s ease-out, box-shadow 0.2s ease, border-color 0.2s ease;
39
+ box-sizing: border-box;
40
+ }
41
+ .alertify .ajs-body .ajs-content .ajs-input:active {
42
+ border-color: rgba(0, 0, 0, 0.3);
43
+ background-color: #FAFAFA;
44
+ }
45
+ .alertify .ajs-body .ajs-content .ajs-input:focus {
46
+ border-color: rgba(0, 0, 0, 0.2);
47
+ color: rgba(0, 0, 0, 0.85);
48
+ }
49
+ .alertify.ajs-resizable .ajs-content,
50
+ .alertify.ajs-maximized:not(.ajs-resizable) .ajs-content {
51
+ top: 64px;
52
+ bottom: 74px;
53
+ }
54
+ .alertify .ajs-footer {
55
+ background-color: #fff;
56
+ padding: 1rem 2rem;
57
+ border-top: none;
58
+ border-radius: 0 0 5px 5px;
59
+ }
@@ -0,0 +1,59 @@
1
+ .alertify .ajs-dimmer {
2
+ background-color: rgba(0, 0, 0, 0.85);
3
+ opacity: 1;
4
+ }
5
+ .alertify .ajs-dialog {
6
+ max-width: 50%;
7
+ min-height: 137px;
8
+ background-color: #F4F4F4;
9
+ border: 1px solid #DDD;
10
+ box-shadow: none;
11
+ border-radius: 5px;
12
+ }
13
+ .alertify .ajs-header {
14
+ padding: 1.5rem 2rem;
15
+ border-bottom: none;
16
+ border-radius: 5px 5px 0 0;
17
+ color: #555;
18
+ background-color: #fff;
19
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
20
+ font-size: 1.6em;
21
+ font-weight: 700;
22
+ }
23
+ .alertify .ajs-body {
24
+ font-family: 'Roboto', sans-serif;
25
+ color: #555;
26
+ }
27
+ .alertify .ajs-body .ajs-content .ajs-input {
28
+ width: 100%;
29
+ margin: 0;
30
+ padding: .65em 1em;
31
+ font-size: 1em;
32
+ background-color: #FFF;
33
+ border: 1px solid rgba(0, 0, 0, 0.15);
34
+ outline: 0;
35
+ color: rgba(0, 0, 0, 0.7);
36
+ border-radius: .3125em;
37
+ -webkit-transition: background-color 0.3s ease-out, box-shadow 0.2s ease, border-color 0.2s ease;
38
+ transition: background-color 0.3s ease-out, box-shadow 0.2s ease, border-color 0.2s ease;
39
+ box-sizing: border-box;
40
+ }
41
+ .alertify .ajs-body .ajs-content .ajs-input:active {
42
+ border-color: rgba(0, 0, 0, 0.3);
43
+ background-color: #FAFAFA;
44
+ }
45
+ .alertify .ajs-body .ajs-content .ajs-input:focus {
46
+ border-color: rgba(0, 0, 0, 0.2);
47
+ color: rgba(0, 0, 0, 0.85);
48
+ }
49
+ .alertify.ajs-resizable .ajs-content,
50
+ .alertify.ajs-maximized:not(.ajs-resizable) .ajs-content {
51
+ top: 64px;
52
+ bottom: 74px;
53
+ }
54
+ .alertify .ajs-footer {
55
+ background-color: #fff;
56
+ padding: 1rem 2rem;
57
+ border-top: none;
58
+ border-radius: 0 0 5px 5px;
59
+ }
metadata ADDED
@@ -0,0 +1,65 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: alertifyjs-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - mkhairi
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2014-09-19 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: Use Alertify.js (alertifyjs.com) with Rails 3 and 4
15
+ email:
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - .gitignore
21
+ - Gemfile
22
+ - LICENSE.txt
23
+ - README.md
24
+ - Rakefile
25
+ - alertifyjs-rails.gemspec
26
+ - app/helpers/alertifyjs_helper.rb
27
+ - lib/alertifyjs-rails.rb
28
+ - lib/alertifyjs/rails.rb
29
+ - lib/alertifyjs/rails/engine.rb
30
+ - lib/alertifyjs/rails/railtie.rb
31
+ - lib/alertifyjs/rails/version.rb
32
+ - vendor/assets/javascripts/alertify.js
33
+ - vendor/assets/stylesheets/alertify.css
34
+ - vendor/assets/stylesheets/alertify.rtl.css
35
+ - vendor/assets/stylesheets/alertify/bootstrap.css
36
+ - vendor/assets/stylesheets/alertify/bootstrap.rtl.css
37
+ - vendor/assets/stylesheets/alertify/default.css
38
+ - vendor/assets/stylesheets/alertify/default.rtl.css
39
+ - vendor/assets/stylesheets/alertify/semantic.css
40
+ - vendor/assets/stylesheets/alertify/semantic.rtl.css
41
+ homepage: ''
42
+ licenses: []
43
+ post_install_message:
44
+ rdoc_options: []
45
+ require_paths:
46
+ - lib
47
+ required_ruby_version: !ruby/object:Gem::Requirement
48
+ none: false
49
+ requirements:
50
+ - - ! '>='
51
+ - !ruby/object:Gem::Version
52
+ version: '0'
53
+ required_rubygems_version: !ruby/object:Gem::Requirement
54
+ none: false
55
+ requirements:
56
+ - - ! '>='
57
+ - !ruby/object:Gem::Version
58
+ version: '0'
59
+ requirements: []
60
+ rubyforge_project:
61
+ rubygems_version: 1.8.23
62
+ signing_key:
63
+ specification_version: 3
64
+ summary: This gem provides the Alertify.js (alertifyjs.com) for Rails applications
65
+ test_files: []