@open-file-viewer/core 0.1.11 → 0.1.12

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/dist/style.css CHANGED
@@ -793,7 +793,7 @@
793
793
  .ofv-docx-textbox-page-flow-layout {
794
794
  display: grid;
795
795
  grid-template-columns: var(--ofv-docx-textbox-sidebar-width, 180pt) minmax(0, 1fr);
796
- min-height: 842pt;
796
+ min-height: 0;
797
797
  overflow: hidden;
798
798
  }
799
799
 
@@ -819,8 +819,8 @@
819
819
  .ofv-docx-textbox-page-flow-sidebar {
820
820
  display: flex;
821
821
  flex-direction: column;
822
- justify-content: space-between;
823
- gap: 16pt;
822
+ justify-content: flex-start;
823
+ gap: 28pt;
824
824
  padding: 36pt 22pt 32pt;
825
825
  color: #fff;
826
826
  }
@@ -828,8 +828,8 @@
828
828
  .ofv-docx-textbox-page-flow-main {
829
829
  display: flex;
830
830
  flex-direction: column;
831
- justify-content: space-between;
832
- gap: 18pt;
831
+ justify-content: flex-start;
832
+ gap: 24pt;
833
833
  padding: 36pt 36pt 38pt 26pt;
834
834
  background: #fff;
835
835
  color: #111827;
@@ -846,54 +846,87 @@
846
846
 
847
847
  .ofv-docx-textbox-page-flow-sidebar .ofv-docx-textbox-block h3 {
848
848
  color: #fff;
849
- font-size: 16.5px;
850
- line-height: 1.3;
849
+ font-size: 18px;
850
+ line-height: 1.35;
851
851
  }
852
852
 
853
853
  .ofv-docx-textbox-page-flow-sidebar .ofv-docx-textbox-block p {
854
854
  color: #fff;
855
- font-size: 12.5px;
856
- line-height: 1.58;
855
+ font-size: 13.5px;
856
+ line-height: 1.72;
857
857
  }
858
858
 
859
859
  .ofv-docx-textbox-page-flow-sidebar .ofv-docx-textbox-block + .ofv-docx-textbox-block {
860
- padding-top: 18pt;
860
+ padding-top: 22pt;
861
861
  border-top: 1px solid rgb(255 255 255 / 65%);
862
862
  }
863
863
 
864
+ .ofv-docx-textbox-page-flow-sidebar .ofv-docx-textbox-block:first-child h3 {
865
+ font-size: 23px;
866
+ line-height: 1.25;
867
+ }
868
+
869
+ .ofv-docx-textbox-page-flow-sidebar .ofv-docx-textbox-block:first-child p {
870
+ font-size: 14px;
871
+ font-weight: 700;
872
+ line-height: 1.55;
873
+ }
874
+
864
875
  .ofv-docx-textbox-page-flow-main .ofv-docx-textbox-block h3 {
865
876
  display: inline-flex;
866
877
  align-items: center;
867
- gap: 8px;
878
+ gap: 9px;
868
879
  color: #111827;
869
- font-size: 18px;
870
- line-height: 1.3;
880
+ font-size: 20px;
881
+ line-height: 1.35;
871
882
  }
872
883
 
873
884
  .ofv-docx-textbox-page-flow-main .ofv-docx-textbox-block h3::before {
874
885
  display: inline-block;
875
- width: 8px;
876
- height: 18px;
877
- border-radius: 1px;
886
+ flex: 0 0 auto;
887
+ width: 15px;
888
+ height: 22px;
878
889
  background: #303241;
890
+ clip-path: polygon(0 0, 45% 0, 100% 50%, 45% 100%, 0 100%, 55% 50%);
879
891
  content: "";
880
892
  }
881
893
 
882
894
  .ofv-docx-textbox-page-flow-main .ofv-docx-textbox-block p {
883
895
  color: #111827;
884
- font-size: 12.5px;
885
- line-height: 1.72;
896
+ font-size: 14px;
897
+ line-height: 1.78;
886
898
  }
887
899
 
888
900
  .ofv-docx-textbox-page-flow-main .ofv-docx-textbox-block p + p {
889
- margin-top: 3px;
901
+ margin-top: 4px;
890
902
  }
891
903
 
892
904
  .ofv-docx-textbox-page-flow-main .ofv-docx-textbox-block + .ofv-docx-textbox-block {
893
- padding-top: 14pt;
905
+ padding-top: 15pt;
894
906
  border-top: 1px solid #c9c9cf;
895
907
  }
896
908
 
909
+ .ofv-docx-textbox-section-skills p {
910
+ position: relative;
911
+ padding-left: 18px;
912
+ }
913
+
914
+ .ofv-docx-textbox-section-skills p::before {
915
+ position: absolute;
916
+ top: 0.72em;
917
+ left: 2px;
918
+ width: 5px;
919
+ height: 5px;
920
+ border-radius: 50%;
921
+ background: currentcolor;
922
+ content: "";
923
+ }
924
+
925
+ .ofv-docx-textbox-section-education p,
926
+ .ofv-docx-textbox-section-work p {
927
+ font-weight: 700;
928
+ }
929
+
897
930
  .ofv-docx-textbox-continuation-flow-layout .ofv-docx-textbox-page-flow-sidebar {
898
931
  justify-content: flex-start;
899
932
  gap: 18pt;
@@ -901,7 +934,7 @@
901
934
  }
902
935
 
903
936
  .ofv-docx-textbox-continuation-flow-layout .ofv-docx-textbox-page-flow-main {
904
- justify-content: space-between;
937
+ justify-content: flex-start;
905
938
  gap: 20pt;
906
939
  padding-top: 52pt;
907
940
  }
@@ -931,7 +964,7 @@
931
964
  }
932
965
 
933
966
  .ofv-docx-textbox-continuation-flow-layout .ofv-docx-textbox-page-flow-main .ofv-docx-textbox-block h3::before {
934
- display: none;
967
+ flex: 0 0 auto;
935
968
  }
936
969
 
937
970
  .ofv-docx-textbox-continuation-flow-layout .ofv-docx-textbox-page-flow-main .ofv-docx-textbox-section-heading {
@@ -952,7 +985,7 @@
952
985
  }
953
986
 
954
987
  .ofv-docx-textbox-continuation-flow-layout .ofv-docx-textbox-page-flow-main .ofv-docx-textbox-block:only-child {
955
- min-height: 70%;
988
+ min-height: 0;
956
989
  }
957
990
 
958
991
  .ofv-docx-textbox-page-block,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-file-viewer/core",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
4
4
  "description": "Framework-agnostic browser file preview core.",
5
5
  "license": "MIT",
6
6
  "type": "module",