Revision 4012cbd7
Von Holger Lindemann vor mehr als 14 Jahren hinzugefügt
bin/mozilla/am.pl | ||
---|---|---|
2743 | 2743 |
} |
2744 | 2744 |
|
2745 | 2745 |
$form->{STYLESHEETS} = []; |
2746 |
foreach my $item (qw(lx-office-erp.css Win2000.css)) { |
|
2746 |
foreach my $item (qw(lx-office-erp.css Win2000.css Mobile.css)) {
|
|
2747 | 2747 |
push @{ $form->{STYLESHEETS} }, { |
2748 | 2748 |
'name' => $item, |
2749 | 2749 |
'value' => $item, |
bin/mozilla/menu.pl | ||
---|---|---|
42 | 42 |
|
43 | 43 |
use strict; |
44 | 44 |
|
45 |
my $framesize = ($ENV{HTTP_USER_AGENT} =~ /links/i) ? "240" : "190";
|
|
45 |
my $framesize;
|
|
46 | 46 |
my $mainlevel; |
47 | 47 |
|
48 |
#my $framesize = ($ENV{HTTP_USER_AGENT} =~ /mobile/i) ? "130" : "190"; |
|
49 |
if ($ENV{HTTP_USER_AGENT} =~ /mobile/i) { |
|
50 |
$framesize = "130"; |
|
51 |
} elsif ($ENV{HTTP_USER_AGENT} =~ /links/i) { |
|
52 |
$framesize = "240"; |
|
53 |
} else { |
|
54 |
$framesize = "190"; |
|
55 |
} |
|
56 |
|
|
48 | 57 |
1; |
49 | 58 |
|
50 | 59 |
# end of main |
css/Mobile.css | ||
---|---|---|
1 |
/* stylesheet for LX-Office ERP |
|
2 |
Getestet mit W3C CSS-Validator: |
|
3 |
Keine Fehler oder Warnungen gefunden |
|
4 |
*/ |
|
5 |
A { font-size: 8pt; } |
|
6 |
A:link { color: black; text-decoration: none; } |
|
7 |
A:visited { color: black; text-decoration: none; } |
|
8 |
A:active { color: black; text-decoration: underline; } |
|
9 |
input:focus, textarea:focus, select:focus, option:focus { background-color: yellow; } |
|
10 |
A.nohover:hover { |
|
11 |
color:white; |
|
12 |
background-color: #093280; |
|
13 |
font-size: 8pt; |
|
14 |
text-decoration: none; |
|
15 |
} |
|
16 |
A:hover { |
|
17 |
color:white; |
|
18 |
background-color: #093280; |
|
19 |
font-size: 8pt; |
|
20 |
text-decoration: none; |
|
21 |
} |
|
22 |
body { |
|
23 |
font-family: Verdana, Arial, Helvetica; |
|
24 |
font-size: 8pt; |
|
25 |
background-color: #D4D0C8; |
|
26 |
color: black |
|
27 |
} |
|
28 |
td { |
|
29 |
font-family: Verdana, Arial, Helvetica; |
|
30 |
color: black; |
|
31 |
font-size: 8pt; |
|
32 |
font-weight: normal; |
|
33 |
} |
|
34 |
th { |
|
35 |
font-family: Verdana, Arial, Helvetica; |
|
36 |
color: black; |
|
37 |
font-size: 8pt; |
|
38 |
font-weight: normal; |
|
39 |
} |
|
40 |
/* login and admin */ |
|
41 |
.login { |
|
42 |
font-family: Verdana, Arial, Helvetica; |
|
43 |
} |
|
44 |
body.login { |
|
45 |
background: #b8d1f3; |
|
46 |
color: #D4D0C8; |
|
47 |
} |
|
48 |
h1.login { |
|
49 |
font-size: 11pt; |
|
50 |
} |
|
51 |
table.login { |
|
52 |
background-color: #efedde; |
|
53 |
padding: 10px; |
|
54 |
} |
|
55 |
td.login { |
|
56 |
text-align: center; |
|
57 |
} |
|
58 |
th.login { |
|
59 |
text-align: right; |
|
60 |
} |
|
61 |
body.admin { |
|
62 |
background-color:#ffffff; |
|
63 |
color: black; |
|
64 |
} |
|
65 |
body.menu { |
|
66 |
background-color: white; |
|
67 |
font-family: Verdana, Arial, Helvetica; |
|
68 |
font-size:8pt; |
|
69 |
color: black; |
|
70 |
} |
|
71 |
.listtop { |
|
72 |
background-color: #b8d1f3; |
|
73 |
text-align:left; |
|
74 |
padding:5px; |
|
75 |
font-size: 8pt; |
|
76 |
color: black; |
|
77 |
font-weight: bolder; |
|
78 |
border-bottom: 2px solid #A5A29C; |
|
79 |
} |
|
80 |
.listheading { |
|
81 |
font-size: 8pt; |
|
82 |
padding:3px; |
|
83 |
background-color: #b8d1f3; |
|
84 |
color: black; |
|
85 |
font-weight: bolder; |
|
86 |
text-align:left; |
|
87 |
} |
|
88 |
.subsubheading { |
|
89 |
color: black; |
|
90 |
font-weight: bolder; |
|
91 |
text-decoration: underline; |
|
92 |
} |
|
93 |
.optionen { |
|
94 |
border:dashed; |
|
95 |
border-width:1px; |
|
96 |
background:#D4D0C8; |
|
97 |
} |
|
98 |
/* Bei Listen den Farbwechsel zur besseren Lesbarkeit: */ |
|
99 |
.listrow1 { background-color: #C8D4C6; color: black; vertical-align: top; } |
|
100 |
.listrow0 { background-color: white; color: black; vertical-align: top; } |
|
101 |
.listsubtotal { border-top: 1px solid black; font-size: 8pt; background-color: #b8d1f3; color: black; font-weight: bolder;} |
|
102 |
.listtotal { border-top: 1px double black; font-size: 8pt; background-color: #b8d1f3; color: black; font-weight: bolder;} |
|
103 |
.submit { |
|
104 |
font-size: 8pt; |
|
105 |
font-family: Verdana, Arial, Helvetica; |
|
106 |
color: #000000; |
|
107 |
} |
|
108 |
.checkbox, .radio { |
|
109 |
font-family: Verdana, Arial, Helvetica; |
|
110 |
color: #778899; |
|
111 |
} |
|
112 |
.plus0 { /* font color for negative numbers */ |
|
113 |
color: red; |
|
114 |
} |
|
115 |
.plus1 { |
|
116 |
color: green; |
|
117 |
} |
|
118 |
h2.confirm { |
|
119 |
color: blue; |
|
120 |
font-size: 10pt; |
|
121 |
} |
|
122 |
h2.error { |
|
123 |
color: red; |
|
124 |
font-size: 10pt; |
|
125 |
} |
|
126 |
/* media stuff */ |
|
127 |
@media screen { |
|
128 |
.noscreen { /* items with this class won't display */ |
|
129 |
display: none; |
|
130 |
} |
|
131 |
} |
|
132 |
@media print { |
|
133 |
.noprint { /* items with this class won't print */ |
|
134 |
display: none; |
|
135 |
} |
|
136 |
} |
|
137 |
.nomobile { /* items with this class won't display */ |
|
138 |
display: none; |
|
139 |
} |
|
140 |
@media handheld { |
|
141 |
.nomobile { /* items with this class won't display */ |
|
142 |
display: none; |
|
143 |
} |
|
144 |
} |
|
145 |
|
templates/webpages/login/company_logo_de.html | ||
---|---|---|
2 | 2 |
[%- DEFAULT myconfig_dbhost = 'localhost' %] |
3 | 3 |
|
4 | 4 |
<center> |
5 |
<a href="http://www.lx-office.org" target="_top"><img src="image/lx-office-erp.png" border="0"></a> |
|
5 |
<a class="nomobile" href="http://www.lx-office.org" target="_top"><img src="image/lx-office-erp.png" border="0"></a>
|
|
6 | 6 |
|
7 | 7 |
<h2 class="login">Version [% version %]</h2> |
8 | 8 |
|
... | ... | |
34 | 34 |
</tr> |
35 | 35 |
<tr> |
36 | 36 |
</tr> |
37 |
<tr> |
|
37 |
<tr class="nomobile">
|
|
38 | 38 |
<th colspan="2" align="center"><a href="http://lx-office.org" target="blank">http://lx-office.org</a></th> |
39 | 39 |
</tr> |
40 | 40 |
</table> |
templates/webpages/login/company_logo_en.html | ||
---|---|---|
2 | 2 |
[%- DEFAULT myconfig_dbhost = 'localhost' %] |
3 | 3 |
|
4 | 4 |
<center> |
5 |
<a href="http://www.lx-office.org" target="_top"><img src="image/lx-office-erp.png" border="0"></a> |
|
5 |
<a class="nomobile" href="http://www.lx-office.org" target="_top"><img src="image/lx-office-erp.png" border="0"></a>
|
|
6 | 6 |
|
7 | 7 |
<h2 class="login">Version [% version %]</h2> |
8 | 8 |
|
... | ... | |
34 | 34 |
</tr> |
35 | 35 |
<tr> |
36 | 36 |
</tr> |
37 |
<tr> |
|
37 |
<tr class="nomobile">
|
|
38 | 38 |
<th colspan="2" align="center"><a href="http://lx-office.org" target="blank">http://lx-office.org</a></th> |
39 | 39 |
</tr> |
40 | 40 |
</table> |
templates/webpages/login/company_logo_master.html | ||
---|---|---|
2 | 2 |
[%- DEFAULT myconfig_dbhost = 'localhost' %] |
3 | 3 |
|
4 | 4 |
<center> |
5 |
<a href="http://www.lx-office.org" target="_top"><img src="image/lx-office-erp.png" border="0"></a> |
|
5 |
<a class="nomobile" href="http://www.lx-office.org" target="_top"><img src="image/lx-office-erp.png" border="0"></a>
|
|
6 | 6 |
|
7 | 7 |
<h2 class="login"><translate>Version</translate> [% version %]</h2> |
8 | 8 |
|
... | ... | |
34 | 34 |
</tr> |
35 | 35 |
<tr> |
36 | 36 |
</tr> |
37 |
<tr> |
|
37 |
<tr class="nomobile">
|
|
38 | 38 |
<th colspan="2" align="center"><a href="http://lx-office.org" target="blank">http://lx-office.org</a></th> |
39 | 39 |
</tr> |
40 | 40 |
</table> |
Auch abrufbar als: Unified diff
Mobile Devices
menu.pl: 3. Grösse für Menüframe
am.pl: 3. Auswahl CSS
company_logo_*.html: Logo ausblenden