trusty-clipped-extension 2.0.3.pre.beta → 2.0.4

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: c24b980e60b557340856569014e94388fea91ce8
4
- data.tar.gz: 3b507ddf8f6ef2dc9d055b4bd80283fcc8b14144
3
+ metadata.gz: d6aa6a173197e1b6c8dfaee1751f16af04936364
4
+ data.tar.gz: a8dfeb7cfd94c415ad0ad22f2b9cec69f74c0d2a
5
5
  SHA512:
6
- metadata.gz: 658648393ef70d2e43631a98f5479d1531a64469532547a3b3a766fb872e78c216e28288953e2157e2615353c7cdb12cac39a00bcc55d8fb40daffefc0f41f13
7
- data.tar.gz: bcc110831ef7c4105a6358aa79c22584c6155b41a0bb40a4bc190d3be8c1c7d3f1df5364d5f18ec3890a20f0e85d7fa312ace981a557b2519db4dd9a9126d02e
6
+ metadata.gz: 83ef6fb2808225989d13460835eda4fc3e12acc58ab63d857e9ddde4c36d960c39bbd281a573adcea1baa90bf0e97f50267eb356451cf422f595ec90eb3b49f7
7
+ data.tar.gz: a9f5918bdc9bdeb00e3a2796e7a059da2fc7fe2dda106b396910d597d5875e0eb5f6e630f448f44f46d4589aab18a89a5ee96e1b5fd2d7238d5c924fc842f4cc
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trusty-clipped-extension (2.0.3.pre.beta)
4
+ trusty-clipped-extension (2.0.4)
5
5
  acts_as_list (~> 0.4.0)
6
6
  cocaine (~> 0.5)
7
7
  paperclip (~> 4.2)
@@ -248,7 +248,7 @@ GEM
248
248
  thor (0.19.1)
249
249
  thread_safe (0.3.5)
250
250
  tilt (1.4.1)
251
- trusty-cms (2.0.10.pre.beta)
251
+ trusty-cms (2.0.11)
252
252
  RedCloth (~> 4.2)
253
253
  acts_as_tree (~> 2.1)
254
254
  bundler (~> 1.7)
