2017-09-11 01:10:43 +09:00
|
|
|
/* Copyright 2017 Mozilla Foundation
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Overrides to make the annotation layer visible for reference testing. */
|
|
|
|
|
|
|
|
.annotationLayer {
|
|
|
|
position: absolute;
|
2022-06-13 18:01:55 +09:00
|
|
|
}
|
|
|
|
|
2023-03-05 21:57:27 +09:00
|
|
|
.annotationLayer .wasCanvas {
|
2022-06-13 18:01:55 +09:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
position: absolute;
|
2017-09-11 01:10:43 +09:00
|
|
|
}
|
|
|
|
|
2023-04-18 19:42:13 +09:00
|
|
|
.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input {
|
2018-04-08 20:54:16 +09:00
|
|
|
-webkit-appearance: none;
|
|
|
|
}
|
|
|
|
|
2023-04-18 19:42:13 +09:00
|
|
|
.annotationLayer :is(.linkAnnotation, .buttonWidgetAnnotation.pushButton) > a,
|
2023-06-15 18:59:59 +09:00
|
|
|
.annotationLayer .popupTriggerArea::after,
|
|
|
|
.annotationLayer .fileAttachmentAnnotation .popupTriggerArea {
|
2017-09-11 01:10:43 +09:00
|
|
|
opacity: 0.2;
|
2019-12-26 00:16:13 +09:00
|
|
|
background: rgba(255, 255, 0, 1);
|
2021-01-10 22:02:38 +09:00
|
|
|
box-shadow: 0 2px 10px rgba(255, 255, 0, 1);
|
2017-09-11 01:10:43 +09:00
|
|
|
}
|
|
|
|
|
2023-06-15 18:59:59 +09:00
|
|
|
.annotationLayer .popupTriggerArea::after {
|
2017-09-11 01:10:43 +09:00
|
|
|
display: block;
|
2023-06-15 18:59:59 +09:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
content: "";
|
2017-09-11 01:10:43 +09:00
|
|
|
}
|
2019-04-22 04:21:01 +09:00
|
|
|
|
2023-04-18 19:42:13 +09:00
|
|
|
.annotationLayer .popup :is(h1, p) {
|
2019-04-22 04:21:01 +09:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2022-08-03 19:03:49 +09:00
|
|
|
|
|
|
|
.annotationLayer .annotationTextContent {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
opacity: 0.4;
|
|
|
|
background-color: transparent;
|
|
|
|
color: red;
|
|
|
|
font-size: 10px;
|
|
|
|
}
|