prefer Liberation Sans font above others
[themes.git] / EarlyBlue / global / dirListing / dirListing.css
index 97f3c7f34b272b71cbff33e4cbb975e27efd9fde..a2afd972d1175efd9412534fcc05abeb50220347 100644 (file)
@@ -19,6 +19,7 @@
  * the Initial Developer. All Rights Reserved.
  *
  * Contributor(s):
+ *   Ehsan Akhgari <ehsan.akhgari@gmail.com>
  *
  * Alternatively, the contents of this file may be used under the terms of
  * either the GNU General Public License Version 2 or later (the "GPL"), or
@@ -37,9 +38,9 @@
 :root {
   background-color: #CCD0DD;
   color: #000000;
-  font: 12px helvetica,arial,tahoma,sans-serif;
-  padding-left: 2em;
-  padding-right: 2em;
+  font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
+  -moz-padding-start: 2em;
+  -moz-padding-end: 2em;
 }
 
 body {
@@ -54,7 +55,7 @@ body {
 }
 
 h1 {
-  margin: 0 0 .6em 0;
+  margin: 0 0 .6em;
   border-bottom: 1px solid #666699;
   font-size: 160%;
   font-weight: normal;
@@ -77,13 +78,17 @@ p {
   float: left;
 }
 
+body[dir="rtl"] #UI_goUp {
+  float: right;
+}
+
 #UI_showHidden {
   margin-top: 0;
   float: right;
 }
 
-#UI_showHidden:not(:hover) {
-  color: #808080;
+body[dir="rtl"] #UI_showHidden {
+  float: left;
 }
 
 table {
@@ -96,21 +101,18 @@ thead {
   font-size: 130%;
 }
 
-th {
-  font-weight: normal;
+/* last modified */
+th:first-child {
+  text-align: center !important;
 }
 
-th:first-child ,
-th:first-child + th {
-  padding-right: 2em;
-}
-
-table[order] > thead > tr > th:hover {
+th:hover > a {
   text-decoration: underline;
 }
 
-tbody > tr:not(:hover) > td:not(:first-child) {
-  color: #808080;
+tbody > tr:hover {
+  outline: 1px solid #808080;
+  outline-radius: .3em;
 }
 
 /* let 'Size' and 'Last Modified' take only as much space as they need and 'Name' all the rest */
@@ -118,22 +120,14 @@ td:not(:first-child) {
   width: 0;
 }
 
-.up ,
-.dir ,
-.symlink ,
-.file {
+.up {
   padding: 0 .5em;
-  margin-left: 20px;
-}
-
-.up::before ,
-.dir::before ,
-.file > img {
-  margin-right: 4px;
-  margin-left: -20px;
-  vertical-align: middle;
+  -moz-margin-start: 20px;
 }
 
 .up::before {
+  -moz-margin-end: 4px;
+  -moz-margin-start: -20px;
+  vertical-align: middle;
   content: url("chrome://global/skin/dirListing/up.png");
 }