]> git.joonet.de Git - adminer.git/commitdiff
CSS: Simplify .odds
authorJakub Vrana <jakub@vrana.cz>
Thu, 13 Mar 2025 06:03:42 +0000 (07:03 +0100)
committerJakub Vrana <jakub@vrana.cz>
Thu, 13 Mar 2025 06:03:42 +0000 (07:03 +0100)
17 files changed:
adminer/static/default.css
designs/bilal-dark/adminer.css
designs/bueltge/adminer.css
designs/dracula/adminer.css
designs/esterka/adminer.css
designs/galkaev/adminer.css
designs/konya/adminer.css
designs/mancave/adminer.css
designs/mvt/adminer.css
designs/nette/adminer.css
designs/ng9/adminer.css
designs/nicu/adminer.css
designs/pappu687/adminer.css
designs/paranoiq/adminer.css
designs/pepa-linha/adminer.css
designs/price/adminer.css
designs/rmsoft/adminer.css

index 6d0bfe83005dba26bbbae68baff6dc76a2f00ca9..ff578094a5467db1c173651d6fe58d882b069045 100644 (file)
@@ -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; }
index 5f249c993d1ae1c1e3be176354f047c38d7cca5e..2c429bf10b7781587f83c3eeeb5eb0d2dc6df1b7 100644 (file)
@@ -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}
index d4c1c06f3eb9d31af674e1782a50a05cc4de3e7c..f3ec2b0047a604d8326742d1957ca255f81a2a5f 100644 (file)
@@ -112,7 +112,7 @@ border-bottom: 1px #BBB solid;
 thead tr:hover td, thead tr:hover th {\r
 background-color: #DDD !important;\r
 }\r
-tr:nth-child(2n) td, tr:nth-child(2n) th, .odd td, .odd th, tr.odd {\r
+tr:nth-child(2n) td, tr:nth-child(2n) th {\r
 background-color: #F1F1F1;\r
 }\r
 tr:hover td, tr:hover th {\r
index f933543c15550416646cb608029c2bd09fdedccf..d7c3af0ec7f5846d06d7054f9559856c4f8c773b 100644 (file)
    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);
  }
 
index e401e9eeacb585745d922af8187a7250b024ce5c..5e87d13df10a99fc8f51befefa15973edcf672e7 100644 (file)
@@ -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;
 }
 
index 99198115a5723152ccdc40e2b2e20c7216876193..f6fee650662d69c7d75bb3bff28157e6a7bbf79d 100644 (file)
@@ -347,11 +347,11 @@ td{
        border-bottom: 1px solid rgba(255, 255, 255, .1);\r
 }\r
 \r
-.odds tbody tr:nth-child(2n):not(.checked, :hover) th{\r
+.odds tbody tr:nth-child(2n) th{\r
        background: #222;\r
 }\r
 \r
-.odds tbody tr:nth-child(2n):not(.checked, :hover) td{\r
+.odds tbody tr:nth-child(2n) td{\r
        background: #000;\r
 }\r
 \r
index 83b540b1d350fe41d92f7ca02297954c16f2fbf8..13ba4412dfefa67cc82353c6f9f3d399e909c1ab 100644 (file)
@@ -72,7 +72,7 @@ tr:first-child th {padding-right: 30px;}
 td:first-child, th:first-child {border-left-width: 0;}\r
 thead td, thead th {background-color: #DFDFDF; border: none; border-bottom: 1px #BBB solid;}\r
 thead tr:hover td, thead tr:hover th {background-color: #DDD !important;}\r
-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;}\r
+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;}\r
 tr:hover td, tr:hover th {background-color: #BCD;}\r
 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;}\r
 fieldset, x:-moz-any-link {padding-top: 4px;}\r
index 049510a4f0c93730449baac1ade6a2241d19182f..ed6c969038f90343757202b5637de9686df4f552 100644 (file)
@@ -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;
 }
 
index 6360dfd8cf4cf8f5cb4d3ed639181e38a1ccc7bb..dc8140251adfed13ac372f10adc0ce058a1b15f4 100644 (file)
@@ -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
 }
 
