@open-file-viewer/core 0.1.21 → 0.1.23
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 +14 -2
- package/dist/index.cjs +350 -108
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +31 -0
- package/dist/index.d.ts +31 -0
- package/dist/index.js +350 -108
- package/dist/index.js.map +1 -1
- package/dist/style.css +60 -2
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -459,6 +459,49 @@
|
|
|
459
459
|
overflow-wrap: anywhere;
|
|
460
460
|
}
|
|
461
461
|
|
|
462
|
+
.ofv-pdf-page-navigator {
|
|
463
|
+
display: flex;
|
|
464
|
+
z-index: 3;
|
|
465
|
+
flex: 0 0 auto;
|
|
466
|
+
align-items: center;
|
|
467
|
+
justify-content: center;
|
|
468
|
+
gap: 6px;
|
|
469
|
+
min-height: 38px;
|
|
470
|
+
padding: 6px 10px;
|
|
471
|
+
border-bottom: 1px solid var(--ofv-border);
|
|
472
|
+
background: var(--ofv-surface);
|
|
473
|
+
color: var(--ofv-text);
|
|
474
|
+
font-size: 13px;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
.ofv-pdf-page-navigator button,
|
|
478
|
+
.ofv-pdf-page-navigator input {
|
|
479
|
+
box-sizing: border-box;
|
|
480
|
+
height: 28px;
|
|
481
|
+
border: 1px solid var(--ofv-border);
|
|
482
|
+
border-radius: 5px;
|
|
483
|
+
background: var(--ofv-surface);
|
|
484
|
+
color: var(--ofv-text);
|
|
485
|
+
font: inherit;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
.ofv-pdf-page-navigator button {
|
|
489
|
+
min-width: 30px;
|
|
490
|
+
padding: 0 8px;
|
|
491
|
+
cursor: pointer;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
.ofv-pdf-page-navigator button:disabled {
|
|
495
|
+
cursor: default;
|
|
496
|
+
opacity: 0.45;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.ofv-pdf-page-navigator input {
|
|
500
|
+
width: 58px;
|
|
501
|
+
padding: 0 6px;
|
|
502
|
+
text-align: center;
|
|
503
|
+
}
|
|
504
|
+
|
|
462
505
|
.ofv-pdf {
|
|
463
506
|
flex: 1 1 auto;
|
|
464
507
|
width: 100%;
|
|
@@ -2059,6 +2102,21 @@
|
|
|
2059
2102
|
height: auto;
|
|
2060
2103
|
min-height: 180px;
|
|
2061
2104
|
padding: 8px 10px;
|
|
2105
|
+
fill: none;
|
|
2106
|
+
shape-rendering: geometricPrecision;
|
|
2107
|
+
stroke: none;
|
|
2108
|
+
stroke-linecap: initial;
|
|
2109
|
+
stroke-linejoin: initial;
|
|
2110
|
+
stroke-width: 0;
|
|
2111
|
+
text-rendering: geometricPrecision;
|
|
2112
|
+
}
|
|
2113
|
+
|
|
2114
|
+
.ofv-chart-svg text {
|
|
2115
|
+
font-synthesis: none;
|
|
2116
|
+
stroke: none;
|
|
2117
|
+
stroke-width: 0;
|
|
2118
|
+
-webkit-font-smoothing: antialiased;
|
|
2119
|
+
text-rendering: geometricPrecision;
|
|
2062
2120
|
}
|
|
2063
2121
|
|
|
2064
2122
|
.ofv-chart-axis {
|
|
@@ -2073,12 +2131,12 @@
|
|
|
2073
2131
|
|
|
2074
2132
|
.ofv-chart-title {
|
|
2075
2133
|
fill: #595959;
|
|
2076
|
-
font: 20px/1 Calibri, Arial, sans-serif;
|
|
2134
|
+
font: 400 20px/1.2 Calibri, Arial, "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
|
|
2077
2135
|
}
|
|
2078
2136
|
|
|
2079
2137
|
.ofv-chart-label {
|
|
2080
2138
|
fill: #595959;
|
|
2081
|
-
font: 12px/1 Calibri, Arial, sans-serif;
|
|
2139
|
+
font: 400 12px/1.2 Calibri, Arial, "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
|
|
2082
2140
|
}
|
|
2083
2141
|
|
|
2084
2142
|
.ofv-chart-data {
|