diff --git a/adminer/static/default.css b/adminer/static/default.css index 6d0bfe83..ff578094 100644 --- a/adminer/static/default.css +++ b/adminer/static/default.css @@ -47,7 +47,7 @@ input.wayoff { left: -1000px; position: absolute; } .date { color: #7F007F; } .enum { color: #007F7F; } .binary { color: red; } -.odds tbody tr:nth-child(2n):not(.checked, :hover) td { background: #F5F5F5; } +.odds tbody tr:nth-child(2n) { background: #F5F5F5; } .js .checkable .checked td, .js .checkable .checked th { background: #ddf; } .time { color: silver; font-size: 70%; } .function, .number, .datetime { text-align: right; } @@ -121,7 +121,7 @@ input.wayoff { left: -1000px; position: absolute; } .date { color: #80ff80; } .enum { color: #ff8080; } .binary { color: #9bc0e1; } - .odds tbody tr:nth-child(2n):not(.checked, :hover) td { background: #042541; } + .odds tbody tr:nth-child(2n) { background: #042541; } .js .checkable .checked td, .js .checkable .checked th { background: #10395c; } .icon { background-color: #062642; } .icon:hover { background-color: #d1394e; } diff --git a/designs/bilal-dark/adminer.css b/designs/bilal-dark/adminer.css index 5f249c99..2c429bf1 100644 --- a/designs/bilal-dark/adminer.css +++ b/designs/bilal-dark/adminer.css @@ -198,7 +198,7 @@ table label.block{padding:0} tr{border-bottom:1px dotted rgba(255,255,255,0.1)} th,td{padding:4px 10px} th[style="text-align: right;"] input[type="checkbox"],td[align="right"] input[type="checkbox"],th[style="text-align: right;"] input[type="radio"],td[align="right"] input[type="radio"]{margin-right:0;margin-left:5px} -thead td,thead th,.odds tbody tr:nth-child(2n):not(.checked, :hover),tbody tr:hover td,tbody tr:hover th,.js .checkable .checked td,.js .checkable .checked th{background:transparent} +thead td,thead th,.odds tbody tr:nth-child(2n),tbody tr:hover td,tbody tr:hover th,.js .checkable .checked td,.js .checkable .checked th{background:transparent} thead tr{background:#282b2f;border-bottom:1px solid rgba(255,255,255,0.1)} thead td,thead th{padding:7px 10px;background:transparent;text-align:left} tbody th,tbody td{vertical-align:top} diff --git a/designs/bueltge/adminer.css b/designs/bueltge/adminer.css index d4c1c06f..f3ec2b00 100644 --- a/designs/bueltge/adminer.css +++ b/designs/bueltge/adminer.css @@ -112,7 +112,7 @@ border-bottom: 1px #BBB solid; thead tr:hover td, thead tr:hover th { background-color: #DDD !important; } -tr:nth-child(2n) td, tr:nth-child(2n) th, .odd td, .odd th, tr.odd { +tr:nth-child(2n) td, tr:nth-child(2n) th { background-color: #F1F1F1; } tr:hover td, tr:hover th { diff --git a/designs/dracula/adminer.css b/designs/dracula/adminer.css index f933543c..d7c3af0e 100644 --- a/designs/dracula/adminer.css +++ b/designs/dracula/adminer.css @@ -175,8 +175,7 @@ background: var(--color-darkPurple); } - .odds tbody tr:nth-child(2n):not(.checked, :hover) th, - .odds tbody tr:nth-child(2n):not(.checked, :hover) td { + .odds tbody tr:nth-child(2n) { background: var(--color-darkDraculaVSCode); } diff --git a/designs/esterka/adminer.css b/designs/esterka/adminer.css index e401e9ee..5e87d13d 100644 --- a/designs/esterka/adminer.css +++ b/designs/esterka/adminer.css @@ -133,7 +133,7 @@ th { background:white; } -.odds tbody tr:nth-child(2n):not(.checked, :hover) td { +.odds tbody tr:nth-child(2n) { background:#fcfaf5; } diff --git a/designs/galkaev/adminer.css b/designs/galkaev/adminer.css index 99198115..f6fee650 100644 --- a/designs/galkaev/adminer.css +++ b/designs/galkaev/adminer.css @@ -347,11 +347,11 @@ td{ border-bottom: 1px solid rgba(255, 255, 255, .1); } -.odds tbody tr:nth-child(2n):not(.checked, :hover) th{ +.odds tbody tr:nth-child(2n) th{ background: #222; } -.odds tbody tr:nth-child(2n):not(.checked, :hover) td{ +.odds tbody tr:nth-child(2n) td{ background: #000; } diff --git a/designs/konya/adminer.css b/designs/konya/adminer.css index 83b540b1..13ba4412 100644 --- a/designs/konya/adminer.css +++ b/designs/konya/adminer.css @@ -72,7 +72,7 @@ tr:first-child th {padding-right: 30px;} td:first-child, th:first-child {border-left-width: 0;} thead td, thead th {background-color: #DFDFDF; border: none; border-bottom: 1px #BBB solid;} thead tr:hover td, thead tr:hover th {background-color: #DDD !important;} -tr:nth-child(2n) td, tr:nth-child(2n) th, .odds tbody tr:nth-child(2n):not(.checked, :hover) td, .odds tbody tr:nth-child(2n):not(.checked, :hover) th, .odds tbody tr:nth-child(2n):not(.checked, :hover) {background-color: #F1F1F1;} +tr:nth-child(2n) td, tr:nth-child(2n) th, .odds tbody tr:nth-child(2n), .odds tbody tr:nth-child(2n):not(.checked, :hover) {background-color: #F1F1F1;} tr:hover td, tr:hover th {background-color: #BCD;} fieldset {display: inline; vertical-align: top; padding: 2px 12px; margin: 25px 12px 12px 0; border: none; background-color: #F1F1F1; border: 1px solid #E3E3E3; position: relative;} fieldset, x:-moz-any-link {padding-top: 4px;} diff --git a/designs/mancave/adminer.css b/designs/mancave/adminer.css index 049510a4..ed6c9690 100644 --- a/designs/mancave/adminer.css +++ b/designs/mancave/adminer.css @@ -377,11 +377,11 @@ td{ border-bottom: 1px solid #777; } -.odds tbody tr:nth-child(2n):not(.checked, :hover) th{ +.odds tbody tr:nth-child(2n) th{ background: #33394d; } -.odds tbody tr:nth-child(2n):not(.checked, :hover) td{ +.odds tbody tr:nth-child(2n) td{ background: #33394d; } diff --git a/designs/mvt/adminer.css b/designs/mvt/adminer.css index 6360dfd8..dc814025 100644 --- a/designs/mvt/adminer.css +++ b/designs/mvt/adminer.css @@ -378,7 +378,7 @@ thead td abbr, thead td sup, thead th acronym, thead th sup { color: #cdf } -.odds tbody tr:nth-child(2n):not(.checked, :hover) td { +.odds tbody tr:nth-child(2n) { background: #fcfaf5 } diff --git a/designs/nette/adminer.css b/designs/nette/adminer.css index 3501c4be..fc8d7503 100644 --- a/designs/nette/adminer.css +++ b/designs/nette/adminer.css @@ -153,7 +153,7 @@ th, td { vertical-align: top; } -.odds tbody tr:nth-child(2n):not(.checked, :hover) th, .odds tbody tr:nth-child(2n):not(.checked, :hover) td { +.odds tbody tr:nth-child(2n) { background: #FCFAF5; } diff --git a/designs/ng9/adminer.css b/designs/ng9/adminer.css index 1d767b4f..9c18a6e3 100644 --- a/designs/ng9/adminer.css +++ b/designs/ng9/adminer.css @@ -132,11 +132,11 @@ th { background:white; } -.odds tbody tr:nth-child(2n):not(.checked, :hover) td { +.odds tbody tr:nth-child(2n) { background:#fcfaf5; } -#content tbody tr.checked td, .odds tbody tr:nth-child(2n):not(.checked, :hover).checked td { +#content tbody tr.checked td, .odds tbody tr:nth-child(2n).checked td { background:#fbe2e2; color:red; } diff --git a/designs/nicu/adminer.css b/designs/nicu/adminer.css index 197965c0..676a5aa0 100644 --- a/designs/nicu/adminer.css +++ b/designs/nicu/adminer.css @@ -187,7 +187,7 @@ td.nowrap { .binary { color: red; } -.odds tbody tr:nth-child(2n):not(.checked, :hover) td { +.odds tbody tr:nth-child(2n) { background: transparent; } .js .checkable .checked td, diff --git a/designs/pappu687/adminer.css b/designs/pappu687/adminer.css index a89cd6a0..c6a3013f 100644 --- a/designs/pappu687/adminer.css +++ b/designs/pappu687/adminer.css @@ -169,7 +169,7 @@ th { background:white; } -.odds tbody tr:nth-child(2n):not(.checked, :hover) td { +.odds tbody tr:nth-child(2n) { background:#fcfaf5; } @@ -748,7 +748,7 @@ input[type=submit] { label { margin: 0 8px;} thead td, thead th{color:#fff;} -#content tbody .odds tbody tr:nth-child(2n):not(:hover).checked td, .odds tbody tr:nth-child(2n):not(:hover).checked td { +#content tbody .odds tbody tr:nth-child(2n).checked td, .odds tbody tr:nth-child(2n).checked td { background: #c8edff; color: #03A9F4; } diff --git a/designs/paranoiq/adminer.css b/designs/paranoiq/adminer.css index cf47e61a..a7730fae 100644 --- a/designs/paranoiq/adminer.css +++ b/designs/paranoiq/adminer.css @@ -65,7 +65,7 @@ thead td, thead th { border-bottom: 1px #DDD solid; } .nowrap tr:nth-child(2n) td, .nowrap tr:nth-child(2n) th { background-color: #DEF; } -.odds tbody tr:nth-child(2n):not(.checked, :hover) td, .odds tbody tr:nth-child(2n):not(.checked, :hover) th { +.odds tbody tr:nth-child(2n) { background-color: #DEF; } /* IEx */ tr.selected td, tr.selected th { background-color: #ABC !important; } diff --git a/designs/pepa-linha/adminer.css b/designs/pepa-linha/adminer.css index 0cdc490f..34d0501b 100644 --- a/designs/pepa-linha/adminer.css +++ b/designs/pepa-linha/adminer.css @@ -136,8 +136,7 @@ table.checkable tbody tr:hover th { background: #bfb008; } -.odds tbody tr:nth-child(2n):not(.checked, :hover) th, -.odds tbody tr:nth-child(2n):not(.checked, :hover) td { +.odds tbody tr:nth-child(2n) { background: #f5f5f5; } diff --git a/designs/price/adminer.css b/designs/price/adminer.css index e8cda747..c26c34d9 100644 --- a/designs/price/adminer.css +++ b/designs/price/adminer.css @@ -58,7 +58,7 @@ table{-moz-border-bottom-colors:none;-moz-border-left-colors:none;-moz-border-ri td,th{-moz-border-bottom-colors:none;-moz-border-left-colors:none;-moz-border-right-colors:none;-moz-border-top-colors:none;border-color:-moz-use-text-color #999 #999 -moz-use-text-color;border-image:none;border-style:none solid solid none;border-width:0 1px 1px 0;padding:.2em .3em} thead td,thead th{background:#eee;background:-moz-linear-gradient(top,#eee 0,#ccc 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#eee),color-stop(100%,#ccc));background:-webkit-linear-gradient(top,#eee 0,#ccc 100%);background:-o-linear-gradient(top,#eee 0,#ccc 100%);background:-ms-linear-gradient(top,#eee 0,#ccc 100%);background:linear-gradient(to bottom,#eee 0,#ccc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee',endColorstr='#cccccc',GradientType=0)} td{background-color:#f4f8ff} -.odds tbody tr:nth-child(2n):not(.checked, :hover) td{background-color:#fff} +.odds tbody tr:nth-child(2n){background-color:#fff} tbody tr:hover td,tbody tr:hover th{background-color:#FFE} p.tabs{margin:0 20px 0 0} .jush-sql{background:0} diff --git a/designs/rmsoft/adminer.css b/designs/rmsoft/adminer.css index 563cf3cc..82a516d8 100644 --- a/designs/rmsoft/adminer.css +++ b/designs/rmsoft/adminer.css @@ -140,8 +140,8 @@ thead th a{color:#b35a00} thead th a:link:hover,thead th a:visited:hover{color:#d00808} thead th a:visited{color:#844200} td{background:#ebebeb} -.odds tbody tr:nth-child(2n):not(.checked, :hover) td{background:#e0e0e0} -.odds tbody tr:nth-child(2n):not(.checked, :hover) th{background:#ebebeb} +.odds tbody tr:nth-child(2n) td{background:#e0e0e0} +.odds tbody tr:nth-child(2n) th{background:#ebebeb} tbody{font-size:90%} tbody td{padding:.15em .3em} pre[id^=sql]+table tbody td{padding:.2em .3em}