mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 03:29:03 -05:00 
			
		
		
		
	Fixes for plain design
This commit is contained in:
		
							parent
							
								
									750986acb0
								
							
						
					
					
						commit
						f9e004a2fd
					
				@ -57,7 +57,6 @@
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    .company-logo {
 | 
					    .company-logo {
 | 
				
			||||||
/*        max-width: 65%;*/
 | 
					 | 
				
			||||||
        max-width: $company_logo_size;
 | 
					        max-width: $company_logo_size;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -96,14 +95,11 @@
 | 
				
			|||||||
    #entity-details {
 | 
					    #entity-details {
 | 
				
			||||||
        display: table;
 | 
					        display: table;
 | 
				
			||||||
        padding-right: 30px;
 | 
					        padding-right: 30px;
 | 
				
			||||||
 | 
					 | 
				
			||||||
        flex-direction: column;
 | 
					        flex-direction: column;
 | 
				
			||||||
 | 
					 | 
				
			||||||
        overflow: hidden;
 | 
					        overflow: hidden;
 | 
				
			||||||
        height: 12px;
 | 
					        height: 12px;
 | 
				
			||||||
        white-space: nowrap;
 | 
					        white-space: nowrap;
 | 
				
			||||||
        line-height: var(--line-height);
 | 
					        line-height: var(--line-height);
 | 
				
			||||||
 | 
					 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    .entity-details-cell {
 | 
					    .entity-details-cell {
 | 
				
			||||||
@ -116,7 +112,6 @@
 | 
				
			|||||||
        flex-direction: column;
 | 
					        flex-direction: column;
 | 
				
			||||||
        padding-right: 30px;
 | 
					        padding-right: 30px;
 | 
				
			||||||
        line-height: var(--line-height);
 | 
					        line-height: var(--line-height);
 | 
				
			||||||
 | 
					 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    #shipping-details {
 | 
					    #shipping-details {
 | 
				
			||||||
@ -372,11 +367,10 @@
 | 
				
			|||||||
               </div>
 | 
					               </div>
 | 
				
			||||||
               <p class="entity-label">$entity_label</p>
 | 
					               <p class="entity-label">$entity_label</p>
 | 
				
			||||||
               <div class="client-and-entity-wrapper">
 | 
					               <div class="client-and-entity-wrapper">
 | 
				
			||||||
                  <div id="entity-details">
 | 
					                  <div id="entity-details"></div>
 | 
				
			||||||
                  </div>
 | 
					 | 
				
			||||||
                  <div id="client-details"></div>
 | 
					                  <div id="client-details"></div>
 | 
				
			||||||
                  <div id="shipping-details"></div>
 | 
					 | 
				
			||||||
                  <div id="vendor-details"></div>
 | 
					                  <div id="vendor-details"></div>
 | 
				
			||||||
 | 
					                  <div id="shipping-details"></div>
 | 
				
			||||||
               </div>
 | 
					               </div>
 | 
				
			||||||
               <table id="product-table" cellspacing="0" data-ref="table"></table>
 | 
					               <table id="product-table" cellspacing="0" data-ref="table"></table>
 | 
				
			||||||
               <table id="task-table" cellspacing="0" data-ref="table"></table>
 | 
					               <table id="task-table" cellspacing="0" data-ref="table"></table>
 | 
				
			||||||
 | 
				
			|||||||
@ -38,6 +38,7 @@
 | 
				
			|||||||
        display: grid;
 | 
					        display: grid;
 | 
				
			||||||
        grid-template-columns: 1fr 1fr 1fr;
 | 
					        grid-template-columns: 1fr 1fr 1fr;
 | 
				
			||||||
        line-height: var(--line-height);
 | 
					        line-height: var(--line-height);
 | 
				
			||||||
 | 
					        margin-bottom: 10px;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    .company-logo {
 | 
					    .company-logo {
 | 
				
			||||||
@ -65,6 +66,11 @@
 | 
				
			|||||||
        padding-bottom: 0.3rem;
 | 
					        padding-bottom: 0.3rem;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    .entity-details-cell {
 | 
				
			||||||
 | 
					        display: table-cell; 
 | 
				
			||||||
 | 
					        border-right: 10px solid transparent;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    .header-wrapper
 | 
					    .header-wrapper
 | 
				
			||||||
    #entity-details
 | 
					    #entity-details
 | 
				
			||||||
    [data-element='entity-balance-due-label'],
 | 
					    [data-element='entity-balance-due-label'],
 | 
				
			||||||
@ -74,9 +80,22 @@
 | 
				
			|||||||
        background-color: #e6e6e6;
 | 
					        background-color: #e6e6e6;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    .client-or-vendor-wrapper {
 | 
				
			||||||
 | 
					        display: flex;
 | 
				
			||||||
 | 
					        padding: 0.2rem;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    #client-details {
 | 
					    #client-details {
 | 
				
			||||||
        display: flex;
 | 
					        display: flex;
 | 
				
			||||||
        flex-direction: column;
 | 
					        flex-direction: column;
 | 
				
			||||||
 | 
					        padding-right: 30px;
 | 
				
			||||||
 | 
					        line-height: var(--line-height);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    #shipping-details {
 | 
				
			||||||
 | 
					        display: flex;
 | 
				
			||||||
 | 
					        flex-direction: column;
 | 
				
			||||||
 | 
					        padding-right: 30px;
 | 
				
			||||||
        line-height: var(--line-height);
 | 
					        line-height: var(--line-height);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -85,7 +104,7 @@
 | 
				
			|||||||
        min-width: 100%;
 | 
					        min-width: 100%;
 | 
				
			||||||
        table-layout: fixed;
 | 
					        table-layout: fixed;
 | 
				
			||||||
        overflow-wrap: break-word;
 | 
					        overflow-wrap: break-word;
 | 
				
			||||||
        margin-bottom: 50px; 
 | 
					        margin-bottom: 20px; 
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    .task-time-details {
 | 
					    .task-time-details {
 | 
				
			||||||
@ -266,6 +285,7 @@
 | 
				
			|||||||
    .pqrcode {
 | 
					    .pqrcode {
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /** Useful snippets, uncomment to enable. **/
 | 
					    /** Useful snippets, uncomment to enable. **/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /** Hide company logo **/
 | 
					    /** Hide company logo **/
 | 
				
			||||||
@ -317,11 +337,14 @@
 | 
				
			|||||||
                        src="$company.logo"
 | 
					                        src="$company.logo"
 | 
				
			||||||
                        alt="$company.name logo"
 | 
					                        alt="$company.name logo"
 | 
				
			||||||
                        />
 | 
					                        />
 | 
				
			||||||
                     <table id="entity-details" cellspacing="0" dir="$dir"></table>
 | 
					                     <div id="entity-details"></div>
 | 
				
			||||||
                  </div>
 | 
					                  </div>
 | 
				
			||||||
               </div>
 | 
					               </div>
 | 
				
			||||||
               <div id="client-details"></div>
 | 
					               <div class="header-wrapper">
 | 
				
			||||||
               <div id="vendor-details"></div>
 | 
					                   <div id="client-details"></div>
 | 
				
			||||||
 | 
					                   <div id="vendor-details"></div>
 | 
				
			||||||
 | 
					                   <div id="shipping-details"></div>
 | 
				
			||||||
 | 
					               </div>
 | 
				
			||||||
               <table id="product-table" cellspacing="0" data-ref="table"></table>
 | 
					               <table id="product-table" cellspacing="0" data-ref="table"></table>
 | 
				
			||||||
               <table id="task-table" cellspacing="0" data-ref="table"></table>
 | 
					               <table id="task-table" cellspacing="0" data-ref="table"></table>
 | 
				
			||||||
               <table id="delivery-note-table" cellspacing="0" data-ref="table"></table>
 | 
					               <table id="delivery-note-table" cellspacing="0" data-ref="table"></table>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user