style/style.css.php
author peter
Sun, 06 Jan 2008 11:49:17 +0000
changeset 67 2f8c29fc5e2e
parent 47 ae140472d97c
child 71 e1b918eaf69a
permissions -rw-r--r--
[feladat @ 114] Patch for ticket 19. Because of the use of the quote function, empty strings where converted to NULL as MDB2_PORTABILITY_EMPTY_TO_NULL is set by default. This problem also applied to the active state of an user.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     1
<?php
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
     2
47
ae140472d97c [feladat @ 94]
rejo
parents: 1
diff changeset
     3
/*  PowerAdmin, a friendly web-based admin tool for PowerDNS.
ae140472d97c [feladat @ 94]
rejo
parents: 1
diff changeset
     4
 *  See <https://rejo.zenger.nl/poweradmin> for more details.
ae140472d97c [feladat @ 94]
rejo
parents: 1
diff changeset
     5
 *
ae140472d97c [feladat @ 94]
rejo
parents: 1
diff changeset
     6
 *  Copyright 2007, 2008  Rejo Zenger <rejo@zenger.nl>
ae140472d97c [feladat @ 94]
rejo
parents: 1
diff changeset
     7
 *
ae140472d97c [feladat @ 94]
rejo
parents: 1
diff changeset
     8
 *  This program is free software: you can redistribute it and/or modify
ae140472d97c [feladat @ 94]
rejo
parents: 1
diff changeset
     9
 *  it under the terms of the GNU General Public License as published by
ae140472d97c [feladat @ 94]
rejo
parents: 1
diff changeset
    10
 *  the Free Software Foundation, either version 3 of the License, or
ae140472d97c [feladat @ 94]
rejo
parents: 1
diff changeset
    11
 *  (at your option) any later version.
ae140472d97c [feladat @ 94]
rejo
parents: 1
diff changeset
    12
 *
ae140472d97c [feladat @ 94]
rejo
parents: 1
diff changeset
    13
 *  This program is distributed in the hope that it will be useful,
ae140472d97c [feladat @ 94]
rejo
parents: 1
diff changeset
    14
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
ae140472d97c [feladat @ 94]
rejo
parents: 1
diff changeset
    15
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
ae140472d97c [feladat @ 94]
rejo
parents: 1
diff changeset
    16
 *  GNU General Public License for more details.
ae140472d97c [feladat @ 94]
rejo
parents: 1
diff changeset
    17
 *
ae140472d97c [feladat @ 94]
rejo
parents: 1
diff changeset
    18
 *  You should have received a copy of the GNU General Public License
ae140472d97c [feladat @ 94]
rejo
parents: 1
diff changeset
    19
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
ae140472d97c [feladat @ 94]
rejo
parents: 1
diff changeset
    20
 */
1
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    21
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    22
include_once("../inc/config.inc.php");
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    23
$bgcolor = "#FCC229"; //Original style
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    24
?>
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    25
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    26
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    27
A:link { color: #000000}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    28
A:visited { color: #000000}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    29
A:active { color: #000000}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    30
A:hover {text-decoration: none}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    31
BODY {font-family: Verdana, Arial, Helvetica; background-image: url("<?= $GLOBALS["BASE_URL"].$GLOBALS["BASE_PATH"] ?>images/background.jpg");}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    32
TABLE {background-color: <?= $bgcolor ?>; border: 1px solid #000000; width: 900px;}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    33
TD {background-color: White; font-size: 12px;}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    34
TR {background-color: <?= $bgcolor ?>}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    35
.TDBG {
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    36
        background-color: <?= $bgcolor ?>;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    37
}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    38
.ERROR {
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    39
        background-color: #FF0000;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    40
        border: 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    41
        width: 600px;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    42
}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    43
.MESSAGETABLE {
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    44
        background-color: <?= $bgcolor ?>;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    45
        border: 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    46
        width: 600px;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    47
}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    48
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    49
.MESSAGE {
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    50
        background-color: <?= $bgcolor ?>;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    51
        width: 600px;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    52
}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    53
.NONE {
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    54
        background-color: transparent;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    55
        border: none;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    56
        width: 0px;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    57
}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    58
.TEXT {
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    59
	background-color: transparent !important; 
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    60
	border: 0px; 
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    61
}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    62
.SBUTTON {
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    63
        BORDER-BOTTOM: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    64
        BORDER-LEFT: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    65
        BORDER-RIGHT: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    66
        BORDER-TOP: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    67
        BACKGROUND-COLOR: <?= $bgcolor ?>;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    68
        COLOR: #000000;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    69
        BORDER-COLOR: #000000;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    70
        FONT-FAMILY: Verdana;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    71
        FONT-WEIGHT: Bold;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    72
        FONT-SIZE: 10px;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    73
        WIDTH MENARU: 60px;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    74
}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    75
.BUTTON {
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    76
        BORDER-BOTTOM: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    77
        BORDER-LEFT: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    78
        BORDER-RIGHT: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    79
        BORDER-TOP: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    80
        BACKGROUND-COLOR: <?= $bgcolor ?>;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    81
        COLOR: #000000;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    82
        BORDER-COLOR: #000000;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    83
        FONT-FAMILY: Verdana;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    84
        FONT-WEIGHT: Bold;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    85
        FONT-SIZE: 10px;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    86
        WIDTH MENARU: 120px;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    87
}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    88
.INPUT {
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    89
        BORDER-BOTTOM: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    90
        BORDER-LEFT: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    91
        BORDER-RIGHT: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    92
        BORDER-TOP: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    93
        BACKGROUND-COLOR: #FFFFFF;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    94
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    95
        COLOR: #000000;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    96
        BORDER-COLOR: #000000;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    97
        FONT-FAMILY: Verdana;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    98
        FONT-SIZE: 11px;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
    99
        WIDTH MENARU: 180px;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   100
}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   101
.SINPUT {
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   102
        BORDER-BOTTOM: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   103
        BORDER-LEFT: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   104
        BORDER-RIGHT: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   105
        BORDER-TOP: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   106
        BACKGROUND-COLOR: #FFFFFF;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   107
        COLOR: #000000;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   108
        BORDER-COLOR: #000000;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   109
        FONT-FAMILY: Verdana;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   110
        FONT-SIZE: 11px;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   111
        WIDTH MENARU: 40px;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   112
}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   113
.WARNING {
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   114
        color: #FF0000;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   115
        font-weight: Bold;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   116
}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   117
.FOOTER {
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   118
        font-size: 10px;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   119
}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   120
.ACTIVE {
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   121
        color: #669933;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   122
        font-weight: Bold;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   123
}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   124
.INACTIVE {
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   125
        color: #FF0000;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   126
        font-weight: Bold;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   127
}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   128
.NAV {
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   129
        color: #0000FF;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   130
        font-weight: Bold;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   131
        A:link { color: #0000FF}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   132
        A:visited { color: #0000FF}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   133
        A:active { color: #0000FF}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   134
        A:hover {text-decoration: none}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   135
}
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   136
.inputarea {
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   137
        BORDER-BOTTOM: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   138
        BORDER-LEFT: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   139
        BORDER-RIGHT: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   140
        BORDER-TOP: #999999 1px solid;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   141
        BACKGROUND-COLOR: #FFFFFF;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   142
        COLOR: #000000;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   143
        BORDER-COLOR: #000000;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   144
        FONT-FAMILY: Verdana;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   145
        FONT-SIZE: 11px;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   146
        WIDTH MENARU: 300px;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   147
        HEIGHT MENARU: 100px;
58094faf794d [feladat @ 2]
rejo
parents:
diff changeset
   148
}