File size: 7,304 Bytes
fb62a97
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
cdfb5de
 
 
fb62a97
cdfb5de
 
 
 
 
 
fb62a97
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
/* Top navigation: navy bar, a single rounded active link, and compact account tools. */

.pw-nav { --label: #f5f7fb; --label-2: #a6b3ca; --label-3: #8192ae; --sep: rgba(255,255,255,.07); --sep-strong: rgba(255,255,255,.13);
  --fill: rgba(255,255,255,.07); --fill-2: #29364f;
  position: sticky; top: 0; z-index: var(--z-sticky); flex: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  width: calc(100% - 48px); max-width: 1760px; box-sizing: border-box; margin: 0 auto; gap: var(--sp-4); height: 78px; padding: 0 28px;
  background: #1b253a; border-bottom: 1px solid rgba(255,255,255,.06); border-radius: 0 0 16px 16px; }

.pw-nav-brand { justify-self: start; display: inline-flex; align-items: center; gap: 10px; color: var(--label); text-decoration: none; }
.pw-nav-brand:hover { text-decoration: none; }
.pw-nav-brand .astra-logo { height: 36px; max-width: 76px; }
.pw-nav-name { display: flex; flex-direction: column; font: 600 15px/16px var(--font-display); letter-spacing: -0.01em; padding-left: 10px;
  border-left: 1px solid var(--sep-strong); }
.pw-nav-name .astra-wordmark { font-size: 22px; line-height: 24px; }
.pw-nav-name small { font: 500 11px/14px var(--font-display); color: var(--label-3); letter-spacing: 0.02em; }

.pw-nav-pill { display: flex; align-items: center; gap: 4px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.pw-nav-item { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent;
  color: var(--label-2); font: 500 14px var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: color var(--d1), background var(--d1); }
.pw-nav-item svg { flex: none; color: #8fa0bb; }
.pw-nav-item:hover { color: var(--label); background: var(--fill); text-decoration: none; }
.pw-nav-item[data-active] { color: var(--label); background: var(--fill-2); font-weight: 700; }
.pw-nav-item[data-active] svg { color: #55c5ae; }
.pw-nav-item:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pw-nav-badge { min-width: 17px; height: 17px; padding: 0 5px; box-sizing: border-box; border-radius: 9px; background: var(--ember); color: #fff;
  font: 800 10px/17px var(--font); text-align: center; }

.pw-nav-right { justify-self: end; display: flex; align-items: center; gap: var(--sp-2); }
.pw-nav-icon { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--sep-strong); border-radius: 9px; background: transparent;
  color: var(--label-2); cursor: pointer; }
.pw-nav-icon:hover { color: var(--label); background: var(--fill); }
.pw-nav-warn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 999px; background: var(--red-soft); color: var(--red);
  font: 700 12px var(--font); }
/* The environment remains visibly distinct from page navigation. */
html body .pw-nav .fpt-env.pw-nav-env { width: auto; max-width: 260px; margin: 0; padding: 4px 12px 4px 6px; gap: 8px; border-radius: 999px; background: rgba(var(--ember-rgb), 0.08);
  box-shadow: inset 0 0 0 1px rgba(var(--ember-rgb), 0.55); }
html body .pw-nav .fpt-env.pw-nav-env:hover { background: rgba(var(--ember-rgb), 0.16); }
html body .pw-nav .fpt-env.pw-nav-env .fpt-env-tile { width: 24px; height: 24px; border-radius: 50%; }
html body .pw-nav .fpt-env.pw-nav-env .fpt-env-label { line-height: 14px; }
html body .pw-nav .fpt-me[data-compact] { width: 36px; height: 36px; padding: 0; justify-content: center; border: 0; background: transparent; border-radius: 50%; }

/* Environment menu: grouped pods, clear reachability, and a separated management action. */
.mantine-Menu-dropdown.fpt-env-dropdown { padding: 12px; border: 1px solid var(--sep-strong); border-radius: 18px; }
.fpt-env-dropdown .mantine-Menu-label.fpt-env-group { padding: 8px 10px 4px; color: var(--label-3); font-size: var(--fs-sm); font-weight: var(--fw-medium); letter-spacing: 0; text-transform: none; }
html body .fpt-env-dropdown .mantine-Menu-item.fpt-env-option { min-height: 60px; padding: 9px 10px; border-radius: 10px; color: var(--label); }
html body .fpt-env-dropdown .mantine-Menu-item.fpt-env-option:hover { background: var(--fill-2); }
.fpt-env-dropdown .fpt-env-option .mantine-Menu-itemSection { color: var(--label-2); }
.fpt-env-dropdown .fpt-env-option .mantine-Menu-itemSection[data-position='right'] { color: var(--label); }
.fpt-env-dropdown .mantine-Menu-divider.fpt-env-divider { margin: 8px 4px; border-color: var(--sep); }
html body .fpt-env-dropdown .mantine-Menu-item.fpt-env-manage { min-height: 42px; padding: 8px 10px; border-radius: 10px; color: var(--label); font-size: var(--fs-base); }
html body .fpt-env-dropdown .mantine-Menu-item.fpt-env-manage:hover { background: var(--fill-2); }

/* the shell with the navigation on top */
.fpt-shell[data-nav='top'] { flex-direction: column; }
.fpt-shell[data-nav='top']::before { display: none; }
.fpt-shell[data-nav='top'] > .fpt-main { flex: 1 1 auto; min-height: 0; box-shadow: none; }
/* the warm glow behind the top of every page */
.fpt-shell[data-nav='top'] > .fpt-main::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 420px; background: var(--glow); pointer-events: none; z-index: 0; }
.fpt-shell[data-nav='top'] > .fpt-main > * { position: relative; z-index: 1; }

@media (max-width: 1279px) {
  .pw-nav { height: 68px; padding: 0 16px; gap: var(--sp-2); }
  .pw-nav-brand .astra-logo { height: 32px; }
  .pw-nav-name .astra-wordmark { font-size: 20px; line-height: 22px; }
  .pw-nav-name small { display: none; }
  .pw-nav-item { gap: 7px; padding: 0 10px; }
  html body .pw-nav .fpt-env.pw-nav-env .fpt-env-label { display: none; }
}
html body .pw-nav .fpt-env.pw-nav-env .fpt-env-label b, html body .pw-nav .fpt-env.pw-nav-env .fpt-env-sub { display: block; max-width: 170px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (min-width: 768px) and (max-width: 1023px) {
  .pw-nav { width: 100%; max-width: none; margin: 0; border-radius: 0; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding-inline: 12px; }
  .pw-nav-brand, .pw-nav-env, .pw-nav-icon { display: none; }
  .pw-nav-pill { min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .pw-nav-pill::-webkit-scrollbar { display: none; }
  .pw-nav-item { gap: 6px; padding-inline: 8px; }
  .pw-nav-right { gap: 4px; }
}
/* phones: the menu button, the mark, then search, notifications and the account; pages, theme and environment are in the
   menu drawer */
.pw-nav-menu { display: none; }
@media (max-width: 767px) {
  .pw-nav { width: 100%; max-width: none; margin: 0; border-radius: 0; height: 60px; padding-inline: 12px; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; }
  .pw-nav-menu { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--sep-strong); border-radius: 9px;
    background: transparent; color: var(--label); cursor: pointer; }
  .pw-nav-brand .astra-logo { height: 28px; }
  html body .pw-nav .pw-nav-name, html body .pw-nav .pw-nav-pill, html body .pw-nav .fpt-env.pw-nav-env, html body .pw-nav .pw-nav-icon[data-tool='theme'] { display: none; }
  .pw-nav-right { gap: 6px; }
}