Add basic checkbox support to new grids.
Also: * Add 'creatable', 'editable' etc. to master view class. * Add styles for warning/notice grid rows. * Misc. other tweaks.
This commit is contained in:
parent
e79531fda8
commit
d2b065a8fc
13 changed files with 229 additions and 71 deletions
|
@ -44,7 +44,6 @@ p {
|
|||
}
|
||||
|
||||
.right {
|
||||
float: right;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
|
|
|
@ -133,18 +133,46 @@
|
|||
* tbody
|
||||
******************************/
|
||||
|
||||
.newgrid table tbody td {
|
||||
.newgrid tbody td {
|
||||
padding: 5px 6px;
|
||||
}
|
||||
|
||||
.newgrid table tbody tr:nth-child(odd) {
|
||||
.newgrid.selectable tbody td {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.newgrid tbody tr:nth-child(odd) {
|
||||
background-color: #e0e0e0;
|
||||
}
|
||||
|
||||
.newgrid table tbody tr.hovering {
|
||||
.newgrid tbody tr.hovering {
|
||||
background-color: #bbbbbb;
|
||||
}
|
||||
|
||||
.newgrid tbody tr.notice {
|
||||
background-color: #fd6;
|
||||
}
|
||||
|
||||
.newgrid tbody tr.notice:nth-child(odd) {
|
||||
background-color: #fe8;
|
||||
}
|
||||
|
||||
.newgrid tbody tr.notice.hovering {
|
||||
background-color: #ec7;
|
||||
}
|
||||
|
||||
.newgrid tbody tr.warning {
|
||||
background-color: #fcc;
|
||||
}
|
||||
|
||||
.newgrid tbody tr.warning:nth-child(odd) {
|
||||
background-color: #ebb;
|
||||
}
|
||||
|
||||
.newgrid tbody tr.warning.hovering {
|
||||
background-color: #daa;
|
||||
}
|
||||
|
||||
|
||||
/******************************
|
||||
* main actions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue