X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2FdirListing%2FdirListing.css;h=c3851e844e7460a3d421a24f56a9d3d380a2484e;hp=2da4f02e285361f8d22c6b654e98b1aca52dee5f;hb=e0a1501955cc9b54835c4e082921cead70292b4e;hpb=ca710c53d5db01958c0a42128462487e4229c94f diff --git a/LCARStrek/global/dirListing/dirListing.css b/LCARStrek/global/dirListing/dirListing.css index 2da4f02e..c3851e84 100644 --- a/LCARStrek/global/dirListing/dirListing.css +++ b/LCARStrek/global/dirListing/dirListing.css @@ -1,51 +1,20 @@ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is mozilla.org code. - * - * The Initial Developer of the Original Code is - * Dão Gottwald . - * Portions created by the Initial Developer are Copyright (C) 2007 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * Ehsan Akhgari - * - * 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 - * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the MPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the MPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * 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: 12px helvetica,arial,tahoma,sans-serif; + font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; -moz-padding-start: 2em; -moz-padding-end: 2em; } body { border: 1px solid #9C9CFF; - -moz-border-radius: 10px; + border-radius: 10px; padding: 3em; min-width: 30em; max-width: 65em; @@ -63,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; } @@ -79,7 +52,14 @@ p { float: left; } -body[dir="rtl"] #UI_goUp { +#UI_goUp:hover { + background-color: #FFCF00; +} +#UI_goUp:hover > a { + color: #000000; +} + +#UI_goUp:-moz-dir(rtl) { float: right; } @@ -88,10 +68,19 @@ body[dir="rtl"] #UI_goUp { float: right; } -body[dir="rtl"] #UI_showHidden { +#UI_showHidden:-moz-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%; @@ -107,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 */ @@ -133,3 +125,7 @@ td:not(:first-child) { 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"); +}