mirror of
https://github.com/vrana/adminer.git
synced 2025-09-02 10:53:09 +02:00
CSS: Sticky table headers (fix #918)
This commit is contained in:
@@ -24,6 +24,7 @@ code{background:#eee;padding:2px 4px;font:16px/20px Courier,monospace}
|
||||
code a:hover{background:transparent}
|
||||
table{margin:4px 0 8px;border:1px solid #ccc;font-size:inherit}
|
||||
tbody tr:hover td,tbody tr:hover th{background:#eee}
|
||||
thead { top: 40px; }
|
||||
thead tr:hover td,thead tr:hover th{background:#ddd}
|
||||
th,td{text-align:left;padding:2px 4px;vertical-align:top;font-weight:normal;border:1px dotted #ccc;border-width:0 0 0 1px;
|
||||
margin:0;background:inherit}
|
||||
|
@@ -109,6 +109,10 @@ tbody tr:hover td,tbody tr:hover th{
|
||||
background:#edf4ff
|
||||
}
|
||||
|
||||
thead{
|
||||
top: 44px;
|
||||
}
|
||||
|
||||
thead th, thead td {
|
||||
text-align:center;
|
||||
vertical-align:middle;
|
||||
|
@@ -423,6 +423,9 @@ table {
|
||||
border-radius: 2px !important;
|
||||
box-shadow: 0px 0px 3px rgba(0,0,0,0.30) !important;
|
||||
}
|
||||
thead {
|
||||
top: 34px;
|
||||
}
|
||||
thead td, thead th {
|
||||
background: #eee;
|
||||
}
|
||||
|
@@ -363,6 +363,10 @@ tbody tr:hover td, tbody tr:hover th {
|
||||
background: #edf4ff
|
||||
}
|
||||
|
||||
thead {
|
||||
top: 34px;
|
||||
}
|
||||
|
||||
thead td, thead th {
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
|
@@ -161,6 +161,10 @@ th, td {
|
||||
background: #CEE0FC;
|
||||
}
|
||||
|
||||
thead {
|
||||
top: 40px;
|
||||
}
|
||||
|
||||
thead th, thead td {
|
||||
background: #F2EEE1;
|
||||
border-color: #D0CDC4;
|
||||
|
@@ -108,6 +108,10 @@ tbody tr:hover td,tbody tr:hover th{
|
||||
background:#edf4ff
|
||||
}
|
||||
|
||||
thead {
|
||||
top: 46px;
|
||||
}
|
||||
|
||||
thead th, thead td {
|
||||
text-align:center;
|
||||
vertical-align:middle;
|
||||
|
@@ -140,6 +140,10 @@ tbody tr:hover td,tbody tr:hover th{
|
||||
background:#edf4ff
|
||||
}
|
||||
|
||||
thead {
|
||||
top: 50px;
|
||||
}
|
||||
|
||||
thead th, thead td {
|
||||
text-align:center;
|
||||
vertical-align:middle;
|
||||
|
@@ -59,6 +59,8 @@ tr:first-child td, tr:first-child th {
|
||||
border-top-width: 0; }
|
||||
td:first-child, th:first-child {
|
||||
border-left-width: 0; }
|
||||
thead {
|
||||
top: -1px; }
|
||||
thead td, thead th {
|
||||
background-color: #EEE;
|
||||
border: none;
|
||||
|
Reference in New Issue
Block a user