jquery.gridster.min.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. /*! gridster.js - v0.5.6 - 2014-09-25
  2. * http://gridster.net/
  3. * Copyright (c) 2014 ducksboard; Licensed MIT */
  4. .gridster {
  5. position:relative;
  6. height:100%;
  7. }
  8. .gridster > * {
  9. /* margin: 0 auto;*/
  10. -webkit-transition: height .4s, width .4s;
  11. -moz-transition: height .4s, width .4s;
  12. -o-transition: height .4s, width .4s;
  13. -ms-transition: height .4s, width .4s;
  14. transition: height .4s, width .4s;
  15. }
  16. .gridster .gs-w {
  17. z-index: 2;
  18. position: absolute;
  19. }
  20. .ready .gs-w:not(.preview-holder) {
  21. -webkit-transition: opacity .3s, left .3s, top .3s;
  22. -moz-transition: opacity .3s, left .3s, top .3s;
  23. -o-transition: opacity .3s, left .3s, top .3s;
  24. transition: opacity .3s, left .3s, top .3s;
  25. }
  26. .ready .gs-w:not(.preview-holder),
  27. .ready .resize-preview-holder {
  28. -webkit-transition: opacity .3s, left .3s, top .3s, width .3s, height .3s;
  29. -moz-transition: opacity .3s, left .3s, top .3s, width .3s, height .3s;
  30. -o-transition: opacity .3s, left .3s, top .3s, width .3s, height .3s;
  31. transition: opacity .3s, left .3s, top .3s, width .3s, height .3s;
  32. }
  33. .gridster .preview-holder {
  34. z-index: 1;
  35. position: absolute;
  36. background-color: #fff;
  37. border-color: #fff;
  38. opacity: 0.3;
  39. }
  40. .gridster .player-revert {
  41. z-index: 10!important;
  42. -webkit-transition: left .3s, top .3s!important;
  43. -moz-transition: left .3s, top .3s!important;
  44. -o-transition: left .3s, top .3s!important;
  45. transition: left .3s, top .3s!important;
  46. }
  47. .gridster .dragging,
  48. .gridster .resizing {
  49. z-index: 10!important;
  50. -webkit-transition: all 0s !important;
  51. -moz-transition: all 0s !important;
  52. -o-transition: all 0s !important;
  53. transition: all 0s !important;
  54. }
  55. .gs-resize-handle {
  56. position: absolute;
  57. z-index: 1;
  58. }
  59. .gs-resize-handle-both {
  60. width: 20px;
  61. height: 20px;
  62. bottom: -13px;
  63. right: -13px;
  64. background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pg08IS0tIEdlbmVyYXRvcjogQWRvYmUgRmlyZXdvcmtzIENTNiwgRXhwb3J0IFNWRyBFeHRlbnNpb24gYnkgQWFyb24gQmVhbGwgKGh0dHA6Ly9maXJld29ya3MuYWJlYWxsLmNvbSkgLiBWZXJzaW9uOiAwLjYuMSAgLS0+DTwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DTxzdmcgaWQ9IlVudGl0bGVkLVBhZ2UlMjAxIiB2aWV3Qm94PSIwIDAgNiA2IiBzdHlsZT0iYmFja2dyb3VuZC1jb2xvcjojZmZmZmZmMDAiIHZlcnNpb249IjEuMSINCXhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiDQl4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjZweCIgaGVpZ2h0PSI2cHgiDT4NCTxnIG9wYWNpdHk9IjAuMzAyIj4NCQk8cGF0aCBkPSJNIDYgNiBMIDAgNiBMIDAgNC4yIEwgNCA0LjIgTCA0LjIgNC4yIEwgNC4yIDAgTCA2IDAgTCA2IDYgTCA2IDYgWiIgZmlsbD0iIzAwMDAwMCIvPg0JPC9nPg08L3N2Zz4=');
  65. background-position: top left;
  66. background-repeat: no-repeat;
  67. cursor: se-resize;
  68. z-index: 99999999999999999999999999999999;
  69. }
  70. .gs-resize-handle-x {
  71. top: 0;
  72. bottom: 13px;
  73. right: -5px;
  74. width: 10px;
  75. cursor: e-resize;
  76. }
  77. .gs-resize-handle-y {
  78. left: 0;
  79. right: 13px;
  80. bottom: -5px;
  81. height: 10px;
  82. cursor: s-resize;
  83. }
  84. .gs-w:hover .gs-resize-handle,
  85. .resizing .gs-resize-handle {
  86. opacity: 1;
  87. }
  88. .gs-resize-handle,
  89. .gs-w.dragging .gs-resize-handle {
  90. opacity: 0;
  91. }
  92. .gs-resize-disabled .gs-resize-handle {
  93. display: none!important;
  94. }
  95. [data-max-sizex="1"] .gs-resize-handle-x,
  96. [data-max-sizey="1"] .gs-resize-handle-y,
  97. [data-max-sizey="1"][data-max-sizex="1"] .gs-resize-handle {
  98. display: none !important;
  99. }
  100. /* Uncomment this if you set helper : "clone" in draggable options */
  101. /*.gridster .player {
  102. opacity:0;
  103. }
  104. */