lalala 4.0.0.dev.393 → 4.0.0.dev.395

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,6 +30,7 @@
30
30
  @import "lalala/modules/dropdown-menu";
31
31
  @import "lalala/modules/index-footer";
32
32
  @import "lalala/modules/table-tools";
33
+ @import "lalala/modules/index-as-sortable";
33
34
  @import "lalala/modules/index-as-table";
34
35
  @import "lalala/modules/index-as-tree-table";
35
36
  @import "lalala/modules/editor";
@@ -0,0 +1,89 @@
1
+ body.active_admin .index.index_as_sortable {
2
+ .resource_selection_toggle_panel {
3
+ background-color: #1f73ff;
4
+ border-top-left-radius: 5px;
5
+ border-top-right-radius: 5px;
6
+ padding: 13px 15px 12px 15px;
7
+ }
8
+
9
+ #collection_selection_toggle_explaination {
10
+ display: none;
11
+ }
12
+
13
+ .resource_selection_cell {
14
+ width: 25px;
15
+ }
16
+
17
+ a.member_link {
18
+ opacity: 0;
19
+ transition: opacity 300ms;
20
+ display: inline-block;
21
+ height: 16px;
22
+ margin: 0 3px;
23
+ text-indent: -9999px;
24
+ width: 16px;
25
+ }
26
+
27
+ a.new_link {
28
+ background-image: url(/assets/lalala/icons/add.png);
29
+ background-repeat: no-repeat;
30
+ }
31
+
32
+ a.view_link {
33
+ background-image: url(/assets/lalala/icons/eye.png);
34
+ background-repeat: no-repeat;
35
+ }
36
+
37
+ a.edit_link {
38
+ background-image: url(/assets/lalala/icons/page_white_edit.png);
39
+ background-repeat: no-repeat;
40
+ }
41
+
42
+ a.delete_link {
43
+ background-image: url(/assets/lalala/icons/delete.png);
44
+ background-repeat: no-repeat;
45
+ }
46
+
47
+ ol {
48
+ border-radius: 5px;
49
+ border: 1px solid #e0e0e0;
50
+ margin: 0 0 1em 0;
51
+ overflow: hidden;
52
+
53
+ li {
54
+ &:last-child .item {
55
+ border-bottom: 0;
56
+ }
57
+
58
+ &:hover {
59
+ a.member_link {
60
+ opacity: 1;
61
+ }
62
+ }
63
+
64
+ .item {
65
+ border-top: 0;
66
+ box-sizing: border-box;
67
+ font-size: 14px;
68
+ line-height: 16px;
69
+ overflow: hidden;
70
+
71
+ &.odd {
72
+ background-color: #fafafa;
73
+ }
74
+
75
+ .cell.left {
76
+ font-size: 14px;
77
+ line-height: 16px;
78
+ float: left;
79
+ padding: 13px 15px 12px 15px;
80
+ }
81
+
82
+ .cell.right {
83
+ float: right;
84
+ padding: 13px 15px 12px 15px;
85
+ }
86
+ }
87
+ }
88
+ }
89
+ }
@@ -1,6 +1,6 @@
1
1
  module Lalala
2
2
  VERSION = "4.0.0"
3
- BUILD = "393"
3
+ BUILD = "395"
4
4
 
5
5
  if BUILD != ("{{BUILD_NUMBER" + "}}") # prevent sed replacement (see script/ci)
6
6
  BUILD_VERSION = "#{VERSION}.dev.#{BUILD}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lalala
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.dev.393
4
+ version: 4.0.0.dev.395
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Menke
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2015-06-09 00:00:00.000000000 Z
16
+ date: 2015-07-13 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: activeadmin
@@ -1307,9 +1307,11 @@ files:
1307
1307
  - app/assets/javascripts/browser/navigator.module.js
1308
1308
  - app/assets/javascripts/browser/screen.module.js
1309
1309
  - app/assets/javascripts/browser/window.module.js
1310
+ - app/assets/javascripts/jquery-ui/sortable.js
1310
1311
  - app/assets/javascripts/lalala/base.js
1311
1312
  - app/assets/javascripts/lalala/lib/jquery-chosen.js
1312
1313
  - app/assets/javascripts/lalala/lib/jquery-markitup.js
1314
+ - app/assets/javascripts/lalala/lib/jquery-ui.js
1313
1315
  - app/assets/javascripts/lalala/lib/moment.js
1314
1316
  - app/assets/javascripts/lalala/lib/pikaday.js
1315
1317
  - app/assets/javascripts/lalala/modules/calendar.module.js
@@ -1351,6 +1353,7 @@ files:
1351
1353
  - app/assets/stylesheets/lalala/modules/_footer.css.scss
1352
1354
  - app/assets/stylesheets/lalala/modules/_grid.css.scss
1353
1355
  - app/assets/stylesheets/lalala/modules/_header.css.scss
1356
+ - app/assets/stylesheets/lalala/modules/_index-as-sortable.css.scss
1354
1357
  - app/assets/stylesheets/lalala/modules/_index-as-table.css.scss
1355
1358
  - app/assets/stylesheets/lalala/modules/_index-as-tree-table.css.scss
1356
1359
  - app/assets/stylesheets/lalala/modules/_index-footer.css.scss