123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134 |
- @import url("../static/vendor/codemirror/codemirror.css");
- @import url("../static/css/bootstrap.min.css");
- .wp-json {
- width:auto;
- }
- .wp-json .mod-json {
- position: absolute;
- top: 40px;
- bottom: 0;
- right:0;
- left:0;
- }
- body[browser-extension] .wp-json .mod-json {
- top: 60px;
- }
- .wp-json .mod-json .panel-txt {
- position: absolute;
- width: 500px;
- top: 15px;
- bottom: 0;
- }
- .wp-json .panel-body {
- padding:15px 0;
- }
- .wp-json .CodeMirror-scroll {
- min-height: 550px;
- }
- .json-examples {
- margin: 0 15px 10px 15px;
- padding-bottom: 10px;
- border-bottom: 1px solid #eee;
- display: flex;
- align-items: center;
- }
- .json-examples span {
- font-size: 14px;
- color: #666;
- margin-right: 10px;
- }
- .json-examples a {
- display: inline-block;
- margin-right: 15px;
- color: #337ab7;
- text-decoration: none;
- font-size: 14px;
- }
- .json-examples a:hover {
- color: #23527c;
- text-decoration: underline;
- }
- .result-display {
- margin-left: auto !important;
- font-size: 14px !important;
- white-space: nowrap;
- }
- .box-wrapper-left {
- height: 90%;
- padding:0 5px 0 0;
- }
- .box-wrapper-right {
- height: 90%;
- padding:0 0 0 5px;
- }
- #jsonSourceLeft, #jsonSourceRight, .CodeMirror {
- height: calc(100%);
- font-size: 10px;
- }
- .x-error {
- color: #1f0606;
- font-size: 12px;
- margin-left: 30px;
- }
- .x-error .x-hlt {
- color:#f00;
- font-weight: bold;
- }
- .x-error .x-hlt1 {
- color:#f00;
- }
- /* 探索更多工具样式 */
- .panel-title>a.x-other-tools {
- margin: 1px 0 0;
- font-size: 13px;
- cursor: pointer;
- text-decoration: none;
- -webkit-user-select: none;
- user-select: none;
- color: #333;
- float: right;
- background-color: #f5f8ff;
- padding: 5px 10px;
- border-radius: 15px;
- border: 1px solid #d0d9ff;
- transition: all 0.3s ease;
- display: flex;
- align-items: center;
- position: relative;
- top: -6px;
- }
- .panel-title>a.x-other-tools .icon-plus-circle {
- display: inline-block;
- width: 16px;
- height: 16px;
- background: url(../static/img/plus-circle.svg) no-repeat center center;
- background-size: contain;
- margin-right: 5px;
- }
- .panel-title>a.x-other-tools .tool-market-badge {
- display: inline-block;
- background-color: #4d89fe;
- color: white;
- padding: 2px 6px;
- border-radius: 10px;
- margin-left: 5px;
- font-size: 12px;
- font-weight: bold;
- }
- .panel-title>a.x-other-tools:hover {
- color: #333;
- background-color: #e6edff;
- box-shadow: 0 2px 5px rgba(0,0,0,0.15);
- transform: translateY(-1px);
- }
|