librenms-librenms/dist/jquery.gridster.css

125 lines
3.6 KiB
CSS
Raw Normal View History

2015-02-21 12:26:58 -05:00
/*! gridster.js - v0.6.1 - 2015-02-21
* http://gridster.net/
* Copyright (c) 2015 decksterteam; Licensed */
2012-07-18 18:31:44 +02:00
.gridster {
2012-07-23 15:15:26 +02:00
position:relative;
2012-07-18 18:31:44 +02:00
}
.gridster > * {
2012-07-23 15:15:26 +02:00
margin: 0 auto;
2013-11-18 19:30:39 +01:00
-webkit-transition: height .4s, width .4s;
-moz-transition: height .4s, width .4s;
-o-transition: height .4s, width .4s;
-ms-transition: height .4s, width .4s;
transition: height .4s, width .4s;
2012-07-18 18:31:44 +02:00
}
2013-10-26 19:54:50 +02:00
.gridster .gs-w {
2012-07-23 15:15:26 +02:00
z-index: 2;
position: absolute;
2012-07-18 18:31:44 +02:00
}
.gridster.collapsed .gs-w {
position: static !important;
}
2013-10-26 19:54:50 +02:00
.ready .gs-w:not(.preview-holder) {
2012-07-23 15:15:26 +02:00
-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;
2012-07-18 18:31:44 +02:00
}
2013-10-26 19:54:50 +02:00
.ready .gs-w:not(.preview-holder),
.ready .resize-preview-holder {
2012-08-13 22:14:53 +02:00
-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;
}
2012-07-18 18:31:44 +02:00
.gridster .preview-holder {
z-index: 1;
position: absolute;
2012-07-23 15:15:26 +02:00
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;
2012-07-18 18:31:44 +02:00
}
2013-10-26 19:54:50 +02:00
.gridster .dragging,
.gridster .resizing {
z-index: 10!important;
2012-07-23 22:08:09 +02:00
-webkit-transition: all 0s !important;
-moz-transition: all 0s !important;
-o-transition: all 0s !important;
transition: all 0s !important;
2012-07-18 18:31:44 +02:00
}
2013-10-26 19:54:50 +02:00
.gs-resize-handle {
position: absolute;
z-index: 1;
}
.gs-resize-handle-both {
width: 20px;
height: 20px;
bottom: -8px;
right: -8px;
background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pg08IS0tIEdlbmVyYXRvcjogQWRvYmUgRmlyZXdvcmtzIENTNiwgRXhwb3J0IFNWRyBFeHRlbnNpb24gYnkgQWFyb24gQmVhbGwgKGh0dHA6Ly9maXJld29ya3MuYWJlYWxsLmNvbSkgLiBWZXJzaW9uOiAwLjYuMSAgLS0+DTwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DTxzdmcgaWQ9IlVudGl0bGVkLVBhZ2UlMjAxIiB2aWV3Qm94PSIwIDAgNiA2IiBzdHlsZT0iYmFja2dyb3VuZC1jb2xvcjojZmZmZmZmMDAiIHZlcnNpb249IjEuMSINCXhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiDQl4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjZweCIgaGVpZ2h0PSI2cHgiDT4NCTxnIG9wYWNpdHk9IjAuMzAyIj4NCQk8cGF0aCBkPSJNIDYgNiBMIDAgNiBMIDAgNC4yIEwgNCA0LjIgTCA0LjIgNC4yIEwgNC4yIDAgTCA2IDAgTCA2IDYgTCA2IDYgWiIgZmlsbD0iIzAwMDAwMCIvPg0JPC9nPg08L3N2Zz4=');
background-position: top left;
background-repeat: no-repeat;
cursor: se-resize;
z-index: 20;
}
.gs-resize-handle-x {
top: 0;
bottom: 13px;
right: -5px;
width: 10px;
cursor: e-resize;
}
.gs-resize-handle-y {
left: 0;
right: 13px;
bottom: -5px;
height: 10px;
cursor: s-resize;
}
.gs-w:hover .gs-resize-handle,
.resizing .gs-resize-handle {
opacity: 1;
}
.gs-resize-handle,
.gs-w.dragging .gs-resize-handle {
opacity: 0;
}
.gs-resize-disabled .gs-resize-handle {
display: none!important;
}
[data-max-sizex="1"] .gs-resize-handle-x,
[data-max-sizey="1"] .gs-resize-handle-y,
[data-max-sizey="1"][data-max-sizex="1"] .gs-resize-handle {
display: none !important;
}
2012-07-23 15:15:26 +02:00
/* Uncomment this if you set helper : "clone" in draggable options */
/*.gridster .player {
2012-07-23 15:15:26 +02:00
opacity:0;
2013-10-26 19:54:50 +02:00
}
*/