update
This commit is contained in:
@@ -25,7 +25,6 @@ import { DePage } from "./page.js";
|
|||||||
import { DeContentInvoice } from "./contentinvoice.js";
|
import { DeContentInvoice } from "./contentinvoice.js";
|
||||||
|
|
||||||
import { demoFunc } from "./document.demo.js";
|
import { demoFunc } from "./document.demo.js";
|
||||||
import { dedocumentSharedStyle } from "../style.js";
|
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
interface HTMLElementTagNameMap {
|
interface HTMLElementTagNameMap {
|
||||||
@@ -95,7 +94,6 @@ export class DeDocument extends DeesElement {
|
|||||||
|
|
||||||
public static styles = [
|
public static styles = [
|
||||||
domtools.elementBasic.staticStyles,
|
domtools.elementBasic.staticStyles,
|
||||||
dedocumentSharedStyle,
|
|
||||||
css`
|
css`
|
||||||
:host {
|
:host {
|
||||||
display: block;
|
display: block;
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ import {
|
|||||||
import * as plugins from "../plugins.js";
|
import * as plugins from "../plugins.js";
|
||||||
|
|
||||||
import { defaultDocumentSettings } from "./document.js";
|
import { defaultDocumentSettings } from "./document.js";
|
||||||
import { dedocumentSharedStyle } from "../style.js";
|
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
interface HTMLElementTagNameMap {
|
interface HTMLElementTagNameMap {
|
||||||
@@ -75,7 +74,6 @@ export class DePage extends DeesElement {
|
|||||||
|
|
||||||
public static styles = [
|
public static styles = [
|
||||||
domtools.elementBasic.staticStyles,
|
domtools.elementBasic.staticStyles,
|
||||||
dedocumentSharedStyle,
|
|
||||||
css`
|
css`
|
||||||
:host {
|
:host {
|
||||||
display: block;
|
display: block;
|
||||||
@@ -167,7 +165,7 @@ export class DePage extends DeesElement {
|
|||||||
<div id="scaleWrapper">
|
<div id="scaleWrapper">
|
||||||
<dedocument-pagecontainer .printMode=${this.printMode}>
|
<dedocument-pagecontainer .printMode=${this.printMode}>
|
||||||
<div
|
<div
|
||||||
class="page page__background ${this.pageNumber === 1
|
class="page ${this.pageNumber === 1
|
||||||
? "page--first"
|
? "page--first"
|
||||||
: ""}"
|
: ""}"
|
||||||
></div>
|
></div>
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ export class DePageContainer extends DeesElement {
|
|||||||
position: relative;
|
position: relative;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
background: #ffffff;
|
||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -32,7 +32,6 @@ export const dedocumentSharedStyle = css`
|
|||||||
--text-font-size: var(--theme-text-font-size, 12px);
|
--text-font-size: var(--theme-text-font-size, 12px);
|
||||||
|
|
||||||
color: var(--text-fg-color);
|
color: var(--text-fg-color);
|
||||||
background: var(--text-bg-color);
|
|
||||||
font-family: var(--text-font-family);
|
font-family: var(--text-font-family);
|
||||||
font-size: var(--text-font-size);
|
font-size: var(--text-font-size);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user