2015-06-12 06:23:43 +09:00
|
|
|
/* Copyright 2014 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.
|
|
|
|
*/
|
|
|
|
|
2015-12-03 08:20:18 +09:00
|
|
|
.annotationLayer section {
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
2017-11-21 07:00:19 +09:00
|
|
|
.annotationLayer .linkAnnotation > a,
|
|
|
|
.annotationLayer .buttonWidgetAnnotation.pushButton > a {
|
2015-12-27 23:51:58 +09:00
|
|
|
position: absolute;
|
|
|
|
font-size: 1em;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2017-11-21 07:00:19 +09:00
|
|
|
.annotationLayer .linkAnnotation > a:hover,
|
|
|
|
.annotationLayer .buttonWidgetAnnotation.pushButton > a:hover {
|
2015-06-12 06:23:43 +09:00
|
|
|
opacity: 0.2;
|
2019-12-26 00:16:13 +09:00
|
|
|
background: rgba(255, 255, 0, 1);
|
|
|
|
box-shadow: 0px 2px 10px rgba(255, 255, 0, 1);
|
2015-06-12 06:23:43 +09:00
|
|
|
}
|
|
|
|
|
2015-12-23 05:31:56 +09:00
|
|
|
.annotationLayer .textAnnotation img {
|
2015-06-12 06:23:43 +09:00
|
|
|
position: absolute;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2016-09-14 23:32:51 +09:00
|
|
|
.annotationLayer .textWidgetAnnotation input,
|
2016-09-25 08:45:49 +09:00
|
|
|
.annotationLayer .textWidgetAnnotation textarea,
|
2016-12-16 07:49:46 +09:00
|
|
|
.annotationLayer .choiceWidgetAnnotation select,
|
|
|
|
.annotationLayer .buttonWidgetAnnotation.checkBox input,
|
|
|
|
.annotationLayer .buttonWidgetAnnotation.radioButton input {
|
2016-09-07 05:26:57 +09:00
|
|
|
background-color: rgba(0, 54, 255, 0.13);
|
|
|
|
border: 1px solid transparent;
|
|
|
|
box-sizing: border-box;
|
|
|
|
font-size: 9px;
|
|
|
|
height: 100%;
|
2017-09-11 01:10:43 +09:00
|
|
|
margin: 0;
|
2016-09-07 05:26:57 +09:00
|
|
|
padding: 0 3px;
|
|
|
|
vertical-align: top;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2017-09-11 01:10:43 +09:00
|
|
|
.annotationLayer .choiceWidgetAnnotation select option {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2017-09-07 07:11:19 +09:00
|
|
|
.annotationLayer .buttonWidgetAnnotation.radioButton input {
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
|
2016-09-14 23:32:51 +09:00
|
|
|
.annotationLayer .textWidgetAnnotation textarea {
|
|
|
|
font: message-box;
|
|
|
|
font-size: 9px;
|
|
|
|
resize: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.annotationLayer .textWidgetAnnotation input[disabled],
|
2016-09-25 08:45:49 +09:00
|
|
|
.annotationLayer .textWidgetAnnotation textarea[disabled],
|
2016-12-16 06:15:38 +09:00
|
|
|
.annotationLayer .choiceWidgetAnnotation select[disabled],
|
2016-12-16 07:49:46 +09:00
|
|
|
.annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],
|
|
|
|
.annotationLayer .buttonWidgetAnnotation.radioButton input[disabled] {
|
2016-09-14 23:32:51 +09:00
|
|
|
background: none;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
|
|
|
|
.annotationLayer .textWidgetAnnotation input:hover,
|
2016-09-25 08:45:49 +09:00
|
|
|
.annotationLayer .textWidgetAnnotation textarea:hover,
|
2016-12-16 07:49:46 +09:00
|
|
|
.annotationLayer .choiceWidgetAnnotation select:hover,
|
|
|
|
.annotationLayer .buttonWidgetAnnotation.checkBox input:hover,
|
|
|
|
.annotationLayer .buttonWidgetAnnotation.radioButton input:hover {
|
2019-12-26 00:16:13 +09:00
|
|
|
border: 1px solid rgba(0, 0, 0, 1);
|
2016-09-07 05:26:57 +09:00
|
|
|
}
|
|
|
|
|
2016-09-14 23:32:51 +09:00
|
|
|
.annotationLayer .textWidgetAnnotation input:focus,
|
2016-09-25 08:45:49 +09:00
|
|
|
.annotationLayer .textWidgetAnnotation textarea:focus,
|
|
|
|
.annotationLayer .choiceWidgetAnnotation select:focus {
|
2016-09-07 05:26:57 +09:00
|
|
|
background: none;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
}
|
|
|
|
|
2017-09-07 07:11:19 +09:00
|
|
|
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,
|
|
|
|
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,
|
|
|
|
.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before {
|
2019-12-26 00:16:13 +09:00
|
|
|
background-color: rgba(0, 0, 0, 1);
|
2017-09-07 07:11:19 +09:00
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
|
|
|
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,
|
|
|
|
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after {
|
|
|
|
height: 80%;
|
|
|
|
left: 45%;
|
|
|
|
width: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before {
|
|
|
|
transform: rotate(45deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after {
|
|
|
|
transform: rotate(-45deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before {
|
|
|
|
border-radius: 50%;
|
|
|
|
height: 50%;
|
|
|
|
left: 30%;
|
|
|
|
top: 20%;
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
|
2016-09-20 07:04:11 +09:00
|
|
|
.annotationLayer .textWidgetAnnotation input.comb {
|
|
|
|
font-family: monospace;
|
|
|
|
padding-left: 2px;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.annotationLayer .textWidgetAnnotation input.comb:focus {
|
|
|
|
/*
|
|
|
|
* Letter spacing is placed on the right side of each character. Hence, the
|
|
|
|
* letter spacing of the last character may be placed outside the visible
|
|
|
|
* area, causing horizontal scrolling. We avoid this by extending the width
|
|
|
|
* when the element has focus and revert this when it loses focus.
|
|
|
|
*/
|
|
|
|
width: 115%;
|
|
|
|
}
|
|
|
|
|
2016-12-16 06:15:38 +09:00
|
|
|
.annotationLayer .buttonWidgetAnnotation.checkBox input,
|
|
|
|
.annotationLayer .buttonWidgetAnnotation.radioButton input {
|
2016-12-16 07:49:46 +09:00
|
|
|
appearance: none;
|
2017-09-07 07:11:19 +09:00
|
|
|
padding: 0;
|
2016-11-04 21:01:42 +09:00
|
|
|
}
|
|
|
|
|
2015-12-23 05:31:56 +09:00
|
|
|
.annotationLayer .popupWrapper {
|
2015-06-12 06:23:43 +09:00
|
|
|
position: absolute;
|
|
|
|
width: 20em;
|
|
|
|
}
|
|
|
|
|
2015-12-23 05:31:56 +09:00
|
|
|
.annotationLayer .popup {
|
|
|
|
position: absolute;
|
2015-06-12 06:23:43 +09:00
|
|
|
z-index: 200;
|
|
|
|
max-width: 20em;
|
2019-12-26 00:19:14 +09:00
|
|
|
background-color: rgba(255, 255, 153, 1);
|
2019-12-26 00:16:13 +09:00
|
|
|
box-shadow: 0px 2px 5px rgba(136, 136, 136, 1);
|
2015-06-12 06:23:43 +09:00
|
|
|
border-radius: 2px;
|
2019-04-22 04:21:01 +09:00
|
|
|
padding: 6px;
|
2015-12-23 05:31:56 +09:00
|
|
|
margin-left: 5px;
|
2015-06-12 06:23:43 +09:00
|
|
|
cursor: pointer;
|
2017-09-11 01:10:43 +09:00
|
|
|
font: message-box;
|
2019-04-22 04:21:01 +09:00
|
|
|
font-size: 9px;
|
2015-12-23 05:31:56 +09:00
|
|
|
word-wrap: break-word;
|
2015-06-12 06:23:43 +09:00
|
|
|
}
|
|
|
|
|
2019-04-22 04:21:01 +09:00
|
|
|
.annotationLayer .popup > * {
|
|
|
|
font-size: 9px;
|
|
|
|
}
|
|
|
|
|
2015-12-23 05:31:56 +09:00
|
|
|
.annotationLayer .popup h1 {
|
2019-04-22 04:21:01 +09:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.annotationLayer .popup span {
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 5px;
|
2015-06-12 06:23:43 +09:00
|
|
|
}
|
|
|
|
|
2015-12-23 05:31:56 +09:00
|
|
|
.annotationLayer .popup p {
|
2019-12-26 00:16:13 +09:00
|
|
|
border-top: 1px solid rgba(51, 51, 51, 1);
|
2019-04-22 04:21:01 +09:00
|
|
|
margin-top: 2px;
|
|
|
|
padding-top: 2px;
|
2015-06-12 06:23:43 +09:00
|
|
|
}
|
2015-12-28 08:33:41 +09:00
|
|
|
|
2016-01-01 23:31:46 +09:00
|
|
|
.annotationLayer .highlightAnnotation,
|
2015-12-30 23:28:26 +09:00
|
|
|
.annotationLayer .underlineAnnotation,
|
|
|
|
.annotationLayer .squigglyAnnotation,
|
2016-02-15 04:44:00 +09:00
|
|
|
.annotationLayer .strikeoutAnnotation,
|
2019-04-14 01:45:22 +09:00
|
|
|
.annotationLayer .freeTextAnnotation,
|
2017-04-03 03:50:17 +09:00
|
|
|
.annotationLayer .lineAnnotation svg line,
|
2017-07-24 07:11:27 +09:00
|
|
|
.annotationLayer .squareAnnotation svg rect,
|
2017-07-24 07:30:58 +09:00
|
|
|
.annotationLayer .circleAnnotation svg ellipse,
|
2017-09-18 03:18:22 +09:00
|
|
|
.annotationLayer .polylineAnnotation svg polyline,
|
2017-09-23 23:50:49 +09:00
|
|
|
.annotationLayer .polygonAnnotation svg polygon,
|
2019-04-10 06:35:32 +09:00
|
|
|
.annotationLayer .caretAnnotation,
|
2018-09-30 23:29:16 +09:00
|
|
|
.annotationLayer .inkAnnotation svg polyline,
|
2017-09-16 23:37:50 +09:00
|
|
|
.annotationLayer .stampAnnotation,
|
2016-02-15 04:44:00 +09:00
|
|
|
.annotationLayer .fileAttachmentAnnotation {
|
2015-12-29 23:09:28 +09:00
|
|
|
cursor: pointer;
|
|
|
|
}
|