mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-12 12:15:52 +02:00
Merge remote-tracking branch 'ms/theme' into next
This commit is contained in:
@@ -26,13 +26,9 @@ $Header::revision = 'final';
|
||||
$Header::swroot = '/var/ipfire';
|
||||
$Header::graphdir='/srv/web/ipfire/html/graphs';
|
||||
$Header::pagecolour = '#ffffff';
|
||||
#$Header::tablecolour = '#a0a0a0';
|
||||
$Header::tablecolour = '#FFFFFF';
|
||||
$Header::bigboxcolour = '#F6F4F4';
|
||||
$Header::boxcolour = '#EAE9EE';
|
||||
$Header::bordercolour = '#000000';
|
||||
$Header::table1colour = '#E0E0E0';
|
||||
$Header::table2colour = '#F0F0F0';
|
||||
$Header::bordercolour = '#363636';
|
||||
$Header::table1colour = '#f5f5f5';
|
||||
$Header::table2colour = '#fafafa';
|
||||
$Header::colourred = '#993333';
|
||||
$Header::colourorange = '#FF9933';
|
||||
$Header::colouryellow = '#FFFF00';
|
||||
|
||||
@@ -344,16 +344,13 @@ srv/web/ipfire/html/redirect-templates/legacy/template.html
|
||||
srv/web/ipfire/html/redirect.cgi
|
||||
srv/web/ipfire/html/themes
|
||||
srv/web/ipfire/html/themes/ipfire
|
||||
srv/web/ipfire/html/themes/ipfire/images
|
||||
srv/web/ipfire/html/themes/ipfire/images/n2.gif
|
||||
srv/web/ipfire/html/themes/ipfire/images/n3.gif
|
||||
srv/web/ipfire/html/themes/ipfire/images/n5.gif
|
||||
srv/web/ipfire/html/themes/ipfire/images/n6.gif
|
||||
srv/web/ipfire/html/themes/ipfire/images/tux2.png
|
||||
srv/web/ipfire/html/themes/ipfire/include
|
||||
srv/web/ipfire/html/themes/ipfire/include/colors.txt
|
||||
srv/web/ipfire/html/themes/ipfire/include/css
|
||||
srv/web/ipfire/html/themes/ipfire/include/css/style.css
|
||||
srv/web/ipfire/html/themes/ipfire/include/fonts/Prompt-Bold.ttf
|
||||
srv/web/ipfire/html/themes/ipfire/include/fonts/Prompt-Medium.ttf
|
||||
srv/web/ipfire/html/themes/ipfire/include/fonts/Prompt-Regular.ttf
|
||||
srv/web/ipfire/html/themes/ipfire/include/functions.pl
|
||||
srv/web/ipfire/html/themes/ipfire/include/js
|
||||
srv/web/ipfire/html/themes/ipfire/include/js/refreshInetInfo.js
|
||||
|
||||
@@ -173,9 +173,9 @@ print <<END;
|
||||
<!-- Table of networks -->
|
||||
<table class='tbl' style='width:80%;'>
|
||||
<tr>
|
||||
<th style='background-color:$color{'color20'};'>$Lang::tr{'network'}</th>
|
||||
<th style='background-color:$color{'color20'};'>$Lang::tr{'ip address'}</th>
|
||||
<th style='background-color:$color{'color20'};'>$Lang::tr{'status'}</th>
|
||||
<th>$Lang::tr{'network'}</th>
|
||||
<th>$Lang::tr{'ip address'}</th>
|
||||
<th>$Lang::tr{'status'}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style='width:25%; text-align:center; background-color:$Header::colourred;'><a href='/cgi-bin/pppsetup.cgi' style='color:white;'><b>$Lang::tr{'internet'}</b></a><br/></td>
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 449 B |
Binary file not shown.
|
Before Width: | Height: | Size: 155 B |
Binary file not shown.
|
Before Width: | Height: | Size: 72 B |
Binary file not shown.
|
Before Width: | Height: | Size: 70 B |
Binary file not shown.
|
Before Width: | Height: | Size: 9.4 KiB |
@@ -5,59 +5,78 @@
|
||||
width: 960px !important;
|
||||
}
|
||||
|
||||
/* Fonts */
|
||||
|
||||
@font-face {
|
||||
font-family: "Prompt";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local("Prompt Regular"), local("Prompt-Regular"), url(../fonts/Prompt-Regular.ttf) format("truetype");
|
||||
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Prompt";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local("Prompt Regular"), local("Prompt-Regular"), url(../fonts/Prompt-Regular.ttf) format("truetype");
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Prompt';
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
src: local("Prompt Medium"), local("Prompt-Medium"), url(../fonts/Prompt-Medium.ttf) format("truetype");
|
||||
unicode-range:U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Prompt';
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
src: local("Prompt Medium"), local("Prompt-Medium"), url(../fonts/Prompt-Medium.ttf) format("truetype");
|
||||
unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Prompt";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: local("Prompt Bold"), local("Prompt-Bold"), url(../fonts/Prompt-Bold.ttf) format("truetype");
|
||||
unicode-range:U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Prompt";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: local("Prompt Bold"), local("Prompt-Bold"), url(../fonts/Prompt-Bold.ttf) format("truetype");
|
||||
unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
|
||||
/* Basic Stuff */
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
html {
|
||||
height: 100%;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
body {
|
||||
/* SVG as background image (IE9/Chrome/Safari/Opera) */
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPgo8bGluZWFyR3JhZGllbnQgaWQ9Imc2ODQiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iMTAwJSIgeTE9IjEwMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgo8c3RvcCBzdG9wLWNvbG9yPSIjMDAwMDAwIiBvZmZzZXQ9IjAiLz48c3RvcCBzdG9wLWNvbG9yPSIjODgwNDAwIiBvZmZzZXQ9IjU3JSIvPgo8L2xpbmVhckdyYWRpZW50Pgo8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2c2ODQpIiAvPgo8L3N2Zz4=);
|
||||
|
||||
background-image: linear-gradient(
|
||||
bottom,
|
||||
#000000 0%,
|
||||
#880400 57%
|
||||
);
|
||||
background-image: -o-linear-gradient(
|
||||
bottom,
|
||||
#000000 0%,
|
||||
#880400 57%
|
||||
);
|
||||
background-image: -moz-linear-gradient(
|
||||
bottom,
|
||||
#000000 0%,
|
||||
#880400 57%
|
||||
);
|
||||
background-image: -webkit-linear-gradient(
|
||||
bottom,
|
||||
#000000 0%,
|
||||
#880400 57
|
||||
);
|
||||
background-image: -ms-linear-gradient(
|
||||
bottom,
|
||||
#000000 0%,
|
||||
#880400 57%
|
||||
);
|
||||
background-image: -webkit-gradient(
|
||||
linear,
|
||||
left bottom,
|
||||
left top,
|
||||
color-stop(0, #000000),
|
||||
color-stop(0.57, #880400)
|
||||
background: linear-gradient(
|
||||
#ff2e52,
|
||||
#000000
|
||||
);
|
||||
background-attachment: fixed;
|
||||
|
||||
font-family: "Prompt", sans-serif;
|
||||
font-size: 9pt;
|
||||
font-family: "DejaVu Sans", Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
color: #363636;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-size: 20px;
|
||||
@@ -66,10 +85,6 @@ h1, h2, h3, h4, h5, h6 {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #66000F;
|
||||
}
|
||||
|
||||
br.clear {
|
||||
clear: both;
|
||||
}
|
||||
@@ -80,7 +95,7 @@ img {
|
||||
|
||||
a {
|
||||
text-decoration: underline;
|
||||
color: #d90000;
|
||||
color: #ff2e52;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
@@ -106,7 +121,6 @@ iframe {
|
||||
/* Header */
|
||||
|
||||
#header {
|
||||
height: 70px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
@@ -118,11 +132,14 @@ iframe {
|
||||
}
|
||||
|
||||
#logo h1 {
|
||||
color: #fff;
|
||||
font-size: 3.6em;
|
||||
color: #ffffff;
|
||||
font-size: 3.5em;
|
||||
font-weight: bold;
|
||||
padding-top: 0.2em;
|
||||
padding-left: 1.7em;
|
||||
}
|
||||
|
||||
#logo h1 a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* Main */
|
||||
@@ -131,11 +148,10 @@ iframe {
|
||||
margin: 0 auto;
|
||||
margin-top: 0.5em;
|
||||
padding: 1.5em 2em 0 2em;
|
||||
background: #fff url('../../images/n2.gif') 0px 0px repeat-x;
|
||||
border: 1px solid black;
|
||||
background: #ffffff;
|
||||
|
||||
border: 2px solid black;
|
||||
border-radius: 3px 3px 3px 3px;
|
||||
-webkit-border-radius: 3px 3px 3px 3px;
|
||||
}
|
||||
|
||||
#main_inner {
|
||||
@@ -184,7 +200,8 @@ iframe {
|
||||
|
||||
#footer {
|
||||
height: 2.5em;
|
||||
margin-bottom: 1em;
|
||||
margin-bottom: 1.5em;
|
||||
padding-bottom: 0.5em;
|
||||
}
|
||||
|
||||
#footer a {
|
||||
@@ -196,24 +213,6 @@ iframe {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
input {
|
||||
margin: 0.2em;
|
||||
}
|
||||
|
||||
input.button {
|
||||
background: #ca2f2f url('../../images/n3.gif') repeat-x;
|
||||
color: #fff;
|
||||
border: solid 1px #a94b4b;
|
||||
font-weight: bold;
|
||||
font-size: 0.8em;
|
||||
height: 2.0em;
|
||||
}
|
||||
|
||||
input.text {
|
||||
border: solid 1px #f1f1f1;
|
||||
padding: 0.25em;
|
||||
}
|
||||
|
||||
#traffic {
|
||||
float: right;
|
||||
min-width: 20em;
|
||||
@@ -222,16 +221,13 @@ input.text {
|
||||
|
||||
/* Menu */
|
||||
#cssmenu {
|
||||
margin: 0 auto;
|
||||
margin-top: 0;
|
||||
padding-top: 0;
|
||||
font-weight: 600;
|
||||
font-weight: 500;
|
||||
height: 32px;
|
||||
border: 1px solid black;
|
||||
}
|
||||
|
||||
#cssmenu a {
|
||||
color: #111111;
|
||||
color: #363636;
|
||||
display: inline-block;
|
||||
line-height: 32px;
|
||||
padding: 0 1em;
|
||||
@@ -240,6 +236,7 @@ input.text {
|
||||
|
||||
#cssmenu ul {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#cssmenu > ul > li {
|
||||
@@ -247,8 +244,8 @@ input.text {
|
||||
}
|
||||
|
||||
#cssmenu > ul > li.active a, #cssmenu > ul > li:hover > a {
|
||||
color: white;
|
||||
background: #aaaaaa;
|
||||
color: #ffffff;
|
||||
background: #363636;
|
||||
}
|
||||
|
||||
#cssmenu .has-sub:hover > ul {
|
||||
@@ -264,7 +261,7 @@ input.text {
|
||||
#cssmenu .has-sub ul li a {
|
||||
min-width: 12em;
|
||||
background: #ffffff;
|
||||
color: grey;
|
||||
color: #363636;
|
||||
display: block;
|
||||
line-height: 40%;
|
||||
padding: 12px 5px;
|
||||
@@ -272,7 +269,8 @@ input.text {
|
||||
}
|
||||
|
||||
#cssmenu .has-sub ul li:hover a {
|
||||
background: #dddddd;
|
||||
color: #ffffff;
|
||||
background: #363636;
|
||||
}
|
||||
|
||||
/* This decorates all tables with class="tbl" */
|
||||
@@ -283,59 +281,60 @@ table {
|
||||
}
|
||||
|
||||
.tbl th {
|
||||
color: #000000;
|
||||
border-top: 1px solid lightgrey;
|
||||
border-bottom: 1px solid lightgrey;
|
||||
background: #cccccc;
|
||||
color: #ffffff;
|
||||
border-top: 1px solid #363636;
|
||||
border-bottom: 1px solid #363636;
|
||||
background: #363636;
|
||||
padding-left: 0.5em;
|
||||
padding-right: 0.5em;
|
||||
}
|
||||
|
||||
.tbl th:first-child {
|
||||
border-left: 1px solid lightgrey;
|
||||
border-top: 1px solid lightgrey;
|
||||
border-bottom: 1px solid lightgrey;
|
||||
border-left: 1px solid #363636;
|
||||
border-top: 1px solid #363636;
|
||||
border-bottom: 1px solid #363636;
|
||||
}
|
||||
|
||||
.tbl th:last-child {
|
||||
border-right: 1px solid lightgrey;
|
||||
border-top: 1px solid lightgrey;
|
||||
border-bottom: 1px solid lightgrey;
|
||||
border-right: 1px solid #363636;
|
||||
border-top: 1px solid #363636;
|
||||
border-bottom: 1px solid #363636;
|
||||
}
|
||||
|
||||
.tbl th:only-child {
|
||||
border: 1px solid lightgrey;
|
||||
border: 1px solid #363636;
|
||||
}
|
||||
.tbl td{
|
||||
padding-left: 0.5em;
|
||||
padding-right: 0.5em;
|
||||
|
||||
.tbl td {
|
||||
padding: 0.25em 0.5em;
|
||||
}
|
||||
|
||||
.tbl tr td:first-child {
|
||||
border-left: 1px solid lightgrey;
|
||||
border-left: 1px solid #363636;
|
||||
}
|
||||
|
||||
.tbl tr td:last-child {
|
||||
border-right: 1px solid lightgrey;
|
||||
border-right: 1px solid #363636;
|
||||
}
|
||||
|
||||
.tbl tr:first-child td {
|
||||
border-top: 1px solid lightgrey;
|
||||
border-top: 1px solid #363636;
|
||||
}
|
||||
|
||||
.tbl tr:last-child td:only-child {
|
||||
border-bottom: 1px solid lightgrey;
|
||||
border-bottom: 1px solid #363636;
|
||||
}
|
||||
|
||||
.tbl tr:last-child td:first-child {
|
||||
border-bottom: 1px solid lightgrey;
|
||||
border-bottom: 1px solid #363636;
|
||||
}
|
||||
|
||||
.tbl tr:last-child td:last-child {
|
||||
border-bottom: 1px solid lightgrey;
|
||||
border-bottom: 1px solid #363636;
|
||||
}
|
||||
|
||||
.tbl tr:last-child td {
|
||||
border-bottom: 1px solid lightgrey;
|
||||
border-bottom: 1px solid #363636;
|
||||
}
|
||||
|
||||
table.fw-nat tbody tr td {
|
||||
@@ -350,6 +349,7 @@ div.rrdimage > ul {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.rrdimage li:not(:first-child)::before {
|
||||
content: "-";
|
||||
padding: 0 0.3em;
|
||||
@@ -358,16 +358,18 @@ div.rrdimage > ul {
|
||||
.rrdimage button {
|
||||
padding: 0.3em;
|
||||
font-weight: 700;
|
||||
color: #d90000; /* link color */
|
||||
color: #ff2e52;
|
||||
border: none;
|
||||
background: none;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.rrdimage button:focus {
|
||||
outline: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.rrdimage button.selected {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
BIN
html/html/themes/ipfire/include/fonts/Prompt-Bold.ttf
Normal file
BIN
html/html/themes/ipfire/include/fonts/Prompt-Bold.ttf
Normal file
Binary file not shown.
BIN
html/html/themes/ipfire/include/fonts/Prompt-Medium.ttf
Normal file
BIN
html/html/themes/ipfire/include/fonts/Prompt-Medium.ttf
Normal file
Binary file not shown.
BIN
html/html/themes/ipfire/include/fonts/Prompt-Regular.ttf
Normal file
BIN
html/html/themes/ipfire/include/fonts/Prompt-Regular.ttf
Normal file
Binary file not shown.
@@ -140,17 +140,18 @@ print <<END
|
||||
<body>
|
||||
<div id="header" class="fixed">
|
||||
<div id="logo">
|
||||
<a href="https://www.ipfire.org" style="text-decoration: none;">
|
||||
<img src="/themes/ipfire/images/tux2.png" style="float:left; margin-left: -3px; margin-top: -3px;"/>
|
||||
<h1>
|
||||
<a href="https://www.ipfire.org">
|
||||
IPFire_
|
||||
</a>
|
||||
END
|
||||
;
|
||||
if ($settings{'WINDOWWITHHOSTNAME'} ne 'off') {
|
||||
print "</a><h1>$settings{'HOSTNAME'}.$settings{'DOMAINNAME'}</h1>";
|
||||
} else {
|
||||
print "<h1>IPFire</h1></a>";
|
||||
print "‐ $settings{'HOSTNAME'}.$settings{'DOMAINNAME'}";
|
||||
}
|
||||
|
||||
print <<END
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
END
|
||||
|
||||
Reference in New Issue
Block a user