2018-05-04 08:03:47 +08:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* 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.
|
|
|
|
|
*/
|
|
|
|
|
|
2015-11-13 17:44:04 +08:00
|
|
|
html,
|
|
|
|
|
body,
|
2016-04-25 00:51:31 +08:00
|
|
|
#main,
|
2016-05-11 14:52:12 +08:00
|
|
|
body > .main {
|
2015-11-13 17:44:04 +08:00
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
2015-11-27 12:40:57 +08:00
|
|
|
font-family: arial;
|
2015-11-13 17:44:04 +08:00
|
|
|
}
|
2018-01-08 20:10:10 +08:00
|
|
|
|
|
|
|
|
|
2018-01-10 18:13:08 +08:00
|
|
|
.test-title {
|
|
|
|
|
padding: 20px;
|
2019-01-23 20:50:23 +08:00
|
|
|
background: #242424;
|
|
|
|
|
color: #ddd;
|
2018-01-10 18:13:08 +08:00
|
|
|
font-weight: normal;
|
|
|
|
|
text-align: center;
|
2019-01-23 20:50:23 +08:00
|
|
|
font-size: 16px;
|
2018-01-10 18:13:08 +08:00
|
|
|
}
|
2018-02-23 03:01:27 +08:00
|
|
|
.test-title-inner {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
*display: inline;
|
|
|
|
|
zoom: 1;
|
|
|
|
|
text-align: left;
|
|
|
|
|
}
|
2018-09-13 23:07:11 +08:00
|
|
|
.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;
|
|
|
|
|
}
|
2025-05-24 18:07:57 +08:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* [ 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;
|
2018-02-23 03:01:27 +08:00
|
|
|
margin: 10px 5px;
|
2025-05-24 18:07:57 +08:00
|
|
|
margin-right: 10px;
|
2018-02-23 03:01:27 +08:00
|
|
|
}
|
2025-05-24 18:07:57 +08:00
|
|
|
.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;
|
|
|
|
|
}
|
|
|
|
|
|
2018-01-10 18:13:08 +08:00
|
|
|
.test-chart-block {
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
.test-chart-block-has-right {
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
.test-chart-block-has-right .test-chart-block-right {
|
2018-02-10 20:55:11 +08:00
|
|
|
position: absolute;
|
|
|
|
|
right: 10px;
|
|
|
|
|
background: #fff;
|
|
|
|
|
z-index: 99;
|
2018-01-10 18:13:08 +08:00
|
|
|
width: 300px;
|
2018-03-09 00:36:49 +08:00
|
|
|
max-height: 99%;
|
2018-02-23 03:01:27 +08:00
|
|
|
border-left: 1px solid #ddd;
|
|
|
|
|
border-bottom: 1px solid #ddd;
|
2018-01-10 18:13:08 +08:00
|
|
|
}
|
|
|
|
|
.test-chart-block-has-right .test-chart-block-left {
|
|
|
|
|
margin-right: 320px;
|
|
|
|
|
}
|
2025-05-24 18:07:57 +08:00
|
|
|
.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;
|
|
|
|
|
}
|
2018-01-10 18:13:08 +08:00
|
|
|
.test-info {
|
|
|
|
|
padding-left: 10px;
|
|
|
|
|
overflow: auto;
|
|
|
|
|
}
|
|
|
|
|
pre.test-print-object {
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
font-family: Menlo, Monaco, 'Courier New', monospace;
|
|
|
|
|
}
|
|
|
|
|
.test-chart {
|
2021-08-22 15:10:53 +08:00
|
|
|
position: relative;
|
2018-01-11 15:53:11 +08:00
|
|
|
height: 400px;
|
2018-01-10 18:13:08 +08:00
|
|
|
}
|
2018-01-10 19:47:54 +08:00
|
|
|
|
|
|
|
|
.test-data-table {
|
|
|
|
|
position: relative;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
.test-data-table table {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
vertical-align: top;
|
2018-01-08 20:10:10 +08:00
|
|
|
border: 1px solid #ccc;
|
|
|
|
|
border-spacing: 0;
|
2018-01-10 19:47:54 +08:00
|
|
|
margin: 30px 15px;
|
2018-01-08 20:10:10 +08:00
|
|
|
}
|
2018-01-10 19:47:54 +08:00
|
|
|
.test-data-table td {
|
2018-01-08 20:10:10 +08:00
|
|
|
border: 1px solid #ccc;
|
|
|
|
|
color: #777;
|
|
|
|
|
padding: 3px 5px;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
}
|
2018-01-11 15:53:11 +08:00
|
|
|
td.test-data-table-key {
|
2018-01-08 20:10:10 +08:00
|
|
|
font-size: 12px;
|
|
|
|
|
color: rgb(69, 162, 238)
|
2018-01-10 18:13:08 +08:00
|
|
|
}
|
2018-12-12 01:25:16 +08:00
|
|
|
|
|
|
|
|
.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;
|
|
|
|
|
}
|
2020-04-29 23:26:04 +08:00
|
|
|
|
2021-06-21 22:23:58 +08:00
|
|
|
.record-video {
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 10px;
|
|
|
|
|
top: 5px;
|
2021-06-22 13:30:57 +08:00
|
|
|
z-index: 1000;
|
2021-06-21 22:23:58 +08:00
|
|
|
}
|
|
|
|
|
|
2020-04-29 23:26:04 +08:00
|
|
|
.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;
|
|
|
|
|
}
|