X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=templates%2Fcgi-style.css;h=135786185a558d79a9eeb55f0a0691b1e2d23783;hp=206fd4200b9f3f0db5724bc021cf87c8b39ff57e;hb=HEAD;hpb=7f053ce26463d16866431d842bc5ed9cfbfa37e3 diff --git a/templates/cgi-style.css b/templates/cgi-style.css index 206fd420..13578618 100644 --- a/templates/cgi-style.css +++ b/templates/cgi-style.css @@ -1,7 +1,37 @@ +############################################################################## +# +# File : templates/cgi-style.css +# +# Purpose : Style sheet for the web-based config interface. +# +# Copyright : Written by and Copyright (C) 2001 members of the +# Privoxy team. https://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: cgi-style.css,v 1.5 2002/04/24 02:14:36 oes Exp $ */ /* @@ -72,7 +102,7 @@ td.buttons { padding: 2px; } -a.cmd, td.buttons a { +a.cmd, td.indentbuttons a, td.buttons a { white-space: nowrap; width: auto; padding: 2px; @@ -84,10 +114,10 @@ a.cmd, td.buttons a { border-bottom: 1px solid #000000; border-right: 1px solid #000000; } -a.cmd:hover, td.buttons a:hover { +a.cmd:hover, td.indentbuttons a:hover, td.buttons a:hover { background-color: #eeeeee; } -a.cmd:active, td.buttons a:active { +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; @@ -98,4 +128,22 @@ a.cmd: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%; }