Handle light mode in a consistent way
|
Before Width: | Height: | Size: 348 KiB After Width: | Height: | Size: 348 KiB |
514
img/graphics/dev-tools-light.svg
Normal file
|
After Width: | Height: | Size: 60 KiB |
|
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 62 KiB |
BIN
img/graphics/getting-started-pages-light.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 57 KiB |
548
img/graphics/nodes-light.svg
Normal file
|
After Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 90 KiB |
BIN
img/graphics/tokens-light.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 53 KiB |
50
img/graphics/wallet-light.svg
Normal file
|
After Width: | Height: | Size: 17 KiB |
@@ -144,6 +144,10 @@ a.card:hover h3 {
|
|||||||
border: 2px solid #232325;
|
border: 2px solid #232325;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.light .circled-logo {
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
.card-deck {
|
.card-deck {
|
||||||
margin-top: 2.5rem;
|
margin-top: 2.5rem;
|
||||||
margin-left: (-$card-deck-margin);
|
margin-left: (-$card-deck-margin);
|
||||||
|
|||||||
@@ -18,6 +18,28 @@
|
|||||||
.concepts-doc-illustration {
|
.concepts-doc-illustration {
|
||||||
content:url(/img/graphics/concepts-docs-light.png)
|
content:url(/img/graphics/concepts-docs-light.png)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.use-cases {
|
||||||
|
.wallet-illustration {
|
||||||
|
content:url(/img/graphics/wallet-light.svg)
|
||||||
|
}
|
||||||
|
|
||||||
|
.token-illustration {
|
||||||
|
content:url(/img/graphics/tokens-light.png)
|
||||||
|
}
|
||||||
|
|
||||||
|
.connections-illustration {
|
||||||
|
content:url(/img/graphics/nodes-light.svg)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.quickstart-image {
|
||||||
|
content:url(/img/graphics/getting-started-pages-light.png)
|
||||||
|
}
|
||||||
|
|
||||||
|
.dev-tools-img {
|
||||||
|
content:url(/img/graphics/dev-tools-light.svg)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.dark {
|
.dark {
|
||||||
@@ -34,7 +56,29 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.concepts-doc-illustration {
|
.concepts-doc-illustration {
|
||||||
content:url(/img/graphics/concepts-docs.png)
|
content:url(/img/graphics/concepts-doc.png)
|
||||||
|
}
|
||||||
|
|
||||||
|
.use-cases {
|
||||||
|
.wallet-illustration {
|
||||||
|
content:url(/img/graphics/wallet-dark.png)
|
||||||
|
}
|
||||||
|
|
||||||
|
.token-illustration {
|
||||||
|
content:url(/img/graphics/tokens-dark.png)
|
||||||
|
}
|
||||||
|
|
||||||
|
.connections-illustration {
|
||||||
|
content:url(/img/graphics/nodes-dark.png)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.quickstart-image {
|
||||||
|
content:url(/img/graphics/getting-started-pages-dark.svg)
|
||||||
|
}
|
||||||
|
|
||||||
|
.dev-tools-img {
|
||||||
|
content:url(/img/graphics/dev-tools-dark.png)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -55,11 +55,10 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
||||||
{% macro useCasesCard(subItems, title, src, id) %}
|
{% macro useCasesCard(subItems, title, imgClass, id) %}
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<img
|
<img
|
||||||
class="use-cases-img img-fluid mb-2 shadow"
|
class="use-cases-img img-fluid mb-2 shadow {{imgClass}}"
|
||||||
src={{src}}
|
|
||||||
alt="{{title}}"
|
alt="{{title}}"
|
||||||
id={{id}}
|
id={{id}}
|
||||||
>
|
>
|
||||||
@@ -125,7 +124,7 @@
|
|||||||
{
|
{
|
||||||
"title": "Build a Wallet",
|
"title": "Build a Wallet",
|
||||||
"id": "build-a-wallet",
|
"id": "build-a-wallet",
|
||||||
"src": "/assets/img/backgrounds/docs-wallet@2x.png",
|
"imgClass": "wallet-illustration",
|
||||||
"subItems": [
|
"subItems": [
|
||||||
{
|
{
|
||||||
"description": "Use Specialized Payment Types",
|
"description": "Use Specialized Payment Types",
|
||||||
@@ -140,7 +139,7 @@
|
|||||||
{
|
{
|
||||||
"title": "NFTs",
|
"title": "NFTs",
|
||||||
"id": "nfts",
|
"id": "nfts",
|
||||||
"src": "/assets/img/backgrounds/docs-nft@2x.png",
|
"imgClass": "token-illustration",
|
||||||
"subItems": [
|
"subItems": [
|
||||||
{
|
{
|
||||||
"description": "NFT Conceptual Overview",
|
"description": "NFT Conceptual Overview",
|
||||||
@@ -159,7 +158,7 @@
|
|||||||
{
|
{
|
||||||
"title": "Run an XRP Ledger Node",
|
"title": "Run an XRP Ledger Node",
|
||||||
"id": "run-an-xrp-ledger-node",
|
"id": "run-an-xrp-ledger-node",
|
||||||
"src": "/assets/img/backgrounds/docs-node@2x.png",
|
"imgClass": "connections-illustration",
|
||||||
"subItems": [
|
"subItems": [
|
||||||
{
|
{
|
||||||
"description": "About the Server",
|
"description": "About the Server",
|
||||||
@@ -259,9 +258,9 @@
|
|||||||
|
|
||||||
<section class="text-left">
|
<section class="text-left">
|
||||||
<h4 class="pb-4">Use Cases</h4>
|
<h4 class="pb-4">Use Cases</h4>
|
||||||
<div class="card-grid card-grid-3xN">
|
<div class="card-grid card-grid-3xN use-cases">
|
||||||
{% for useCase in useCases %}
|
{% for useCase in useCases %}
|
||||||
{{ useCasesCard(useCase.subItems, useCase.title, useCase.src, useCase.id)}}
|
{{ useCasesCard(useCase.subItems, useCase.title, useCase.imgClass, useCase.id)}}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
@@ -286,7 +285,6 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<img
|
<img
|
||||||
src="/assets/img/backgrounds/docs-quick-start.svg"
|
|
||||||
alt="quick-start"
|
alt="quick-start"
|
||||||
id="quick-start-img"
|
id="quick-start-img"
|
||||||
class="quickstart-image"
|
class="quickstart-image"
|
||||||
@@ -364,7 +362,6 @@
|
|||||||
<div class="card-grid card-grid-2xN">
|
<div class="card-grid card-grid-2xN">
|
||||||
<div class="col d-flex align-items-center justify-content-center">
|
<div class="col d-flex align-items-center justify-content-center">
|
||||||
<img
|
<img
|
||||||
src="/assets/img/backgrounds/docs-devtools-@2x.png"
|
|
||||||
class="dev-tools-img"
|
class="dev-tools-img"
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||