-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathstyle.php
197 lines (157 loc) · 3.58 KB
/
style.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
<?php
header("Content-type: text/css; charset: UTF-8");
/**
* Set default colors
*
*/
$body_background_color = 'white';
$navigation_background_color = '#4c6489';
$navigation_text_color = 'white';
$navigation_hover_background_color = '#8097b9';
$navigation_hover_text_color = 'white';
$navigation_current_background_color = '#d56e2d';
$navigation_current_text_color = 'white';
$button_connect_background_color = '#4c6489';
$button_connect_text_color = 'white';
$button_display_background_color = '#4c6489';
$button_display_text_color = 'white';
$button_download_background_color = 'green';
$button_download_text_color = 'white';
$button_email_background_color = '#4c6489';
$button_email_text_color = 'white';
$table_header_background_color = '#4C6489';
$table_header_text_color = 'white';
// Overwrite with config options, if set
include_once 'config.php';
?>
* {
font-family: Helvetica, Arial, sans-serif;
}
body {
background-color: <?php echo $body_background_color ?>;
}
#navigation ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: <?php echo $navigation_background_color ?>;
}
#navigation li {
float: left;
border-right: 1px solid #8097b9;
}
#navigation li:last-child {
border-right: none;
}
#navigation li a {
display: block;
color: <?php echo $navigation_text_color ?>;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
#navigation #currentpage a {
background: <?php echo $navigation_current_background_color ?>;
color: <?php echo $navigation_current_text_color ?>;
}
#navigation li a:hover {
background-color: <?php echo $navigation_hover_background_color ?>;
color: <?php echo $navigation_hover_text_color ?>;
}
#button-connect {
background-color: <?php echo $button_connect_background_color ?>;
color: <?php echo $button_connect_text_color ?>;
height: 45px;
width: 300px;
}
#button-display {
background-color: <?php echo $button_display_background_color ?>;
color: <?php echo $button_display_text_color ?>;
height: 45px;
width: 300px;
}
#button-download {
background-color: <?php echo $button_download_background_color ?>;
color: <?php echo $button_download_text_color ?>;
height: 45px;
width: 300px;
}
#button-email {
background-color: <?php echo $button_email_background_color ?>;
color: <?php echo $button_email_text_color ?>;
height: 45px;
width: 300px;
}
input[type="radio"] {
margin-top: -2px;
vertical-align: middle;
}
input[type="checkbox"] {
margin-top: -1px;
vertical-align: middle;
}
table {
border-collapse: collapse;
}
.no_show_link {
text-decoration: none;
color: black;
}
.align_r {
text-align: right;
}
.align_c {
text-align: center;
}
.list table, .list td, .list th {
border: 1px solid #ddd;
}
.list th {
text-align: left;
background-color: <?php echo $table_header_background_color ?>;
color: <?php echo $table_header_text_color ?>;
padding: 8px 4px 4px;
cursor: pointer;
}
.list td {
padding: 4px 4px 0px;
}
.list tr:nth-child(even) {
background-color: #f2f2f2;
position: relative;
z-index: -2;
}
#info_filters {
margin-left: 1em;
margin-top: 1em;
}
.pad_b {
padding-bottom: 0.5em;
}
.pad_l {
padding-left: 0.7em;
}
.red {
color: red;
}
.status th, .status td {
padding: 4px 4px 0px;
}
.status td:nth-child(2) {
text-align: right;
}
.bg {
position: absolute;
height: 1.2em;
margin: auto;
right: 0;
top: 0;
bottom: 0;
background: darkgreen;
opacity: 0.65;
z-index: -1;
}
.pos_rel {
position: relative;
}