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;
|
|
|
|
}
|
|
|
|
|
2015-12-27 23:51:58 +09:00
|
|
|
.annotationLayer .linkAnnotation > a {
|
|
|
|
position: absolute;
|
|
|
|
font-size: 1em;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.annotationLayer .linkAnnotation > a /* -ms-a */ {
|
|
|
|
background: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7") 0 0 repeat;
|
|
|
|
}
|
|
|
|
|
|
|
|
.annotationLayer .linkAnnotation > a:hover {
|
2015-06-12 06:23:43 +09:00
|
|
|
opacity: 0.2;
|
|
|
|
background: #ff0;
|
|
|
|
box-shadow: 0px 2px 10px #ff0;
|
|
|
|
}
|
|
|
|
|
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%;
|
|
|
|
padding: 0 3px;
|
|
|
|
vertical-align: top;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
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 {
|
2016-09-07 05:26:57 +09:00
|
|
|
border: 1px solid #000;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
-webkit-appearance: none;
|
|
|
|
-moz-appearance: none;
|
|
|
|
-ms-appearance: none;
|
|
|
|
appearance: none;
|
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;
|
|
|
|
background-color: #FFFF99;
|
|
|
|
box-shadow: 0px 2px 5px #333;
|
|
|
|
border-radius: 2px;
|
|
|
|
padding: 0.6em;
|
2015-12-23 05:31:56 +09:00
|
|
|
margin-left: 5px;
|
2015-06-12 06:23:43 +09:00
|
|
|
cursor: pointer;
|
2015-12-23 05:31:56 +09:00
|
|
|
word-wrap: break-word;
|
2015-06-12 06:23:43 +09:00
|
|
|
}
|
|
|
|
|
2015-12-23 05:31:56 +09:00
|
|
|
.annotationLayer .popup h1 {
|
2015-06-12 06:23:43 +09:00
|
|
|
font-size: 1em;
|
|
|
|
border-bottom: 1px solid #000000;
|
|
|
|
padding-bottom: 0.2em;
|
|
|
|
}
|
|
|
|
|
2015-12-23 05:31:56 +09:00
|
|
|
.annotationLayer .popup p {
|
2015-06-12 06:23:43 +09:00
|
|
|
padding-top: 0.2em;
|
|
|
|
}
|
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,
|
2017-04-03 03:50:17 +09:00
|
|
|
.annotationLayer .lineAnnotation svg line,
|
2017-07-24 07:11:27 +09:00
|
|
|
.annotationLayer .squareAnnotation svg rect,
|
2016-02-15 04:44:00 +09:00
|
|
|
.annotationLayer .fileAttachmentAnnotation {
|
2015-12-29 23:09:28 +09:00
|
|
|
cursor: pointer;
|
|
|
|
}
|