1import {css, html, LitElement} from 'lit'; 2import {customElement} from 'lit/decorators.js'; 3 4@customElement('ns-license-info') 5export class PacketInformation extends LitElement { 6 static styles = css` 7 .panel { 8 cursor: pointer; 9 display: grid; 10 place-content: center; 11 color: black; 12 font-size: 30px; 13 font-family: 'Lato', sans-serif; 14 border: 5px solid black; 15 border-radius: 12px; 16 padding: 10px; 17 background-color: #ffffff; 18 max-width: max-content; 19 float: left; 20 } 21 22 .title { 23 font-weight: bold; 24 text-align: center; 25 margin-bottom: 10px; 26 } 27 28 .copyright { 29 text-align: center; 30 font-size: 25px; 31 margin-bottom: 30px; 32 } 33 34 .licensetext { 35 font-size: 20px; 36 margin-bottom: 10px; 37 } 38 `; 39 40 render() { 41 return html` 42 <div class="panel" role="text" tabindex="0"> 43 <div class="title">Lit-HTML</div> 44 <div class="copyright"> 45 Copyright (c) 2017 Google LLC. All rights reserved. 46 </div> 47 <div class="licensetext"> 48 BSD 3-Clause License<br><br> 49 50 Copyright (c) 2017 Google LLC. All rights reserved.<br><br> 51 52 Redistribution and use in source and binary forms, with or without<br> 53 modification, are permitted provided that the following conditions are met:<br><br> 54 55 1. Redistributions of source code must retain the above copyright notice, this<br> 56 list of conditions and the following disclaimer.<br><br> 57 58 2. Redistributions in binary form must reproduce the above copyright notice,<br> 59 this list of conditions and the following disclaimer in the documentation<br> 60 and/or other materials provided with the distribution.<br><br> 61 62 3. Neither the name of the copyright holder nor the names of its<br> 63 contributors may be used to endorse or promote products derived from<br> 64 this software without specific prior written permission.<br><br> 65 66 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"<br> 67 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE<br> 68 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE<br> 69 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE<br> 70 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL<br> 71 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR<br> 72 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER<br> 73 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,<br> 74 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE<br> 75 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 76 </div> 77 </div> 78 `; 79 } 80} 81