some corrections and finishing touches to that LCARStrek works well for Firefox 55...
[themes.git] / LCARStrek / global / dirListing / dirListing.css
index 16a0b1495bd32eb4a22595cc253adcf1685a4edd..77e8dea3e90a0e62d56518697df7da8e93ff82d6 100644 (file)
@@ -2,12 +2,14 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+@import url('chrome://global/skin/in-content/common.css');
+
 :root {
   background-color: #000000;
   color: #FF9F00;
   font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
-  -moz-padding-start: 2em;
-  -moz-padding-end: 2em;
+  padding-inline-start: 2em;
+  padding-inline-end: 2em;
 }
 
 body {
@@ -30,10 +32,14 @@ h1 {
 
 a {
   text-decoration: none;
+  color: #3333FF;
 }
 
-a:hover {
-  background-color: #FFCF00;
+td > a:visited {
+  color: #8050B0;
+}
+
+body > table > tbody > tr:hover a {
   color: #000000;
 }
 
@@ -46,7 +52,14 @@ p {
   float: left;
 }
 
-#UI_goUp:-moz-dir(rtl) {
+#UI_goUp:hover {
+  background-color: #FFCF00;
+}
+#UI_goUp:hover > a {
+  color: #000000;
+}
+
+#UI_goUp:dir(rtl) {
   float: right;
 }
 
@@ -55,10 +68,19 @@ p {
   float: right;
 }
 
-#UI_showHidden:-moz-dir(rtl) {
+#UI_showHidden:dir(rtl) {
   float: left;
 }
 
+/* HACK: as the checkbox is inside the label, we need to leave the ugle native checkbox */
+#UI_showHidden > label > input[type="checkbox"] {
+  opacity: 1;
+  position: static;
+}
+#UI_showHidden > label:hover {
+  color: #FFCF00;
+}
+
 table {
   clear: both;
   width: 90%;
@@ -74,14 +96,17 @@ th:first-child {
   text-align: center !important;
 }
 
-th:hover > a {
+th:hover {
   background-color: #FFCF00;
+}
+
+th:hover > a {
   color: #000000;
 }
 
-tbody > tr:hover {
-  outline: 1px solid #008484;
-  -moz-outline-radius: .3em;
+body > table > tbody > tr:hover {
+  background-color: #FFCF00;
+  color: #000000;
 }
 
 /* let 'Size' and 'Last Modified' take only as much space as they need and 'Name' all the rest */
@@ -91,12 +116,16 @@ td:not(:first-child) {
 
 .up {
   padding: 0 .5em;
-  -moz-margin-start: 20px;
+  margin-inline-start: 20px;
 }
 
 .up::before {
-  -moz-margin-end: 4px;
-  -moz-margin-start: -20px;
+  margin-inline-end: 4px;
+  margin-inline-start: -20px;
   vertical-align: middle;
   content: url("chrome://global/skin/dirListing/up.png");
 }
+
+#UI_goUp:hover > .up::before {
+  content: url("chrome://global/skin/dirListing/up-hover.png");
+}