arctic_admin 3.0.0 → 3.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/arctic_admin/base.js +22 -19
- data/app/assets/stylesheets/arctic_admin/_common.scss +6 -1
- data/app/assets/stylesheets/arctic_admin/components/_status_tag.scss +7 -7
- data/app/assets/stylesheets/arctic_admin/components/_tabs.scss +1 -1
- data/app/assets/stylesheets/arctic_admin/layouts/_filter.scss +1 -1
- data/app/assets/stylesheets/arctic_admin/layouts/_header.scss +2 -2
- data/app/assets/stylesheets/arctic_admin/pages/_index.scss +5 -2
- data/lib/arctic_admin/version.rb +1 -1
- metadata +14 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 662f93d8cc9afd1ae66a5453928eeecb8b1fd246
|
4
|
+
data.tar.gz: 86592eff04ac9165207e51eb65e76529eb261804
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf494c1eb7546dad124cfc84056ab020f84f2ff5e75f03847eaed7685cb76d5696dd5d6baa3559fbe61d07566d9a9a3135539b9fdd7fcc8bda45467297120e04
|
7
|
+
data.tar.gz: f768ed34cb5859391a65ee636531b31e5082a44500fdc3bc4e59b66030eb52b00c476ff9b33c6d522c4cb03d04760a4c189c94d25b339bc6e86fe5785da21038
|
@@ -3,26 +3,29 @@
|
|
3
3
|
//= require active_admin/base
|
4
4
|
|
5
5
|
$(function() {
|
6
|
+
var animationFilterDone = true;
|
6
7
|
$(document).on('click touchstart', '#sidebar', function(e) {
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
if (
|
12
|
-
$(this).css('
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
8
|
+
if(animationFilterDone == true) {
|
9
|
+
var position = $(this).position();
|
10
|
+
var width = $(this).width();
|
11
|
+
var target = e.target;
|
12
|
+
if ((e.pageX < position.left) && (target.tagName != 'SELECT') && (target.tagName != 'OPTION')) {
|
13
|
+
if ($(this).css('right') == '0px') {
|
14
|
+
$(this).css('position', 'fixed');
|
15
|
+
$(this).animate({
|
16
|
+
right: "-="+width
|
17
|
+
}, 600, function() {
|
18
|
+
$(this).removeAttr('style');
|
19
|
+
animationFilterDone = true;
|
20
|
+
});
|
21
|
+
} else {
|
22
|
+
$(this).animate({
|
23
|
+
right: "+="+width
|
24
|
+
}, 600, function() {
|
25
|
+
$(this).css('position', 'absolute');
|
26
|
+
animationFilterDone = true;
|
27
|
+
});
|
28
|
+
}
|
26
29
|
}
|
27
30
|
}
|
28
31
|
});
|
@@ -6,12 +6,12 @@
|
|
6
6
|
padding: 3px 5px 2px 5px;
|
7
7
|
font-size: 0.8em;
|
8
8
|
border-radius: $border-radius;
|
9
|
-
}
|
10
9
|
|
11
|
-
|
12
|
-
|
13
|
-
}
|
10
|
+
&.ok, &.published, &.complete, &.completed, &.green, &.yes {
|
11
|
+
background-color: $status-tag-background-valid-color;
|
12
|
+
}
|
14
13
|
|
15
|
-
|
16
|
-
|
17
|
-
}
|
14
|
+
&.cancel, &.red, &.no {
|
15
|
+
background-color: $status-tag-background-error-color;
|
16
|
+
}
|
17
|
+
}
|
@@ -76,13 +76,16 @@ body.index {
|
|
76
76
|
}
|
77
77
|
|
78
78
|
.table_actions {
|
79
|
+
margin-bottom: -4px;
|
80
|
+
|
79
81
|
.member_link {
|
80
82
|
@include primary-button($primary-color, white);
|
81
|
-
padding:
|
83
|
+
padding: 4px 8px;
|
82
84
|
margin-right: 4px;
|
85
|
+
margin-bottom: 4px;
|
83
86
|
}
|
84
87
|
}
|
85
|
-
|
88
|
+
|
86
89
|
.scopes {
|
87
90
|
.scope {
|
88
91
|
@include group-button($primary-color);
|
data/lib/arctic_admin/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arctic_admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Clément Prod'homme
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -42,16 +42,22 @@ dependencies:
|
|
42
42
|
name: activeadmin
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.1.0
|
48
|
+
- - "<"
|
46
49
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
50
|
+
version: '3.0'
|
48
51
|
type: :runtime
|
49
52
|
prerelease: false
|
50
53
|
version_requirements: !ruby/object:Gem::Requirement
|
51
54
|
requirements:
|
52
|
-
- - "
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: 1.1.0
|
58
|
+
- - "<"
|
53
59
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
60
|
+
version: '3.0'
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
62
|
name: jquery-rails
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,14 +78,14 @@ dependencies:
|
|
72
78
|
requirements:
|
73
79
|
- - "~>"
|
74
80
|
- !ruby/object:Gem::Version
|
75
|
-
version: 5.
|
81
|
+
version: '5.0'
|
76
82
|
type: :runtime
|
77
83
|
prerelease: false
|
78
84
|
version_requirements: !ruby/object:Gem::Requirement
|
79
85
|
requirements:
|
80
86
|
- - "~>"
|
81
87
|
- !ruby/object:Gem::Version
|
82
|
-
version: 5.
|
88
|
+
version: '5.0'
|
83
89
|
description: A responsive theme for Active Admin
|
84
90
|
email:
|
85
91
|
executables: []
|