Reorder gateway_host in struct forward_spec to save memory
[privoxy.git] / templates / cgi-style.css
1 ##############################################################################
2 #
3 # File        :  templates/cgi-style.css
4 #
5 # Purpose     :  Style sheet for the web-based config interface.
6 #
7 # Copyright   :  Written by and Copyright (C) 2001 members of the
8 #                Privoxy team. https://www.privoxy.org/
9 #
10 #                Original Author: Copyright (C) 2001 Jonathan Foster
11 #                http://www.jon-foster.co.uk/
12 #
13 #                This program is free software; you can redistribute it
14 #                and/or modify it under the terms of the GNU General
15 #                Public License as published by the Free Software
16 #                Foundation; either version 2 of the License, or (at
17 #                your option) any later version.
18 #
19 #                This program is distributed in the hope that it will
20 #                be useful, but WITHOUT ANY WARRANTY; without even the
21 #                implied warranty of MERCHANTABILITY or FITNESS FOR A
22 #                PARTICULAR PURPOSE.  See the GNU General Public
23 #                License for more details.
24 #
25 #                The GNU General Public License should be included with
26 #                this file.  If not, you can view it at
27 #                http://www.gnu.org/copyleft/gpl.html
28 #                or write to the Free Software Foundation, Inc., 59
29 #                Temple Place - Suite 330, Boston, MA  02111-1307, USA.
30 #
31 ##############################################################################
32
33 /*
34  * CSS for Privoxy CGI and script output
35  */
36
37 /*
38  * General rules: Font, Color, Headings, Margins, Links
39  */
40 body,td,th { font-family: arial, helvetica, helv, sans-serif; }
41 body { background-color: #ffffff; color: #000000; }
42
43 h1 { font-size: 140%; margin: 0px; }
44 h2 { font-size: 120%; margin: 0px; }
45 h3 { font-size: 110%; margin: 0px; }
46
47 p,pre  { margin-left: 15px; }
48 li { margin: 2px 15px; }
49 dl { margin: 2px 15px; }
50
51 a:link    { color: #0000dd; text-decoration: none; }
52 a:visited { color: #330099; text-decoration: none; }
53 a:active  { color: #3333ff; text-decoration: none; }
54
55 /*
56  * Boxen as Table elements:
57  */
58 td.title   { border: solid black 1px; background-color: #dddddd; }
59 td.box     { border: solid black 1px; background-color: #eeeeee; }
60 td.info    { border: solid black 1px; background-color: #ccccff; }
61 td.warning { border: solid black 1px; background-color: #ffdddd; }
62
63 /*
64  * Special Table Boxen: for nesting, naked container and for
65  * the Status field in CGI Output:
66  */
67 td.wrapbox { border: solid black 1px; padding: 5px; }
68 td.container { padding: 0px; }
69 td.status  { border: solid black 1px; background-color: #ff0000; color: #ffffff; font-size: 300%; font-weight: bolder; }
70
71 /*
72  * Same Boxen as <div>s:
73  */
74 div.title    { border: solid black 1px; background-color: #dddddd; margin: 20px; padding: 20px; }
75 div.box      { border: solid black 1px; background-color: #eeeeee; margin: 20px; padding: 20px; }
76 div.info     { border: solid black 1px; background-color: #ccccff; margin: 20px; padding: 20px; }
77 div.warning  { border: solid black 1px; background-color: #ffdddd; margin: 20px; padding: 20px; }
78 div.wrapbox  { border: solid black 1px;                            margin: 20px; padding:  5px; }
79
80
81 /*
82  * Bold definitions in <dl>s, grey BG for table headings, transparent (no-bordered) table
83  */
84 dt { font-weight: bold; }
85 th { background-color: #dddddd; }
86 table.transparent { border-style: none}
87
88 /*
89  * Special purpose paragraphs: Small for page footers,
90  * Important for quoting wrong or dangerous examples,
91  * Whiteframed for the toggle?mini=y CGI
92  */
93 p.small { font-size: 10px; margin: 0px; }
94 p.important { border: solid black 1px; background-color: #ffdddd; font-weight: bold; padding: 2px; }
95 p.whiteframed { margin: 5px; padding: 5px; border: solid black 1px; text-align: center; background-color: #eeeeee; }
96
97 /*
98  * Links as buttons:
99  */
100
101 td.buttons {
102   padding: 2px;
103 }
104
105 a.cmd, td.indentbuttons a, td.buttons a {
106   white-space: nowrap;
107   width: auto;
108   padding: 2px;
109   background-color: #dddddd;
110   color:            #000000;
111   text-decoration: none;
112   border-top:    1px solid #ffffff;
113   border-left:   1px solid #ffffff;
114   border-bottom: 1px solid #000000;
115   border-right:  1px solid #000000;
116 }
117 a.cmd:hover, td.indentbuttons a:hover, td.buttons a:hover {
118   background-color: #eeeeee;
119 }
120 a.cmd:active, td.indentbuttons a:active, td.buttons a:active {
121   border-top:    1px solid #000000;
122   border-left:   1px solid #000000;
123   border-bottom: 1px solid #ffffff;
124   border-right:  1px solid #ffffff;
125 }
126
127
128 /*
129  * Special red emphasis:
130  */
131 em.warning, strong.warning { color: #ff0000 }
132
133 /*
134  * In show-status we use tables directly behind headlines
135  * and for some reason or another the headlines are set to
136  * "margin:0" and leave the tables no air to breath.
137  *
138  * A proper fix would be to replace or remove the "margin:0",
139  * but as this affects every cgi page we do it another time
140  * and use this workaround until then.
141  */
142 .box table { margin-top: 1em; }
143
144 /*
145  * Let the URL and pattern input fields scale with the browser
146  * width and try to prevent vertical scroll bars if the width
147  * is less than 80 characters.
148  */
149 input.url, input.pattern { width: 95%; }