blob: 6457741849128f1942e3d4352a1e2902c037d103 [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you 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.
*/
html,
body,
#main,
body > .main {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
font-family: arial;
}
.test-title {
padding: 20px;
background: #242424;
color: #ddd;
font-weight: normal;
text-align: center;
font-size: 16px;
}
.test-title-inner {
display: inline-block;
*display: inline;
zoom: 1;
text-align: left;
}
.test-title strong {
color: yellow;
font-weight: 700;
text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000;
padding-left: 2px;
padding-right: 2px;
}
/*
* [ CAUTION ]
* The existing CSS class names below MUST NOT be modified;
* otherwise, some recorded visual test cases may fail.
*/
.test-inputs {
background: #eee;
}
.test-inputs button {
margin: 10px 5px;
}
.test-inputs-fix-height {
position: relative;
overflow: scroll;
box-sizing: border-box;
background: #eee;
padding: 0;
}
.test-inputs-fix-height::before {
content: 'Scroll ⬇';
position: sticky;
float: right;
top: 0;
right: 0;
padding: 0 2px 0 5px;
height: 14px;
line-height: 14px;
font-size: 11px;
color: #333;
z-index: 9999;
background: #ccc;
text-align: right;
}
.test-inputs-style-compact button {
margin-top: 2px;
margin-bottom: 2px;
}
.test-inputs-slider {
white-space: nowrap;
display: inline-block;
margin: 10px 5px;
font-size: 14px;
padding: 0;
}
.test-inputs-style-compact .test-inputs-slider {
margin-top: 2px;
margin-bottom: 2px;
}
.test-inputs-slider-input {
width: 109px;
height: 16px;
}
.test-inputs-slider-no-delta-buttons .test-inputs-slider-input {
width: 129px;
}
.test-inputs-style-compact .test-inputs-slider-input {
width: 75px;
}
.test-inputs-slider-sub {
margin-left: -10px;
margin-top: 0;
margin-bottom: 0;
}
.test-inputs-style-compact .test-inputs-slider-sub {
margin-top: 0;
margin-bottom: 0;
}
.test-inputs-slider span {
vertical-align: middle;
margin: 0 3px;
}
.test-inputs-slider-disabled span {
color: #aaa;
}
.test-inputs-slider input {
vertical-align: middle;
margin: 0 3px;
}
.test-inputs-slider-btn-incdec {
display: inline-block;
vertical-align: middle;
width: 0;
height: 0;
border-style: solid;
background: none;
border-color: transparent;
padding: 0;
user-select: none;
cursor: pointer;
}
.test-inputs-slider-btn-decrease {
border-width: 5px 7px 5px 0;
border-right-color: rgb(48,119,226);
margin: 0 1px 0 2px;
}
.test-inputs-slider-btn-decrease:hover {
border-right-color: #245dc1;
}
.test-inputs-slider-btn-increase {
border-width: 5px 0 5px 7px;
border-left-color: rgb(48,119,226);
margin: 0 2px 0 1px;
}
.test-inputs-slider-btn-increase:hover {
border-left-color: #245dc1;
}
.test-inputs-slider-disabled .test-inputs-slider-btn-decrease {
border-right-color: #bbb;
cursor: default;
}
.test-inputs-slider-disabled .test-inputs-slider-btn-increase {
border-left-color: #bbb;
cursor: default;
}
.test-inputs-slider-disabled .test-inputs-slider-btn-decrease:hover {
border-left-color: #bbb;
}
.test-inputs-slider-disabled .test-inputs-slider-btn-increase:hover {
border-left-color: #bbb;
}
.test-inputs-select {
white-space: nowrap;
display: inline-block;
font-size: 14px;
margin: 10px 5px;
margin-right: 10px;
}
.test-inputs-style-compact .test-inputs-select {
margin-top: 2px;
margin-bottom: 2px;
}
.test-inputs-select span {
vertical-align: middle;
margin: 0 3px;
}
.test-inputs-select-disabled span {
color: #aaa;
}
.test-inputs-select select {
vertical-align: middle;
margin: 0;
padding: 0;
font-size: 13.3333px;
height: 19px;
}
.test-inputs-groupset {
position: relative;
overflow: auto;
border: 1px solid #bbb;
padding: 0;
margin: 0 3px; /* margin-bottom will collapse. */
background: #fff;
display: block;
width: auto;
}
.test-inputs-groupset.test-inputs-fix-height::before {
right: 0;
left: 0;
height: 12px;
line-height: 12px;
font-size: 9px;
}
.test-inputs-groupset-text {
position: sticky;
display: block;
top: 0;
left: 0;
padding: 0;
margin: 0;
padding-left: 10px;
color: #333;
z-index: 9998;
height: 12px;
line-height: 12px;
font-size: 9px;
background: #ccc;
}
.test-inputs-groupset-group {
position: relative;
margin: 5px 2px;
background: #fff;
}
.test-inputs-groupset-margin-bottom {
/* A workaround for margin collapse, without breaking parent CSS (may fail previous visual tests) */
height: 3px;
position: relative;
display: block;
width: auto;
}
.test-inputs-hr {
position: relative;
background: #ccc;
padding: 0;
height: 1px;
border-width: 0;
margin-block: unset;
margin-inline: unset;
margin: 8px 2px;
}
.test-inputs-hr-text {
position: absolute;
color: #333;
background: #ddd;
right: 0;
top: -6px;
text-align: right;
vertical-align: middle;
white-space: nowrap;
font-size: 10px;
line-height: 10px;
padding: 2px 5px;
margin: 0;
}
.test-chart-block {
position: relative;
}
.test-chart-block-has-right {
overflow: hidden;
}
.test-chart-block-has-right .test-chart-block-right {
position: absolute;
right: 10px;
background: #fff;
z-index: 99;
width: 300px;
max-height: 99%;
border-left: 1px solid #ddd;
border-bottom: 1px solid #ddd;
}
.test-chart-block-has-right .test-chart-block-left {
margin-right: 320px;
}
.test-chart-wrapper {
position: relative;
padding: 0;
margin: 0;
border-width: 0;
}
.test-bounding-rects {
position: absolute;
left: 0;
top: 0;
padding: 0;
margin: 0;
border-width: 0;
z-index: 999999;
}
.test-info {
padding-left: 10px;
overflow: auto;
}
pre.test-print-object {
font-size: 12px;
font-family: Menlo, Monaco, 'Courier New', monospace;
}
.test-chart {
position: relative;
height: 400px;
}
.test-data-table {
position: relative;
text-align: center;
}
.test-data-table table {
display: inline-block;
vertical-align: top;
border: 1px solid #ccc;
border-spacing: 0;
margin: 30px 15px;
}
.test-data-table td {
border: 1px solid #ccc;
color: #777;
padding: 3px 5px;
font-size: 13px;
}
td.test-data-table-key {
font-size: 12px;
color: rgb(69, 162, 238)
}
.record-canvas .content-area {
display: none;
position: absolute;
background: #fff;
left: 10px;
top: 20px;
border: 2px solid #000;
padding: 10px;
z-index: 9999;
box-shadow: 0 0 3px #000;
}
.record-canvas textarea {
width: 300px;
height: 500px;
}
.record-video {
position: absolute;
right: 10px;
top: 5px;
z-index: 1000;
}
.control-frame-btn-panel {
position: fixed;
top: 10px;
left: 10px;
box-shadow: 0 0 3px #000;
background: green;
padding: 5px;
}
.control-frame-btn-panel .control-frame-info {
display: block;
color: #fff;
font-size: 10px;
}