@performant-software/semantic-components 1.1.3 → 1.1.4-beta.10

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/build/main.css CHANGED
@@ -512,6 +512,274 @@ div.react-calendar {
512
512
  margin-top: 1em;
513
513
  }
514
514
 
515
+ .rc-slider {
516
+ position: relative;
517
+ width: 100%;
518
+ height: 14px;
519
+ padding: 5px 0;
520
+ border-radius: 6px;
521
+ touch-action: none;
522
+ box-sizing: border-box;
523
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
524
+ }
525
+ .rc-slider * {
526
+ box-sizing: border-box;
527
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
528
+ }
529
+ .rc-slider-rail {
530
+ position: absolute;
531
+ width: 100%;
532
+ height: 4px;
533
+ background-color: #e9e9e9;
534
+ border-radius: 6px;
535
+ }
536
+ .rc-slider-track {
537
+ position: absolute;
538
+ height: 4px;
539
+ background-color: #abe2fb;
540
+ border-radius: 6px;
541
+ }
542
+ .rc-slider-track-draggable {
543
+ z-index: 1;
544
+ box-sizing: content-box;
545
+ background-clip: content-box;
546
+ border-top: 5px solid rgba(0, 0, 0, 0);
547
+ border-bottom: 5px solid rgba(0, 0, 0, 0);
548
+ transform: translateY(-5px);
549
+ }
550
+ .rc-slider-handle {
551
+ position: absolute;
552
+ width: 14px;
553
+ height: 14px;
554
+ margin-top: -5px;
555
+ background-color: #fff;
556
+ border: solid 2px #96dbfa;
557
+ border-radius: 50%;
558
+ cursor: pointer;
559
+ cursor: -webkit-grab;
560
+ cursor: grab;
561
+ opacity: 0.8;
562
+ touch-action: pan-x;
563
+ }
564
+ .rc-slider-handle-dragging.rc-slider-handle-dragging.rc-slider-handle-dragging {
565
+ border-color: #57c5f7;
566
+ box-shadow: 0 0 0 5px #96dbfa;
567
+ }
568
+ .rc-slider-handle:focus {
569
+ outline: none;
570
+ box-shadow: none;
571
+ }
572
+ .rc-slider-handle:focus-visible {
573
+ border-color: #2db7f5;
574
+ box-shadow: 0 0 0 3px #96dbfa;
575
+ }
576
+ .rc-slider-handle-click-focused:focus {
577
+ border-color: #96dbfa;
578
+ box-shadow: unset;
579
+ }
580
+ .rc-slider-handle:hover {
581
+ border-color: #57c5f7;
582
+ }
583
+ .rc-slider-handle:active {
584
+ border-color: #57c5f7;
585
+ box-shadow: 0 0 5px #57c5f7;
586
+ cursor: -webkit-grabbing;
587
+ cursor: grabbing;
588
+ }
589
+ .rc-slider-mark {
590
+ position: absolute;
591
+ top: 18px;
592
+ left: 0;
593
+ width: 100%;
594
+ font-size: 12px;
595
+ }
596
+ .rc-slider-mark-text {
597
+ position: absolute;
598
+ display: inline-block;
599
+ color: #999;
600
+ text-align: center;
601
+ vertical-align: middle;
602
+ cursor: pointer;
603
+ }
604
+ .rc-slider-mark-text-active {
605
+ color: #666;
606
+ }
607
+ .rc-slider-step {
608
+ position: absolute;
609
+ width: 100%;
610
+ height: 4px;
611
+ background: transparent;
612
+ }
613
+ .rc-slider-dot {
614
+ position: absolute;
615
+ bottom: -2px;
616
+ width: 8px;
617
+ height: 8px;
618
+ vertical-align: middle;
619
+ background-color: #fff;
620
+ border: 2px solid #e9e9e9;
621
+ border-radius: 50%;
622
+ cursor: pointer;
623
+ }
624
+ .rc-slider-dot-active {
625
+ border-color: #96dbfa;
626
+ }
627
+ .rc-slider-dot-reverse {
628
+ margin-right: -4px;
629
+ }
630
+ .rc-slider-disabled {
631
+ background-color: #e9e9e9;
632
+ }
633
+ .rc-slider-disabled .rc-slider-track {
634
+ background-color: #ccc;
635
+ }
636
+ .rc-slider-disabled .rc-slider-handle,
637
+ .rc-slider-disabled .rc-slider-dot {
638
+ background-color: #fff;
639
+ border-color: #ccc;
640
+ box-shadow: none;
641
+ cursor: not-allowed;
642
+ }
643
+ .rc-slider-disabled .rc-slider-mark-text,
644
+ .rc-slider-disabled .rc-slider-dot {
645
+ cursor: not-allowed !important;
646
+ }
647
+ .rc-slider-vertical {
648
+ width: 14px;
649
+ height: 100%;
650
+ padding: 0 5px;
651
+ }
652
+ .rc-slider-vertical .rc-slider-rail {
653
+ width: 4px;
654
+ height: 100%;
655
+ }
656
+ .rc-slider-vertical .rc-slider-track {
657
+ bottom: 0;
658
+ left: 5px;
659
+ width: 4px;
660
+ }
661
+ .rc-slider-vertical .rc-slider-track-draggable {
662
+ border-top: 0;
663
+ border-bottom: 0;
664
+ border-right: 5px solid rgba(0, 0, 0, 0);
665
+ border-left: 5px solid rgba(0, 0, 0, 0);
666
+ transform: translateX(-5px);
667
+ }
668
+ .rc-slider-vertical .rc-slider-handle {
669
+ margin-top: 0;
670
+ margin-left: -5px;
671
+ touch-action: pan-y;
672
+ }
673
+ .rc-slider-vertical .rc-slider-mark {
674
+ top: 0;
675
+ left: 18px;
676
+ height: 100%;
677
+ }
678
+ .rc-slider-vertical .rc-slider-step {
679
+ width: 4px;
680
+ height: 100%;
681
+ }
682
+ .rc-slider-vertical .rc-slider-dot {
683
+ margin-left: -2px;
684
+ }
685
+ .rc-slider-tooltip-zoom-down-enter,
686
+ .rc-slider-tooltip-zoom-down-appear {
687
+ display: block !important;
688
+ animation-duration: 0.3s;
689
+ animation-fill-mode: both;
690
+ animation-play-state: paused;
691
+ }
692
+ .rc-slider-tooltip-zoom-down-leave {
693
+ display: block !important;
694
+ animation-duration: 0.3s;
695
+ animation-fill-mode: both;
696
+ animation-play-state: paused;
697
+ }
698
+ .rc-slider-tooltip-zoom-down-enter.rc-slider-tooltip-zoom-down-enter-active,
699
+ .rc-slider-tooltip-zoom-down-appear.rc-slider-tooltip-zoom-down-appear-active {
700
+ animation-name: rcSliderTooltipZoomDownIn;
701
+ animation-play-state: running;
702
+ }
703
+ .rc-slider-tooltip-zoom-down-leave.rc-slider-tooltip-zoom-down-leave-active {
704
+ animation-name: rcSliderTooltipZoomDownOut;
705
+ animation-play-state: running;
706
+ }
707
+ .rc-slider-tooltip-zoom-down-enter,
708
+ .rc-slider-tooltip-zoom-down-appear {
709
+ transform: scale(0, 0);
710
+ animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
711
+ }
712
+ .rc-slider-tooltip-zoom-down-leave {
713
+ animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
714
+ }
715
+ @keyframes rcSliderTooltipZoomDownIn {
716
+ 0% {
717
+ transform: scale(0, 0);
718
+ transform-origin: 50% 100%;
719
+ opacity: 0;
720
+ }
721
+ 100% {
722
+ transform: scale(1, 1);
723
+ transform-origin: 50% 100%;
724
+ }
725
+ }
726
+ @keyframes rcSliderTooltipZoomDownOut {
727
+ 0% {
728
+ transform: scale(1, 1);
729
+ transform-origin: 50% 100%;
730
+ }
731
+ 100% {
732
+ transform: scale(0, 0);
733
+ transform-origin: 50% 100%;
734
+ opacity: 0;
735
+ }
736
+ }
737
+ .rc-slider-tooltip {
738
+ position: absolute;
739
+ top: -9999px;
740
+ left: -9999px;
741
+ visibility: visible;
742
+ box-sizing: border-box;
743
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
744
+ }
745
+ .rc-slider-tooltip * {
746
+ box-sizing: border-box;
747
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
748
+ }
749
+ .rc-slider-tooltip-hidden {
750
+ display: none;
751
+ }
752
+ .rc-slider-tooltip-placement-top {
753
+ padding: 4px 0 8px 0;
754
+ }
755
+ .rc-slider-tooltip-inner {
756
+ min-width: 24px;
757
+ height: 24px;
758
+ padding: 6px 2px;
759
+ color: #fff;
760
+ font-size: 12px;
761
+ line-height: 1;
762
+ text-align: center;
763
+ text-decoration: none;
764
+ background-color: #6c6c6c;
765
+ border-radius: 6px;
766
+ box-shadow: 0 0 4px #d9d9d9;
767
+ }
768
+ .rc-slider-tooltip-arrow {
769
+ position: absolute;
770
+ width: 0;
771
+ height: 0;
772
+ border-color: transparent;
773
+ border-style: solid;
774
+ }
775
+ .rc-slider-tooltip-placement-top .rc-slider-tooltip-arrow {
776
+ bottom: 4px;
777
+ left: 50%;
778
+ margin-left: -4px;
779
+ border-width: 4px 4px 0;
780
+ border-top-color: #6c6c6c;
781
+ }
782
+
515
783
  .facet-slider > .ui.grid {
516
784
  margin-top: 0em;
517
785
  }
