diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2018-10-13 17:15:59 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2018-10-13 17:15:59 +0100 |
| commit | e7f5c66959243bca506c5239509e32891095590b (patch) | |
| tree | 3752013f2ce2aa0db38880e802a52d0669370f5b | |
| parent | 61cdd9c02c12213d68e7aa4c0b03c7dd10f99170 (diff) | |
| download | webtrees-e7f5c66959243bca506c5239509e32891095590b.tar.gz webtrees-e7f5c66959243bca506c5239509e32891095590b.tar.bz2 webtrees-e7f5c66959243bca506c5239509e32891095590b.zip | |
Remove old styles
| -rw-r--r-- | app/Functions/FunctionsPrintFacts.php | 4 | ||||
| -rw-r--r-- | app/Http/Controllers/CalendarController.php | 8 | ||||
| -rw-r--r-- | resources/views/calendar-page.phtml | 6 | ||||
| -rwxr-xr-x | themes/clouds/css-2.0.0/style.css | 56 | ||||
| -rwxr-xr-x | themes/colors/css-2.0.0/style.css | 56 | ||||
| -rwxr-xr-x | themes/fab/css-2.0.0/style.css | 56 | ||||
| -rwxr-xr-x | themes/minimal/css-2.0.0/style.css | 56 | ||||
| -rwxr-xr-x | themes/webtrees/css-2.0.0/style.css | 56 | ||||
| -rwxr-xr-x | themes/xenea/css-2.0.0/style.css | 56 |
9 files changed, 9 insertions, 345 deletions
diff --git a/app/Functions/FunctionsPrintFacts.php b/app/Functions/FunctionsPrintFacts.php index ef83d58f9b..3e3130374f 100644 --- a/app/Functions/FunctionsPrintFacts.php +++ b/app/Functions/FunctionsPrintFacts.php @@ -1005,9 +1005,9 @@ class FunctionsPrintFacts } if ($level >= 2) { - echo '<tr class="row_note2"><th scope="row" class="rela ', $styleadd, ' width20">'; + echo '<tr class="row_note2"><th scope="row" class="rela ', $styleadd, '">'; } else { - echo '<tr><th scope="row" class="', $styleadd, ' width20">'; + echo '<tr><th scope="row" class="', $styleadd, '">'; } if ($can_edit) { if ($level < 2) { diff --git a/app/Http/Controllers/CalendarController.php b/app/Http/Controllers/CalendarController.php index 36df696357..6927ca5d87 100644 --- a/app/Http/Controllers/CalendarController.php +++ b/app/Http/Controllers/CalendarController.php @@ -338,9 +338,9 @@ class CalendarController extends AbstractBaseController switch ($view) { case 'year': case 'day': - echo '<table class="width100"><tr>'; - echo '<td class="descriptionbox center width50"><i class="icon-indis"></i>', I18N::translate('Individuals'), '</td>'; - echo '<td class="descriptionbox center width50"><i class="icon-cfamily"></i>', I18N::translate('Families'), '</td>'; + echo '<table class="w-100"><tr>'; + echo '<td class="descriptionbox center"><i class="icon-indis"></i>', I18N::translate('Individuals'), '</td>'; + echo '<td class="descriptionbox center"><i class="icon-cfamily"></i>', I18N::translate('Families'), '</td>'; echo '</tr><tr>'; echo '<td class="optionbox wrap">'; @@ -375,7 +375,7 @@ class CalendarController extends AbstractBaseController $weekend_start = -1; $weekend_end = -1; } - echo '<table class="width100"><thead><tr>'; + echo '<table class="w-100"><thead><tr>'; for ($week_day = 0; $week_day < $days_in_week; ++$week_day) { $day_name = $cal_date->dayNames(($week_day + $week_start) % $days_in_week); if ($week_day == $weekend_start || $week_day == $weekend_end) { diff --git a/resources/views/calendar-page.phtml b/resources/views/calendar-page.phtml index 9fcb2d28b1..fbecea6294 100644 --- a/resources/views/calendar-page.phtml +++ b/resources/views/calendar-page.phtml @@ -142,9 +142,9 @@ </tr> </table> - <table class="width100"> + <table class="w-100"> <tr> - <td class="topbottombar width50"> + <td class="topbottombar"> <a class="<?= $view === 'day' ? 'error' : '' ?>" href="<?= e(route('calendar', ['cal' => $cal, 'day' => $cal_date->day(), 'month' => $cal_month, 'year' => $cal_date->year(), 'filterev' => $filterev, 'filterof' => $filterof, 'filtersx' => $filtersx, 'view' => 'day', 'ged' => $tree->getName()])) ?>" rel="nofollow"> <?= I18N::translate('View this day') ?> </a> @@ -157,7 +157,7 @@ <?= I18N::translate('View this year') ?> </a> </td> - <td class="topbottombar width50"> + <td class="topbottombar"> <?php $n = 0; foreach (Date::calendarNames() as $newcal => $cal_name) { diff --git a/themes/clouds/css-2.0.0/style.css b/themes/clouds/css-2.0.0/style.css index 3fe46da0a3..fe67ceeefe 100755 --- a/themes/clouds/css-2.0.0/style.css +++ b/themes/clouds/css-2.0.0/style.css @@ -1621,62 +1621,6 @@ a:hover .nameZoom { opacity: 0.8; } -.width10 { - width: 10%; -} - -.width20 { - width: 20%; -} - -.width25 { - width: 25%; -} - -.width30 { - width: 30%; -} - -.width33 { - width: 33%; -} - -.width40 { - width: 40%; -} - -.width50 { - width: 50%; -} - -.width60 { - width: 60%; -} - -.width66 { - width: 66%; -} - -.width70 { - width: 70%; -} - -.width75 { - width: 75%; -} - -.width80 { - width: 80%; -} - -.width90 { - width: 90%; -} - -.width100 { - width: 100%; -} - .font9 { font-size: 9px; } diff --git a/themes/colors/css-2.0.0/style.css b/themes/colors/css-2.0.0/style.css index bf6d1a0a77..829b806348 100755 --- a/themes/colors/css-2.0.0/style.css +++ b/themes/colors/css-2.0.0/style.css @@ -1510,62 +1510,6 @@ a:hover .nameZoom { opacity: 0.8; } -.width10 { - width: 10%; -} - -.width20 { - width: 20%; -} - -.width25 { - width: 25%; -} - -.width30 { - width: 30%; -} - -.width33 { - width: 33%; -} - -.width40 { - width: 40%; -} - -.width50 { - width: 50%; -} - -.width60 { - width: 60%; -} - -.width66 { - width: 66%; -} - -.width70 { - width: 70%; -} - -.width75 { - width: 75%; -} - -.width80 { - width: 80%; -} - -.width90 { - width: 90%; -} - -.width100 { - width: 100%; -} - .font9 { font-size: 9px; } diff --git a/themes/fab/css-2.0.0/style.css b/themes/fab/css-2.0.0/style.css index 039fa9fd14..098a2cba39 100755 --- a/themes/fab/css-2.0.0/style.css +++ b/themes/fab/css-2.0.0/style.css @@ -1035,62 +1035,6 @@ a:hover .nameZoom { opacity: 0.8; } -.width10 { - width: 10%; -} - -.width20 { - width: 20%; -} - -.width25 { - width: 25%; -} - -.width30 { - width: 30%; -} - -.width33 { - width: 33%; -} - -.width40 { - width: 40%; -} - -.width50 { - width: 50%; -} - -.width60 { - width: 60%; -} - -.width66 { - width: 66%; -} - -.width70 { - width: 70%; -} - -.width75 { - width: 75%; -} - -.width80 { - width: 80%; -} - -.width90 { - width: 90%; -} - -.width100 { - width: 100%; -} - .font9 { font-size: 9px; } diff --git a/themes/minimal/css-2.0.0/style.css b/themes/minimal/css-2.0.0/style.css index 1314ba24ea..a7246d3501 100755 --- a/themes/minimal/css-2.0.0/style.css +++ b/themes/minimal/css-2.0.0/style.css @@ -2146,62 +2146,6 @@ div.faq_body { padding: 3px; } -.width10 { - width: 10%; -} - -.width20 { - width: 20%; -} - -.width25 { - width: 25%; -} - -.width30 { - width: 30%; -} - -.width33 { - width: 33%; -} - -.width40 { - width: 40%; -} - -.width50 { - width: 50%; -} - -.width60 { - width: 60%; -} - -.width66 { - width: 66%; -} - -.width70 { - width: 70%; -} - -.width75 { - width: 75%; -} - -.width80 { - width: 80%; -} - -.width90 { - width: 90%; -} - -.width100 { - width: 100%; -} - #childbox { padding: 5px; position: absolute; diff --git a/themes/webtrees/css-2.0.0/style.css b/themes/webtrees/css-2.0.0/style.css index 14c072f609..cd80275a41 100755 --- a/themes/webtrees/css-2.0.0/style.css +++ b/themes/webtrees/css-2.0.0/style.css @@ -1517,62 +1517,6 @@ a:hover .nameZoom { opacity: 0.8; } -.width10 { - width: 10%; -} - -.width20 { - width: 20%; -} - -.width25 { - width: 25%; -} - -.width30 { - width: 30%; -} - -.width33 { - width: 33%; -} - -.width40 { - width: 40%; -} - -.width50 { - width: 50%; -} - -.width60 { - width: 60%; -} - -.width66 { - width: 66%; -} - -.width70 { - width: 70%; -} - -.width75 { - width: 75%; -} - -.width80 { - width: 80%; -} - -.width90 { - width: 90%; -} - -.width100 { - width: 100%; -} - .font9 { font-size: 9px; } diff --git a/themes/xenea/css-2.0.0/style.css b/themes/xenea/css-2.0.0/style.css index e1050e9cb3..5e9cb1a3fa 100755 --- a/themes/xenea/css-2.0.0/style.css +++ b/themes/xenea/css-2.0.0/style.css @@ -1499,62 +1499,6 @@ a:hover .nameZoom { opacity: 0.8; } -.width10 { - width: 10%; -} - -.width20 { - width: 20%; -} - -.width25 { - width: 25%; -} - -.width30 { - width: 30%; -} - -.width33 { - width: 33%; -} - -.width40 { - width: 40%; -} - -.width50 { - width: 50%; -} - -.width60 { - width: 60%; -} - -.width66 { - width: 66%; -} - -.width70 { - width: 70%; -} - -.width75 { - width: 75%; -} - -.width80 { - width: 80%; -} - -.width90 { - width: 90%; -} - -.width100 { - width: 100%; -} - .font9 { font-size: 9px; } |
