Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VUFIND-1741] Remove bootstrap3, bootprint3 and sandal themes #4192

Merged
merged 8 commits into from
Jan 28, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Review fixes.
EreMaijala committed Jan 24, 2025
commit 25781572a1370f845be346d474d9cc2554c45125
1 change: 0 additions & 1 deletion build.xml
Original file line number Diff line number Diff line change
@@ -65,7 +65,6 @@
<property name="solr_pid_file" value="${localdir}/solr-${solr_port}.pid" />
<property name="marc_bib_dir" value="${srcdir}/tests/data" /><!-- directory containing MARC bib records for test environment -->
<property name="marc_authority_dir" value="${marc_bib_dir}/authority" /><!-- directory containing MARC authority records for test environment -->
<property name="bootstrap5_theme" value="bootstrap5" /><!-- base Bootstrap 5 theme (used for theme update tasks) -->

<property name="version" value="10.1.1" />

24 changes: 0 additions & 24 deletions module/VuFindTheme/src/VuFindTheme/AbstractCssPreCompiler.php
Original file line number Diff line number Diff line change
@@ -183,30 +183,6 @@ protected function getAllThemes()
return $list;
}

/**
* Convert fake absolute paths to working relative paths.
*
* @param string $css Generated CSS
* @param string $scss Relative SCSS filename
*
* @return string
*
* @SuppressWarnings(PHPMD.UnusedLocalVariable)
*/
protected function makeRelative($css, $scss)
{
// Figure out how deep the scss file is nested -- this will
// affect our relative path. Note: we don't actually need
// to use $matches for anything, but some versions of PHP
// seem to be unhappy if we omit the parameter.
$depth = preg_match_all('|/|', $scss, $matches);
$relPath = '../../../';
for ($i = 0; $i < $depth; $i++) {
$relPath .= '/../';
}
return str_replace($this->fakePath, $relPath, $css);
}

/**
* Log a message to the console
*