@bookipi/htmlgenerator 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,30 @@
1
+ # @bookipi/htmlgenerator
2
+
3
+ > Made with create-react-library
4
+
5
+ [![NPM](https://img.shields.io/npm/v/@bookipi/htmlgenerator.svg)](https://www.npmjs.com/package/@bookipi/htmlgenerator) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install --save @bookipi/htmlgenerator
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ```jsx
16
+ import React, { Component } from 'react'
17
+
18
+ import MyComponent from '@bookipi/htmlgenerator'
19
+ import '@bookipi/htmlgenerator/dist/index.css'
20
+
21
+ class Example extends Component {
22
+ render() {
23
+ return <MyComponent />
24
+ }
25
+ }
26
+ ```
27
+
28
+ ## License
29
+
30
+ MIT © [](https://github.com/)
package/dist/index.css ADDED
@@ -0,0 +1,172 @@
1
+ #_3Co11 ._1T6dL {
2
+ background: #fff;
3
+ padding: 50px
4
+ }
5
+
6
+ #_3Co11 ._H9rKS {
7
+ font-size: 20px
8
+ }
9
+
10
+ #_3Co11 ._NZVuU {
11
+ margin: 0 -50px;
12
+ background: #f0f3f4;
13
+ padding: 30px 62px;
14
+ }
15
+
16
+ #_3Co11 ._1nzWi,
17
+ #_3Co11 ._CZ0Om,
18
+ #_3Co11 ._2PcW5 {
19
+ display: table-cell;
20
+ width: 1%
21
+ }
22
+
23
+ #_3Co11 ._CZ0Om,
24
+ #_3Co11 ._2PcW5 {
25
+ padding-right: 20px
26
+ }
27
+
28
+ #_3Co11 ._1nzWi ._39Vc3,
29
+ #_3Co11 ._CZ0Om strong,
30
+ #_3Co11 ._2PcW5 strong {
31
+ font-size: 16px;
32
+ font-weight: 600
33
+ }
34
+
35
+ #_3Co11 ._1nzWi {
36
+ text-align: right;
37
+ padding-left: 20px
38
+ }
39
+
40
+ #_3Co11 ._UW8D2 {
41
+ /* background: #f0f3f4; */
42
+ display: table;
43
+ width: 100%
44
+ }
45
+
46
+ #_3Co11 ._UW8D2 ._25qZn,
47
+ #_3Co11 ._UW8D2 ._1qNvn {
48
+ display: table-cell;
49
+ padding: 20px;
50
+ padding-right: 12px;
51
+ padding-bottom: 16px;
52
+ font-size: 20px;
53
+ font-weight: 600;
54
+ width: 70%;
55
+ position: relative;
56
+ vertical-align: middle
57
+ }
58
+
59
+ #_3Co11 ._UW8D2 ._25qZn ._21akj {
60
+ display: table-cell;
61
+ vertical-align: middle;
62
+ padding: 0 20px
63
+ }
64
+
65
+ #_3Co11 ._UW8D2 small {
66
+ font-size: 12px;
67
+ font-weight: 400;
68
+ display: block
69
+ }
70
+
71
+ #_3Co11 ._UW8D2 ._1n0u9 {
72
+ display: table;
73
+ float: left
74
+ }
75
+
76
+ #_3Co11 ._UW8D2 ._1qNvn {
77
+ width: 30%;
78
+ background: #2d353c;
79
+ color: #fff;
80
+ font-size: 28px;
81
+ text-align: right;
82
+ vertical-align: bottom;
83
+ font-weight: 300;
84
+ margin-right: -10px;
85
+ }
86
+
87
+ #_3Co11 ._UW8D2 ._1qNvn small {
88
+ display: block;
89
+ opacity: .7;
90
+ position: absolute;
91
+ top: 10px;
92
+ left: 12px;
93
+ font-size: 15px
94
+ }
95
+
96
+ #_3Co11 ._sAYTP {
97
+ border-top: 1px solid #ddd;
98
+ padding-top: 10px;
99
+ font-size: 10px
100
+ }
101
+
102
+ #_3Co11 ._Kswa2 {
103
+ color: #999;
104
+ margin-top: 80px;
105
+ font-size: 85%
106
+ }
107
+
108
+ #_3Co11 ._1T6dL > div:not(._sAYTP) {
109
+ margin-bottom: 20px
110
+ }
111
+
112
+ #_3Co11 ._1-NGs._3OxUj, ._1-NGs._3OxUj._238AS, ._1-NGs._3OxUj._238AS:focus, ._1-NGs._3OxUj._238AS:hover, ._1-NGs._3OxUj[disabled], ._1-NGs._3OxUj[disabled]:focus, ._1-NGs._3OxUj[disabled]:hover {
113
+ color: #2d353c;
114
+ background: #fff;
115
+ border-color: #d9dfe3;
116
+ }
117
+ #_3Co11 ._3dE6J{
118
+ display: inline-block;
119
+ }
120
+
121
+ #_3Co11 #_1Iizt {
122
+ max-width: 100%;
123
+ /*max-height: 150px;*/
124
+ display: block
125
+ }
126
+ @media print {
127
+ body, page {
128
+ /* width: 21cm; */
129
+ /* margin: 0; */
130
+ box-shadow: 0;
131
+ background-color: #fff
132
+ }
133
+ /* .invoice-body {
134
+ padding:10;
135
+ } */
136
+ #_3Co11 {
137
+ width:100%
138
+ }
139
+
140
+ ._UW8D2 ._1qNvn {
141
+ background: #f0f3f4;
142
+ color: black;
143
+ border: 2px solid #f0f3f4;
144
+ }
145
+
146
+ ._2QZYO {
147
+ width: 100% !important;
148
+ max-width: 100% !important;
149
+ flex: 0 0 100% !important;
150
+ }
151
+ }
152
+
153
+ @media only screen {
154
+ #_3Co11 {
155
+ margin-top:10px;
156
+ max-width:28cm;
157
+ zoom: 0.8;
158
+ box-shadow: 0 0 0.5cm rgba(0,0,0,0.2);
159
+ /*box-shadow: 0 0 0.5cm rgba(0,0,0,0.2);*/
160
+ margin-right:auto;margin-left:auto;
161
+ }
162
+ }
163
+
164
+ #_3Co11 ._1F7W3 td{
165
+ padding: 8px 12px
166
+ }
167
+ #_3Co11 ._3lgvB{
168
+ background: #f0f3f4
169
+ }
170
+ #_3Co11 h1,h2,h3,h4 {margin-top:15px}
171
+ #_3Co11 h1 {font-size:27px}
172
+ #_3Co11 h2 {font-size:22px}