Skip to content

Commit

Permalink
Center align zone text in VAPP
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian committed Aug 30, 2024
1 parent a69ff7f commit 38bd9a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/vehicle-badge/vehicle-badge.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;height:30mm;color:{{vehicle.delegate_type?.text_color}};" viewBox="0 0 1406 588"><g fill="currentColor"><path d="M702.679 55.796h2v474.589h-2z"/><path d="M800.905 90.403c.918.245 2.078.343 3.479.343 5.075 0 8.167-2.498 8.167-7.002 0-4.358-3.044-6.464-7.683-6.464-1.837 0-3.238.147-3.963.343zm-4.204-15.816c2.029-.392 4.687-.685 8.07-.685 4.155 0 7.2.979 9.133 2.742 1.788 1.567 2.899 3.966 2.899 6.855 0 2.987-.869 5.337-2.56 7.051-2.224 2.399-5.848 3.623-9.955 3.623-1.257 0-2.416-.049-3.383-.293v13.269h-4.204zM821.489 90.843c0-2.791-.048-5.19-.193-7.394h3.721l.194 4.652h.144c1.064-3.183 3.673-5.19 6.525-5.19.434 0 .772.049 1.159.098v4.064c-.435-.049-.87-.098-1.449-.098-2.997 0-5.123 2.301-5.704 5.484a13.6 13.6 0 0 0-.144 2.008v12.682h-4.253zM851.691 92.998c.049-2.742-1.111-7.002-5.848-7.002-4.348 0-6.185 4.015-6.523 7.002zm-12.419 3.084c.097 5.779 3.721 8.178 7.973 8.178 3.045 0 4.929-.539 6.475-1.224l.774 3.085c-1.498.685-4.108 1.518-7.828 1.518-7.153 0-11.502-4.848-11.502-11.948 0-7.149 4.205-12.78 11.018-12.78 7.635 0 9.616 6.806 9.616 11.164 0 .881-.047 1.518-.144 2.007zM860.484 102.742c1.305.783 3.527 1.665 5.653 1.665 3.045 0 4.494-1.518 4.494-3.526 0-2.056-1.208-3.134-4.3-4.309-4.252-1.567-6.234-3.917-6.234-6.708 0-3.819 3.093-6.953 8.071-6.953 2.367 0 4.445.636 5.702 1.469l-1.015 3.085c-.919-.539-2.61-1.371-4.784-1.371-2.514 0-3.866 1.469-3.866 3.231 0 1.959 1.352 2.84 4.397 4.064 4.011 1.519 6.137 3.575 6.137 7.101 0 4.21-3.237 7.148-8.698 7.148-2.561 0-4.929-.685-6.573-1.665zM895.035 92.998c.048-2.742-1.111-7.002-5.848-7.002-4.349 0-6.186 4.015-6.524 7.002zm-12.418 3.084c.096 5.779 3.721 8.178 7.972 8.178 3.046 0 4.929-.539 6.476-1.224l.774 3.085c-1.499.685-4.108 1.518-7.828 1.518-7.154 0-11.503-4.848-11.503-11.948 0-7.149 4.206-12.78 11.019-12.78 7.635 0 9.615 6.806 9.615 11.164 0 .881-.047 1.518-.144 2.007zM904.407 89.864c0-2.498-.048-4.456-.193-6.415h3.769l.242 3.869h.097c1.159-2.204 3.865-4.407 7.731-4.407 3.239 0 8.264 1.958 8.264 10.087v14.151h-4.253V93.488c0-3.82-1.401-7.052-5.412-7.052-2.755 0-4.929 2.008-5.702 4.407-.193.539-.29 1.322-.29 2.008v14.298h-4.253zM936.203 77.77v5.68h6.089v3.281h-6.09v12.731c0 2.938.822 4.602 3.189 4.602 1.161 0 1.837-.097 2.465-.293l.193 3.28c-.822.294-2.125.588-3.769.588-1.981 0-3.576-.685-4.591-1.812-1.159-1.322-1.642-3.427-1.642-6.218V86.731h-3.624V83.45h3.624v-4.358zM961.619 92.998c.049-2.742-1.111-7.002-5.848-7.002-4.348 0-6.185 4.015-6.523 7.002zM949.2 96.082c.097 5.779 3.721 8.178 7.974 8.178 3.044 0 4.928-.539 6.474-1.224l.774 3.085c-1.498.685-4.108 1.518-7.828 1.518-7.153 0-11.502-4.848-11.502-11.948 0-7.149 4.205-12.78 11.018-12.78 7.635 0 9.616 6.806 9.616 11.164 0 .881-.047 1.518-.144 2.007zM986.94 93.096c0-.587-.048-1.273-.193-1.86-.628-2.694-2.948-4.946-6.137-4.946-4.398 0-7.007 3.917-7.007 9.107 0 4.848 2.367 8.814 6.91 8.814 2.851 0 5.461-1.958 6.234-5.19.145-.539.193-1.126.193-1.812zm4.253-20.712v28.645c0 2.105.048 4.505.193 6.12h-3.817l-.193-4.113h-.097c-1.305 2.644-4.109 4.652-7.926 4.652-5.654 0-10.052-4.848-10.052-12.046-.048-7.932 4.833-12.731 10.488-12.731 3.624 0 6.04 1.714 7.054 3.575h.097V72.384zM1012.74 97.65a8 8 0 0 0 .144 1.567c.822 2.987 3.334 5.043 6.378 5.043 4.495 0 7.105-3.672 7.105-9.107 0-4.798-2.417-8.863-6.959-8.863-2.899 0-5.606 2.057-6.428 5.289a6.9 6.9 0 0 0-.241 1.811zm-4.253-25.266h4.253v14.837h.097c1.498-2.645 4.204-4.309 7.973-4.309 5.799 0 9.859 4.896 9.859 12.045 0 8.52-5.317 12.731-10.535 12.731-3.383 0-6.04-1.322-7.829-4.455h-.096l-.242 3.917h-3.673c.145-1.616.193-4.016.193-6.121zM1037.24 83.45l5.074 14.004a62 62 0 0 1 1.546 4.848h.097c.435-1.42.918-3.232 1.498-4.946l4.639-13.906h4.495l-6.379 16.893c-3.045 8.128-5.123 12.241-8.023 14.836-2.126 1.813-4.155 2.547-5.218 2.743l-1.064-3.575a11.2 11.2 0 0 0 3.722-2.105c1.159-.931 2.56-2.596 3.576-4.799.193-.441.338-.784.338-1.028 0-.245-.097-.588-.338-1.127L1032.6 83.45zM1312.62 451.204v11.413h8.021v11.325c.025 1.011-.03 2.103-.204 2.977-.318 2.111-2.326 5.708-8.019 5.708-5.659 0-7.63-3.597-7.972-5.708-.144-.874-.205-1.966-.205-2.977v-35.768c0-1.265.086-2.649.354-3.697.388-1.907 2.078-5.666 7.781-5.666 5.986 0 7.48 3.963 7.822 5.666.226 1.127.239 3.019.239 3.019v4.342h19.71v-2.567s.088-2.68-.15-5.18c-1.482-14.68-13.577-19.324-27.447-19.324-13.895 0-25.745 4.687-27.472 19.324-.156 1.339-.394 3.747-.394 5.18v32.902c0 1.433.046 2.542.312 5.161 1.286 14.277 13.659 19.337 27.499 19.337 13.925 0 26.212-5.06 27.52-19.337.232-2.619.257-3.728.287-5.161v-20.969zm-135.897-34.332h-19.793v57.895c.031 1.009 0 2.142-.174 2.974-.412 1.943-2.06 5.683-7.52 5.683-5.391 0-7.081-3.74-7.463-5.683-.198-.832-.222-1.965-.198-2.974v-57.895h-19.786v56.098c-.025 1.446.088 4.401.174 5.174 1.366 14.619 12.886 19.364 27.273 19.364 14.414 0 25.928-4.745 27.319-19.364.109-.773.253-3.728.168-5.174zm-181.857 0-9.873 61.174-9.867-61.174h-31.927l-1.693 78.259h19.56l.529-72.447 13.458 72.447h19.844l13.47-72.447.532 72.447h19.609l-1.752-78.259zm-118.207 0-14.497 78.259h21.14l10.925-72.447 10.661 72.447h20.994l-14.436-78.259zm369.235 63.008-18.43-63.008h-29.042v77.443h19.212l-1.116-65.024 19.793 65.024h27.853v-77.443h-19.337zm-177.704-42.641c-.348-1.546-.248-3.187-.067-4.046.559-2.505 2.243-5.238 7.092-5.238 4.52 0 7.169 2.818 7.169 7.047v4.786h19.295v-5.455c0-16.862-15.118-19.511-26.063-19.511-13.785 0-25.043 4.544-27.099 17.231-.544 3.453-.679 6.518.186 10.43 3.353 15.819 30.894 20.409 34.891 30.414.706 1.895.504 4.312.144 5.736-.599 2.603-2.35 5.222-7.542 5.222-4.871 0-7.801-2.799-7.801-7.019l-.006-7.511h-20.768v5.971c0 17.299 13.55 22.518 28.144 22.518 13.977 0 25.522-4.776 27.374-17.724.883-6.689.217-11.046-.137-12.687-3.237-16.227-32.59-21.107-34.812-30.164m-254.514-.192c-.379-1.577-.29-3.243-.079-4.111.534-2.493 2.227-5.274 7.162-5.274 4.578 0 7.273 2.845 7.273 7.108v4.843h19.521v-5.497c0-17.024-15.35-19.738-26.415-19.738-13.901 0-25.259 4.615-27.337 17.394-.568 3.508-.666 6.595.156 10.549 3.389 16 31.203 20.626 35.249 30.75.757 1.882.528 4.3.152 5.779-.642 2.631-2.408 5.286-7.642 5.286-4.89 0-7.814-2.848-7.814-7.126l-.027-7.529h-21v5.983c0 17.497 13.742 22.76 28.449 22.76 14.14 0 25.752-4.82 27.646-17.917.942-6.75.236-11.144-.082-12.81-3.303-16.424-32.984-21.289-35.212-30.45M400.126 338.041c-5.373-1.774-9.304-2.8-15.725-2.8-4.72 0-10.352 1.66-10.352 7.258 0 10.437 30.531 3.819 30.531 27.471 0 15.278-14.021 21.391-28.302 21.391-6.694 0-13.503-1.142-19.923-2.8l1.048-14.001c5.502 2.668 11.268 4.325 17.292 4.325 4.463 0 11.54-1.657 11.54-8.012 0-12.852-30.534-4.075-30.534-27.74 0-14.117 12.708-20.363 26.468-20.363 8.258 0 13.635 1.281 19.133 2.424z" style="fill-rule:nonzero"/><path d="M481.896 324.382h17.567v65.529h-17.567z"/><path d="M609.298 338.041c-5.368-1.774-9.301-2.8-15.722-2.8-4.726 0-10.356 1.66-10.356 7.258 0 10.437 30.534 3.819 30.534 27.471 0 15.278-14.021 21.391-28.302 21.391-6.69 0-13.501-1.142-19.923-2.8l1.047-14.001c5.502 2.668 11.274 4.325 17.299 4.325 4.456 0 11.534-1.657 11.534-8.012 0-12.852-30.536-4.075-30.536-27.74 0-14.117 12.713-20.363 26.48-20.363 8.251 0 13.62 1.281 19.123 2.424zM447.595 353.754l24.878-29.372h-20.707l-20.965 26.214h-.263v-61.475l-17.564 5.366v95.426h17.564v-31.809h.263l22.542 31.809h22.274zM510.792 294.487v95.426h17.556V289.121zM538.471 294.487h-.012v95.426h17.568V289.121zM500.83 299.921c0-5.407-4.387-9.782-9.782-9.782s-9.778 4.375-9.778 9.782c0 5.402 4.383 9.783 9.778 9.783s9.782-4.381 9.782-9.783M195.873 385.273c-13.384 0-22.372-10.978-22.372-27.328s8.988-27.332 22.372-27.332c13.381 0 22.375 10.982 22.375 27.332s-8.994 27.328-22.375 27.328m0-61.067c-22.854 0-30.959 18.169-30.959 33.739 0 15.566 8.105 33.741 30.959 33.741 22.856 0 30.962-18.175 30.962-33.741 0-15.57-8.106-33.739-30.962-33.739M241.693 336.052v-10.569h-7.283l.008 64.429h7.797v-31.83l-.013-.414c.013-11.869 3.376-26.056 19.395-26.056l2.434.115.03-.255.389-7.512-.905-.006c-10.822 0-18.155 4.082-21.852 12.098M317.667 385.028c-18.064 0-20.017-19.112-20.017-27.329 0-8.222 1.953-27.332 20.017-27.332 13.828 0 20.021 13.724 20.021 27.332 0 13.606-6.193 27.329-20.021 27.329m27.503-92.308-7.482 2.291v39.832c-1.624-2.725-7.709-11.057-21.335-10.891-22.551.287-27.286 18.505-27.286 33.747 0 20.809 10.456 33.743 27.29 33.743 10.028 0 16.808-3.693 21.331-11.52v9.99h7.797v-97.289zM280.065 292.724l-7.482 2.283v94.906h7.8v-97.29zM73.884 325.481H65.33l.104.324c.401 1.212 20.988 63.371 21.179 63.937l.057.171h9.627l18.215-56.115h.594c.113.339 18.217 56.115 18.217 56.115h9.635l21.858-64.432h-7.774s-18.365 55.777-18.476 56.11h-.599c-.104-.335-17.688-56.11-17.688-56.11h-9.631s-18.496 55.777-18.61 56.11h-.595c-.104-.343-17.559-56.11-17.559-56.11M465.595 178.248s31.366-5.551 41.632-30.489c0 0 182.615 37.406 74.812 134.819 0 0 40.005-37.669 17.664-67.8 0 0 12.469 37.406-36.366 62.603 0 0 105.912-75.233-97.742-99.133" style="fill-rule:nonzero"/><path d="M565.653 164.605c12.772 6.318 21.713 12.524 26.937 16.601 2.296-65.378-44.577-101.928-44.577-101.928-1.365 4.19-5.456 8.865-11.301 11.008s-9.355 9.156-9.355 9.156c22.912 19.052 33.915 42.317 38.296 65.163M502.38 152.39c2.767-4.132 3.543-6.969 3.543-6.969 12.069 2.144 22.901 4.971 32.548 8.135-20.009-57.05-57.22-88.273-57.22-88.273-1.039 2.988-11.948 8.442-19.352 11.691-7.403 3.246-5.456 17.012-5.456 17.012 20.35 16.816 35.152 37.397 45.937 58.404M578.932 215.586c-2.519 28.147-19.233 58.026-19.233 58.026 11.801-17.948 19.868-34.801 25.082-50.505-1.462-2.655-3.435-5.158-5.849-7.521" style="fill-rule:nonzero"/><path d="M576.741 213.586c-2.752-2.365-5.936-4.582-9.465-6.656-2.931 30.285-13.032 53.049-13.032 53.049 5.844-6.627 10.325-17.341 10.325-17.341.194 7.6-6.04 22.602-6.04 22.602 10.725-17.23 15.857-38.172 18.212-51.654M513.362 272.552c-6.493-3.497-15.909-7.217-35.26-22.203 14.645 11.025 39.101 18.071 39.101 18.071-53.993-27.406-65.764-52.251-65.764-52.251-5.196-.168-8.329 3.13-10.386 4.259-2.059 1.129-7.673 1.032-7.673 1.032 20.578 33.178 79.982 51.092 79.982 51.092M489.209 183.244c-17.941-2.971-31.115-4.12-31.115-4.12 7.171-1.8 13.268-3.99 18.488-6.372-25.247-18.389-50.403-22.914-50.403-22.914s-4.675 1.557-5.326 9.349c-.644 7.795-6.62 8.834-6.62 8.834 94.293 25.195 108.45 102.866 108.45 102.866-6.431-35.07-20.068-57.472-20.068-57.472 14.416 14.805 24.352 52.407 24.352 52.407-3.198-38.868-19.318-65.071-37.758-82.578M517.425 188.862c13.576 41.886 13.832 77.349 13.832 77.349 10.046-19.478 7.401-64.293 7.401-64.293 9.354 18.314 8.183 68.19 8.183 68.19 4.796-26.207 4.981-50.177 2.23-71.748-9.955-3.816-20.9-6.949-31.646-9.498M65.448 404.875h8.922v82.497h36.205v7.759H65.448z" style="fill-rule:nonzero"/><path d="M129.647 484.14h.129l19.009-54.955h8.534l-26.379 75.773q-2.199 7.11-6.078 12.414-1.94 2.584-4.654 4.008-2.716 1.55-6.207 1.681a37.2 37.2 0 0 1-8.793-1.035l.777-6.982a19 19 0 0 0 2.586.647q1.421.388 3.49.387 5.042-.131 7.63-4.138 2.584-3.75 4.267-10.215l1.681-5.819-23.405-66.721h8.922zM166.872 462.157q0 11.768 5.689 19.395 5.432 8.02 16.164 8.147 10.731-.127 16.422-8.147 5.43-7.627 5.431-19.395 0-11.767-5.431-19.654-5.691-7.758-16.422-7.888-10.732.13-16.164 7.888-5.69 7.887-5.689 19.654m-8.922 0q0-14.093 7.5-24.051 7.498-10.213 23.275-10.474 16.034.26 23.534 10.474 7.24 9.958 7.241 24.051 0 13.838-7.241 23.921c-5 6.899-12.845 10.43-23.534 10.604-10.519-.174-18.276-3.705-23.275-10.604q-7.5-10.083-7.5-23.921M228.267 444.701q-.001-7.627-.518-15.516h7.889v11.767h.258a43 43 0 0 1 2.716-4.656q1.551-2.327 3.879-4.267 2.455-2.067 6.077-3.233 3.619-1.163 8.664-1.163 12.152.13 17.456 7.241 5.042 6.983 5.043 18.102v42.155h-8.146v-40.085q0-9.439-3.492-15-3.751-5.3-12.154-5.431-10.863.26-15.259 7.759a22.1 22.1 0 0 0-3.232 7.628 36.6 36.6 0 0 0-1.035 8.664v36.465h-8.146zM291.395 487.371l20.688-22.887q8.534-9.18 15-18.75 6.463-9.437 6.724-17.714-.13-7.37-4.526-11.767-4.396-4.395-11.379-4.526-11.638.13-21.724 6.465l-1.551-8.146q5.17-2.584 11.249-4.396 5.947-1.68 11.508-1.682 11.378.002 18.622 5.69 7.37 5.821 7.498 17.974-.259 10.215-8.016 21.077a185 185 0 0 1-16.809 20.818l-16.293 17.844h43.188v7.759h-54.179zM382.71 411.728q-6.983.13-10.991 3.749-4.268 3.753-6.336 9.699-2.07 5.948-2.715 12.413-.648 6.726-.647 12.413-.001 5.691.647 12.285.644 6.467 2.715 12.413 2.068 5.95 6.336 9.569 4.007 4.01 10.991 4.009 7.11 0 11.249-4.009 4.137-3.62 6.208-9.569a59.2 59.2 0 0 0 2.844-12.413q.389-6.594.389-12.285 0-5.687-.389-12.413a59.2 59.2 0 0 0-2.844-12.413q-2.07-5.946-6.208-9.699-4.139-3.619-11.249-3.749m0-7.759q9.05.132 14.871 4.138 5.817 4.141 9.05 10.862 5.948 14.225 5.69 31.033 0 7.115-.905 15-1.034 8.018-4.138 15-2.976 6.983-8.922 11.379-5.948 4.527-15.646 4.654-9.44-.127-15.258-4.654-5.949-4.397-9.051-11.379-2.977-6.982-4.138-15-1.295-7.885-1.164-15-.26-16.808 5.819-31.033 3.23-6.721 9.18-10.862 5.818-4.006 14.612-4.138M415.503 487.371l20.688-22.887q8.534-9.18 15-18.75 6.463-9.437 6.724-17.714-.13-7.37-4.526-11.767-4.397-4.395-11.379-4.526-11.638.13-21.723 6.465l-1.552-8.146q5.17-2.584 11.249-4.396 5.947-1.68 11.508-1.682 11.378.002 18.622 5.69 7.37 5.821 7.498 17.974-.259 10.215-8.016 21.077a185 185 0 0 1-16.809 20.818l-16.293 17.844h43.188v7.759h-54.179zM523.202 413.453h-.259l-34.801 52.98h35.06zm-43.24 51.941 40.773-60.901h11.427v61.94h13.375v7.79h-13.375v20.907h-8.96v-20.907h-43.24z" style="fill-rule:nonzero"/></g></svg>
</div>

<div style="position: absolute; display: flex; justify-content: space-evenly; align-items: center; left: 10mm; top: 60mm; right: 10mm; height: 100mm; line-height: 1;">
<div style="position: absolute; display: flex; justify-content: space-evenly; align-items: center; text-align: center; left: 10mm; top: 60mm; right: 10mm; height: 100mm; line-height: 1;">

<div *ngIf="hasZone('P_CON')" style="font-size: 40mm; font-weight: 700;">P CONFERENCE</div>
<div *ngIf="hasZone('P_PRE_61')" style="font-size: 40mm; font-weight: 700;">P PRESTA 6.1</div>
Expand Down

0 comments on commit 38bd9a7

Please sign in to comment.