flattened_active_admin 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d2404aadbb509d11a8519e08cba5be3b64a93725
4
- data.tar.gz: 89102ef0b0408df2e033d765a98541578bbfaa71
3
+ metadata.gz: f183818ddc05d51a280867ce9750674b060942da
4
+ data.tar.gz: d8305a9d040ebc7d032ccea4038472108c033021
5
5
  SHA512:
6
- metadata.gz: d5482e2925c7071755d7f961d9c5a0d26166f4b2edfe5eaa870f0b0a63e8da682564cb3eced1d2ea744074378f2c5f09321128b114f2530b0984cba9c4eaf0fb
7
- data.tar.gz: d319d580895c3039faec27a4b60fae8278c7164cbdb667648d0c640a610cc39331fbc48bd5f32081aa90b018c3563832f451bbc2cb96e127129fd6f2ca9c206b
6
+ metadata.gz: 5562af11097e23de735aecc94d3d823b882ee9121b72a9774418e30dbececdb40a96d45c3399f304c7833287aa25262cd663421ca981fa64f83dd37bc4bf2af8
7
+ data.tar.gz: 12a6d8f0f27e6eb200ac1d5da33f69c1e53c9b28f8b1c86e7e6b7e552a7631c50c327f16b510a1b9fa46928369c2d9c4b68d1732756b9d86dcf976268dad317a
@@ -1,7 +1,3 @@
1
- //= depend_on_asset "active_admin/datepicker/datepicker-nipple.png"
2
- //= depend_on_asset "active_admin/datepicker/datepicker-header-bg.png"
3
- //= depend_on_asset "active_admin/datepicker/datepicker-prev-link-icon.png"
4
- //= depend_on_asset "active_admin/datepicker/datepicker-next-link-icon.png"
5
1
  // -------------------------------------- Date Picker
6
2
  .ui-datepicker {
7
3
  background: #fff;
@@ -15,8 +11,6 @@
15
11
  text-align: center;
16
12
  width: 160px;
17
13
 
18
- background: image-url('active_admin/datepicker/datepicker-nipple.png') no-repeat 0 -40px;
19
-
20
14
  a {
21
15
  text-decoration: none;
22
16
  &:hover {
@@ -25,12 +19,28 @@
25
19
  }
26
20
 
27
21
  .ui-datepicker-header {
28
- background: image-url('active_admin/datepicker/datepicker-header-bg.png') no-repeat 0px 0px;
29
- height: 12px;
30
- padding: 16px 7px 8px;
22
+ height: 14px;
23
+ @include primary-gradient;
24
+ padding: 12px 5px 7px 4px;
25
+ margin: 0px 0px 2px 2px;
26
+ width: 147px;
27
+ border-top-left-radius: 7px;
28
+ border-top-right-radius: 7px;
31
29
  position: relative;
32
30
  z-index: 2000;
33
31
 
32
+ &:before {
33
+ content: "";
34
+ position: absolute;
35
+ right: 45%;
36
+ top: -6px;
37
+ width: 0px;
38
+ height: 0px;
39
+ border-left: 8.5px solid rgba(0, 0, 0, 0);
40
+ border-right: 8.5px solid rgba(0, 0, 0, 0);
41
+ border-bottom: 10px solid #676e73;
42
+ }
43
+
34
44
  .ui-datepicker-title {
35
45
  @include text-shadow(#000);
36
46
  color: #fff;
@@ -39,26 +49,40 @@
39
49
  font-weight: bold;
40
50
  line-height: 0.8em;
41
51
  text-align: center;
52
+
53
+ .ui-datepicker-month {
54
+ margin: -4px 0 0 0;
55
+ }
56
+ .ui-datepicker-year {
57
+ margin: -4px 0 0 0;
58
+ }
42
59
  }
43
60
 
61
+
44
62
  a {
45
63
  color: #fff;
46
64
  display: block;
47
65
  height: 19px;
48
66
  margin-top: -4px;
49
- width: 20px;
67
+ width: 10px;
50
68
 
51
69
  &.ui-datepicker-prev {
52
70
  float: left;
53
- background: image-url('active_admin/datepicker/datepicker-prev-link-icon.png') no-repeat 2px 5px;
71
+ width: 0;
72
+ height: 0;
73
+ margin: 0px 0px 0px 4px;
74
+ border-top: 5px solid transparent;
75
+ border-right: 5px solid white;
76
+ border-bottom: 5px solid transparent;
54
77
  }
55
78
  &.ui-datepicker-next {
56
79
  float: right;
57
- background: image-url('active_admin/datepicker/datepicker-next-link-icon.png') no-repeat 12px 5px;
58
- }
59
- &:active {
60
- margin-top: -3px;
61
- height: 18px;
80
+ width: 0;
81
+ height: 0;
82
+ margin: 0px 4px 0px 0px;
83
+ border-top: 5px solid transparent;
84
+ border-left: 5px solid white;
85
+ border-bottom: 5px solid transparent;
62
86
  }
63
87
 
64
88
  span {
@@ -1,3 +1,3 @@
1
1
  module FlattenedActiveAdmin
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flattened_active_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Isaac Norman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-12 00:00:00.000000000 Z
11
+ date: 2015-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -49,6 +49,10 @@ files:
49
49
  - MIT-LICENSE
50
50
  - README.rdoc
51
51
  - Rakefile
52
+ - app/assets/images/active_admin/datepicker/datepicker-input-icon.png
53
+ - app/assets/images/active_admin/nested_menu_arrow.gif
54
+ - app/assets/images/active_admin/nested_menu_arrow_dark.gif
55
+ - app/assets/images/active_admin/orderable.png
52
56
  - app/assets/stylesheets/flattened_active_admin/_base.css.scss
53
57
  - app/assets/stylesheets/flattened_active_admin/_forms.css.scss
54
58
  - app/assets/stylesheets/flattened_active_admin/_header.css.scss
@@ -118,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
118
122
  version: '0'
119
123
  requirements: []
120
124
  rubyforge_project:
121
- rubygems_version: 2.2.0
125
+ rubygems_version: 2.4.6
122
126
  signing_key:
123
127
  specification_version: 4
124
128
  summary: A Simple Add on to Active Admin to give it a flatter feel.