arctic_admin 1.4.4 → 1.5.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d2576f37df2409355a741b9da282c3939712df12
4
- data.tar.gz: c3e79b5986c6554e5af9496a4743af448c02d8cf
3
+ metadata.gz: 1dcc22aeb8471af19fdec5b67062914a03f777e4
4
+ data.tar.gz: 7d9a245bbfb5445d2e3f8cd570eb9798d6c8c10d
5
5
  SHA512:
6
- metadata.gz: 36641b785b1cc783453e592a56a9e875c61a2ff7180d0b88ab72cd3bc5872d04886711aa53643a2409fd988df026cb564dac047e27b67d0f4efc29ee4a9b1ca5
7
- data.tar.gz: 479bcd501051e4fa775e2b82983213f4bb44c7606d579221dce3fa89e20db80e581091ab9890c0cf64e0726ab29e3c94d8d4caf9376500222155512c8759a4a2
6
+ metadata.gz: b7770e85ea3269dad1a70bb1866268fada5d26e1d943756602863add2d9a911b7a8e4396f177030dda94f602cfcccf5c90ba8910f95678acb8166267bae74236
7
+ data.tar.gz: f2e6efa866922f94c6e3c736b292c9afc2fec3871b89baa7132a6c691aee6502ada2ca74d8a8f7c07c27e526fc7b53812fb1196d04869168834b9819f40590c5
@@ -70,10 +70,7 @@ $(function() {
70
70
  });
71
71
 
72
72
  $(document).on('click', '#tabs .has_nested', function(e) {
73
- if ($(this).hasClass('open') == true) {
74
- $(this).removeClass('open');
75
- } else {
76
- $(this).addClass('open');
77
- }
73
+ e.stopPropagation();
74
+ $(this).toggleClass('open');
78
75
  });
79
76
  });
@@ -1,54 +1,44 @@
1
1
  .comments {
2
- background-color: $sidebar-background;
3
- padding: 10px 15px 15px 15px;
4
- border-radius: $border-radius;
5
2
  margin-top: 20px;
6
3
  @include clear-fix();
7
4
 
8
5
  h3 {
9
- margin: 0 0 5px 0;
6
+ margin: 0 0 10px 0;
10
7
  }
11
8
 
12
- .active_admin_comment {
13
- margin: 10px 0 0 0;
14
- padding: 5px 0 0 0;
15
- position: relative;
9
+ .active_admin_comment:not(#new_active_admin_comment) {
10
+ margin-bottom: 20px;
11
+ border: 1px solid $border-color;
16
12
 
17
13
  .active_admin_comment_meta {
14
+ background-color: $sidebar-background;
15
+ padding: 8px 10px;
16
+
18
17
  .active_admin_comment_author {
19
18
  margin: 0;
20
19
  display: inline-block;
21
20
  }
22
21
 
23
22
  span { // date
24
- float: right;
25
23
  font-size: 14px;
26
24
  font-style: italic;
27
- margin-right: 30px;
28
25
  line-height: 21px;
29
26
  }
30
27
 
31
28
  a[data-method="delete"] {
32
- position: absolute;
33
- top: 0;
34
- right: 0;
35
- visibility: hidden;
36
-
37
- &:after {
38
- @include icon("\f1f8");
39
- visibility: visible;
40
- color: #5a5a5a;
41
- font-size: 16px;
42
- padding: 6px;
43
- display: inline-block;
44
- }
29
+ @include primary-button($primary-color, white);
30
+ padding: 2px 9px;
31
+ font-size: 12px;
32
+ float: right;
45
33
  }
46
34
  }
47
35
 
48
36
  .active_admin_comment_body {
49
- p {
50
- margin: 5px 0 0;
51
- }
37
+ padding: 0 10px;
52
38
  }
53
39
  }
40
+
41
+ .pagination_information {
42
+ margin-bottom: 20px;
43
+ }
54
44
  }
@@ -5,6 +5,10 @@
5
5
 
6
6
  .input {
7
7
  margin-bottom: 20px;
8
+
9
+ &.hidden {
10
+ margin: 0;
11
+ }
8
12
  }
9
13
 
10
14
  #active_admin_content {
@@ -33,6 +37,11 @@
33
37
  border-color: $error;
34
38
  }
35
39
  }
40
+
41
+ .inline-hints {
42
+ margin: 5px 0 20px 25%;
43
+ font-size: 14px;
44
+ }
36
45
 
37
46
  .inline-errors, label.error {
38
47
  color: $error;
@@ -104,6 +104,7 @@ select {
104
104
  }
105
105
 
106
106
  textarea {
107
- height: 80px;
107
+ min-height: 80px;
108
+ height: auto;
108
109
  padding: 5px 10px;
109
- }
110
+ }
@@ -115,7 +115,7 @@ body.active_admin.logged_in {
115
115
 
116
116
  #current_user {
117
117
  a {
118
- visibility: hidden;
118
+ color: transparent;
119
119
  position: relative;
120
120
  width: 50px;
121
121
  height: 49px;
@@ -155,7 +155,7 @@ body.active_admin.logged_in {
155
155
  float: right;
156
156
 
157
157
  a {
158
- visibility: hidden;
158
+ color: transparent;
159
159
  position: relative;
160
160
  width: 50px;
161
161
  display: block;
@@ -1,3 +1,3 @@
1
1
  module ArcticAdmin
2
- VERSION = "1.4.4"
2
+ VERSION = "1.5.0"
3
3
  end
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: 1.4.4
4
+ version: 1.5.0
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: 2018-03-11 00:00:00.000000000 Z
11
+ date: 2018-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler