mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
squid: Add french and spanish errorpages.
reworked ipfire design pages by using stylesheets.
This commit is contained in:
98
config/proxy/errorpage-ipfire.css
Normal file
98
config/proxy/errorpage-ipfire.css
Normal file
@@ -0,0 +1,98 @@
|
||||
/*
|
||||
Stylesheet for Squid Error pages
|
||||
Adapted from design by Free CSS Templates
|
||||
http://www.freecsstemplates.org
|
||||
Released for free under a Creative Commons Attribution 2.5 License
|
||||
*/
|
||||
|
||||
/* Page basics */
|
||||
* {
|
||||
font-family: verdana, sans-serif;
|
||||
}
|
||||
|
||||
html body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background: #700000;
|
||||
font-size: 12px;
|
||||
color: #1e1e1e;
|
||||
}
|
||||
|
||||
/* Page displayed title area */
|
||||
#titles {
|
||||
margin-left: 15px;
|
||||
padding: 35px;
|
||||
padding-left: 170px;
|
||||
background: url('http://XXXhostXXX:81/images/IPFire.png') no-repeat left;
|
||||
}
|
||||
|
||||
/* initial title */
|
||||
#titles h1 {
|
||||
color: #ffffff;
|
||||
}
|
||||
#titles h2 {
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
/* special event: FTP success page titles */
|
||||
#titles ftpsuccess {
|
||||
background-color:#00ff00;
|
||||
width:100%;
|
||||
}
|
||||
|
||||
/* Page displayed body content area */
|
||||
#content {
|
||||
padding: 10px;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
/* General text */
|
||||
p {
|
||||
}
|
||||
|
||||
/* error brief description */
|
||||
#error p {
|
||||
}
|
||||
|
||||
/* some data which may have caused the problem */
|
||||
#data {
|
||||
}
|
||||
|
||||
/* the error message received from the system or other software */
|
||||
#sysmsg {
|
||||
}
|
||||
|
||||
pre {
|
||||
font-family:sans-serif;
|
||||
}
|
||||
|
||||
/* special event: FTP / Gopher directory listing */
|
||||
#dirmsg {
|
||||
font-family: courier;
|
||||
color: black;
|
||||
font-size: 10pt;
|
||||
}
|
||||
#dirlisting {
|
||||
margin-left: 2%;
|
||||
margin-right: 2%;
|
||||
}
|
||||
#dirlisting tr.entry td.icon,td.filename,td.size,td.date {
|
||||
border-bottom: groove;
|
||||
}
|
||||
#dirlisting td.size {
|
||||
width: 50px;
|
||||
text-align: right;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
/* horizontal lines */
|
||||
hr {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* page displayed footer area */
|
||||
#footer {
|
||||
color: #ffffff;
|
||||
font-size: 9px;
|
||||
padding-left: 10px;
|
||||
}
|
||||
Reference in New Issue
Block a user