From 56ed2f996f12a25e412a2a4874ff1f60297de5d4 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 22 Nov 2012 15:09:27 +0100 Subject: [PATCH] =?utf8?q?Stylesheet=20Win2000.css=20gel=C3=B6scht?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Auth.pm | 3 + bin/mozilla/admin.pl | 2 +- bin/mozilla/am.pl | 2 +- css/Win2000/background_jobs.css | 1 - css/Win2000/csshover.htc | 1 - css/Win2000/dhtmlsuite | 1 - css/Win2000/frame_header | 1 - css/Win2000/jquery.autocomplete.css | 1 - css/Win2000/jquery.multiselect2side.css | 1 - css/Win2000/list_accounts.css | 1 - css/Win2000/main.css | 177 ------------------------ css/Win2000/menu.css | 1 - css/Win2000/tabcontent.css | 1 - css/Win2000/ui-lightness | 1 - 14 files changed, 5 insertions(+), 189 deletions(-) delete mode 120000 css/Win2000/background_jobs.css delete mode 120000 css/Win2000/csshover.htc delete mode 120000 css/Win2000/dhtmlsuite delete mode 120000 css/Win2000/frame_header delete mode 120000 css/Win2000/jquery.autocomplete.css delete mode 120000 css/Win2000/jquery.multiselect2side.css delete mode 120000 css/Win2000/list_accounts.css delete mode 100644 css/Win2000/main.css delete mode 120000 css/Win2000/menu.css delete mode 120000 css/Win2000/tabcontent.css delete mode 120000 css/Win2000/ui-lightness diff --git a/SL/Auth.pm b/SL/Auth.pm index d63b6a2f6..0a87ca00e 100644 --- a/SL/Auth.pm +++ b/SL/Auth.pm @@ -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}"; diff --git a/bin/mozilla/admin.pl b/bin/mozilla/admin.pl index 767669899..7e12b0e05 100755 --- a/bin/mozilla/admin.pl +++ b/bin/mozilla/admin.pl @@ -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)') }, diff --git a/bin/mozilla/am.pl b/bin/mozilla/am.pl index 500547597..9618690b6 100644 --- a/bin/mozilla/am.pl +++ b/bin/mozilla/am.pl @@ -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 index 8031c949e..000000000 --- a/css/Win2000/background_jobs.css +++ /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 index fcd95c422..000000000 --- a/css/Win2000/csshover.htc +++ /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 index 0b8350fb7..000000000 --- a/css/Win2000/dhtmlsuite +++ /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 index d69ab7feb..000000000 --- a/css/Win2000/frame_header +++ /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 index dc1123169..000000000 --- a/css/Win2000/jquery.autocomplete.css +++ /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 index 270f1a248..000000000 --- a/css/Win2000/jquery.multiselect2side.css +++ /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 index 7d530fb1a..000000000 --- a/css/Win2000/list_accounts.css +++ /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 index ad33ecdd1..000000000 --- a/css/Win2000/main.css +++ /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 index 5f5d76c93..000000000 --- a/css/Win2000/menu.css +++ /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 index 487ba3fae..000000000 --- a/css/Win2000/tabcontent.css +++ /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 index 9f2cad02e..000000000 --- a/css/Win2000/ui-lightness +++ /dev/null @@ -1 +0,0 @@ -../lx-office-erp/ui-lightness/ \ No newline at end of file -- 2.20.1