latest changes before manual submissions redesign
This commit is contained in:
@@ -37,7 +37,8 @@
|
||||
background: #111a31d9;
|
||||
box-shadow: 0 .5rem 1.5rem #03071440;
|
||||
}
|
||||
.fireworks-nav a {
|
||||
.fireworks-nav a,
|
||||
.fireworks-nav button {
|
||||
padding: .5rem .75rem;
|
||||
border-radius: .5rem;
|
||||
color: var(--muted, var(--m, #aab9d8));
|
||||
@@ -45,7 +46,10 @@
|
||||
font-weight: 750;
|
||||
text-decoration: none;
|
||||
}
|
||||
.fireworks-nav a:hover { color: var(--ink, var(--i, #eef3ff)); background: #20345f; }
|
||||
.fireworks-nav form { display: flex; margin: 0; }
|
||||
.fireworks-nav button { border: 0; background: transparent; font: inherit; cursor: pointer; }
|
||||
.fireworks-nav a:hover,
|
||||
.fireworks-nav button:hover { color: var(--ink, var(--i, #eef3ff)); background: #20345f; }
|
||||
.fireworks-nav a[aria-current="page"] { color: var(--ink, var(--i, #eef3ff)); background: #2a3b67; }
|
||||
.theme-toggle--inline {
|
||||
position: static;
|
||||
@@ -59,8 +63,10 @@
|
||||
background: #edf4ff;
|
||||
box-shadow: 0 .45rem 1.25rem rgba(34, 68, 117, .12);
|
||||
}
|
||||
:root[data-theme="light"] .fireworks-nav a { color: #47617f; }
|
||||
:root[data-theme="light"] .fireworks-nav a:hover { color: #234a7b; background: #dceaff; }
|
||||
:root[data-theme="light"] .fireworks-nav a,
|
||||
:root[data-theme="light"] .fireworks-nav button { color: #47617f; }
|
||||
:root[data-theme="light"] .fireworks-nav a:hover,
|
||||
:root[data-theme="light"] .fireworks-nav button:hover { color: #234a7b; background: #dceaff; }
|
||||
:root[data-theme="light"] .fireworks-nav a[aria-current="page"] {
|
||||
color: #173d6a;
|
||||
background: #cfe3ff;
|
||||
@@ -89,6 +95,10 @@
|
||||
.fireworks-header__controls { display: none; flex-basis: 100%; width: 100%; flex-direction: column; align-items: stretch; }
|
||||
.fireworks-menu-toggle[aria-expanded="true"] ~ .fireworks-header__controls { display: flex; }
|
||||
.fireworks-nav { flex-direction: column; }
|
||||
.fireworks-nav a { padding: .75rem; }
|
||||
.fireworks-nav a,
|
||||
.fireworks-nav button { padding: .75rem; }
|
||||
.fireworks-nav form,
|
||||
.fireworks-nav button { width: 100%; }
|
||||
.fireworks-nav button { text-align: left; }
|
||||
.theme-toggle--inline { width: 100%; }
|
||||
}
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
.manual-compass {
|
||||
display: grid;
|
||||
justify-items: center;
|
||||
width: 7rem;
|
||||
margin: .6rem 0 0 auto;
|
||||
color: #fff3d7;
|
||||
font-size: .78rem;
|
||||
font-weight: 850;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.manual-compass[hidden] { display: none; }
|
||||
.manual-compass__dial {
|
||||
position: relative;
|
||||
width: 5.75rem;
|
||||
aspect-ratio: 1;
|
||||
border: 2px solid #f2d7a8;
|
||||
border-radius: 50%;
|
||||
background: radial-gradient(circle, #342441 0 28%, #211a32 75%);
|
||||
box-shadow: 0 .35rem 1rem #09061566, inset 0 0 0 .25rem #ffffff12;
|
||||
}
|
||||
.manual-compass__rose { position: absolute; inset: 0; transition: transform 120ms ease-out; }
|
||||
.manual-compass__rose span { position: absolute; line-height: 1; }
|
||||
.manual-compass__north { top: .38rem; left: 50%; color: #ff9e78; transform: translateX(-50%); }
|
||||
.manual-compass__east { right: .47rem; top: 50%; transform: translateY(-50%); }
|
||||
.manual-compass__south { bottom: .38rem; left: 50%; transform: translateX(-50%); }
|
||||
.manual-compass__west { left: .47rem; top: 50%; transform: translateY(-50%); }
|
||||
.manual-compass__pointer {
|
||||
position: absolute;
|
||||
top: -.55rem;
|
||||
left: 50%;
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-right: .37rem solid transparent;
|
||||
border-bottom: .65rem solid #ffbd62;
|
||||
border-left: .37rem solid transparent;
|
||||
transform: translateX(-50%);
|
||||
filter: drop-shadow(0 .1rem .15rem #160d1b);
|
||||
}
|
||||
.manual-compass__center {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: .5rem;
|
||||
aspect-ratio: 1;
|
||||
border-radius: 50%;
|
||||
background: #ffbd62;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
.manual-compass__heading { margin-top: .5rem; white-space: nowrap; }
|
||||
:root[data-theme="light"] .manual-compass { color: #43243d; }
|
||||
:root[data-theme="light"] .manual-compass__dial { border-color: #996a9b; background: radial-gradient(circle, #f8ebf8 0 28%, #e8d7e9 75%); }
|
||||
:root[data-theme="light"] .manual-compass__east,
|
||||
:root[data-theme="light"] .manual-compass__south,
|
||||
:root[data-theme="light"] .manual-compass__west { color: #43243d; }
|
||||
@media (prefers-reduced-motion: reduce) { .manual-compass__rose { transition: none; } }
|
||||
Reference in New Issue
Block a user