a b/public/niivue.css
1
html {
2
  height: auto;
3
  min-height: 100%;
4
  margin: 0;
5
}
6
body {
7
  display: flex;
8
  flex-direction: column;
9
  margin: 0;
10
  min-height: 100%;
11
  width: 100%;
12
  position: absolute;
13
  font-family: system-ui, Arial, Helvetica, sans-serif;
14
  user-select: none; /* Standard syntax */
15
  color: white;
16
  background: #303030;
17
}
18
header {
19
  margin: 10px;
20
}
21
main {
22
  flex: 1;
23
  background: #000000;
24
  position: relative;
25
}
26
footer {
27
  margin: 10px;
28
}
29
canvas {
30
  position: absolute;
31
  cursor: crosshair;
32
}
33
canvas:focus {
34
  outline: 0px;
35
}
36
div {
37
  display: table-row;
38
  background-color: blue;
39
}
40
.dropdown {
41
  float: left;
42
  overflow: hidden;
43
}
44
.dropdown .dropbtn {
45
  font-size: 16px;
46
  border: none;
47
  outline: none;
48
  color: white;
49
  padding: 12px 12px;
50
  background-color: #303030;
51
  font-family: inherit;
52
  margin: 0;
53
}
54
.dropdown:hover .dropbtn {
55
  background-color: #9a9;
56
}
57
.dropdown-content {
58
  display: none;
59
  position: absolute;
60
  background-color: #303030;
61
  min-width: 160px;
62
  border-radius: 5px;
63
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
64
  z-index: 1;
65
}
66
.dropdown-content a {
67
  float: none;
68
  color: white;
69
  padding: 12px 16px;
70
  text-decoration: none;
71
  display: block;
72
  text-align: left;
73
  line-height: 6px;
74
}
75
.dropdown-content a:hover {
76
  background-color: #aba;
77
}
78
.dropdown:hover .dropdown-content {
79
  display: block;
80
}
81
.dropdown-item-checked::before {
82
  position: absolute;
83
  left: 0.2rem;
84
  content: "\2022"; /* or '✓' */
85
  font-weight: 600;
86
}
87
.divider {
88
  border-top: 1px solid grey;
89
}
90
.vertical-divider {
91
  border-left: 1px solid grey;
92
  height: 40px;
93
}
94
.help-text {
95
  margin: auto;
96
  max-width: 150px;
97
  padding: 0 10px;
98
}
99
.slidecontainer {
100
  padding: 10px 10px;
101
  white-space: normal;
102
  word-break: break-word;
103
  display: flex;
104
  align-items: center;
105
  flex: 0 0 auto;
106
}
107
108
div.footer { width: 100%; display: block; background: #303030;}
109
table.footer { width: 100%;height: 100%; table-layout: fixed;}
110
111
.github-star {
112
  display: inline-flex;
113
  align-items: center;
114
  background-color: #fff;
115
  border: 1px solid #d1d5da;
116
  border-radius: 6px;
117
  font-size: 14px;
118
  font-weight: 600;
119
  color: #24292e;
120
  text-decoration: none;
121
}
122
123
.github-star .star-button {
124
  display: flex;
125
  align-items: center;
126
  background-color: #ffffff;
127
  padding: 5px 12px;
128
  border-radius: 6px 0 0 6px;
129
}
130
131
.github-star .star-button span {
132
  color: #24292e;
133
  padding-left: 5px;
134
}
135
136
.github-star #star-count {
137
  background-color: #eff3f6;
138
  padding: 5px 12px;
139
  border-left: 1px solid #d1d5da;
140
  border-radius: 0 6px 6px 0;
141
  font-size: 14px;
142
  font-weight: 600;
143
  color: #24292e;
144
}