- WIP on visual of API

This commit is contained in:
Dave Mc Nicoll committed 2025-04-10 17:54:04 +00:00
1 parent 3d81b71473
commit 21f315cc22
10 files changed
+230 -32

No files matched your search

+30 -2
View File
@@ -24,17 +24,45 @@
li.odd-even{border-top:1px solid #ccc;margin:10px 0;padding:15px 15px 10px 5px}
li.odd-even:first-child{border:0}
input, button {padding:5px; font-size:1em;margin-top:10px}
ul {background:#f4f4f4; list-style: none; padding-left:20px}
ul ul {margin: 0;border: 0;padding: 5px 30px;}
ul li + li {margin-top: 12px;}
ul ul > li:before {content:"↳"}
ol .title { display: flex;justify-content: space-between;background: #ffffffb2;padding: 9px 5px;border: 1px solid #fff;}
.field-desc > div {padding:5px;}
.forms ol {background: #ccdef2;}
.forms li {border-color: #859aae;}
.forms .form-name {background: #9cc5e6;color: #284168;font-size:110%}
.routes-wrapper {padding:8px}
.routes-wrapper li + li {margin-top: 5px}
.routes-wrapper li {display:flex;align-items:center;border: 1px solid #ccc;}
.routes-wrapper .route-method {line-height: 1.8rem;padding:6px 5px 0 5px;width:80px;text-align:center;font-weight:bold;color:#fff;}
.routes-wrapper .route-link {line-height: 1.8rem;padding:0 10px}
.routes-wrapper .route-link a {font-family:monospace;font-size:.85em}
.routes-wrapper .route-name {margin-left:auto;font-weight:bold;width: 200px;text-align: right;background:rgba(0, 0, 0, 0.02);line-height: 1.8rem;padding:6px 7px 0 5px;}
.routes-wrapper li.method-get {background:#e7eff7;border-color: #bfcfdd;}
.routes-wrapper li.method-get .route-method {background:#0f6ab4;}
.routes-wrapper li.method-get .route-link a, .routes-wrapper li.method-get .route-name {color: #0f6ab4;}
.routes-wrapper li.method-head {background:#f5e8f2;border-color:#ffc0e7;}
.routes-wrapper li.method-head .route-method {background:#ca6aa5;}
.routes-wrapper li.method-head .route-link a, .routes-wrapper li.method-head .route-name {color: #ca6aa5;}
.routes-wrapper li.method-post {background:#e6f5eb;border-color: #ace3c2;}
.routes-wrapper li.method-post .route-method {background:#10a44a;}
.routes-wrapper li.method-post .route-link a, .routes-wrapper li.method-post .route-name {color: #10a44a;}
.routes-wrapper li.method-patch {background:#fce9e3;border-color:#ffd4b3}
.routes-wrapper li.method-patch .route-method {background:#f4842f;}
.routes-wrapper li.method-patch .route-link a, .routes-wrapper li.method-patch .route-name {color: #f4842f;}
.routes-wrapper li.method-option {background:#eaeaea;border-color: #dbdbdb;}
.routes-wrapper li.method-option .route-method {background:#a4a4a4;}
.routes-wrapper li.method-option .route-link a, .routes-wrapper li.method-option .route-name {color: #717171;}
.routes-wrapper li.method-delete {background:#f5e8e8;border-color: #ffadaf;}
.routes-wrapper li.method-delete .route-method {background:#d73c41;}
.routes-wrapper li.method-delete .route-link a, .routes-wrapper li.method-delete .route-name {color: #d73c41;}
.routes-wrapper li.method-put {background:#fff5c2;border-color: #eadd9a;}
.routes-wrapper li.method-put .route-method {background:#d7bf3c;}
.routes-wrapper li.method-put .route-link a, .routes-wrapper li.method-put .route-name {color: #aa941c;}
.entity-wrapper .entity-name {background:#eaa1af;color: #682828;font-size:110%}
.entity-wrapper ol {background: #f0ddcd;}
.entity-wrapper li {border-color: #ae8585;}