UNPKG

ks3-js-sdk

Version:

js sdk for ks3

381 lines (311 loc) 8.89 kB
* { 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; word-wrap: break-word; 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-title { background-color: #fff; } .k-menu-item.k-active>.k-title { background-color: #E6F7FF; color: rgb(0, 145, 234) !important; } } .k-progress.k-bar.k-mini { display: none; } .k-upload-files { margin-top: 5px !important; } .k-dialog { text-align: center; .k-dialog-body { height: 460px; overflow: auto; .config-tip { height: 46px; font-size: 14px; line-height: 46px; margin-bottom: 15px; background-color: #D6E6FF; .ion-information-circled { padding-right: 5px; vertical-align: middle; color: #ff8a00; } } .k-form { width: 40%; margin: 0 auto; text-align: left; .k-form-item { margin-bottom: 12px; } } } .k-dialog-footer { text-align: center; .config-reset-btn { margin: 0 20px; } } } [v-cloak] { display: none; } #app { height: 100%; .center { min-width: 1000px; margin: 0 auto; display: flex; height: 100%; .left { display: flex; flex-direction: column; width: 22%; height: 100%; font-size: 14px; overflow: hidden; border-right: 1px solid #ccc; .left-top { padding: 15px 30px 30px; background-color: #F5F5F5; .title { font-size: 20px; margin: 15px 0; } .setting { font-size: 16px; margin-bottom: 20px; vertical-align: middle; cursor: pointer; } .setting:hover { color: #0091ea; } .search { width: 100%; } } .left-bottom { flex: 1; padding: 20px; border-top: 1px solid #ccc; overflow: auto; } } .mid { display: flex; flex-direction: column; width: 30%; height: 100%; border-right: 1px solid #ccc; .mid-top { padding: 25px; .selected-api-name { font-size: 18px; font-weight: 700; } .selected-api-info { font-size: 15px; color: #666; margin: 20px 0; } .must-params { font-size: 15px; padding-right: 10px; } .run-api { margin: 20px 0; .btn { margin-left: 10px; } } } .mid-bottom { flex: 1; border-top: 1px solid #ccc; padding: 25px; overflow: auto; .no-must-params { font-size: 12px; text-align: center; margin-top: 20px; } } } .right { display: flex; flex-direction: column; width: 48%; height: 100%; padding: 25px 25px 0; .content { flex: 1; width: 100%; overflow: auto; margin-top: 25px; padding-bottom: 25px; .result { width: 100%; .result-title { font-size: 15px; font-weight: 700; } .result-tip-success, .result-tip-fail { position: relative; height: 45px; font-size: 14px; line-height: 45px; margin-top: 10px; border: 1px solid #ccc; .result-tip-color { position: absolute; left: 0; width: 10px; height: 100%; background-color: #4db500; } .result-tip-text { color: #4db500; padding-left: 30px; } .ion-checkmark-circled { color: #4db500; vertical-align: middle; } .result-tip-method, .result-tip-time, .result-tip-code { padding-left: 50px; } } .result-tip-fail { .result-tip-color { background-color: #db2828; } .result-tip-text { color: #db2828; } .ion-close-circled { color: #db2828; } } .result-res { margin-top: 20px; font-size: 15px; font-weight: 700; } .response { margin-top: 20px; } } .no-result { width: 100%; margin: 0 auto; text-align: center; .title { font-size: 14px; color: #666; margin-top: 150px; } .info { font-size: 14px; margin: 30px 0; } } .uploading, .downloading { text-align: center; margin-top: 180px; .title { font-size: 16px; margin-bottom: 20px; } } .loading { text-align: center; margin-top: 200px; } .document { width: 100%; .document-official { font-size: 16px; margin-bottom: 15px; a { color: #0091ea; text-decoration: none; } } .document-req { font-size: 14px; font-weight: 700; margin-bottom: 20px; } .document-res { font-size: 14px; font-weight: 700; margin: 20px 0; } } .record { width: 100%; .record-tip { font-size: 13px; color: #666; margin-bottom: 15px; } .k-pagination { text-align: center; margin-top: 25px; } } } } } }