jquery-grid
Version:
jQuery Grid by Gijgo.com is a plug-in for the jQuery Javascript library. It is a very fast and extandable datagrid, and will add advanced interaction controls to any HTML table. This plugin has build-in integration with Bootstrap and Material Design. Free
186 lines (170 loc) • 3.58 kB
CSS
.gj-draggable {
cursor: move;
}
.gj-resizable-handle {
position: absolute;
font-size: 0.1px;
display: block;
-ms-touch-action: none;
touch-action: none;
z-index: 1203;
}
.gj-resizable-n {
cursor: n-resize;
height: 7px;
width: 100%;
top: -5px;
left: 0;
}
.gj-resizable-e {
cursor: e-resize;
width: 7px;
right: -5px;
top: 0;
height: 100%;
}
.gj-resizable-s {
cursor: s-resize;
height: 7px;
width: 100%;
bottom: -5px;
left: 0;
}
.gj-resizable-w {
cursor: w-resize;
width: 7px;
left: -5px;
top: 0;
height: 100%;
}
.gj-resizable-se {
cursor: se-resize;
width: 12px;
height: 12px;
right: 1px;
bottom: 1px;
}
.gj-resizable-sw {
cursor: sw-resize;
width: 9px;
height: 9px;
left: -5px;
bottom: -5px;
}
.gj-resizable-nw {
cursor: nw-resize;
width: 9px;
height: 9px;
left: -5px;
top: -5px;
}
.gj-resizable-ne {
cursor: ne-resize;
width: 9px;
height: 9px;
right: -5px;
top: -5px;
}
.gj-dialog-footer {
position: absolute;
bottom: 0px;
width: 100%;
margin-top: 0px;
}
.gj-dialog-scrollable [data-role="body"] {
overflow-x: hidden;
overflow-y: scroll;
}
/** Bootstrap 3 **/
.gj-dialog-bootstrap {
overflow: hidden;
z-index: 1202;
}
.gj-dialog-bootstrap [data-role="title"] {
display: inline;
}
.gj-dialog-bootstrap [data-role="close"] {
line-height: 1.42857143;
}
/** Bootstrap 4 **/
.gj-dialog-bootstrap4 {
overflow: hidden;
z-index: 1202;
}
.gj-dialog-bootstrap4 [data-role="title"] {
display: inline;
}
.gj-dialog-bootstrap4 [data-role="close"] {
line-height: 1.5;
}
/** Material Design **/
.gj-dialog-md {
background-color: #FFF;
overflow: hidden;
border: none;
box-shadow: 0 11px 15px -7px rgba(0,0,0,.2), 0 24px 38px 3px rgba(0,0,0,.14), 0 9px 46px 8px rgba(0,0,0,.12);
box-sizing: border-box;
position: relative;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-webkit-background-clip: padding-box;
background-clip: padding-box;
outline: 0;
z-index: 1202;
}
.gj-dialog-md-header {
padding: 24px 24px 0px 24px;
font-family: "Roboto","Helvetica","Arial",sans-serif;
}
.gj-dialog-md-title {
margin: 0;
font-weight: 400;
display: inline;
line-height: 28px;
font-size: 20px;
}
.gj-dialog-md-close {
-webkit-appearance: none;
padding: 0;
cursor: pointer;
background: 0 0;
border: 0;
float: right;
line-height: 28px;
font-size: 28px;
}
.gj-dialog-md-body {
padding: 20px 24px 24px 24px;
color: rgba(0,0,0,.54);
font-family: "Helvetica","Arial",sans-serif;
font-size: 14px;
font-weight: 400;
line-height: 20px;
}
.gj-dialog-md-footer {
padding: 8px 8px 8px 24px;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-direction: row-reverse;
-ms-flex-direction: row-reverse;
flex-direction: row-reverse;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
box-sizing: border-box;
}
.gj-dialog-md-footer>*:first-child {
margin-right: 0;
}
.gj-dialog-md-footer>* {
margin-right: 8px;
height: 36px;
}