ks3-js-sdk
Version:
js sdk for ks3
316 lines (315 loc) • 7.03 kB
CSS
* {
margin: 0;
padding: 0;
box-sizing: border-box;
list-style: none;
}
body,
html {
height: 100%;
overflow: hidden;
}
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-thumb {
border-radius: 10px;
background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-track {
border-radius: 0;
background: rgba(0, 0, 0, 0.1);
}
.mid-bottom::-webkit-scrollbar {
width: 4px;
height: 4px;
}
.left-bottom::-webkit-scrollbar {
width: 4px;
height: 4px;
}
pre {
white-space: pre-wrap;
font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
font-size: 13px;
padding: 9.5px;
margin: 0 0 10px;
line-height: 1.45;
color: #333333;
word-break: break-all;
word-wrap: break-word;
border: 1px solid #CCCCCC;
border-radius: 4px;
background-color: #F8F8F8;
}
.k-menu {
width: 100% ;
}
.k-menu .k-title {
background-color: #fff;
}
.k-menu .k-menu-item.k-active > .k-title {
background-color: #E6F7FF;
color: #0091ea ;
}
.k-progress.k-bar.k-mini {
display: none;
}
.k-upload-files {
margin-top: 5px ;
}
.k-dialog {
text-align: center;
}
.k-dialog .k-dialog-body {
height: 460px;
overflow: auto;
}
.k-dialog .k-dialog-body .config-tip {
height: 46px;
font-size: 14px;
line-height: 46px;
margin-bottom: 15px;
background-color: #D6E6FF;
}
.k-dialog .k-dialog-body .config-tip .ion-information-circled {
padding-right: 5px;
vertical-align: middle;
color: #ff8a00;
}
.k-dialog .k-dialog-body .k-form {
width: 40%;
margin: 0 auto;
text-align: left;
}
.k-dialog .k-dialog-body .k-form .k-form-item {
margin-bottom: 12px;
}
.k-dialog .k-dialog-footer {
text-align: center;
}
.k-dialog .k-dialog-footer .config-reset-btn {
margin: 0 20px;
}
[v-cloak] {
display: none;
}
#app {
height: 100%;
}
#app .center {
min-width: 1000px;
margin: 0 auto;
display: flex;
height: 100%;
}
#app .center .left {
display: flex;
flex-direction: column;
width: 22%;
height: 100%;
font-size: 14px;
overflow: hidden;
border-right: 1px solid #ccc;
}
#app .center .left .left-top {
padding: 15px 30px 30px;
background-color: #F5F5F5;
}
#app .center .left .left-top .title {
font-size: 20px;
margin: 15px 0;
}
#app .center .left .left-top .setting {
font-size: 16px;
margin-bottom: 20px;
vertical-align: middle;
cursor: pointer;
}
#app .center .left .left-top .setting:hover {
color: #0091ea;
}
#app .center .left .left-top .search {
width: 100%;
}
#app .center .left .left-bottom {
flex: 1;
padding: 20px;
border-top: 1px solid #ccc;
overflow: auto;
}
#app .center .mid {
display: flex;
flex-direction: column;
width: 30%;
height: 100%;
border-right: 1px solid #ccc;
}
#app .center .mid .mid-top {
padding: 25px;
}
#app .center .mid .mid-top .selected-api-name {
font-size: 18px;
font-weight: 700;
}
#app .center .mid .mid-top .selected-api-info {
font-size: 15px;
color: #666;
margin: 20px 0;
}
#app .center .mid .mid-top .must-params {
font-size: 15px;
padding-right: 10px;
}
#app .center .mid .mid-top .run-api {
margin: 20px 0;
}
#app .center .mid .mid-top .run-api .btn {
margin-left: 10px;
}
#app .center .mid .mid-bottom {
flex: 1;
border-top: 1px solid #ccc;
padding: 25px;
overflow: auto;
}
#app .center .mid .mid-bottom .no-must-params {
font-size: 12px;
text-align: center;
margin-top: 20px;
}
#app .center .right {
display: flex;
flex-direction: column;
width: 48%;
height: 100%;
padding: 25px 25px 0;
}
#app .center .right .content {
flex: 1;
width: 100%;
overflow: auto;
margin-top: 25px;
padding-bottom: 25px;
}
#app .center .right .content .result {
width: 100%;
}
#app .center .right .content .result .result-title {
font-size: 15px;
font-weight: 700;
}
#app .center .right .content .result .result-tip-success,
#app .center .right .content .result .result-tip-fail {
position: relative;
height: 45px;
font-size: 14px;
line-height: 45px;
margin-top: 10px;
border: 1px solid #ccc;
}
#app .center .right .content .result .result-tip-success .result-tip-color,
#app .center .right .content .result .result-tip-fail .result-tip-color {
position: absolute;
left: 0;
width: 10px;
height: 100%;
background-color: #4db500;
}
#app .center .right .content .result .result-tip-success .result-tip-text,
#app .center .right .content .result .result-tip-fail .result-tip-text {
color: #4db500;
padding-left: 30px;
}
#app .center .right .content .result .result-tip-success .ion-checkmark-circled,
#app .center .right .content .result .result-tip-fail .ion-checkmark-circled {
color: #4db500;
vertical-align: middle;
}
#app .center .right .content .result .result-tip-success .result-tip-method,
#app .center .right .content .result .result-tip-fail .result-tip-method,
#app .center .right .content .result .result-tip-success .result-tip-time,
#app .center .right .content .result .result-tip-fail .result-tip-time,
#app .center .right .content .result .result-tip-success .result-tip-code,
#app .center .right .content .result .result-tip-fail .result-tip-code {
padding-left: 50px;
}
#app .center .right .content .result .result-tip-fail .result-tip-color {
background-color: #db2828;
}
#app .center .right .content .result .result-tip-fail .result-tip-text {
color: #db2828;
}
#app .center .right .content .result .result-tip-fail .ion-close-circled {
color: #db2828;
}
#app .center .right .content .result .result-res {
margin-top: 20px;
font-size: 15px;
font-weight: 700;
}
#app .center .right .content .result .response {
margin-top: 20px;
}
#app .center .right .content .no-result {
width: 100%;
margin: 0 auto;
text-align: center;
}
#app .center .right .content .no-result .title {
font-size: 14px;
color: #666;
margin-top: 150px;
}
#app .center .right .content .no-result .info {
font-size: 14px;
margin: 30px 0;
}
#app .center .right .content .uploading,
#app .center .right .content .downloading {
text-align: center;
margin-top: 180px;
}
#app .center .right .content .uploading .title,
#app .center .right .content .downloading .title {
font-size: 16px;
margin-bottom: 20px;
}
#app .center .right .content .loading {
text-align: center;
margin-top: 200px;
}
#app .center .right .content .document {
width: 100%;
}
#app .center .right .content .document .document-official {
font-size: 16px;
margin-bottom: 15px;
}
#app .center .right .content .document .document-official a {
color: #0091ea;
text-decoration: none;
}
#app .center .right .content .document .document-req {
font-size: 14px;
font-weight: 700;
margin-bottom: 20px;
}
#app .center .right .content .document .document-res {
font-size: 14px;
font-weight: 700;
margin: 20px 0;
}
#app .center .right .content .record {
width: 100%;
}
#app .center .right .content .record .record-tip {
font-size: 13px;
color: #666;
margin-bottom: 15px;
}
#app .center .right .content .record .k-pagination {
text-align: center;
margin-top: 25px;
}