Files
pdf.js/web/xfa_layer_builder.css
T

276 lines
3.9 KiB
CSS
Raw Normal View History

2021-03-25 16:54:36 +01:00
/* Copyright 2021 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.
*/
2021-06-21 09:38:50 +02:00
.xfaPage {
overflow: hidden;
position: relative;
}
.xfaContentarea {
position: absolute;
}
2021-06-20 15:38:58 +02:00
.xfaPrintOnly {
display: none;
}
.xfaLayer {
position: absolute;
text-align: initial;
top: 0;
left: 0;
transform-origin: 0 0;
2021-06-23 11:10:20 +02:00
line-height: 1.2;
}
.xfaLayer * {
color: inherit;
font: inherit;
2021-05-19 11:09:21 +02:00
font-style: inherit;
font-weight: inherit;
font-kerning: inherit;
letter-spacing: inherit;
text-align: inherit;
text-decoration: inherit;
vertical-align: inherit;
box-sizing: border-box;
2021-03-25 16:54:36 +01:00
background: transparent;
2021-06-07 15:20:29 +02:00
padding: 0;
margin: 0;
2021-06-02 19:14:41 +02:00
pointer-events: auto;
}
.xfaLayer div {
pointer-events: none;
}
2021-05-19 11:09:21 +02:00
.xfaLayer a {
color: blue;
}
.xfaRich li {
margin-left: 3em;
}
.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-02 19:14:41 +02:00
.xfaCaption {
overflow: hidden;
flex: 0 1 auto;
}
.xfaCaptionForCheckButton {
overflow: hidden;
flex: 1 1 auto;
}
.xfaLabel {
2021-06-02 19:14:41 +02:00
height: 100%;
width: 100%;
}
.xfaLeft {
display: flex;
flex-direction: row;
align-items: center;
}
.xfaLeft > .xfaCaption,
.xfaLeft > .xfaCaptionForCheckButton {
2021-06-02 19:14:41 +02:00
max-height: 100%;
}
.xfaTop {
display: flex;
flex-direction: column;
align-items: flex-start;
2021-06-02 19:14:41 +02:00
}
.xfaTop > .xfaCaption,
.xfaTop > .xfaCaptionForCheckButton {
width: 100%;
2021-06-02 19:14:41 +02:00
}
.xfaBorder {
2021-05-19 11:09:21 +02:00
background: transparent;
position: absolute;
pointer-events: none;
}
.xfaWrapper {
display: flex;
2021-06-02 19:14:41 +02:00
align-items: stretch;
}
.xfaWrapped {
flex: 1 1 auto;
2021-05-19 11:09:21 +02:00
}
.xfaTextfield,
.xfaSelect {
background-color: rgba(0, 54, 255, 0.13);
}
.xfaTextfield:focus,
.xfaSelect:focus {
background-color: transparent;
outline: none;
2021-05-19 11:09:21 +02:00
}
.xfaTextfield,
.xfaSelect {
width: 100%;
height: 100%;
2021-06-02 19:14:41 +02:00
flex: 1 1 0;
border: none;
2021-03-25 16:54:36 +01:00
resize: none;
}
.xfaButton {
cursor: pointer;
width: 100%;
height: 100%;
border: none;
text-align: center;
}
.xfaButton:hover {
background: Highlight;
}
2021-05-27 17:44:55 +02:00
.xfaCheckbox,
.xfaRadio {
width: 100%;
height: 100%;
flex: 0 0 auto;
2021-05-27 17:44:55 +02:00
border: none;
}
2021-03-25 16:54:36 +01:00
.xfaRich {
white-space: pre-wrap;
2021-07-02 17:53:27 +02:00
width: auto;
height: auto;
2021-03-25 16:54:36 +01:00
}
2021-05-19 11:09:21 +02:00
.xfaImage {
object-position: left top;
object-fit: contain;
2021-03-25 16:54:36 +01:00
width: 100%;
height: 100%;
}
2021-05-19 11:09:21 +02:00
.xfaLrTb,
.xfaRlTb,
.xfaTb {
display: flex;
flex-direction: column;
align-items: stretch;
}
.xfaLr,
.xfaRl,
.xfaTb > div {
flex: 1 1 auto;
}
2021-06-02 19:14:41 +02:00
.xfaLr {
display: flex;
flex-direction: row;
align-items: stretch;
2021-05-19 11:09:21 +02:00
}
2021-06-02 19:14:41 +02:00
.xfaRl {
display: flex;
flex-direction: row-reverse;
align-items: stretch;
2021-05-19 11:09:21 +02:00
}
2021-06-02 19:14:41 +02:00
.xfaTb > div {
justify-content: left;
2021-05-19 11:09:21 +02:00
}
.xfaPosition {
position: relative;
}
2021-03-25 16:54:36 +01:00
.xfaArea {
position: relative;
}
.xfaValignMiddle {
display: flex;
align-items: center;
}
.xfaTable {
display: flex;
flex-direction: column;
2021-06-02 19:14:41 +02:00
align-items: stretch;
}
.xfaTable > div {
flex: 1 1 auto;
}
.xfaTable .xfaRow {
display: flex;
flex-direction: row;
2021-06-02 19:14:41 +02:00
align-items: stretch;
}
.xfaTable .xfaRow > div {
flex: 1 1 auto;
}
.xfaTable .xfaRlRow {
display: flex;
flex-direction: row-reverse;
2021-06-02 19:14:41 +02:00
align-items: stretch;
flex: 1;
}
.xfaTable .xfaRlRow > div {
flex: 1;
}
2021-05-27 16:56:31 +02:00
2021-06-20 18:56:14 +02:00
.xfaDisabled input,
.xfaDisabled textarea,
.xfaReadOnly input,
.xfaReadOnly textarea {
background: initial;
}
2021-05-27 16:56:31 +02:00
@media print {
.xfaTextfield,
.xfaSelect {
background-color: transparent;
}
2021-06-09 15:37:15 +02:00
.xfaSelect {
appearance: none;
text-indent: 1px;
text-overflow: "";
}
2021-05-27 16:56:31 +02:00
}