X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=templates%2Fcgi-style.css;h=3a26b9f6ee1d558eb1be421a490e1067a5a59ac0;hp=7b8768465cbdaae5b3fb302b9259283998db82ab;hb=70df4a157df25c0d87659ca9bd44b9c78acdfbff;hpb=ef0c89610e4ea1e7e80f244672842013c547833c diff --git a/templates/cgi-style.css b/templates/cgi-style.css index 7b876846..3a26b9f6 100644 --- a/templates/cgi-style.css +++ b/templates/cgi-style.css @@ -1,13 +1,45 @@ +############################################################################## +# +# File : $Source: /cvsroot/ijbswa/current/templates/cgi-style.css,v $ +# +# Purpose : Style sheet for the web-based config interface. +# +# Copyright : Written by and Copyright (C) 2001 the SourceForge +# Privoxy team. http://www.privoxy.org/ +# +# Original Author: Copyright (C) 2001 Jonathan Foster +# http://www.jon-foster.co.uk/ +# +# This program is free software; you can redistribute it +# and/or modify it under the terms of the GNU General +# Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at +# your option) any later version. +# +# This program is distributed in the hope that it will +# be useful, but WITHOUT ANY WARRANTY; without even the +# implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. See the GNU General Public +# License for more details. +# +# The GNU General Public License should be included with +# this file. If not, you can view it at +# http://www.gnu.org/copyleft/gpl.html +# or write to the Free Software Foundation, Inc., 59 +# Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +############################################################################## + /* * CSS for Privoxy CGI and script output * - * $ Id: $ + * $Id: cgi-style.css,v 1.13 2009/05/16 13:27:21 fabiankeil Exp $ */ /* * General rules: Font, Color, Headings, Margins, Links */ -body,td,th { font-family: helvetica, helv, arial, sans-serif; } +body,td,th { font-family: arial, helvetica, helv, sans-serif; } body { background-color: #ffffff; color: #000000; } h1 { font-size: 140%; margin: 0px; } @@ -18,7 +50,9 @@ p,pre { margin-left: 15px; } li { margin: 2px 15px; } dl { margin: 2px 15px; } -:link { text-decoration: none; } +a:link { color: #0000dd; text-decoration: none; } +a:visited { color: #330099; text-decoration: none; } +a:active { color: #3333ff; text-decoration: none; } /* * Boxen as Table elements: @@ -47,10 +81,11 @@ div.wrapbox { border: solid black 1px; margin: 20px; /* - * Bold definitions in
s, Grey BG for Table headings + * Bold definitions in
s, grey BG for table headings, transparent (no-bordered) table */ dt { font-weight: bold; } th { background-color: #dddddd; } +table.transparent { border-style: none} /* * Special purpose paragraphs: Small for page footers, @@ -61,7 +96,56 @@ p.small { font-size: 10px; margin: 0px; } p.important { border: solid black 1px; background-color: #ffdddd; font-weight: bold; padding: 2px; } p.whiteframed { margin: 5px; padding: 5px; border: solid black 1px; text-align: center; background-color: #eeeeee; } +/* + * Links as buttons: + */ + +td.buttons { + padding: 2px; +} + +a.cmd, td.indentbuttons a, td.buttons a { + white-space: nowrap; + width: auto; + padding: 2px; + background-color: #dddddd; + color: #000000; + text-decoration: none; + border-top: 1px solid #ffffff; + border-left: 1px solid #ffffff; + border-bottom: 1px solid #000000; + border-right: 1px solid #000000; +} +a.cmd:hover, td.indentbuttons a:hover, td.buttons a:hover { + background-color: #eeeeee; +} +a.cmd:active, td.indentbuttons a:active, td.buttons a:active { + border-top: 1px solid #000000; + border-left: 1px solid #000000; + border-bottom: 1px solid #ffffff; + border-right: 1px solid #ffffff; +} + + /* * Special red emphasis: */ -em.warning { color: #ff0000 } +em.warning, strong.warning { color: #ff0000 } + +/* + * In show-status we use tables directly behind headlines + * and for some reason or another the headlines are set to + * "margin:0" and leave the tables no air to breath. + * + * A proper fix would be to replace or remove the "margin:0", + * but as this affects every cgi page we do it another time + * and use this workaround until then. + */ +.box table { margin-top: 1em; } + +/* + * Let the URL and pattern input fields scale with the browser + * width and try to prevent vertical scroll bars if the width + * is less than 80 characters. + */ +input.url, input.pattern { width: 95%; }