@@ -708,6 +976,447 @@ div.react-calendar {
708
976
  text-align: center;
709
977
  }
710
978
 
979
+ /* Copyright 2014 Mozilla Foundation
980
+ *
981
+ * Licensed under the Apache License, Version 2.0 (the "License");
982
+ * you may not use this file except in compliance with the License.
983
+ * You may obtain a copy of the License at
984
+ *
985
+ * http://www.apache.org/licenses/LICENSE-2.0
986
+ *
987
+ * Unless required by applicable law or agreed to in writing, software
988
+ * distributed under the License is distributed on an "AS IS" BASIS,
989
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
990
+ * See the License for the specific language governing permissions and
991
+ * limitations under the License.
992
+ */
993
+
994
+ :root {
995
+ --react-pdf-annotation-layer: 1;
996
+ --annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");
997
+ --input-focus-border-color: Highlight;
998
+ --input-focus-outline: 1px solid Canvas;
999
+ --input-unfocused-border-color: transparent;
1000
+ --input-disabled-border-color: transparent;
1001
+ --input-hover-border-color: black;
1002
+ --link-outline: none;
1003
+ }
1004
+
1005
+ @media screen and (forced-colors: active) {
1006
+ :root {
1007
+ --input-focus-border-color: CanvasText;
1008
+ --input-unfocused-border-color: ActiveText;
1009
+ --input-disabled-border-color: GrayText;
1010
+ --input-hover-border-color: Highlight;
1011
+ --link-outline: 1.5px solid LinkText;
1012
+ }
1013
+ .annotationLayer .textWidgetAnnotation :is(input, textarea):required,
1014
+ .annotationLayer .choiceWidgetAnnotation select:required,
1015
+ .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:required {
1016
+ outline: 1.5px solid selectedItem;
1017
+ }
1018
+
1019
+ .annotationLayer .linkAnnotation:hover {
1020
+ backdrop-filter: invert(100%);
1021
+ }
1022
+ }
1023
+
1024
+ .annotationLayer {
1025
+ position: absolute;
1026
+ top: 0;
1027
+ left: 0;
1028
+ pointer-events: none;
1029
+ transform-origin: 0 0;
1030
+ z-index: 3;
1031
+ }
1032
+
1033
+ .annotationLayer[data-main-rotation='90'] .norotate {
1034
+ transform: rotate(270deg) translateX(-100%);
1035
+ }
1036
+ .annotationLayer[data-main-rotation='180'] .norotate {
1037
+ transform: rotate(180deg) translate(-100%, -100%);
1038
+ }
1039
+ .annotationLayer[data-main-rotation='270'] .norotate {
1040
+ transform: rotate(90deg) translateY(-100%);
1041
+ }
1042
+
1043
+ .annotationLayer canvas {
1044
+ position: absolute;
1045
+ width: 100%;
1046
+ height: 100%;
1047
+ }
1048
+
1049
+ .annotationLayer section {
1050
+ position: absolute;
1051
+ text-align: initial;
1052
+ pointer-events: auto;
1053
+ box-sizing: border-box;
1054
+ margin: 0;
1055
+ transform-origin: 0 0;
1056
+ }
1057
+
1058
+ .annotationLayer .linkAnnotation {
1059
+ outline: var(--link-outline);
1060
+ }
1061
+
1062
+ .annotationLayer :is(.linkAnnotation, .buttonWidgetAnnotation.pushButton) > a {
1063
+ position: absolute;
1064
+ font-size: 1em;
1065
+ top: 0;
1066
+ left: 0;
1067
+ width: 100%;
1068
+ height: 100%;
1069
+ }
1070
+
1071
+ .annotationLayer :is(.linkAnnotation, .buttonWidgetAnnotation.pushButton) > a:hover {
1072
+ opacity: 0.2;
1073
+ background: rgba(255, 255, 0, 1);
1074
+ box-shadow: 0 2px 10px rgba(255, 255, 0, 1);
1075
+ }
1076
+
1077
+ .annotationLayer .textAnnotation img {
1078
+ position: absolute;
1079
+ cursor: pointer;
1080
+ width: 100%;
1081
+ height: 100%;
1082
+ top: 0;
1083
+ left: 0;
1084
+ }
1085
+
1086
+ .annotationLayer .textWidgetAnnotation :is(input, textarea),
1087
+ .annotationLayer .choiceWidgetAnnotation select,
1088
+ .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input {
1089
+ background-image: var(--annotation-unfocused-field-background);
1090
+ border: 2px solid var(--input-unfocused-border-color);
1091
+ box-sizing: border-box;
1092
+ font: calc(9px * var(--scale-factor)) sans-serif;
1093
+ height: 100%;
1094
+ margin: 0;
1095
+ vertical-align: top;
1096
+ width: 100%;
1097
+ }
1098
+
1099
+ .annotationLayer .textWidgetAnnotation :is(input, textarea):required,
1100
+ .annotationLayer .choiceWidgetAnnotation select:required,
1101
+ .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:required {
1102
+ outline: 1.5px solid red;
1103
+ }
1104
+
1105
+ .annotationLayer .choiceWidgetAnnotation select option {
1106
+ padding: 0;
1107
+ }
1108
+
1109
+ .annotationLayer .buttonWidgetAnnotation.radioButton input {
1110
+ border-radius: 50%;
1111
+ }
1112
+
1113
+ .annotationLayer .textWidgetAnnotation textarea {
1114
+ resize: none;
1115
+ }
1116
+
1117
+ .annotationLayer .textWidgetAnnotation :is(input, textarea)[disabled],
1118
+ .annotationLayer .choiceWidgetAnnotation select[disabled],
1119
+ .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input[disabled] {
1120
+ background: none;
1121
+ border: 2px solid var(--input-disabled-border-color);
1122
+ cursor: not-allowed;
1123
+ }
1124
+
1125
+ .annotationLayer .textWidgetAnnotation :is(input, textarea):hover,
1126
+ .annotationLayer .choiceWidgetAnnotation select:hover,
1127
+ .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:hover {
1128
+ border: 2px solid var(--input-hover-border-color);
1129
+ }
1130
+ .annotationLayer .textWidgetAnnotation :is(input, textarea):hover,
1131
+ .annotationLayer .choiceWidgetAnnotation select:hover,
1132
+ .annotationLayer .buttonWidgetAnnotation.checkBox input:hover {
1133
+ border-radius: 2px;
1134
+ }
1135
+
1136
+ .annotationLayer .textWidgetAnnotation :is(input, textarea):focus,
1137
+ .annotationLayer .choiceWidgetAnnotation select:focus {
1138
+ background: none;
1139
+ border: 2px solid var(--input-focus-border-color);
1140
+ border-radius: 2px;
1141
+ outline: var(--input-focus-outline);
1142
+ }
1143
+
1144
+ .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) :focus {
1145
+ background-image: none;
1146
+ background-color: transparent;
1147
+ }
1148
+
1149
+ .annotationLayer .buttonWidgetAnnotation.checkBox :focus {
1150
+ border: 2px solid var(--input-focus-border-color);
1151
+ border-radius: 2px;
1152
+ outline: var(--input-focus-outline);
1153
+ }
1154
+
1155
+ .annotationLayer .buttonWidgetAnnotation.radioButton :focus {
1156
+ border: 2px solid var(--input-focus-border-color);
1157
+ outline: var(--input-focus-outline);
1158
+ }
1159
+
1160
+ .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before,
1161
+ .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after,
1162
+ .annotationLayer .buttonWidgetAnnotation.radioButton input:checked::before {
1163
+ background-color: CanvasText;
1164
+ content: '';
1165
+ display: block;
1166
+ position: absolute;
1167
+ }
1168
+
1169
+ .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before,
1170
+ .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after {
1171
+ height: 80%;
1172
+ left: 45%;
1173
+ width: 1px;
1174
+ }
1175
+
1176
+ .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before {
1177
+ transform: rotate(45deg);
1178
+ }
1179
+
1180
+ .annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after {
1181
+ transform: rotate(-45deg);
1182
+ }
1183
+
1184
+ .annotationLayer .buttonWidgetAnnotation.radioButton input:checked::before {
1185
+ border-radius: 50%;
1186
+ height: 50%;
1187
+ left: 30%;
1188
+ top: 20%;
1189
+ width: 50%;
1190
+ }
1191
+
1192
+ .annotationLayer .textWidgetAnnotation input.comb {
1193
+ font-family: monospace;
1194
+ padding-left: 2px;
1195
+ padding-right: 0;
1196
+ }
1197
+
1198
+ .annotationLayer .textWidgetAnnotation input.comb:focus {
1199
+ /*
1200
+ * Letter spacing is placed on the right side of each character. Hence, the
1201
+ * letter spacing of the last character may be placed outside the visible
1202
+ * area, causing horizontal scrolling. We avoid this by extending the width
1203
+ * when the element has focus and revert this when it loses focus.
1204
+ */
1205
+ width: 103%;
1206
+ }
1207
+
1208
+ .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input {
1209
+ appearance: none;
1210
+ }
1211
+
1212
+ .annotationLayer .popupTriggerArea {
1213
+ height: 100%;
1214
+ width: 100%;
1215
+ }
1216
+
1217
+ .annotationLayer .fileAttachmentAnnotation .popupTriggerArea {
1218
+ position: absolute;
1219
+ }
1220
+
1221
+ .annotationLayer .popupWrapper {
1222
+ position: absolute;
1223
+ font-size: calc(9px * var(--scale-factor));
1224
+ width: 100%;
1225
+ min-width: calc(180px * var(--scale-factor));
1226
+ pointer-events: none;
1227
+ }
1228
+
1229
+ .annotationLayer .popup {
1230
+ position: absolute;
1231
+ max-width: calc(180px * var(--scale-factor));
1232
+ background-color: rgba(255, 255, 153, 1);
1233
+ box-shadow: 0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor))
1234
+ rgba(136, 136, 136, 1);
1235
+ border-radius: calc(2px * var(--scale-factor));
1236
+ padding: calc(6px * var(--scale-factor));
1237
+ margin-left: calc(5px * var(--scale-factor));
1238
+ cursor: pointer;
1239
+ font: message-box;
1240
+ white-space: normal;
1241
+ word-wrap: break-word;
1242
+ pointer-events: auto;
1243
+ }
1244
+
1245
+ .annotationLayer .popup > * {
1246
+ font-size: calc(9px * var(--scale-factor));
1247
+ }
1248
+
1249
+ .annotationLayer .popup h1 {
1250
+ display: inline-block;
1251
+ }
1252
+
1253
+ .annotationLayer .popupDate {
1254
+ display: inline-block;
1255
+ margin-left: calc(5px * var(--scale-factor));
1256
+ }
1257
+
1258
+ .annotationLayer .popupContent {
1259
+ border-top: 1px solid rgba(51, 51, 51, 1);
1260
+ margin-top: calc(2px * var(--scale-factor));
1261
+ padding-top: calc(2px * var(--scale-factor));
1262
+ }
1263
+
1264
+ .annotationLayer .richText > * {
1265
+ white-space: pre-wrap;
1266
+ font-size: calc(9px * var(--scale-factor));
1267
+ }
1268
+
1269
+ .annotationLayer .highlightAnnotation,
1270
+ .annotationLayer .underlineAnnotation,
1271
+ .annotationLayer .squigglyAnnotation,
1272
+ .annotationLayer .strikeoutAnnotation,
1273
+ .annotationLayer .freeTextAnnotation,
1274
+ .annotationLayer .lineAnnotation svg line,
1275
+ .annotationLayer .squareAnnotation svg rect,
1276
+ .annotationLayer .circleAnnotation svg ellipse,
1277
+ .annotationLayer .polylineAnnotation svg polyline,
1278
+ .annotationLayer .polygonAnnotation svg polygon,
1279
+ .annotationLayer .caretAnnotation,
1280
+ .annotationLayer .inkAnnotation svg polyline,
1281
+ .annotationLayer .stampAnnotation,
1282
+ .annotationLayer .fileAttachmentAnnotation {
1283
+ cursor: pointer;
1284
+ }
1285
+
1286
+ .annotationLayer section svg {
1287
+ position: absolute;
1288
+ width: 100%;
1289
+ height: 100%;
1290
+ top: 0;
1291
+ left: 0;
1292
+ }
1293
+
1294
+ .annotationLayer .annotationTextContent {
1295
+ position: absolute;
1296
+ width: 100%;
1297
+ height: 100%;
1298
+ opacity: 0;
1299
+ color: transparent;
1300
+ user-select: none;
1301
+ pointer-events: none;
1302
+ }
1303
+
1304
+ .annotationLayer .annotationTextContent span {
1305
+ width: 100%;
1306
+ display: inline-block;
1307
+ }
1308
+
1309
+ /* Copyright 2014 Mozilla Foundation
1310
+ *
1311
+ * Licensed under the Apache License, Version 2.0 (the "License");
1312
+ * you may not use this file except in compliance with the License.
1313
+ * You may obtain a copy of the License at
1314
+ *
1315
+ * http://www.apache.org/licenses/LICENSE-2.0
1316
+ *
1317
+ * Unless required by applicable law or agreed to in writing, software
1318
+ * distributed under the License is distributed on an "AS IS" BASIS,
1319
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1320
+ * See the License for the specific language governing permissions and
1321
+ * limitations under the License.
1322
+ */
1323
+
1324
+ :root {
1325
+ --react-pdf-text-layer: 1;
1326
+ --highlight-bg-color: rgba(180, 0, 170, 1);
1327
+ --highlight-selected-bg-color: rgba(0, 100, 0, 1);
1328
+ }
1329
+
1330
+ @media screen and (forced-colors: active) {
1331
+ :root {
1332
+ --highlight-bg-color: Highlight;
1333
+ --highlight-selected-bg-color: ButtonText;
1334
+ }
1335
+ }
1336
+
1337
+ [data-main-rotation='90'] {
1338
+ transform: rotate(90deg) translateY(-100%);
1339
+ }
1340
+ [data-main-rotation='180'] {
1341
+ transform: rotate(180deg) translate(-100%, -100%);
1342
+ }
1343
+ [data-main-rotation='270'] {
1344
+ transform: rotate(270deg) translateX(-100%);
1345
+ }
1346
+
1347
+ .textLayer {
1348
+ position: absolute;
1349
+ text-align: initial;
1350
+ inset: 0;
1351
+ overflow: hidden;
1352
+ line-height: 1;
1353
+ text-size-adjust: none;
1354
+ forced-color-adjust: none;
1355
+ transform-origin: 0 0;
1356
+ z-index: 2;
1357
+ }
1358
+
1359
+ .textLayer :is(span, br) {
1360
+ color: transparent;
1361
+ position: absolute;
1362
+ white-space: pre;
1363
+ cursor: text;
1364
+ margin: 0;
1365
+ transform-origin: 0 0;
1366
+ }
1367
+
1368
+ /* Only necessary in Google Chrome, see issue 14205, and most unfortunately
1369
+ * the problem doesn't show up in "text" reference tests. */
1370
+ .textLayer span.markedContent {
1371
+ top: 0;
1372
+ height: 0;
1373
+ }
1374
+
1375
+ .textLayer .highlight {
1376
+ margin: -1px;
1377
+ padding: 1px;
1378
+ background-color: var(--highlight-bg-color);
1379
+ border-radius: 4px;
1380
+ }
1381
+
1382
+ .textLayer .highlight.appended {
1383
+ position: initial;
1384
+ }
1385
+
1386
+ .textLayer .highlight.begin {
1387
+ border-radius: 4px 0 0 4px;
1388
+ }
1389
+
1390
+ .textLayer .highlight.end {
1391
+ border-radius: 0 4px 4px 0;
1392
+ }
1393
+
1394
+ .textLayer .highlight.middle {
1395
+ border-radius: 0;
1396
+ }
1397
+
1398
+ .textLayer .highlight.selected {
1399
+ background-color: var(--highlight-selected-bg-color);
1400
+ }
1401
+
1402
+ /* Avoids https://github.com/mozilla/pdf.js/issues/13840 in Chrome */
1403
+ .textLayer br::selection {
1404
+ background: transparent;
1405
+ }
1406
+
1407
+ .textLayer .endOfContent {
1408
+ display: block;
1409
+ position: absolute;
1410
+ inset: 100% 0 0;
1411
+ z-index: -1;
1412
+ cursor: default;
1413
+ user-select: none;
1414
+ }
1415
+
1416
+ .textLayer .endOfContent.active {
1417
+ top: 0;
1418
+ }
1419
+
711
1420
  .lazy-document.ui.segment {
712
1421
  display: inline-block !important;
713
1422
  max-width: 100%;