Skip to content

Commit

Permalink
RESOLVED #JJ294: Upgrade to webtrees 2.1.4 - Rural theme upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
jon48 committed May 22, 2022
1 parent 7011329 commit 407f271
Show file tree
Hide file tree
Showing 8 changed files with 1,083 additions and 1,010 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
}
},
"require-dev" : {
"fisharebest/webtrees" : "2.1.1",
"fisharebest/webtrees" : "2.1.4",
"consolidation/robo": "^3.0",
"psr/http-message": "^1.0"
},
Expand Down
189 changes: 92 additions & 97 deletions composer.lock

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions module.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
namespace MyArtJaub\Webtrees\Module;

use Fisharebest\Webtrees\I18N;
use Fisharebest\Webtrees\Site;
use Fisharebest\Webtrees\View;
use Fisharebest\Webtrees\Webtrees;
use Fisharebest\Webtrees\Module\AbstractModule;
Expand Down Expand Up @@ -107,7 +108,7 @@ public function customModuleAuthorName(): string
*/
public function customModuleVersion(): string
{
return '2.1.1-v.1';
return '2.1.3-v.1';
}

/**
Expand All @@ -121,7 +122,8 @@ public function customModuleLatestVersionUrl(): string
'm' => $this->customModuleVersion(),
'w' => Webtrees::VERSION,
'p' => PHP_VERSION,
'o' => DIRECTORY_SEPARATOR === '/' ? 'u' : 'w'
'o' => DIRECTORY_SEPARATOR === '/' ? 'u' : 'w',
's' => Site::getPreference('SITE_UUID')
]);
}

Expand Down
1,871 changes: 984 additions & 887 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"postcss-replace": "^1.1.3",
"postcss-rtlcss": "^3.6.3",
"sass": "^1.34.0",
"sass-loader": "^12.1.0",
"sass-loader": "^13.0.0",
"stylelint": "^14.6.1",
"stylelint-config-sass-guidelines": "^9.0.1",
"stylelint-config-standard": "^25.0.0",
Expand Down
4 changes: 0 additions & 4 deletions src/sass/rural/_global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,6 @@ h4 {
}
}

.form-group {
margin-bottom: $spacer;
}

.input-group {
&-text {
*[class^='wt-icon-'] { color: #fff; }
Expand Down
4 changes: 0 additions & 4 deletions src/sass/rural/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,6 @@ main {
.btn-secondary {
@extend .maj-secondary-button-theme-lighter;
}

.form-group {
margin-bottom: unset;
}

&-label {
background-color: $maj-c-theme-medium;
Expand Down
15 changes: 1 addition & 14 deletions src/sass/rural/_pages.scss
Original file line number Diff line number Diff line change
Expand Up @@ -272,20 +272,7 @@ div {

.wt-tab-stories {
color: $maj-c-theme-primary;

.story_title {
font-weight: bold;
}

.story_body {
padding: 1rem;
white-space: normal;
}

.story_edit {
padding: 1rem;
}

padding: 1rem;
}

/* Calendar */
Expand Down

0 comments on commit 407f271

Please sign in to comment.