Refine harbor brand mode swap positioning and styling
This commit is contained in:
@@ -135,6 +135,7 @@ p {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.harbor-brand-content {
|
.harbor-brand-content {
|
||||||
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 9px;
|
gap: 9px;
|
||||||
@@ -207,12 +208,12 @@ p {
|
|||||||
transition: color 420ms ease, opacity 420ms ease, filter 420ms ease, transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
|
transition: color 420ms ease, opacity 420ms ease, filter 420ms ease, transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.harbor-mode-connect {
|
.harbor-brand .harbor-mode-connect {
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
color: var(--harbor-connect);
|
color: var(--harbor-connect);
|
||||||
}
|
}
|
||||||
|
|
||||||
.harbor-mode-gateway {
|
.harbor-brand .harbor-mode-gateway {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
color: var(--harbor-gateway);
|
color: var(--harbor-gateway);
|
||||||
opacity: 0.2;
|
opacity: 0.2;
|
||||||
@@ -235,18 +236,26 @@ p {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.harbor-brand .harbor-mode-swap {
|
.harbor-brand .harbor-mode-swap {
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: calc(100% + 12px);
|
||||||
width: 14px;
|
width: 14px;
|
||||||
height: 14px;
|
height: 14px;
|
||||||
opacity: 0.42;
|
color: var(--harbor-connect);
|
||||||
|
opacity: 0.82;
|
||||||
stroke-width: 1.35;
|
stroke-width: 1.35;
|
||||||
|
transform: translateY(-50%);
|
||||||
transition: color 320ms ease, opacity 320ms ease, transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
|
transition: color 320ms ease, opacity 320ms ease, transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.harbor-brand.is-gateway-active .harbor-mode-swap {
|
||||||
|
color: var(--harbor-gateway);
|
||||||
|
}
|
||||||
|
|
||||||
.harbor-brand-control:hover .harbor-mode-swap,
|
.harbor-brand-control:hover .harbor-mode-swap,
|
||||||
.harbor-brand-control:focus-visible .harbor-mode-swap {
|
.harbor-brand-control:focus-visible .harbor-mode-swap {
|
||||||
color: var(--harbor-gateway);
|
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
transform: translateX(1px);
|
transform: translate(1px, -50%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.client-instructions-toggle {
|
.client-instructions-toggle {
|
||||||
|
|||||||
Reference in New Issue
Block a user