forked from extern/egroupware
Add gridster library for home portlet layout
This commit is contained in:
parent
c2c910cee2
commit
fdfae8dd92
4
phpgwapi/js/jquery/gridster/.gitignore
vendored
Normal file
4
phpgwapi/js/jquery/gridster/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
node_modules/
|
||||
gh-pages/
|
||||
demo/
|
||||
.idea
|
19
phpgwapi/js/jquery/gridster/LICENSE
Normal file
19
phpgwapi/js/jquery/gridster/LICENSE
Normal file
@ -0,0 +1,19 @@
|
||||
Copyright (c) 2012 Ducksboard
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
52
phpgwapi/js/jquery/gridster/README.md
Normal file
52
phpgwapi/js/jquery/gridster/README.md
Normal file
@ -0,0 +1,52 @@
|
||||
Gridster.js
|
||||
===========
|
||||
|
||||
Gridster is a jQuery plugin that makes building intuitive draggable
|
||||
layouts from elements spanning multiple columns. You can even
|
||||
dynamically add and remove elements from the grid.
|
||||
|
||||
More at [http://gridster.net/](http://gridster.net/).
|
||||
|
||||
Updating Begins
|
||||
===============
|
||||
|
||||
Hi all, I have begun merging my fork with the main repository
|
||||
and am making some much needed fixes in the process.
|
||||
|
||||
I am devoting an hour a day until it gets done.
|
||||
|
||||
Thanks,
|
||||
|
||||
Dustin
|
||||
|
||||
|
||||
Public Service Announcement from Dustin Moore (dustmoo)
|
||||
=======================================================
|
||||
|
||||
Gridster is not currently being actively maintained by
|
||||
[Ducksboard](http://ducksboard.com/).
|
||||
|
||||
I and others have been given access to the repo to help
|
||||
maintain and address issues.
|
||||
|
||||
I have created a fork of gridster that supports more advanced
|
||||
features, like widget-swapping and static widgets.
|
||||
|
||||
It can be found here: https://github.com/dustmoo/gridster.js
|
||||
|
||||
Currently the code-base is different and I don't have time to
|
||||
reconcile the fork with this repo.
|
||||
|
||||
If anyone would like to help me improve my fork and reconcile
|
||||
it with the main library I would be happy for the help.
|
||||
|
||||
|
||||
License
|
||||
=======
|
||||
|
||||
Distributed under the MIT license.
|
||||
|
||||
Whodunit
|
||||
========
|
||||
|
||||
Gridster is built by [Ducksboard](http://ducksboard.com/).
|
60
phpgwapi/js/jquery/gridster/jquery.gridster.css
Normal file
60
phpgwapi/js/jquery/gridster/jquery.gridster.css
Normal file
@ -0,0 +1,60 @@
|
||||
.gridster {
|
||||
position:relative;
|
||||
}
|
||||
|
||||
.gridster > * {
|
||||
margin: 0 auto;
|
||||
-webkit-transition: height .4s;
|
||||
-moz-transition: height .4s;
|
||||
-o-transition: height .4s;
|
||||
-ms-transition: height .4s;
|
||||
transition: height .4s;
|
||||
}
|
||||
|
||||
.gridster .gs_w{
|
||||
z-index: 2;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.ready .gs_w:not(.preview-holder) {
|
||||
-webkit-transition: opacity .3s, left .3s, top .3s;
|
||||
-moz-transition: opacity .3s, left .3s, top .3s;
|
||||
-o-transition: opacity .3s, left .3s, top .3s;
|
||||
transition: opacity .3s, left .3s, top .3s;
|
||||
}
|
||||
|
||||
.ready .gs_w:not(.preview-holder) {
|
||||
-webkit-transition: opacity .3s, left .3s, top .3s, width .3s, height .3s;
|
||||
-moz-transition: opacity .3s, left .3s, top .3s, width .3s, height .3s;
|
||||
-o-transition: opacity .3s, left .3s, top .3s, width .3s, height .3s;
|
||||
transition: opacity .3s, left .3s, top .3s, width .3s, height .3s;
|
||||
}
|
||||
|
||||
.gridster .preview-holder {
|
||||
z-index: 1;
|
||||
position: absolute;
|
||||
background-color: #fff;
|
||||
border-color: #fff;
|
||||
opacity: 0.3;
|
||||
}
|
||||
|
||||
.gridster .player-revert {
|
||||
z-index: 10!important;
|
||||
-webkit-transition: left .3s, top .3s!important;
|
||||
-moz-transition: left .3s, top .3s!important;
|
||||
-o-transition: left .3s, top .3s!important;
|
||||
transition: left .3s, top .3s!important;
|
||||
}
|
||||
|
||||
.gridster .dragging {
|
||||
z-index: 10!important;
|
||||
-webkit-transition: all 0s !important;
|
||||
-moz-transition: all 0s !important;
|
||||
-o-transition: all 0s !important;
|
||||
transition: all 0s !important;
|
||||
}
|
||||
|
||||
/* Uncomment this if you set helper : "clone" in draggable options */
|
||||
/*.gridster .player {
|
||||
opacity:0;
|
||||
}*/
|
3612
phpgwapi/js/jquery/gridster/jquery.gridster.js
Normal file
3612
phpgwapi/js/jquery/gridster/jquery.gridster.js
Normal file
File diff suppressed because it is too large
Load Diff
1
phpgwapi/js/jquery/gridster/jquery.gridster.min.css
vendored
Normal file
1
phpgwapi/js/jquery/gridster/jquery.gridster.min.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.gridster{position:relative}.gridster>*{margin:0 auto;-webkit-transition:height .4s;-moz-transition:height .4s;-o-transition:height .4s;-ms-transition:height .4s;transition:height .4s}.gridster .gs_w{z-index:2;position:absolute}.ready .gs_w:not(.preview-holder){-webkit-transition:opacity .3s,left .3s,top .3s;-moz-transition:opacity .3s,left .3s,top .3s;-o-transition:opacity .3s,left .3s,top .3s;transition:opacity .3s,left .3s,top .3s}.ready .gs_w:not(.preview-holder){-webkit-transition:opacity .3s,left .3s,top .3s,width .3s,height .3s;-moz-transition:opacity .3s,left .3s,top .3s,width .3s,height .3s;-o-transition:opacity .3s,left .3s,top .3s,width .3s,height .3s;transition:opacity .3s,left .3s,top .3s,width .3s,height .3s}.gridster .preview-holder{z-index:1;position:absolute;background-color:#fff;border-color:#fff;opacity:.3}.gridster .player-revert{z-index:10!important;-webkit-transition:left .3s,top .3s!important;-moz-transition:left .3s,top .3s!important;-o-transition:left .3s,top .3s!important;transition:left .3s,top .3s!important}.gridster .dragging{z-index:10!important;-webkit-transition:all 0s!important;-moz-transition:all 0s!important;-o-transition:all 0s!important;transition:all 0s!important}
|
2
phpgwapi/js/jquery/gridster/jquery.gridster.min.js
vendored
Normal file
2
phpgwapi/js/jquery/gridster/jquery.gridster.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
3778
phpgwapi/js/jquery/gridster/jquery.gridster.with-extras.js
Normal file
3778
phpgwapi/js/jquery/gridster/jquery.gridster.with-extras.js
Normal file
File diff suppressed because it is too large
Load Diff
2
phpgwapi/js/jquery/gridster/jquery.gridster.with-extras.min.js
vendored
Normal file
2
phpgwapi/js/jquery/gridster/jquery.gridster.with-extras.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user