2021-03-26 00:54:36 +09:00
|
|
|
/* Copyright 2021 Mozilla Foundation
|
2021-03-19 18:11:40 +09:00
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
2021-07-28 18:34:48 +09:00
|
|
|
:root {
|
2021-09-19 03:22:29 +09:00
|
|
|
--xfa-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>");
|
2022-09-15 01:58:26 +09:00
|
|
|
--xfa-focus-outline: auto;
|
2021-07-28 18:34:48 +09:00
|
|
|
}
|
|
|
|
|
2023-01-18 18:49:52 +09:00
|
|
|
@media screen and (forced-colors: active) {
|
2022-09-15 01:58:26 +09:00
|
|
|
:root {
|
|
|
|
--xfa-focus-outline: 2px solid CanvasText;
|
|
|
|
}
|
2022-06-07 21:44:17 +09:00
|
|
|
.xfaLayer *:required {
|
|
|
|
outline: 1.5px solid selectedItem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-09-15 01:58:26 +09:00
|
|
|
.xfaLayer {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
2021-08-19 09:02:29 +09:00
|
|
|
.xfaLayer .highlight {
|
|
|
|
margin: -1px;
|
|
|
|
padding: 1px;
|
2023-10-06 16:50:03 +09:00
|
|
|
background-color: rgb(239 203 237);
|
2021-08-19 09:02:29 +09:00
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.xfaLayer .highlight.appended {
|
|
|
|
position: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
.xfaLayer .highlight.begin {
|
|
|
|
border-radius: 4px 0 0 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.xfaLayer .highlight.end {
|
|
|
|
border-radius: 0 4px 4px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.xfaLayer .highlight.middle {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.xfaLayer .highlight.selected {
|
2023-10-06 16:50:03 +09:00
|
|
|
background-color: rgb(203 223 203);
|
2021-08-19 09:02:29 +09:00
|
|
|
}
|
|
|
|
|
2021-06-21 16:38:50 +09:00
|
|
|
.xfaPage {
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.xfaContentarea {
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
2021-06-20 22:38:58 +09:00
|
|
|
.xfaPrintOnly {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-03-19 18:11:40 +09:00
|
|
|
.xfaLayer {
|
|
|
|
position: absolute;
|
2021-06-22 19:56:46 +09:00
|
|
|
text-align: initial;
|
2021-03-19 18:11:40 +09:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
transform-origin: 0 0;
|
2021-06-23 18:10:20 +09:00
|
|
|
line-height: 1.2;
|
2021-03-19 18:11:40 +09:00
|
|
|
}
|
2021-03-25 21:02:39 +09:00
|
|
|
|
|
|
|
.xfaLayer * {
|
|
|
|
color: inherit;
|
|
|
|
font: inherit;
|
2021-05-19 18:09:21 +09:00
|
|
|
font-style: inherit;
|
|
|
|
font-weight: inherit;
|
2021-03-25 21:02:39 +09:00
|
|
|
font-kerning: inherit;
|
2021-07-10 00:29:21 +09:00
|
|
|
letter-spacing: -0.01px;
|
2021-03-31 22:42:21 +09:00
|
|
|
text-align: inherit;
|
2021-03-25 21:02:39 +09:00
|
|
|
text-decoration: inherit;
|
2021-03-31 22:42:21 +09:00
|
|
|
box-sizing: border-box;
|
2021-07-28 18:34:48 +09:00
|
|
|
background-color: transparent;
|
2021-06-07 22:20:29 +09:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2021-06-03 02:14:41 +09:00
|
|
|
pointer-events: auto;
|
2021-07-29 01:30:22 +09:00
|
|
|
line-height: inherit;
|
2021-06-03 02:14:41 +09:00
|
|
|
}
|
|
|
|
|
2022-06-07 21:44:17 +09:00
|
|
|
.xfaLayer *:required {
|
|
|
|
outline: 1.5px solid red;
|
|
|
|
}
|
|
|
|
|
2023-04-18 06:23:31 +09:00
|
|
|
.xfaLayer div,
|
|
|
|
.xfaLayer svg,
|
2021-07-23 01:47:23 +09:00
|
|
|
.xfaLayer svg * {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2021-05-19 18:09:21 +09:00
|
|
|
.xfaLayer a {
|
|
|
|
color: blue;
|
|
|
|
}
|
|
|
|
|
|
|
|
.xfaRich li {
|
|
|
|
margin-left: 3em;
|
|
|
|
}
|
|
|
|
|
2021-03-25 21:02:39 +09:00
|
|
|
.xfaFont {
|
|
|
|
color: black;
|
|
|
|
font-weight: normal;
|
|
|
|
font-kerning: none;
|
|
|
|
font-size: 10px;
|
|
|
|
font-style: normal;
|
|
|
|
letter-spacing: 0;
|
|
|
|
text-decoration: none;
|
|
|
|
vertical-align: 0;
|
|
|
|
}
|
|
|
|
|
2021-06-03 02:14:41 +09:00
|
|
|
.xfaCaption {
|
|
|
|
overflow: hidden;
|
2021-07-28 01:43:05 +09:00
|
|
|
flex: 0 0 auto;
|
2021-06-03 02:14:41 +09:00
|
|
|
}
|
|
|
|
|
2021-06-10 22:30:19 +09:00
|
|
|
.xfaCaptionForCheckButton {
|
|
|
|
overflow: hidden;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
|
2021-03-31 22:42:21 +09:00
|
|
|
.xfaLabel {
|
2021-06-03 02:14:41 +09:00
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.xfaLeft {
|
2021-03-31 22:42:21 +09:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2021-07-28 01:43:05 +09:00
|
|
|
.xfaRight {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2023-04-18 06:23:31 +09:00
|
|
|
:is(.xfaLeft, .xfaRight) > :is(.xfaCaption, .xfaCaptionForCheckButton) {
|
2021-06-03 02:14:41 +09:00
|
|
|
max-height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.xfaTop {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-06-09 15:17:36 +09:00
|
|
|
align-items: flex-start;
|
2021-06-03 02:14:41 +09:00
|
|
|
}
|
|
|
|
|
2021-07-28 01:43:05 +09:00
|
|
|
.xfaBottom {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
|
2023-04-18 06:23:31 +09:00
|
|
|
:is(.xfaTop, .xfaBottom) > :is(.xfaCaption, .xfaCaptionForCheckButton) {
|
2021-06-24 17:25:41 +09:00
|
|
|
width: 100%;
|
2021-06-03 02:14:41 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
.xfaBorder {
|
2021-07-28 18:34:48 +09:00
|
|
|
background-color: transparent;
|
2021-05-19 18:09:21 +09:00
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2021-06-03 02:14:41 +09:00
|
|
|
.xfaWrapped {
|
2021-07-10 00:29:21 +09:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2021-05-19 18:09:21 +09:00
|
|
|
}
|
|
|
|
|
2023-04-18 06:23:31 +09:00
|
|
|
:is(.xfaTextfield, .xfaSelect):focus {
|
2021-07-28 18:34:48 +09:00
|
|
|
background-image: none;
|
|
|
|
background-color: transparent;
|
2022-09-15 01:58:26 +09:00
|
|
|
outline: var(--xfa-focus-outline);
|
2021-08-05 19:58:36 +09:00
|
|
|
outline-offset: -1px;
|
|
|
|
}
|
|
|
|
|
2023-04-18 06:23:31 +09:00
|
|
|
:is(.xfaCheckbox, .xfaRadio):focus {
|
2022-09-15 01:58:26 +09:00
|
|
|
outline: var(--xfa-focus-outline);
|
2021-05-19 18:09:21 +09:00
|
|
|
}
|
|
|
|
|
2021-03-31 22:42:21 +09:00
|
|
|
.xfaTextfield,
|
|
|
|
.xfaSelect {
|
|
|
|
height: 100%;
|
2021-07-28 01:43:05 +09:00
|
|
|
width: 100%;
|
|
|
|
flex: 1 1 auto;
|
2021-03-31 22:42:21 +09:00
|
|
|
border: none;
|
2021-03-26 00:54:36 +09:00
|
|
|
resize: none;
|
2021-09-19 03:22:29 +09:00
|
|
|
background-image: var(--xfa-unfocused-field-background);
|
2021-07-28 01:43:05 +09:00
|
|
|
}
|
|
|
|
|
2022-10-07 22:11:53 +09:00
|
|
|
.xfaSelect {
|
|
|
|
padding-inline: 2px;
|
|
|
|
}
|
|
|
|
|
2023-04-18 06:23:31 +09:00
|
|
|
:is(.xfaTop, .xfaBottom) > :is(.xfaTextfield, .xfaSelect) {
|
2021-07-28 01:43:05 +09:00
|
|
|
flex: 0 1 auto;
|
2021-03-31 22:42:21 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
.xfaButton {
|
|
|
|
cursor: pointer;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
border: none;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2021-09-25 21:46:40 +09:00
|
|
|
.xfaLink {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2021-10-19 00:28:42 +09:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2021-09-25 21:46:40 +09:00
|
|
|
}
|
|
|
|
|
2021-05-28 00:44:55 +09:00
|
|
|
.xfaCheckbox,
|
|
|
|
.xfaRadio {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2021-06-10 22:30:19 +09:00
|
|
|
flex: 0 0 auto;
|
2021-05-28 00:44:55 +09:00
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
2021-03-26 00:54:36 +09:00
|
|
|
.xfaRich {
|
|
|
|
white-space: pre-wrap;
|
2021-07-10 00:29:21 +09:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2021-03-26 00:54:36 +09:00
|
|
|
}
|
|
|
|
|
2021-05-19 18:09:21 +09:00
|
|
|
.xfaImage {
|
2021-06-28 00:17:44 +09:00
|
|
|
object-position: left top;
|
|
|
|
object-fit: contain;
|
2021-03-26 00:54:36 +09:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2021-05-19 18:09:21 +09:00
|
|
|
.xfaLrTb,
|
|
|
|
.xfaRlTb,
|
|
|
|
.xfaTb {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: stretch;
|
|
|
|
}
|
|
|
|
|
2021-06-03 02:14:41 +09:00
|
|
|
.xfaLr {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: stretch;
|
2021-05-19 18:09:21 +09:00
|
|
|
}
|
|
|
|
|
2021-06-03 02:14:41 +09:00
|
|
|
.xfaRl {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
align-items: stretch;
|
2021-05-19 18:09:21 +09:00
|
|
|
}
|
|
|
|
|
2021-06-03 02:14:41 +09:00
|
|
|
.xfaTb > div {
|
|
|
|
justify-content: left;
|
2021-05-19 18:09:21 +09:00
|
|
|
}
|
|
|
|
|
2021-03-31 22:42:21 +09:00
|
|
|
.xfaPosition {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2021-03-26 00:54:36 +09:00
|
|
|
.xfaArea {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2021-03-31 22:42:21 +09:00
|
|
|
.xfaValignMiddle {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.xfaTable {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-06-03 02:14:41 +09:00
|
|
|
align-items: stretch;
|
|
|
|
}
|
|
|
|
|
2021-03-31 22:42:21 +09:00
|
|
|
.xfaTable .xfaRow {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2021-06-03 02:14:41 +09:00
|
|
|
align-items: stretch;
|
2021-03-31 22:42:21 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
.xfaTable .xfaRlRow {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row-reverse;
|
2021-06-03 02:14:41 +09:00
|
|
|
align-items: stretch;
|
2021-03-31 22:42:21 +09:00
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.xfaTable .xfaRlRow > div {
|
|
|
|
flex: 1;
|
2021-03-25 21:02:39 +09:00
|
|
|
}
|
2021-05-27 23:56:31 +09:00
|
|
|
|
2023-04-18 06:23:31 +09:00
|
|
|
:is(.xfaNonInteractive, .xfaDisabled, .xfaReadOnly) :is(input, textarea) {
|
2021-06-21 01:56:14 +09:00
|
|
|
background: initial;
|
|
|
|
}
|
|
|
|
|
2021-05-27 23:56:31 +09:00
|
|
|
@media print {
|
|
|
|
.xfaTextfield,
|
|
|
|
.xfaSelect {
|
2021-07-28 01:43:05 +09:00
|
|
|
background: transparent;
|
2021-05-27 23:56:31 +09:00
|
|
|
}
|
2021-06-09 22:37:15 +09:00
|
|
|
|
|
|
|
.xfaSelect {
|
|
|
|
appearance: none;
|
|
|
|
text-indent: 1px;
|
|
|
|
text-overflow: "";
|
|
|
|
}
|
2021-05-27 23:56:31 +09:00
|
|
|
}
|