mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-12-03 01:55:51 +00:00
Merge branch 'master' of https://github.com/JakeatRipple/xrpl-dev-portal into feat-funding
# Conflicts: # assets/css/devportal2022-v7.css
This commit is contained in:
@@ -1326,3 +1326,108 @@
|
||||
background-color: $gray-500;
|
||||
}
|
||||
}
|
||||
|
||||
.page-dev-tools {
|
||||
@each $tool,
|
||||
$card-graphic
|
||||
in (
|
||||
"xrp-explorer": "3-col-orange",
|
||||
"bithomp-explorer": "3-col-light-blue",
|
||||
"xrpscan": "3-col-pink",
|
||||
"token-list": "3-col-pink2",
|
||||
"websocket": "3-col-purple2",
|
||||
"rpc": "3-col-green",
|
||||
"technical-explorer": "3-col-purple-blue",
|
||||
"faucets": "3-col-pink2",
|
||||
"trasaction-sender": "3-col-light-blue2",
|
||||
"domain": "3-col-green-purple",
|
||||
"xrp-ledger": "3-col-dark-blue",
|
||||
"binary-visualizer": "3-col-purple-blue",
|
||||
"token-metadata-lookup": "3-col-pink-purple"
|
||||
)
|
||||
{
|
||||
##{$tool} {
|
||||
.card-footer {
|
||||
background-image: url("../img/cards/#{$card-graphic}.svg");
|
||||
}
|
||||
}
|
||||
}
|
||||
.nav-link {
|
||||
color: $gray-400;
|
||||
background-color: $gray-900;
|
||||
border-top: none;
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
border-bottom-color: $gray-600;
|
||||
}
|
||||
|
||||
@media (max-width: 767.98px) {
|
||||
.nav-tabs {
|
||||
display: flex;
|
||||
list-style: none;
|
||||
margin-left: 0;
|
||||
padding-left: 0;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.nav-item {
|
||||
display: inline-flex;
|
||||
width: auto;
|
||||
list-style: outside none none;
|
||||
}
|
||||
.nav-link {
|
||||
display: inline-flex;
|
||||
width: auto;
|
||||
padding: 1em 1em;
|
||||
}
|
||||
}
|
||||
.nav-link.active {
|
||||
border-bottom-color: $blue-purple-400;
|
||||
color: $white;
|
||||
font-weight: bold;
|
||||
}
|
||||
.nav-tabs {
|
||||
border-bottom: 1px solid $gray-600;
|
||||
}
|
||||
.btn {
|
||||
padding: 0.75rem;
|
||||
}
|
||||
|
||||
@media (max-width: 767.98px) {
|
||||
.btn-arrow-out {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.btn-arrow-out::after {
|
||||
background-position: left 0px bottom 0px;
|
||||
content: "\00a0";
|
||||
background-image: url(../img/icons/arrow-up-right-white.svg);
|
||||
background-repeat: no-repeat;
|
||||
display: inline-block;
|
||||
padding: 4px 8px 4px 12px;
|
||||
transition: background-position 0.3s ease-in-out;
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
.btn-arrow-out:hover::after {
|
||||
background-position: left 4px bottom 4px;
|
||||
}
|
||||
}
|
||||
html.light {
|
||||
.page-dev-tools {
|
||||
.nav-link {
|
||||
background-color: $gray-100;
|
||||
}
|
||||
.nav-link.active {
|
||||
border-bottom-color: $blue-purple-400;
|
||||
color: $black;
|
||||
font-weight: bold;
|
||||
}
|
||||
.nav-link {
|
||||
color: $black;
|
||||
}
|
||||
#trasaction-sender .card-footer{
|
||||
background-image: url("../img/cards/3-col-light-blue-2.svg");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user