File: D:/HostingSpaces/SBogers10/anvil.komma.pro/resources/views/pdf/machinepark.blade.php
<!doctype html>
<html lang="{{ \App::getLocale() }}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0">
<title>Machinepark {{ config('site.'.\App::getSite()->slug.'.name') }}</title>
<style>
body {
position: relative;
margin: 0;
font-family: "Arial", sans-serif;
line-height: 1.6;
}
* {
color: darkgray;
}
h2 {
padding: 0 4.166667%;
}
h1 {
width: 91.66667%;
background-color: #666666;
color: white;
padding: 5px 15px;
margin-bottom: 0;
}
.machine-park-tables {
position: relative;
z-index: 4;
padding-bottom: 4.166667%;
background-color: white;
}
.machine-park-tables .grid-row .company-machines-wrapper {
padding-bottom: 4.166667%;
page-break-before: always;
}
.machine-park-tables .grid-row .company-machines-wrapper:first-child {
page-break-before: avoid;
}
.machine-park-tables .grid-row .company-machines-wrapper:last-child {
padding-bottom: 0;
}
.machine-park-tables .grid-row .company-machines-wrapper .company-logo {
display: block;
margin-left: 4.166667%;
}
.machine-park-tables .grid-row .article {
padding: 0 4.166667%;
}
.machine-park-tables .grid-row .article h2 {
margin: 30px 0 10px 0;
padding-left: 0;
font-size: 1.6rem;
line-height: 1.4;
color: #666666;
}
.machine-park-tables .grid-row .article table {
width: 100%;
}
.machine-park-tables .grid-row .article table td, .machine-park-tables .grid-row .article table th {
font-size: 0.9rem;
line-height: 1.1;
text-align: left;
}
.machine-park-tables .grid-row .article table *[data-column=max-bar-capacity] {
width: 70px;
}
.machine-park-tables .grid-row .article table *[data-column=units] {
width: 36px;
}
.machine-park-tables .grid-row .article table thead th {
padding: 0 5px 15px;
color: black;
vertical-align: bottom;
}
.machine-park-tables .grid-row .article table thead th:first-child {
padding-left: 0;
}
.machine-park-tables .grid-row .article table thead th:last-child {
padding-right: 0;
}
.machine-park-tables .grid-row .article table tbody td {
padding: 12px 5px;
border-top: 1px solid grey;
color: brown;
vertical-align: top;
}
.machine-park-tables .grid-row .article table tbody td .type-label {
display: none;
}
.machine-park-tables .grid-row .article table tbody td:first-child {
padding-left: 0;
}
.machine-park-tables .grid-row .article table tbody td:last-child {
padding-right: 0;
}
</style>
</head>
<body>
<div class="grid-row photo-header">
<div class="text-wrapper">
<h2>Machinepark {{ config('site.'.\App::getSite()->slug.'.name') }}</h2>
</div>
</div>
@if(\App::getSite()->slug != 'anvil')
@include('site.partials.machinePark.tables')
@else
@include('site.partials.machinePark.anvilTables')
@endif
</body>