1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/themes/windows/global/dirListing/dirListing.css Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,113 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +:root { 1.9 + background-color: -moz-dialog; 1.10 + color: -moz-dialogtext; 1.11 + font: message-box; 1.12 + padding-left: 2em; 1.13 + padding-right: 2em; 1.14 +} 1.15 + 1.16 +body { 1.17 + border: 1px solid ThreeDShadow; 1.18 + border-radius: 10px; 1.19 + padding: 3em; 1.20 + min-width: 30em; 1.21 + max-width: 65em; 1.22 + margin: 4em auto; 1.23 + background-color: -moz-field; 1.24 + color: -moz-fieldtext; 1.25 +} 1.26 + 1.27 +h1 { 1.28 + font-size: 160%; 1.29 + margin: 0 0 .6em; 1.30 + border-bottom: 1px solid ThreeDLightShadow; 1.31 + font-weight: normal; 1.32 +} 1.33 + 1.34 +a { 1.35 + text-decoration: none; 1.36 +} 1.37 + 1.38 +a:hover { 1.39 + text-decoration: underline; 1.40 +} 1.41 + 1.42 +p { 1.43 + font-size: 110%; 1.44 +} 1.45 + 1.46 +#UI_goUp { 1.47 + margin-top: 0; 1.48 + float: left; 1.49 +} 1.50 + 1.51 +#UI_goUp:-moz-dir(rtl) { 1.52 + float: right; 1.53 +} 1.54 + 1.55 +#UI_showHidden { 1.56 + margin-top: 0; 1.57 + float: right; 1.58 +} 1.59 + 1.60 +#UI_showHidden:-moz-dir(rtl) { 1.61 + float: left; 1.62 +} 1.63 + 1.64 +table { 1.65 + clear: both; 1.66 + width: 90%; 1.67 + margin: 0 auto; 1.68 +} 1.69 + 1.70 +thead { 1.71 + font-size: 130%; 1.72 +} 1.73 + 1.74 +/* last modified */ 1.75 +th:last-child { 1.76 + text-align: center; 1.77 +} 1.78 + 1.79 +th:hover > a { 1.80 + text-decoration: underline; 1.81 +} 1.82 + 1.83 +body > table > tbody > tr:hover { 1.84 + outline: 1px solid ThreeDLightShadow; 1.85 + -moz-outline-radius: .3em; 1.86 +} 1.87 + 1.88 +/* let 'Size' and 'Last Modified' take only as much space as they need and 'Name' all the rest */ 1.89 +td:not(:first-child) { 1.90 + width: 0; 1.91 +} 1.92 + 1.93 +.up { 1.94 + padding: 0 .5em; 1.95 + -moz-margin-start: 20px; 1.96 +} 1.97 + 1.98 +.up::before { 1.99 + -moz-margin-end: 4px; 1.100 + -moz-margin-start: -20px; 1.101 + vertical-align: middle; 1.102 +%ifdef MOZ_WIDGET_GTK 1.103 + content: url(moz-icon://stock/gtk-go-up?size=menu); 1.104 +%else 1.105 + content: url(chrome://global/skin/dirListing/up.png); 1.106 +%endif 1.107 +} 1.108 + 1.109 +.dir::before { 1.110 +%ifdef MOZ_WIDGET_GTK 1.111 + content: url(moz-icon://stock/gtk-directory?size=menu); 1.112 +%else 1.113 + content: url(chrome://global/skin/dirListing/folder.png); 1.114 +%endif 1.115 +} 1.116 +