index 3501c4bee89bfa88ea76be2537442fffd2369846..fc8d7503a7c0c3af2588fe1a8936dc896f78edad 100644 (file)
@@ -153,7 +153,7 @@ th, td {
        vertical-align: top;\r
 }\r
 \r
-.odds tbody tr:nth-child(2n):not(.checked, :hover) th, .odds tbody tr:nth-child(2n):not(.checked, :hover) td {\r
+.odds tbody tr:nth-child(2n) {\r
        background: #FCFAF5;\r
 }\r
 \r
index 1d767b4ff566b39f425d93c0d6385baf958f60ee..9c18a6e33f74541faefb29327127519f39efe48d 100644 (file)
@@ -132,11 +132,11 @@ th {
        background:white;\r
 }\r
 \r
-.odds tbody tr:nth-child(2n):not(.checked, :hover) td {\r
+.odds tbody tr:nth-child(2n) {\r
        background:#fcfaf5;\r
 }\r
 \r
-#content tbody tr.checked td, .odds tbody tr:nth-child(2n):not(.checked, :hover).checked td {\r
+#content tbody tr.checked td, .odds tbody tr:nth-child(2n).checked td {\r
        background:#fbe2e2;\r
        color:red;\r
 }\r
index 197965c01daa0e2e98e0207fe5d06cf9cd859823..676a5aa06c62ad6973abeab2be7577572749dc5b 100644 (file)
@@ -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,
index a89cd6a038742105985261ab4e5067ae70c67f4f..c6a3013f0e67611797b483df83e2efda68991ad9 100644 (file)
@@ -169,7 +169,7 @@ th {
     background:white;\r
 }\r
 \r
-.odds tbody tr:nth-child(2n):not(.checked, :hover) td {\r
+.odds tbody tr:nth-child(2n) {\r
     background:#fcfaf5;\r
 }\r
 \r
@@ -748,7 +748,7 @@ input[type=submit] {
 label { margin: 0 8px;}\r
 thead td, thead th{color:#fff;}\r
 \r
-#content tbody .odds tbody tr:nth-child(2n):not(:hover).checked td, .odds tbody tr:nth-child(2n):not(:hover).checked td {\r
+#content tbody .odds tbody tr:nth-child(2n).checked td, .odds tbody tr:nth-child(2n).checked td {\r
     background: #c8edff;\r
     color: #03A9F4;\r
 }\r
index cf47e61a56810b93ceb81b252122a069d2e8de94..a7730faebfe964a518da392315c36ce462f03219 100644 (file)
@@ -65,7 +65,7 @@ thead td, thead th {
     border-bottom: 1px #DDD solid; }\r
 .nowrap tr:nth-child(2n) td, .nowrap tr:nth-child(2n) th {\r
     background-color: #DEF; }\r
-.odds tbody tr:nth-child(2n):not(.checked, :hover) td, .odds tbody tr:nth-child(2n):not(.checked, :hover) th {\r
+.odds tbody tr:nth-child(2n) {\r
     background-color: #DEF; } /* IEx */\r
 tr.selected td, tr.selected th {\r
     background-color: #ABC !important; }\r
index 0cdc490f45d42cc9ead7ad40effe7e2a37ab3602..34d0501b533e7f9cc747d128931bc5f03ccd42e0 100644 (file)
@@ -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;
 }
 
index e8cda747b1f5a499a305bb329e258b32052063bd..c26c34d9c8e9c5615d7d462d6c68d1b549ff24b6 100644 (file)
@@ -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}\r
 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)}\r
 td{background-color:#f4f8ff}\r
-.odds tbody tr:nth-child(2n):not(.checked, :hover) td{background-color:#fff}\r
+.odds tbody tr:nth-child(2n){background-color:#fff}\r
 tbody tr:hover td,tbody tr:hover th{background-color:#FFE}\r
 p.tabs{margin:0 20px 0 0}\r
 .jush-sql{background:0}\r
index 563cf3cc78bf73722625ce1e6068cc8be0671ea7..82a516d8fd57d94c38dfe98c3dfa28840cdc9390 100644 (file)
@@ -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}