@zerohive/hive-viewer 2.0.3 → 2.0.4
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/index.cjs +552 -119
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.mjs +553 -120
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +75 -9
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -1027,23 +1027,64 @@
|
|
|
1027
1027
|
inset: 0;
|
|
1028
1028
|
pointer-events: auto;
|
|
1029
1029
|
cursor: crosshair;
|
|
1030
|
-
background:
|
|
1031
|
-
|
|
1032
|
-
outline
|
|
1030
|
+
background:
|
|
1031
|
+
radial-gradient(circle at center, rgba(79, 70, 229, 0.08), rgba(79, 70, 229, 0.03));
|
|
1032
|
+
outline: 2px dashed rgba(79, 70, 229, 0.36);
|
|
1033
|
+
outline-offset: -10px;
|
|
1033
1034
|
}
|
|
1034
1035
|
|
|
1035
|
-
.hv-signature-overlay-
|
|
1036
|
+
.hv-signature-overlay-banner {
|
|
1036
1037
|
position: absolute;
|
|
1037
1038
|
top: 16px;
|
|
1039
|
+
left: 16px;
|
|
1038
1040
|
right: 16px;
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
+
display: flex;
|
|
1042
|
+
align-items: flex-start;
|
|
1043
|
+
justify-content: space-between;
|
|
1044
|
+
gap: 12px;
|
|
1045
|
+
padding: 12px 14px;
|
|
1046
|
+
border-radius: 16px;
|
|
1047
|
+
background: rgba(15, 23, 42, 0.84);
|
|
1048
|
+
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
1049
|
+
color: #fff;
|
|
1050
|
+
box-shadow: var(--hv-shadow);
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
.hv-signature-overlay-banner-copy {
|
|
1054
|
+
display: flex;
|
|
1055
|
+
flex-direction: column;
|
|
1056
|
+
gap: 4px;
|
|
1057
|
+
min-width: 0;
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
.hv-signature-overlay-title {
|
|
1061
|
+
font-size: 12px;
|
|
1062
|
+
font-weight: 700;
|
|
1063
|
+
letter-spacing: 0.04em;
|
|
1064
|
+
text-transform: uppercase;
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
.hv-signature-overlay-hint {
|
|
1068
|
+
max-width: 420px;
|
|
1069
|
+
font-size: 12px;
|
|
1070
|
+
line-height: 1.45;
|
|
1071
|
+
color: rgba(255, 255, 255, 0.92);
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
.hv-signature-overlay-cancel {
|
|
1075
|
+
flex: 0 0 auto;
|
|
1076
|
+
border: 1px solid rgba(255, 255, 255, 0.18);
|
|
1041
1077
|
border-radius: 999px;
|
|
1042
|
-
background: rgba(
|
|
1078
|
+
background: rgba(255, 255, 255, 0.1);
|
|
1043
1079
|
color: #fff;
|
|
1044
1080
|
font-size: 12px;
|
|
1045
|
-
font-weight:
|
|
1046
|
-
|
|
1081
|
+
font-weight: 700;
|
|
1082
|
+
padding: 8px 12px;
|
|
1083
|
+
cursor: pointer;
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
.hv-signature-overlay-cancel:hover {
|
|
1087
|
+
background: rgba(255, 255, 255, 0.16);
|
|
1047
1088
|
}
|
|
1048
1089
|
|
|
1049
1090
|
.hv-signature-stamp {
|
|
@@ -1063,6 +1104,11 @@
|
|
|
1063
1104
|
cursor: pointer;
|
|
1064
1105
|
}
|
|
1065
1106
|
|
|
1107
|
+
.hv-signature-stamp:hover {
|
|
1108
|
+
background: rgba(255, 255, 255, 0.72);
|
|
1109
|
+
border-color: rgba(148, 163, 184, 0.35);
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1066
1112
|
.hv-signature-stamp.active {
|
|
1067
1113
|
background: rgba(255, 255, 255, 0.92);
|
|
1068
1114
|
border-color: rgba(79, 70, 229, 0.7);
|
|
@@ -1070,12 +1116,26 @@
|
|
|
1070
1116
|
cursor: move;
|
|
1071
1117
|
}
|
|
1072
1118
|
|
|
1119
|
+
.hv-signature-ghost {
|
|
1120
|
+
pointer-events: none;
|
|
1121
|
+
background: rgba(255, 255, 255, 0.8);
|
|
1122
|
+
border-color: rgba(79, 70, 229, 0.5);
|
|
1123
|
+
box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.16), 0 18px 32px rgba(15, 23, 42, 0.12);
|
|
1124
|
+
opacity: 0.94;
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
.hv-signature-ghost .hv-signature-meta {
|
|
1128
|
+
color: #475569;
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1073
1131
|
.hv-signature-image {
|
|
1074
1132
|
flex: 1 1 auto;
|
|
1075
1133
|
min-height: 0;
|
|
1076
1134
|
width: 100%;
|
|
1077
1135
|
height: 100%;
|
|
1078
1136
|
display: block;
|
|
1137
|
+
object-fit: contain;
|
|
1138
|
+
object-position: center center;
|
|
1079
1139
|
pointer-events: none;
|
|
1080
1140
|
}
|
|
1081
1141
|
|
|
@@ -1354,6 +1414,12 @@
|
|
|
1354
1414
|
color: #b45309;
|
|
1355
1415
|
}
|
|
1356
1416
|
|
|
1417
|
+
.hv-annotation-ghost {
|
|
1418
|
+
pointer-events: none;
|
|
1419
|
+
opacity: 0.9;
|
|
1420
|
+
border-style: dashed;
|
|
1421
|
+
}
|
|
1422
|
+
|
|
1357
1423
|
.hv-annotation-resize {
|
|
1358
1424
|
position: absolute;
|
|
1359
1425
|
right: -5px;
|