arctic_admin 1.1.2 → 1.2.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: c77b2ab36c6bb4e5c5d4aa17124ad75d6d6d242a
4
- data.tar.gz: 177c1b8c3c7651602e282257f926e0771b1e5c96
3
+ metadata.gz: 8b8d483af20b927b80b3b489f326367950893852
4
+ data.tar.gz: 719a7e132b20d9e0ae6f22889831ff06b458c88c
5
5
  SHA512:
6
- metadata.gz: 63c6ed7ec934aac00df3bdeb50ff5dac496647a1af0abc0cda31fe110fd9142f4d0336754baca9a130c7aaac3bc98ac7cb355ddf7ad62da1fe61bc0c79b159f3
7
- data.tar.gz: c9bb7c85afcd53c585d5264922fc019e6c398aa5af259ce9490709a5e0895a0bc81b807fff8feb817b8288d023e0ccd9ce0bf5836a386c6642b9f0087a4d5595
6
+ metadata.gz: 7954001d6ef6ae770bfc486eb919c4beba579b9ef47414ead1d07b2abda6786b1d8b566ed08878d7e722e3d48d6a3984fd65747dfd9b38600f873cfd4b815d92
7
+ data.tar.gz: 0b1afa99a002b966e021a1f3458af8c3d9d0d64d8fdd6a7d6870e89ab03558805d3881a1cbc8321622f147d0ac38fb9378a0aaa5022d8d6264d6b90bb842e91d
@@ -68,4 +68,12 @@ $(function() {
68
68
  }
69
69
  }
70
70
  });
71
+
72
+ $('#tabs .has_nested').click(function (e) {
73
+ if ($(this).hasClass('open') == true) {
74
+ $(this).removeClass('open');
75
+ } else {
76
+ $(this).addClass('open');
77
+ }
78
+ });
71
79
  });
@@ -24,11 +24,9 @@
24
24
  @import "pages/edit";
25
25
 
26
26
  body {
27
- font-family: "LatoWeb";
27
+ font-family: "LatoWeb", Arial, sans-serif;
28
28
  background-color: $body-background;
29
29
  color: $text-color;
30
- -webkit-font-smoothing: antialiased;
31
- -moz-osx-font-smoothing: grayscale;
32
30
  }
33
31
 
34
32
  a {
@@ -1,4 +1,4 @@
1
- input[type="text"], input[type="email"], input[type="password"], input[type="number"], textarea {
1
+ input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="tel"], textarea {
2
2
  -webkit-appearance: none;
3
3
  -webkit-box-shadow: none;
4
4
  box-shadow: none;
@@ -6,6 +6,7 @@
6
6
  background-color: $sidebar-background;
7
7
  border-right: 1px solid $sidebar-border-color;
8
8
  z-index: 1;
9
+ overflow: auto;
9
10
 
10
11
  @media screen and (min-width: $sm-width) {
11
12
  left: - $header-width;
@@ -44,26 +45,59 @@
44
45
  }
45
46
 
46
47
  &.has_nested {
48
+ & > a:nth-child(1) {
49
+ position: relative;
50
+
51
+ &:after {
52
+ @include icon("\f0d7");
53
+ display: inline;
54
+ position: absolute;
55
+ top: 50%;
56
+ right: 20px;
57
+ @include transform(translateY(-50%));
58
+ color: $text-color;
59
+ }
60
+ }
61
+
47
62
  ul {
48
63
  border-top: 1px solid $sidebar-border-color;
49
64
  border-bottom: 1px solid $sidebar-border-color;
50
65
  background-color: $body-background;
51
66
  padding: 10px 0;
52
67
  cursor: auto;
68
+ display: none;
53
69
 
54
70
  a {
55
- padding: 0px 15px 0px 40px;
71
+ padding: 0px 15px 0px 35px;
56
72
  color: $text-color;
57
73
 
58
74
  &:hover {
59
75
  background-color: $sidebar-nested-item-hover-background;
60
76
  }
77
+
78
+ @media screen and (min-width: $lg-width) {
79
+ padding: 0px 15px 0px 40px;
80
+ }
61
81
  }
62
82
 
63
83
  .current a {
64
84
  color: $primary-color;
65
85
  }
66
86
  }
87
+
88
+ &.open, &.current {
89
+ & > a:nth-child(1) {
90
+ position: relative;
91
+
92
+ &:after {
93
+ @include icon("\f0d8");
94
+ }
95
+ }
96
+
97
+ ul {
98
+ display: block;
99
+ }
100
+ }
67
101
  }
68
102
  }
69
103
  }
@@ -1,7 +1,7 @@
1
1
  body.logged_in {
2
2
  &.new, &.edit, &.create, &.update {
3
3
  .formtastic legend {
4
- font-weight: normal;
4
+ font-weight: normal!important;
5
5
  }
6
6
 
7
7
  .input {
@@ -34,6 +34,10 @@ body.logged_in {
34
34
  display: inline;
35
35
  }
36
36
 
37
+ li.choice {
38
+ margin-left: 25%;
39
+ }
40
+
37
41
  .inline-errors {
38
42
  padding-left: 25%;
39
43
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arctic_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Clément Prod'homme
@@ -202,4 +202,3 @@ signing_key:
202
202
  specification_version: 4
203
203
  summary: Arctic Admin theme for ActiveAdmin
204
204
  test_files: []
205
- has_rdoc: