mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
88012449f3
Moved export templates elements into their own folder for better grouping of logical usage. Within the base export template, added some body classes to allow easier targeted customisation via custom head css. Split content of export templates into smaller partials for easier future customization. Closes #3443
20 lines
562 B
PHP
20 lines
562 B
PHP
{{-- Fetch in our standard export styles --}}
|
|
<style>
|
|
@if (!app()->runningUnitTests())
|
|
{!! file_get_contents(public_path('/dist/export-styles.css')) !!}
|
|
@endif
|
|
</style>
|
|
|
|
{{-- Apply any additional styles that can't be applied via our standard SCSS export styles --}}
|
|
@if ($format === 'pdf')
|
|
<style>
|
|
/* Patches for CSS variable colors within PDF exports */
|
|
a {
|
|
color: {{ setting('app-color') }};
|
|
}
|
|
|
|
blockquote {
|
|
border-left-color: {{ setting('app-color') }};
|
|
}
|
|
</style>
|
|
@endif |