gridster-rails 0.1.5.1 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/gridster-rails/version.rb +1 -1
- data/vendor/assets/javascripts/jquery.gridster.js +634 -599
- data/vendor/assets/stylesheets/jquery.gridster.css +66 -5
- metadata +1 -1
@@ -1,3 +1,7 @@
|
|
1
|
+
/*! gridster.js - v0.2.1 - 2013-10-28
|
2
|
+
* http://gridster.net/
|
3
|
+
* Copyright (c) 2013 ducksboard; Licensed MIT */
|
4
|
+
|
1
5
|
.gridster {
|
2
6
|
position:relative;
|
3
7
|
}
|
@@ -11,19 +15,20 @@
|
|
11
15
|
transition: height .4s;
|
12
16
|
}
|
13
17
|
|
14
|
-
.gridster .
|
18
|
+
.gridster .gs-w {
|
15
19
|
z-index: 2;
|
16
20
|
position: absolute;
|
17
21
|
}
|
18
22
|
|
19
|
-
.ready .
|
23
|
+
.ready .gs-w:not(.preview-holder) {
|
20
24
|
-webkit-transition: opacity .3s, left .3s, top .3s;
|
21
25
|
-moz-transition: opacity .3s, left .3s, top .3s;
|
22
26
|
-o-transition: opacity .3s, left .3s, top .3s;
|
23
27
|
transition: opacity .3s, left .3s, top .3s;
|
24
28
|
}
|
25
29
|
|
26
|
-
.ready .
|
30
|
+
.ready .gs-w:not(.preview-holder),
|
31
|
+
.ready .resize-preview-holder {
|
27
32
|
-webkit-transition: opacity .3s, left .3s, top .3s, width .3s, height .3s;
|
28
33
|
-moz-transition: opacity .3s, left .3s, top .3s, width .3s, height .3s;
|
29
34
|
-o-transition: opacity .3s, left .3s, top .3s, width .3s, height .3s;
|
@@ -46,7 +51,8 @@
|
|
46
51
|
transition: left .3s, top .3s!important;
|
47
52
|
}
|
48
53
|
|
49
|
-
.gridster .dragging
|
54
|
+
.gridster .dragging,
|
55
|
+
.gridster .resizing {
|
50
56
|
z-index: 10!important;
|
51
57
|
-webkit-transition: all 0s !important;
|
52
58
|
-moz-transition: all 0s !important;
|
@@ -54,7 +60,62 @@
|
|
54
60
|
transition: all 0s !important;
|
55
61
|
}
|
56
62
|
|
63
|
+
|
64
|
+
.gs-resize-handle {
|
65
|
+
position: absolute;
|
66
|
+
z-index: 1;
|
67
|
+
}
|
68
|
+
|
69
|
+
.gs-resize-handle-both {
|
70
|
+
width: 20px;
|
71
|
+
height: 20px;
|
72
|
+
bottom: -8px;
|
73
|
+
right: -8px;
|
74
|
+
background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pg08IS0tIEdlbmVyYXRvcjogQWRvYmUgRmlyZXdvcmtzIENTNiwgRXhwb3J0IFNWRyBFeHRlbnNpb24gYnkgQWFyb24gQmVhbGwgKGh0dHA6Ly9maXJld29ya3MuYWJlYWxsLmNvbSkgLiBWZXJzaW9uOiAwLjYuMSAgLS0+DTwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DTxzdmcgaWQ9IlVudGl0bGVkLVBhZ2UlMjAxIiB2aWV3Qm94PSIwIDAgNiA2IiBzdHlsZT0iYmFja2dyb3VuZC1jb2xvcjojZmZmZmZmMDAiIHZlcnNpb249IjEuMSINCXhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiDQl4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjZweCIgaGVpZ2h0PSI2cHgiDT4NCTxnIG9wYWNpdHk9IjAuMzAyIj4NCQk8cGF0aCBkPSJNIDYgNiBMIDAgNiBMIDAgNC4yIEwgNCA0LjIgTCA0LjIgNC4yIEwgNC4yIDAgTCA2IDAgTCA2IDYgTCA2IDYgWiIgZmlsbD0iIzAwMDAwMCIvPg0JPC9nPg08L3N2Zz4=');
|
75
|
+
background-position: top left;
|
76
|
+
background-repeat: no-repeat;
|
77
|
+
cursor: se-resize;
|
78
|
+
z-index: 20;
|
79
|
+
}
|
80
|
+
|
81
|
+
.gs-resize-handle-x {
|
82
|
+
top: 0;
|
83
|
+
bottom: 13px;
|
84
|
+
right: -5px;
|
85
|
+
width: 10px;
|
86
|
+
cursor: e-resize;
|
87
|
+
}
|
88
|
+
|
89
|
+
.gs-resize-handle-y {
|
90
|
+
left: 0;
|
91
|
+
right: 13px;
|
92
|
+
bottom: -5px;
|
93
|
+
height: 10px;
|
94
|
+
cursor: s-resize;
|
95
|
+
}
|
96
|
+
|
97
|
+
.gs-w:hover .gs-resize-handle,
|
98
|
+
.resizing .gs-resize-handle {
|
99
|
+
opacity: 1;
|
100
|
+
}
|
101
|
+
|
102
|
+
.gs-resize-handle,
|
103
|
+
.gs-w.dragging .gs-resize-handle {
|
104
|
+
opacity: 0;
|
105
|
+
}
|
106
|
+
|
107
|
+
.gs-resize-disabled .gs-resize-handle {
|
108
|
+
display: none!important;
|
109
|
+
}
|
110
|
+
|
111
|
+
[data-max-sizex="1"] .gs-resize-handle-x,
|
112
|
+
[data-max-sizey="1"] .gs-resize-handle-y,
|
113
|
+
[data-max-sizey="1"][data-max-sizex="1"] .gs-resize-handle {
|
114
|
+
display: none !important;
|
115
|
+
}
|
116
|
+
|
57
117
|
/* Uncomment this if you set helper : "clone" in draggable options */
|
58
118
|
/*.gridster .player {
|
59
119
|
opacity:0;
|
60
|
-
}
|
120
|
+
}
|
121
|
+
*/
|