File size: 1,973 Bytes
7f00c04
 
 
 
 
c25b201
7f00c04
 
c25b201
 
7f00c04
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c25b201
 
7f00c04
 
c25b201
 
7f00c04
 
 
 
c25b201
 
7f00c04
 
 
 
 
 
c25b201
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
/* Space-owned safety net. The full hfviewer shell is vendored alongside this
   file, but these colors also prevent a white flash while the larger styles
   are parsed. */
:root,
html,
body {
  color-scheme: dark;
  background: #050914 !important;
}

body {
  min-height: 100vh;
  color: #f5f7fb;
}

/* The Space snapshot normally hides hfviewer.com's own cross-origin auth.
   Native Space OAuth is the one exception. */
body .hfnx-auth > [data-space-native-auth] {
  display: inline-flex !important;
}

.space-native-auth-login {
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: #f8fafc;
  font: 600 13px/1 Inter, ui-sans-serif, system-ui, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.space-native-auth-login:hover {
  border-color: rgba(159, 255, 102, 0.62);
  background: rgba(159, 255, 102, 0.1);
  transform: translateY(-1px);
}

.space-native-auth-login[aria-disabled="true"] {
  cursor: wait;
  opacity: 0.62;
}

.space-native-auth-wrap {
  position: relative;
  align-items: center;
}

.space-native-auth-wrap .hfnx-auth__chip {
  display: inline-flex !important;
}

body .space-native-auth-menu {
  display: none !important;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 4200;
  min-width: 168px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(13, 17, 29, 0.98);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
}

body .space-native-auth-menu.is-open {
  display: grid !important;
}

.space-native-auth-menu .hfnx-auth__item {
  width: 100%;
  box-sizing: border-box;
  text-align: left;
}

@media (max-width: 640px) {
  .space-native-auth-login {
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }
}