X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=templates%2Fcgi-style.css;h=b3cce4398fbaed1ab32dd301365dcdb13a588cd6;hb=420f1173d31ee9c7b97e3bfdf120a421c38fe606;hp=d9b0915c25699fb587e93468ffefe5f240cd4b65;hpb=d2ee4a5f967d0ea56cbc7b75cc397f2ed5fc214f;p=privoxy.git diff --git a/templates/cgi-style.css b/templates/cgi-style.css index d9b0915c..b3cce439 100644 --- a/templates/cgi-style.css +++ b/templates/cgi-style.css @@ -1,7 +1,58 @@ +############################################################################## +# +# 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. +# +# Revisions : +# $Log: cgi-style.css,v $ +# Revision 1.11 2007/12/08 14:29:06 fabiankeil +# Use CSS to 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. Closes #1843596, +# thanks to Gerry Murphy and Lee. +# +# Revision 1.10 2007/01/22 13:12:43 fabiankeil +# White space cosmetics for #include. +# +# Revision 1.9 2006/12/17 17:50:55 fabiankeil +# Add white space workaround for tables +# in show-status CGI page. +# +# Revision 1.8 2002/05/12 15:53:41 jongfoster +# Adding standard comment header with license and CVS log. +# +# +############################################################################## + /* * CSS for Privoxy CGI and script output * - * $Id: cgi-style.css,v 1.6 2002/04/26 12:56:18 oes Exp $ + * $Id: cgi-style.css,v 1.11 2007/12/08 14:29:06 fabiankeil Exp $ */ /* @@ -98,4 +149,22 @@ a.cmd:active, td.indentbuttons a:active, td.buttons a:active { /* * 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%; }