loft 0.2.8 → 0.2.9

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: a805f7d8ef5af5bd61c9d7138616c681c3c8abed
4
- data.tar.gz: d3395c88f3e62ac78f9ef732463b1a8a22ad5f87
3
+ metadata.gz: 9cbfd6f82a45ab219e1d1e8f34a640d5bb097387
4
+ data.tar.gz: 52b5b9f14e48113f6c3a20da073b5789e92a8945
5
5
  SHA512:
6
- metadata.gz: f7d6f1fba61f3b602ffa1f6a36e7fdfd264939b56cc39538feca0b61d939d535f97b39b22d4da7339d8e4bb2fd938c1f2716086a568ec9790e61fe1a92a6418a
7
- data.tar.gz: 7b762f23b23ced06b01ab4f328d740251396f7248b0ca5a1fc137438c902a0328075be090f62dae7bc51fc19db02e159491d56bab27af2541dd2ec203cbf5f8f
6
+ metadata.gz: 22af5dff677b1b59fc1c5e17fba5fe8a4096b14705ba32f74b25ba69c2f10f9cb314e1489d6c58b7cc4d1bf4d952bc697bf005f8070e61a42a0e1f44da4694e1
7
+ data.tar.gz: 29c7aef7a66ae2bbccdd765dfae06aa2451917c87f4e2c1127e1d5f732ced3f122d5c37c74ac1006eadb8ff190950c085e309f660914a2f9cefffab7d6388ed0
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- loft (0.2.8)
4
+ loft (0.2.9)
5
5
  ants (>= 0.2.0)
6
6
  carrierwave-mongoid (>= 0.7.1)
7
7
  chr (>= 0.4.19)
@@ -65,7 +65,9 @@ class @Loft
65
65
  @selectMultipleAssets = true
66
66
 
67
67
  # modal close button
68
- @module.rootList.$modalCloseBtn =$ "<a href='#' class='modal-close'>Cancel</a>"
68
+ @module.rootList.$modalCloseBtn =$ """<a href='#' class='modal-close'>
69
+ <i class='fa fa-times'></i>
70
+ </a>"""
69
71
  @module.rootList.$header.prepend @module.rootList.$modalCloseBtn
70
72
  @module.rootList.$modalCloseBtn.on 'click', (e) => e.preventDefault() ; @closeModal()
71
73
 
@@ -152,7 +152,11 @@
152
152
  content: ''; display: block; background: rgba(0,0,0,.25);
153
153
  }
154
154
 
155
- .modal-close { @include position(absolute, null null null 1em ); display: inline-block; }
155
+ .modal-close {
156
+ @include header-icon-base;
157
+ @include position(absolute, null 0 null null);
158
+ display: block;
159
+ }
156
160
  .header { top: 0; left: .5em; right: .5em; width: auto; }
157
161
 
158
162
  .list:first-child .back { display: none; }
@@ -183,14 +187,10 @@
183
187
  display: inline; line-height: 2.5; left: 3em;
184
188
  i:first-child { color: $border-color; }
185
189
  i:last-child { color: rgba($base-font-color, .4); }
186
- // &:before { content: 'Grid'; color: lighten($base-font-color, 50%); margin-right: .25em; }
187
- // &:after { content: 'List'; color: lighten($base-font-color, 35%); }
188
190
  }
189
191
  .loft.grid-mode .assets-switch-mode {
190
192
  i:first-child { color: rgba($base-font-color, .4); }
191
193
  i:last-child { color: $border-color; }
192
- // &:before { color: lighten($base-font-color, 35%); }
193
- // &:after { color: lighten($base-font-color, 50%); }
194
194
  }
195
195
 
196
196
  .loft.grid-mode {
@@ -1,3 +1,3 @@
1
1
  module Loft
2
- VERSION = "0.2.8"
2
+ VERSION = "0.2.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: loft
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Kravets