From: Roland Häder Date: Tue, 8 Jun 2010 00:03:43 +0000 (+0000) Subject: CSS classes do not need _css suffix/prefix X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=034650f7eef6504850e50d112330fcc63e2d14f7;p=mailer.git CSS classes do not need _css suffix/prefix --- diff --git a/inc/functions.php b/inc/functions.php index 5a5507bab8..2a9a94bc21 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -877,8 +877,8 @@ function translateMenuVisibleLocked ($content, $prefix = '') { // Translate 'visible' and keep an eye on the prefix switch ($content[$prefix . 'visible']) { // Should be visible - case 'Y': $content[$prefix . 'visible_css'] = $prefix . 'menu_visible_css' ; break; - case 'N': $content[$prefix . 'visible_css'] = $prefix . 'menu_invisible_css'; break; + case 'Y': $content[$prefix . 'visible_css'] = $prefix . 'menu_visible' ; break; + case 'N': $content[$prefix . 'visible_css'] = $prefix . 'menu_invisible'; break; default: // Please report this debug_report_bug('Unsupported visible value detected. content=
'.print_r($content, true).'
'); @@ -888,8 +888,8 @@ function translateMenuVisibleLocked ($content, $prefix = '') { // Translate 'locked' and keep an eye on the prefix switch ($content[$prefix . 'locked']) { // Should be locked - case 'Y': $content[$prefix . 'locked_css'] = $prefix . 'menu_locked_css' ; break; - case 'N': $content[$prefix . 'locked_css'] = $prefix . 'menu_unlocked_css'; break; + case 'Y': $content[$prefix . 'locked_css'] = $prefix . 'menu_locked' ; break; + case 'N': $content[$prefix . 'locked_css'] = $prefix . 'menu_unlocked'; break; default: // Please report this debug_report_bug('Unsupported locked value detected. content=
'.print_r($content, true).'
'); diff --git a/theme/business/css/general.css b/theme/business/css/general.css index 486f5c5828..5fc5e98124 100644 --- a/theme/business/css/general.css +++ b/theme/business/css/general.css @@ -710,16 +710,16 @@ td { padding-bottom: 2px; } -div.menu_invisible_css, div.sub_menu_invisible_css, td.menu_invisible_css, td.sub_menu_invisible_css { +div.menu_invisible, div.sub_menu_invisible, td.menu_invisible, td.sub_menu_invisible { background-color: #dddddd; font-style: italic; } -strong.menu_invisible_css, strong.sub_menu_invisible_css { +strong.menu_invisible, strong.sub_menu_invisible { color: #999999; font-style: italic; } -.menu_locked_css, .sub_menu_locked_css { +.menu_locked, .sub_menu_locked { color: #ffeeee; } diff --git a/theme/default/css/general.css b/theme/default/css/general.css index e16d8fe3bf..8be9ce6fdc 100644 --- a/theme/default/css/general.css +++ b/theme/default/css/general.css @@ -769,16 +769,16 @@ td { text-align: center; } -div.menu_invisible_css, div.sub_menu_invisible_css, td.menu_invisible_css, td.sub_menu_invisible_css { +div.menu_invisible, div.sub_menu_invisible, td.menu_invisible, td.sub_menu_invisible { background-color: #dddddd; font-style: italic; } -strong.menu_invisible_css, strong.sub_menu_invisible_css { +strong.menu_invisible, strong.sub_menu_invisible { color: #999999; font-style: italic; } -.menu_locked_css, .sub_menu_locked_css { +.menu_locked, .sub_menu_locked { color: #ffeeee; } diff --git a/theme/desert/css/general.css b/theme/desert/css/general.css index 1aa982cf4d..609a682cc9 100644 --- a/theme/desert/css/general.css +++ b/theme/desert/css/general.css @@ -694,16 +694,16 @@ td { padding-bottom: 2px; } -div.menu_invisible_css, div.sub_menu_invisible_css, td.menu_invisible_css, td.sub_menu_invisible_css { +div.menu_invisible, div.sub_menu_invisible, td.menu_invisible, td.sub_menu_invisible { background-color: #dddddd; font-style: italic; } -strong.menu_invisible_css, strong.sub_menu_invisible_css { +strong.menu_invisible, strong.sub_menu_invisible { color: #999999; font-style: italic; } -.menu_locked_css, .sub_menu_locked_css { +.menu_locked, .sub_menu_locked { color: #ffeeee; } diff --git a/theme/org/css/general.css b/theme/org/css/general.css index 14542836e9..c90aba46e2 100644 --- a/theme/org/css/general.css +++ b/theme/org/css/general.css @@ -581,16 +581,16 @@ ul, ol { padding-bottom : 2px; } -div.menu_invisible_css, div.sub_menu_invisible_css, td.menu_invisible_css, td.sub_menu_invisible_css { +div.menu_invisible, div.sub_menu_invisible, td.menu_invisible, td.sub_menu_invisible { background-color: #dddddd; font-style: italic; } -strong.menu_invisible_css, strong.sub_menu_invisible_css { +strong.menu_invisible, strong.sub_menu_invisible { color: #999999; font-style: italic; } -.menu_locked_css, .sub_menu_locked_css { +.menu_locked, .sub_menu_locked { color: #ffeeee; }