| 1 | /* ***** BEGIN LICENSE BLOCK ***** |
| 2 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
| 3 | * |
| 4 | * The contents of this file are subject to the Mozilla Public License Version |
| 5 | * 1.1 (the "License"); you may not use this file except in compliance with |
| 6 | * the License. You may obtain a copy of the License at |
| 7 | * http://www.mozilla.org/MPL/ |
| 8 | * |
| 9 | * Software distributed under the License is distributed on an "AS IS" basis, |
| 10 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
| 11 | * for the specific language governing rights and limitations under the |
| 12 | * License. |
| 13 | * |
| 14 | * The Original Code is mozilla.org code. |
| 15 | * |
| 16 | * The Initial Developer of the Original Code is |
| 17 | * Dão Gottwald <dao@design-noir.de>. |
| 18 | * Portions created by the Initial Developer are Copyright (C) 2007 |
| 19 | * the Initial Developer. All Rights Reserved. |
| 20 | * |
| 21 | * Contributor(s): |
| 22 | * Ehsan Akhgari <ehsan.akhgari@gmail.com> |
| 23 | * |
| 24 | * Alternatively, the contents of this file may be used under the terms of |
| 25 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
| 26 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
| 27 | * in which case the provisions of the GPL or the LGPL are applicable instead |
| 28 | * of those above. If you wish to allow use of your version of this file only |
| 29 | * under the terms of either the GPL or the LGPL, and not to allow others to |
| 30 | * use your version of this file under the terms of the MPL, indicate your |
| 31 | * decision by deleting the provisions above and replace them with the notice |
| 32 | * and other provisions required by the GPL or the LGPL. If you do not delete |
| 33 | * the provisions above, a recipient may use your version of this file under |
| 34 | * the terms of any one of the MPL, the GPL or the LGPL. |
| 35 | * |
| 36 | * ***** END LICENSE BLOCK ***** */ |
| 37 | |
| 38 | :root { |
| 39 | background-color: #CCD0DD; |
| 40 | color: #000000; |
| 41 | font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; |
| 42 | -moz-padding-start: 2em; |
| 43 | -moz-padding-end: 2em; |
| 44 | } |
| 45 | |
| 46 | body { |
| 47 | border: 1px solid #666699; |
| 48 | border-radius: 10px; |
| 49 | padding: 3em; |
| 50 | min-width: 30em; |
| 51 | max-width: 65em; |
| 52 | margin: 4em auto; |
| 53 | background-color: #9999CC; |
| 54 | color: #000000; |
| 55 | } |
| 56 | |
| 57 | h1 { |
| 58 | margin: 0 0 .6em; |
| 59 | border-bottom: 1px solid #666699; |
| 60 | font-size: 160%; |
| 61 | font-weight: normal; |
| 62 | } |
| 63 | |
| 64 | a { |
| 65 | text-decoration: none; |
| 66 | } |
| 67 | |
| 68 | a:hover { |
| 69 | text-decoration: underline; |
| 70 | } |
| 71 | |
| 72 | p { |
| 73 | font-size: 110%; |
| 74 | } |
| 75 | |
| 76 | #UI_goUp { |
| 77 | margin-top: 0; |
| 78 | float: left; |
| 79 | } |
| 80 | |
| 81 | body[dir="rtl"] #UI_goUp { |
| 82 | float: right; |
| 83 | } |
| 84 | |
| 85 | #UI_showHidden { |
| 86 | margin-top: 0; |
| 87 | float: right; |
| 88 | } |
| 89 | |
| 90 | body[dir="rtl"] #UI_showHidden { |
| 91 | float: left; |
| 92 | } |
| 93 | |
| 94 | table { |
| 95 | clear: both; |
| 96 | width: 90%; |
| 97 | margin: 0 auto; |
| 98 | } |
| 99 | |
| 100 | thead { |
| 101 | font-size: 130%; |
| 102 | } |
| 103 | |
| 104 | /* last modified */ |
| 105 | th:first-child { |
| 106 | text-align: center !important; |
| 107 | } |
| 108 | |
| 109 | th:hover > a { |
| 110 | text-decoration: underline; |
| 111 | } |
| 112 | |
| 113 | tbody > tr:hover { |
| 114 | outline: 1px solid #808080; |
| 115 | outline-radius: .3em; |
| 116 | } |
| 117 | |
| 118 | /* let 'Size' and 'Last Modified' take only as much space as they need and 'Name' all the rest */ |
| 119 | td:not(:first-child) { |
| 120 | width: 0; |
| 121 | } |
| 122 | |
| 123 | .up { |
| 124 | padding: 0 .5em; |
| 125 | -moz-margin-start: 20px; |
| 126 | } |
| 127 | |
| 128 | .up::before { |
| 129 | -moz-margin-end: 4px; |
| 130 | -moz-margin-start: -20px; |
| 131 | vertical-align: middle; |
| 132 | content: url("chrome://global/skin/dirListing/up.png"); |
| 133 | } |