Stylesheet Win2000.css gelöscht
authorMoritz Bunkus <m.bunkus@linet-services.de>
Thu, 22 Nov 2012 14:09:27 +0000 (15:09 +0100)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Thu, 22 Nov 2012 14:09:27 +0000 (15:09 +0100)
14 files changed:
SL/Auth.pm
bin/mozilla/admin.pl
bin/mozilla/am.pl
css/Win2000/background_jobs.css [deleted symlink]
css/Win2000/csshover.htc [deleted symlink]
css/Win2000/dhtmlsuite [deleted symlink]
css/Win2000/frame_header [deleted symlink]
css/Win2000/jquery.autocomplete.css [deleted symlink]
css/Win2000/jquery.multiselect2side.css [deleted symlink]
css/Win2000/list_accounts.css [deleted symlink]
css/Win2000/main.css [deleted file]
css/Win2000/menu.css [deleted symlink]
css/Win2000/tabcontent.css [deleted symlink]
css/Win2000/ui-lightness [deleted symlink]

index d63b6a2..0a87ca0 100644 (file)
@@ -493,6 +493,9 @@ sub read_user {
   my %menustyle_map = ( xml => 'new', v4 => 'v3' );
   $user_data{menustyle} = $menustyle_map{lc($user_data{menustyle} || '')} || $user_data{menustyle};
 
+  # The 'Win2000.css' stylesheet has been removed.
+  $user_data{stylesheet} = 'kivitendo.css' if ($user_data{stylesheet} || '') =~ m/win2000/i;
+
   # Set default language if selected language does not exist (anymore).
   $user_data{countrycode} = $::lx_office_conf{system}->{language} unless $user_data{countrycode} && -d "locale/$user_data{countrycode}";
 
index 7676698..7e12b0e 100755 (executable)
@@ -76,7 +76,7 @@ our $auth;
 
 my @valid_dateformats = qw(mm/dd/yy dd/mm/yy dd.mm.yy yyyy-mm-dd);
 my @valid_numberformats = ('1,000.00', '1000.00', '1.000,00', '1000,00');
-my @all_stylesheets = qw(lx-office-erp.css Win2000.css Mobile.css kivitendo.css);
+my @all_stylesheets = qw(lx-office-erp.css Mobile.css kivitendo.css);
 my @all_menustyles = (
   { id => 'old', title => $::locale->text('Old (on the side)') },
   { id => 'v3',  title => $::locale->text('Top (CSS)') },
index 5005475..9618690 100644 (file)
@@ -1062,7 +1062,7 @@ sub config {
   }
 
   $form->{STYLESHEETS} = [];
-  foreach my $item (qw(lx-office-erp.css Win2000.css Mobile.css kivitendo.css)) {
+  foreach my $item (qw(lx-office-erp.css Mobile.css kivitendo.css)) {
     push @{ $form->{STYLESHEETS} }, {
       'name'     => $item,
       'value'    => $item,
diff --git a/css/Win2000/background_jobs.css b/css/Win2000/background_jobs.css
deleted file mode 120000 (symlink)
index 8031c94..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../lx-office-erp/background_jobs.css
\ No newline at end of file
diff --git a/css/Win2000/csshover.htc b/css/Win2000/csshover.htc
deleted file mode 120000 (symlink)
index fcd95c4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../lx-office-erp/csshover.htc
\ No newline at end of file
diff --git a/css/Win2000/dhtmlsuite b/css/Win2000/dhtmlsuite
deleted file mode 120000 (symlink)
index 0b8350f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../lx-office-erp/dhtmlsuite/
\ No newline at end of file
diff --git a/css/Win2000/frame_header b/css/Win2000/frame_header
deleted file mode 120000 (symlink)
index d69ab7f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../lx-office-erp/frame_header/
\ No newline at end of file
diff --git a/css/Win2000/jquery.autocomplete.css b/css/Win2000/jquery.autocomplete.css
deleted file mode 120000 (symlink)
index dc11231..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../lx-office-erp/jquery.autocomplete.css
\ No newline at end of file
diff --git a/css/Win2000/jquery.multiselect2side.css b/css/Win2000/jquery.multiselect2side.css
deleted file mode 120000 (symlink)
index 270f1a2..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../lx-office-erp/jquery.multiselect2side.css
\ No newline at end of file
diff --git a/css/Win2000/list_accounts.css b/css/Win2000/list_accounts.css
deleted file mode 120000 (symlink)
index 7d530fb..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../lx-office-erp/list_accounts.css
\ No newline at end of file
diff --git a/css/Win2000/main.css b/css/Win2000/main.css
deleted file mode 100644 (file)
index ad33ecd..0000000
+++ /dev/null
@@ -1,177 +0,0 @@
-/* Stylesheet for Lx-Office
- * Name: Win2000.css*/
-
-/* The look of links */
-A:link { color: black; text-decoration: none; }
-A:visited { color: black; text-decoration: none; }
-A:active { color: black; text-decoration: underline; }
-A.nohover:hover {
-  color:white;
-  background-color: #093280;
-  font-size: 10pt;
-  text-decoration: none;
-}
-A:hover {
-  color:white;
-  background-color: #093280;
-  /*font-size: 10pt;*/
-  text-decoration: none;
-}
-
-input:focus, textarea:focus, select:focus {
-  background-color: yellow;
-}
-
-body {
-  font-family: Verdana, Arial, Helvetica, sans-serif;
-  font-size: 10pt;
-  background-color: #D4D0C8;
-  color: black
-}
-td {
-  font-family: Verdana, Arial, Helvetica, sans-serif;
-  color: black;
-  font-size: 10pt;
-  font-weight: normal;
-}
-th {
-  font-family: Verdana, Arial, Helvetica, sans-serif;
-  color: black;
-  font-size: 10pt;
-  font-weight: normal;
-}
-/* login and admin */
-.login {
-  font-family: Verdana, Arial, Helvetica, sans-serif;
-}
-body.login {
-  background: #b8d1f3;
-  color: #D4D0C8;
-}
-h1.login {
-  font-size: 18pt;
-}
-table.login {
-  background-color: #efedde;
-  padding: 20px;
-}
-td.login {
-  text-align: center;
-}
-th.login {
-  text-align: right;
-}
-body.admin {
-  background-color:#ffffff;
-  color: black;
-}
-body.menu {
-  background-color: white;
-  font-family: Verdana, Arial, Helvetica, sans-serif;
-  font-size:10pt;
-  color: black;
-}
-
-.message_error_login {
-    color: #000000;
-    border: 1px solid #8b0000;
-    background-color: #ffcccc;
-    padding: 3px;
-}
-.message_ok {
-    font-size: 12pt;
-    padding:5px;
-    background-color: #ADFFB6;
-    color: black;
-    font-weight: bolder;
-    text-align:center;
-    border-style:solid;
-    border-width:thin;
-}
-.message_error {
-    font-size: 12pt;
-    padding:5px;
-    background-color: #FFAAAA;
-    color: black;
-    font-weight: bolder;
-    text-align:center;
-    border-style:solid;
-    border-width:thin;
-}
-.message_hint {
-    font-size: 12pt;
-    padding:5px;
-    background-color: #FFFE47;
-    color: black;
-    font-weight: bolder;
-    text-align:center;
-    border-style:solid;
-    border-width:thin;
-}
-
-.listtop,h1 {
-  background-color: #b8d1f3;
-  text-align:left;
-  padding:5px;
-  font-size: 10pt;
-  color: black;
-  font-weight: bolder;
-  border-bottom: 2px solid #A5A29C;
-}
-.listheading {
-  font-size: 10pt;
-  padding:3px;
-  background-color: #b8d1f3;
-  color: black;
-  font-weight: bolder;
-  text-align:left;
-}
-.subsubheading {
-  color: black;
-  font-weight: bolder;
-  text-decoration: underline;
-}
-.optionen {
-  border:dashed;
-  border-width:1px;
-  background:#D4D0C8;
-}
-/* Bei Listen den Farbwechsel zur besseren Lesbarkeit: */
-.listrow1 { background-color: #C8D4C6; color: black; vertical-align: top; }
-.listrow0 { background-color: white; color: black; vertical-align: top; }
-.listsubtotal { border-top: 1px solid black; font-size: 10pt; background-color: #b8d1f3; color: black; font-weight: bolder;}
-.listtotal { border-top: 1px double black; font-size: 10pt; background-color: #b8d1f3; color: black; font-weight: bolder;}
-.submit {
-  font-family: Verdana, Arial, Helvetica, sans-serif;
-  color: #000000;
-}
-.checkbox, .radio {
-  font-family: Verdana, Arial, Helvetica, sans-serif;
-  color: #778899;
-}
-.plus0 {    /* font color for negative numbers */
-  color: red;
-}
-.plus1 {
-  color: green;
-}
-h2.confirm {
-  color: blue;
-  font-size: 14pt;
-}
-h2.error {
-  color: red;
-  font-size: 14pt;
-}
-/* media stuff */
-@media screen {
-  .noscreen {   /* items with this class won't display */
-    display: none;
-  }
-}
-@media print {
-  .noprint {   /* items with this class won't print */
-    display: none;
-  }
-}
-
diff --git a/css/Win2000/menu.css b/css/Win2000/menu.css
deleted file mode 120000 (symlink)
index 5f5d76c..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../lx-office-erp/menu.css
\ No newline at end of file
diff --git a/css/Win2000/tabcontent.css b/css/Win2000/tabcontent.css
deleted file mode 120000 (symlink)
index 487ba3f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../lx-office-erp/tabcontent.css
\ No newline at end of file
diff --git a/css/Win2000/ui-lightness b/css/Win2000/ui-lightness
deleted file mode 120000 (symlink)
index 9f2cad0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../lx-office-erp/ui-lightness/
\ No newline at end of file