mirror of https://gitee.com/bigwinds/arangodb
Unified datatable colouring of odd and even
This commit is contained in:
parent
fcb30082c9
commit
fd80bf7387
|
@ -79,11 +79,3 @@
|
|||
margin: 11px 10px 0 0 !important;
|
||||
}
|
||||
|
||||
#resources > li:nth-child(even) {
|
||||
background-color: #FFFFFF !important;
|
||||
}
|
||||
|
||||
#resources > li:nth-child(odd) {
|
||||
background-color: #F1F0EE !important;
|
||||
}
|
||||
|
||||
|
|
|
@ -51,14 +51,6 @@
|
|||
padding:12px 18px;
|
||||
}
|
||||
|
||||
#databaseTable tr:nth-child(odd) {
|
||||
background-color: #F1F0EE;
|
||||
}
|
||||
|
||||
#databaseTable tr:nth-child(even) {
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
#createDatabaseModal table {
|
||||
width: 100%;
|
||||
}
|
||||
|
|
|
@ -6,14 +6,6 @@
|
|||
padding:12px 18px !important;
|
||||
}
|
||||
|
||||
#logContent .odd {
|
||||
background-color: #F1F0EE;
|
||||
}
|
||||
|
||||
#logContent .even {
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
|
||||
table.dataTable thead th {
|
||||
border-bottom:none;
|
||||
|
@ -31,8 +23,6 @@ table.arangoDataTable.dataTable td {
|
|||
}
|
||||
|
||||
.arangoDataTable {
|
||||
padding-left: 5px !important;
|
||||
padding-right: 5px !important;
|
||||
width: 100% !important;
|
||||
position: relative;
|
||||
table-layout:fixed !important;
|
||||
|
@ -54,3 +44,13 @@ table.arangoDataTable.dataTable td {
|
|||
margin-top: 4px;
|
||||
}
|
||||
|
||||
/* Odd / Even coloring */
|
||||
.api-container ul#resources > li.resource:nth-child(even),
|
||||
table.arangoDataTable tr.even {
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
.api-container ul#resources > li.resource:nth-child(odd),
|
||||
table.arangoDataTable tr.odd {
|
||||
background-color: #F1F0EE;
|
||||
}
|
||||
|
|
|
@ -148,7 +148,6 @@ table.dataTable thead th {
|
|||
}
|
||||
|
||||
#documentTableID.dataTable thead tr {
|
||||
/* background-color: #F1F0EE;*/
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
|
@ -159,23 +158,6 @@ table.dataTable thead th {
|
|||
box-shadow: none;
|
||||
}
|
||||
|
||||
#documentTableID .odd,
|
||||
table.dataTable.arangoDataTable tr.odd {
|
||||
background:#F1F0EE;
|
||||
}
|
||||
#documentTableID .even,
|
||||
table.dataTable.arangoDataTable tr.even {
|
||||
background:#FFFFFF;
|
||||
}
|
||||
|
||||
#documentTableID tr.odd td.sorting_1 {
|
||||
background:#F1F0EE;/* #fdf6df*/
|
||||
}
|
||||
|
||||
#documentTableID tr.even td.sorting_1 {
|
||||
background:#FFFFFF; /*#fdfaec*/
|
||||
}
|
||||
|
||||
.arangoTab > li > a,
|
||||
.arangoTab > li:hover > a {
|
||||
border-radius: 0 !important;
|
||||
|
|
|
@ -401,14 +401,6 @@
|
|||
min-width: 100% !important;
|
||||
}
|
||||
|
||||
#collectionEditIndexTable tr:nth-child(even) {
|
||||
background-color: white !important;
|
||||
}
|
||||
|
||||
#collectionEditIndexTable tr:nth-child(odd) {
|
||||
background-color: #F1F0EE !important;
|
||||
}
|
||||
|
||||
#collectionEditIndexTable th {
|
||||
padding-top: 5px;
|
||||
padding-bottom: 5px;
|
||||
|
|
|
@ -25,25 +25,11 @@
|
|||
word-break: break-all;
|
||||
}
|
||||
|
||||
|
||||
|
||||
#logContent .sorting_1 {
|
||||
background-color: #FBFBFB !important;
|
||||
}
|
||||
|
||||
/*.odd .sorting_1 {
|
||||
background-color: none !important;
|
||||
}
|
||||
|
||||
.even .sorting_1 {
|
||||
background-color: #F1F0EE !important;
|
||||
}*/
|
||||
|
||||
#logToolbar {
|
||||
padding-top: 10px;
|
||||
padding-bottom: 15px;
|
||||
border: 1px solid #C1BDBA;
|
||||
background-color: #F7F6F6 !important;
|
||||
#logToolbar {
|
||||
padding-top: 10px;
|
||||
padding-bottom: 15px;
|
||||
border: 1px solid #C1BDBA;
|
||||
background-color: #F7F6F6 !important;
|
||||
}
|
||||
|
||||
#logToolbar button {
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
pre{
|
||||
margin: 0 0 0 0;
|
||||
}
|
||||
.form-actions {
|
||||
}
|
||||
.swagger-ui-wrap .container {
|
||||
width: auto;
|
||||
margin: 20px;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
</ul>
|
||||
|
||||
<div id="databaseDiv" class="thumbnails">
|
||||
<table id="databaseTable">
|
||||
<table id="databaseTable" class="arangoDataTable">
|
||||
<thead>
|
||||
<tr>
|
||||
<td class="dbThFirst">Name</td>
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
</li>
|
||||
</ul>
|
||||
|
||||
<table cellpadding="0" cellspacing="0" border="0" class="display" id="documentTableID" width="100%">
|
||||
<table cellpadding="0" cellspacing="0" border="0" class="display arangoDataTable" id="documentTableID" width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Attribute</th>
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
<div class="contentIn" id="indexHeaderContent">
|
||||
<div id="indexEditView">
|
||||
<a>Indexes:</a>
|
||||
<table id="collectionEditIndexTable">
|
||||
<table id="collectionEditIndexTable" class="arangoDataTable">
|
||||
<tr class="figuresHeader">
|
||||
<th class="collectionInfoTh">ID</th>
|
||||
<th class="collectionInfoTh">Type</th>
|
||||
|
|
|
@ -221,7 +221,6 @@
|
|||
}
|
||||
});
|
||||
this.makeEditable();
|
||||
$(this.table).dataTable().fnSort([ [0, 'asc'] ]);
|
||||
},
|
||||
|
||||
addLine: function (event) {
|
||||
|
@ -265,7 +264,7 @@
|
|||
|
||||
initTable: function () {
|
||||
$(this.table).dataTable({
|
||||
"aaSorting": [[ 1, "asc" ]],
|
||||
"bSortClasses": false,
|
||||
"bAutoWidth": false,
|
||||
"bFilter": false,
|
||||
"bPaginate":false,
|
||||
|
|
|
@ -477,7 +477,7 @@
|
|||
|
||||
initTable: function (colid, pageid) {
|
||||
$('#documentsTableID').dataTable({
|
||||
"aaSorting": [[ 1, "asc" ]],
|
||||
"bSortClasses": false,
|
||||
"bFilter": false,
|
||||
"bPaginate":false,
|
||||
"bRetrieve": true,
|
||||
|
|
|
@ -114,6 +114,7 @@
|
|||
"bFilter": false,
|
||||
"bPaginate": false,
|
||||
"bSort" : false,
|
||||
"bSortClasses": false,
|
||||
"bLengthChange": false,
|
||||
"bDeferRender": true,
|
||||
"bProcessing": true,
|
||||
|
|
Loading…
Reference in New Issue