@@ -0,0 +1,283 @@
1
+ @import "compass";
2
+
3
+ p.asset {
4
+ img.preview {
5
+ border: 5px solid white;
6
+ @include box-shadow;
7
+ }
8
+ }
9
+
10
+ .asset_filters {
11
+ float: left;
12
+ padding: 2px 0;
13
+ a {
14
+ @include border-radius(100px);
15
+ color: #555555;
16
+ padding: 3px 8px;
17
+ text-decoration: none;
18
+ font-size: 12px;
19
+ &:hover {
20
+ background: #cccccc;
21
+ }
22
+ &.pressed {
23
+ background: #888888;
24
+ @include box-shadow(0, 1px, 1px, #333333, inset);
25
+ color: white;
26
+ text-shadow: 0 1px 0 #333333;
27
+ &:hover {
28
+ background: #888888;
29
+ @include box-shadow(0, 1px, 1px, #333333, inset);
30
+ color: white;
31
+ text-shadow: 0 1px 0 #333333;
32
+ }
33
+ }
34
+ }
35
+ }
36
+
37
+ .popup {
38
+ div.toolbar {
39
+ background: white;
40
+ @include background-image(linear-gradient(white, #dddddd));
41
+ border-bottom: 1px solid #cccccc;
42
+ @include single-box-shadow(white, 0, 1px, 0);
43
+ margin: -20px -20px 0;
44
+ padding: 6px 10px 3px 10px;
45
+ font-size: 95%;
46
+ height: 30px;
47
+ @include clearfix;
48
+ .right {
49
+ float: right;
50
+ }
51
+ form.search {
52
+ padding: 4px 2px 0;
53
+ input[type=search] {
54
+ font-size: 12px;
55
+ @include border-radius(100px);
56
+ border: 1px solid #cccccc;
57
+ border-top-color: #999999;
58
+ border-left-color: #b0b0b0;
59
+ border-right-color: #bbbbbb;
60
+ background: white url("/assets/admin/search.png") 4px center no-repeat;
61
+ @include box-shadow(rgba(black, 0.2), 0, 1px, 0, inset);
62
+ width: 180px;
63
+ padding: 2px 8px 2px 20px;
64
+ }
65
+ }
66
+ }
67
+ #assets_table.assets {
68
+ overflow: auto;
69
+ }
70
+ }
71
+
72
+ #upload_holders {
73
+ display: none;
74
+ }
75
+
76
+ #attach_asset {
77
+ .viewport {
78
+ overflow-x: hidden;
79
+ width: 610px;
80
+ height: 310px;
81
+ }
82
+ }
83
+
84
+ .attachment_actions {
85
+ text-align: right;
86
+ margin-bottom: -1em;
87
+ ul {
88
+ @include inline-list;
89
+ }
90
+ li {
91
+ padding-left: 1em;
92
+ }
93
+ a {
94
+ color: white !important;
95
+ text-shadow: 1px 1px 0 #888888;
96
+ }
97
+ }
98
+
99
+ .assets {
100
+ height: 150px;
101
+ padding-left: 5px;
102
+ padding-right: 5px;
103
+ ul {
104
+ li.asset {
105
+ display: block;
106
+ float: left;
107
+ margin: 1em;
108
+ width: 110px;
109
+ height: 110px;
110
+ position: relative;
111
+ line-height: 1.2em;
112
+ .front, .back {
113
+ display: block;
114
+ background: #e6eaed;
115
+ border: 5px solid white;
116
+ position: absolute;
117
+ width: 100px;
118
+ height: 100px;
119
+ text-align: center;
120
+ }
121
+ .front {
122
+ @include box-shadow;
123
+ text-align: center;
124
+ }
125
+ .back {
126
+ color: #333333;
127
+ overflow: hidden;
128
+ @include opacity(0);
129
+ }
130
+ .title {
131
+ color: #333333;
132
+ font-size: 10px;
133
+ overflow: hidden;
134
+ margin: 10px 4px;
135
+ height: 15px;
136
+ line-height: 15px;
137
+ text-overflow: ellipsis;
138
+ }
139
+ .icon {
140
+ height: 63px;
141
+ line-height: 63px;
142
+ img {
143
+ vertical-align: bottom;
144
+ }
145
+ }
146
+ ul.actions {
147
+ li {
148
+ margin: 5px 0;
149
+ padding: 0 10px;
150
+ font-size: 10px;
151
+ }
152
+ a {
153
+ background: #666666;
154
+ background: rgba(black, 0.8);
155
+ @include border-radius;
156
+ color: #dddddd;
157
+ display: block;
158
+ padding: 2px 10px;
159
+ text-decoration: none;
160
+ &:hover {
161
+ background: #999999;
162
+ background: rgba(black, 0.6);
163
+ color: white;
164
+ }
165
+ }
166
+ }
167
+ &.unsaved {
168
+ .front {
169
+ opacity: 0.4;
170
+ }
171
+ }
172
+ &:hover {
173
+ .back {
174
+ @include opacity(1);
175
+ background: rgba(white, 0.6);
176
+ }
177
+ }
178
+ &.waiting {
179
+ background-color: #e6eaed;
180
+ .back {
181
+ display: none;
182
+ }
183
+ .front {
184
+ background: transparent url(/assets/admin/spinner.gif) no-repeat center center;
185
+ img {
186
+ opacity: 0.2;
187
+ }
188
+ }
189
+ }
190
+ }
191
+ }
192
+ }
193
+
194
+ #attachment_list.assets {
195
+ @include border-bottom-radius;
196
+ margin: -1em 0.5em 1em 0.5em;
197
+ overflow-y: hidden;
198
+ overflow-x: auto;
199
+ ul.empty {
200
+ display: none;
201
+ }
202
+ p.note {
203
+ margin: 0;
204
+ padding: 8px;
205
+ clear: left;
206
+ span.message {
207
+ float: right;
208
+ color: #aaaaaa;
209
+ &.important {
210
+ color: #dd9999;
211
+ }
212
+ }
213
+ }
214
+ ul.sortable {
215
+ li.asset {
216
+ div.back {
217
+ cursor: move;
218
+ }
219
+ }
220
+ }
221
+ }
222
+
223
+ #assets_table.assets {
224
+ position: relative;
225
+ font-size: 75%;
226
+ p {
227
+ padding: 40px {
228
+ top: 45px;
229
+ };
230
+ color: silver;
231
+ text-align: center;
232
+ font-style: oblique;
233
+ }
234
+ ul {
235
+ clear: both;
236
+ li.asset {
237
+ input {
238
+ display: none;
239
+ }
240
+ }
241
+ }
242
+ div.pagination {
243
+ position: relative;
244
+ overflow: hidden;
245
+ clear: left;
246
+ width: 100%;
247
+ height: 3em;
248
+ padding: 0.5em 0;
249
+ span, a, em {
250
+ display: block;
251
+ float: left;
252
+ padding: 0.25em;
253
+ margin: 1em 2px 1em 0;
254
+ @include border-radius(2px);
255
+ text-decoration: none;
256
+ }
257
+ span.current {
258
+ color: black;
259
+ font-weight: bold;
260
+ }
261
+ span.disabled {
262
+ background-color: #eeeeee;
263
+ color: #cccccc;
264
+ }
265
+ a {
266
+ background-color: #eeeeee;
267
+ color: #444444;
268
+ &:hover {
269
+ background-color: #BC045C;
270
+ color: white;
271
+ }
272
+ }
273
+ span {
274
+ color: #888888;
275
+ }
276
+ span, a {
277
+ display: block;
278
+ float: left;
279
+ padding: 2px 6px;
280
+ line-height: 1.5em;
281
+ }
282
+ }
283
+ }
@@ -28,4 +28,3 @@
28
28
 
