toolkit/themes/windows/global/dirListing/dirListing.css

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 4
michael@0 5 :root {
michael@0 6 background-color: -moz-dialog;
michael@0 7 color: -moz-dialogtext;
michael@0 8 font: message-box;
michael@0 9 padding-left: 2em;
michael@0 10 padding-right: 2em;
michael@0 11 }
michael@0 12
michael@0 13 body {
michael@0 14 border: 1px solid ThreeDShadow;
michael@0 15 border-radius: 10px;
michael@0 16 padding: 3em;
michael@0 17 min-width: 30em;
michael@0 18 max-width: 65em;
michael@0 19 margin: 4em auto;
michael@0 20 background-color: -moz-field;
michael@0 21 color: -moz-fieldtext;
michael@0 22 }
michael@0 23
michael@0 24 h1 {
michael@0 25 font-size: 160%;
michael@0 26 margin: 0 0 .6em;
michael@0 27 border-bottom: 1px solid ThreeDLightShadow;
michael@0 28 font-weight: normal;
michael@0 29 }
michael@0 30
michael@0 31 a {
michael@0 32 text-decoration: none;
michael@0 33 }
michael@0 34
michael@0 35 a:hover {
michael@0 36 text-decoration: underline;
michael@0 37 }
michael@0 38
michael@0 39 p {
michael@0 40 font-size: 110%;
michael@0 41 }
michael@0 42
michael@0 43 #UI_goUp {
michael@0 44 margin-top: 0;
michael@0 45 float: left;
michael@0 46 }
michael@0 47
michael@0 48 #UI_goUp:-moz-dir(rtl) {
michael@0 49 float: right;
michael@0 50 }
michael@0 51
michael@0 52 #UI_showHidden {
michael@0 53 margin-top: 0;
michael@0 54 float: right;
michael@0 55 }
michael@0 56
michael@0 57 #UI_showHidden:-moz-dir(rtl) {
michael@0 58 float: left;
michael@0 59 }
michael@0 60
michael@0 61 table {
michael@0 62 clear: both;
michael@0 63 width: 90%;
michael@0 64 margin: 0 auto;
michael@0 65 }
michael@0 66
michael@0 67 thead {
michael@0 68 font-size: 130%;
michael@0 69 }
michael@0 70
michael@0 71 /* last modified */
michael@0 72 th:last-child {
michael@0 73 text-align: center;
michael@0 74 }
michael@0 75
michael@0 76 th:hover > a {
michael@0 77 text-decoration: underline;
michael@0 78 }
michael@0 79
michael@0 80 body > table > tbody > tr:hover {
michael@0 81 outline: 1px solid ThreeDLightShadow;
michael@0 82 -moz-outline-radius: .3em;
michael@0 83 }
michael@0 84
michael@0 85 /* let 'Size' and 'Last Modified' take only as much space as they need and 'Name' all the rest */
michael@0 86 td:not(:first-child) {
michael@0 87 width: 0;
michael@0 88 }
michael@0 89
michael@0 90 .up {
michael@0 91 padding: 0 .5em;
michael@0 92 -moz-margin-start: 20px;
michael@0 93 }
michael@0 94
michael@0 95 .up::before {
michael@0 96 -moz-margin-end: 4px;
michael@0 97 -moz-margin-start: -20px;
michael@0 98 vertical-align: middle;
michael@0 99 %ifdef MOZ_WIDGET_GTK
michael@0 100 content: url(moz-icon://stock/gtk-go-up?size=menu);
michael@0 101 %else
michael@0 102 content: url(chrome://global/skin/dirListing/up.png);
michael@0 103 %endif
michael@0 104 }
michael@0 105
michael@0 106 .dir::before {
michael@0 107 %ifdef MOZ_WIDGET_GTK
michael@0 108 content: url(moz-icon://stock/gtk-directory?size=menu);
michael@0 109 %else
michael@0 110 content: url(chrome://global/skin/dirListing/folder.png);
michael@0 111 %endif
michael@0 112 }
michael@0 113

mercurial