diff --git a/frontend/src/app/components/docs/api-docs.component.html b/frontend/src/app/components/docs/api-docs.component.html index 6fe7110ae..40aed1cd9 100644 --- a/frontend/src/app/components/docs/api-docs.component.html +++ b/frontend/src/app/components/docs/api-docs.component.html @@ -4,7 +4,71 @@
- Placeholder. + +

General

+ GET Difficulty Adjustment + +

Markets

+ GET Market Currencies + GET Market Depth + GET Market HLOC + GET Markets + GET Market Offers + GET Market Ticker + GET Market Trades + GET Market Volumes + +

General

+ GET Stats + +

Addresses

+ GET Address + GET Address Transactions + GET Address Transactions Chain + GET Address Transactions Mempool + GET Address UTXO + +

Assets

+ GET Assets + GET Asset Transactions + GET Asset Supply + +

Blocks

+ GET Block + GET Block Header + GET Block Height + GET Block Raw + GET Block Status + GET Block Tip Height + GET Block Tip Hash + GET Block Transaction ID + GET Block Transaction IDs + GET Block Transactions + GET Blocks + GET Blocks + +

Fees

+ GET Mempool Blocks Fees + GET Recommended Fees + +

Mempool

+ GET Mempool + GET Mempool Transaction IDs + GET Mempool Recent + +

Transactions

+ GET Children Pay for Parent + GET Transaction + GET Transaction Hex + GET Transaction Merkleblock Proof + GET Transaction Merkle Proof + GET Transaction Outspend + GET Transaction Outspends + GET Transaction Raw + GET Transaction Status + GET Transactions + POST Transaction +
diff --git a/frontend/src/app/components/docs/api-docs.component.scss b/frontend/src/app/components/docs/api-docs.component.scss index 8049ef9aa..089e8d2cf 100644 --- a/frontend/src/app/components/docs/api-docs.component.scss +++ b/frontend/src/app/components/docs/api-docs.component.scss @@ -73,27 +73,61 @@ li.nav-item { } .doc-nav-desktop { - width: 25%; + width: 300px; } .doc-nav-desktop.relative { float: left; + overflow: hidden; } .doc-nav-desktop.fixed { float: unset; position: fixed; top: 20px; + overflow-y: auto; + height: calc(100vh - 50px); + scrollbar-color: #2d3348 #11131f; + scrollbar-width: thin; +} +::-webkit-scrollbar { + width: 3px; +} +::-webkit-scrollbar-track { + background: #11131f; +} +::-webkit-scrollbar-thumb { + background-color: #2d3348; + border-radius: 5px; + border: none; +} + +.doc-nav-desktop p { + color: #4a68b9; + font-weight: 700; + margin: 10px 0; + margin: 15px 0 10px 0; +} +.doc-nav-desktop p:first-child { + margin-top: 0 +} + +.doc-nav-desktop a { + color: #fff; + text-decoration: none; + display: block; + margin: 5px 0; } .doc-content { - width: 75%; + width: calc(100% - 330px); float: right; } @media (max-width: 992px){ .doc-nav-desktop { display: none; + height: auto; } .doc-content {