29
29
  - if with_pagination && assets.respond_to?(:total_pages) && assets.total_pages > 1
30
30
  = pagination_for(assets, pagination_parameters.merge(:depaginate => false, :param_name => 'p', :params => {:controller => 'admin/assets', :action => 'index', :id => nil, :format => 'js', :page_id => (page && page.id), :pp => assets.per_page }))
31
- x
@@ -1,5 +1,5 @@
1
1
  module TrustyCmsClippedExtension
2
- VERSION = "2.0.3-beta"
2
+ VERSION = "2.0.4"
3
3
  SUMMARY = %q{Assets for TrustyCms CMS}
4
4
  DESCRIPTION = %q{Asset-management derived from Keith Bingman's Paperclipped extension.}
5
5
  URL = "https://github.com/pgharts/trusty-clipped-extension"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trusty-clipped-extension
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3.pre.beta
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keith Bingman
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2015-08-12 00:00:00.000000000 Z
16
+ date: 2015-08-13 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: acts_as_list
@@ -140,7 +140,7 @@ files:
140
140
  - app/assets/javascripts/admin/jquery.fileupload.js
141
141
  - app/assets/javascripts/admin/jquery.iframe-transport.js
142
142
  - app/assets/javascripts/admin/jquery.ui.widget.js
143
- - app/assets/stylesheets/admin/assets.sass
143
+ - app/assets/stylesheets/admin/assets.scss
144
144
  - app/assets/stylesheets/application.scss
145
145
  - app/controllers/admin/assets_controller.rb
146
146
  - app/controllers/admin/page_attachments_controller.rb
@@ -387,9 +387,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
387
387
  version: '0'
388
388
  required_rubygems_version: !ruby/object:Gem::Requirement
389
389
  requirements:
390
- - - ">"
390
+ - - ">="
391
391
  - !ruby/object:Gem::Version
392
- version: 1.3.1
392
+ version: '0'
393
393
  requirements: []
394
394
  rubyforge_project:
395
395
  rubygems_version: 2.4.3
@@ -1,222 +0,0 @@
1
- @import "compass"
2
-
3
- p.asset
4
- img.preview
5
- border: 5px solid white
6
- +box-shadow
7
-
8
- .asset_filters
9
- float: left
10
- padding: 2px 0
11
- a
12
- +border-radius(100px)
13
- color: #555
14
- padding: 3px 8px
15
- text-decoration: none
16
- font-size: 12px
17
- &:hover
18
- background: #ccc
19
- &.pressed
20
- background: #888
21
- +box-shadow(0, 1px, 1px, #333, inset)
22
- color: white
23
- text-shadow: 0 1px 0 #333
24
- &:hover
25
- background: #888
26
- +box-shadow(0, 1px, 1px, #333, inset)
27
- color: white
28
- text-shadow: 0 1px 0 #333
29
-
30
- .popup
31
- div.toolbar
32
- background: white
33
- +background-image(linear-gradient(white,#ddd))
34
- border-bottom: 1px solid #ccc
35
- +single-box-shadow(white, 0, 1px, 0)
36
- margin: -20px -20px 0
37
- padding: 6px 10px 3px 10px
38
- font-size: 95%
39
- height: 30px
40
- +clearfix
41
- .right
42
- float: right
43
- form.search
44
- padding: 4px 2px 0
45
- input[type=search]
46
- font-size: 12px
47
- +border-radius(100px)
48
- border: 1px solid #ccc
49
- border-top-color: #999
50
- border-left-color: #b0b0b0
51
- border-right-color: #bbb
52
- background: white url('/assets/admin/search.png') 4px center no-repeat
53
- +box-shadow(rgba(black, 0.2), 0, 1px, 0, inset)
54
- width: 180px
55
- padding: 2px 8px 2px 20px
56
-
57
- #assets_table.assets
58
- overflow: auto
59
-
60
-
61
- #upload_holders
62
- display: none
63
-
64
- #attach_asset
65
- .viewport
66
- overflow-x: hidden
67
- width: 610px
68
- height: 310px
69
-
70
- .attachment_actions
71
- text-align: right
72
- margin-bottom: -1em
73
- ul
74
- +inline-list
75
- li
76
- padding-left: 1em
77
- a
78
- color: white !important
79
- text-shadow: 1px 1px 0 #888
80
-
81
- .assets
82
- padding-left: 5px
83
- padding-right: 5px
84
- ul
85
- li.asset
86
- display: block
87
- float: left
88
- margin: 1em
89
- width: 110px
90
- height: 110px
91
- position: relative
92
- line-height: 1.2em
93
- .front, .back
94
- display: block
95
- background: #e6eaed
96
- border: 5px solid white
97
- position: absolute
98
- width: 100px
99
- height: 100px
100
- text-align: center
101
- .front
102
- +box-shadow
103
- text-align: center
104
- .back
105
- color: #333
106
- overflow: hidden
107
- +opacity(0)
108
- .title
109
- color: #333
110
- font-size: 10px
111
- overflow: hidden
112
- margin: 10px 4px
113
- height: 15px
114
- line-height: 15px
115
- text-overflow: ellipsis
116
- .icon
117
- height: 63px
118
- line-height: 63px
119
- img
120
- vertical-align: bottom
121
- ul.actions
122
- li
123
- margin: 5px 0
124
- padding: 0 10px
125
- font-size: 10px
126
- a
127
- background: #666
128
- background: rgba(black, 0.8)
129
- +border-radius
130
- color: #ddd
131
- display: block
132
- padding: 2px 10px
133
- text-decoration: none
134
- &:hover
135
- background: #999
136
- background: rgba(black, 0.6)
137
- color: white
138
- &.unsaved
139
- .front
140
- opacity: 0.4
141
- &:hover
142
- .back
143
- +opacity(1)
144
- background: rgba(white, 0.6)
145
- &.waiting
146
- background-color: #E6EAED
147
- .back
148
- display: none
149
- .front
150
- background: transparent url(/assets/admin/spinner.gif) no-repeat center center
151
- img
152
- opacity: 0.2
153
-
154
- #attachment_list.assets
155
- +border-bottom-radius
156
- margin: -1em 0.5em 1em 0.5em
157
- overflow-y: hidden
158
- overflow-x: auto
159
- ul.empty
160
- display: none
161
- p.note
162
- margin: 0
163
- padding: 8px
164
- clear: left
165
- span.message
166
- float: right
167
- color: #aaa
168
- &.important
169
- color: #d99
170
- ul.sortable
171
- li.asset
172
- div.back
173
- cursor: move
174
-
175
- #assets_table.assets
176
- position: relative
177
- font-size: 75%
178
- p
179
- padding: 40px
180
- top: 45px
181
- color: silver
182
- text-align: center
183
- font-style: oblique
184
- ul
185
- clear: both
186
- li.asset
187
- input
188
- display: none
189
- div.pagination
190
- position: relative
191
- overflow: hidden
192
- clear: left
193
- width: 100%
194
- height: 3em
195
- padding: 0.5em 0
196
- span, a, em
197
- display: block
198
- float: left
199
- padding: 0.25em
200
- margin: 1em 2px 1em 0
201
- +border-radius(2px)
202
- text-decoration: none
203
- span.current
204
- color: #000
205
- font-weight: bold
206
- span.disabled
207
- background-color: #eee
208
- color: #ccc
209
- a
210
- background-color: #eee
211
- color: #444
212
- &:hover
213
- background-color: #c00
214
- color: #fff
215
-
216
- span
217
- color: #888
218
- span, a
219
- display: block
220
- float: left
221
- padding: 2px 6px
222
- line-height: 1.5em