Skip to content

Commit 33628a7

Browse files
Add OpenFusionClient assets
1 parent b1bfa8a commit 33628a7

36 files changed

+13009
-315
lines changed

app/css/bootstrap.min.css

+30
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/css/openfusion.css

+188
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,188 @@
1+
:not(input):not(textarea),
2+
:not(input):not(textarea)::after,
3+
:not(input):not(textarea)::before {
4+
-webkit-user-select: none;
5+
user-select: none;
6+
}
7+
8+
#server-table > .table-striped thead th {
9+
background-color: #34476e;
10+
}
11+
12+
#server-table > .table-striped tbody tr:nth-of-type(odd) {
13+
background-color: #34476e;
14+
}
15+
16+
#server-listing-placeholder > td {
17+
background-color: #24314d;
18+
user-select: none;
19+
-webkit-user-select: none;
20+
}
21+
22+
#server-table > .table-striped tbody tr:nth-of-type(even),
23+
th {
24+
background-color: #24314d;
25+
}
26+
27+
#server-table {
28+
font-size: 14pt;
29+
opacity: 0.9;
30+
}
31+
32+
#of-intro-text {
33+
text-shadow: 1px 1px 8px #4349c4;
34+
color: #4a76b7;
35+
font-size: 18px;
36+
}
37+
38+
img {
39+
pointer-events: none;
40+
}
41+
42+
:root {
43+
--gray-dark: #343a40;
44+
--primary: #6699ff;
45+
--secondary: #384e7a;
46+
--dark: #384e7a;
47+
}
48+
49+
body {
50+
width: 100%;
51+
height: 100%;
52+
margin: 0;
53+
padding: 0;
54+
clear: both;
55+
user-select: none;
56+
background-color: #000;
57+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
58+
"Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
59+
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
60+
}
61+
62+
#of-versionnumberdiv {
63+
position: fixed;
64+
bottom: 4px;
65+
right: 8px;
66+
}
67+
68+
.btn-primary {
69+
background-image: url("../img/btn-primary-bg.png");
70+
background-repeat: repeat;
71+
}
72+
73+
.btn-success {
74+
background-image: url("../img/btn-success-bg.png");
75+
background-repeat: repeat;
76+
}
77+
78+
.btn-danger {
79+
background-image: url("../img/btn-danger-bg.png");
80+
background-repeat: repeat;
81+
}
82+
83+
.btn-warning {
84+
background-image: url("../img/btn-warning-bg.png");
85+
background-repeat: repeat;
86+
}
87+
88+
#of-aboutmodal > .modal-dialog > .modal-content {
89+
background-color: #093363;
90+
border-color: #6699ff;
91+
}
92+
93+
#of-addservermodal > .modal-dialog > .modal-content {
94+
background-color: #093363;
95+
border-color: #6699ff;
96+
}
97+
98+
#of-editservermodal > .modal-dialog > .modal-content {
99+
background-color: #093363;
100+
border-color: #6699ff;
101+
}
102+
103+
#of-deleteservermodal > .modal-dialog > .modal-content {
104+
background-color: #093363;
105+
border-color: #6699ff;
106+
}
107+
108+
#of-restoreserversmodal > .modal-dialog > .modal-content {
109+
background-color: #093363;
110+
border-color: #6699ff;
111+
}
112+
113+
#of-editcacheconfigmodal > .modal-dialog > .modal-content {
114+
background-color: #093363;
115+
border-color: #6699ff;
116+
}
117+
118+
#of-editconfigmodal > .modal-dialog > .modal-content {
119+
background-color: #093363;
120+
border-color: #6699ff;
121+
}
122+
123+
#of-addversionmodal > .modal-dialog > .modal-content {
124+
background-color: #093363;
125+
border-color: #6699ff;
126+
}
127+
128+
#of-editversionmodal > .modal-dialog > .modal-content {
129+
background-color: #093363;
130+
border-color: #6699ff;
131+
}
132+
133+
#of-deleteversionmodal > .modal-dialog > .modal-content {
134+
background-color: #093363;
135+
border-color: #6699ff;
136+
}
137+
138+
#of-restoreversionsmodal > .modal-dialog > .modal-content {
139+
background-color: #093363;
140+
border-color: #6699ff;
141+
}
142+
143+
.form-control,
144+
.form-control:focus {
145+
border-color: #0099ff;
146+
background-color: #000;
147+
color: #fff;
148+
}
149+
150+
select {
151+
border-color: #0099ff;
152+
background-color: #000;
153+
color: #fff;
154+
}
155+
156+
.modal {
157+
overflow-y: auto;
158+
}
159+
160+
.invalidinput {
161+
border-color: #ff0000;
162+
}
163+
164+
button:disabled {
165+
cursor: not-allowed;
166+
pointer-events: all !important;
167+
}
168+
169+
button > i {
170+
pointer-events: none;
171+
}
172+
173+
#of-logo {
174+
opacity: 0.9;
175+
}
176+
177+
#server-table .server-listing-entry {
178+
cursor: pointer;
179+
}
180+
181+
#client {
182+
width: 100%;
183+
height: 100%;
184+
margin: 0;
185+
padding: 0;
186+
background: #000;
187+
clear: both;
188+
}

app/favicon.ico

304 KB
Binary file not shown.

app/fonts/GeistMonoVF.woff

-66.3 KB
Binary file not shown.

app/fonts/GeistVF.woff

-64.7 KB
Binary file not shown.

app/fonts/KFOlCnqEu92Fr1MmWUlvAw.ttf

126 KB
Binary file not shown.

app/fonts/KFOmCnqEu92Fr1Me5Q.ttf

127 KB
Binary file not shown.

app/fonts/fa-brands-400.eot

129 KB
Binary file not shown.

app/fonts/fa-brands-400.svg

+3,535
Loading

app/fonts/fa-brands-400.ttf

129 KB
Binary file not shown.

app/fonts/fa-brands-400.woff

87 KB
Binary file not shown.

app/fonts/fa-brands-400.woff2

74.2 KB
Binary file not shown.

app/fonts/fa-regular-400.eot

33.6 KB
Binary file not shown.

app/fonts/fa-regular-400.svg

+803
Loading

app/fonts/fa-regular-400.ttf

33.3 KB
Binary file not shown.

app/fonts/fa-regular-400.woff

16.4 KB
Binary file not shown.

app/fonts/fa-regular-400.woff2

13.3 KB
Binary file not shown.

app/fonts/fa-solid-900.eot

190 KB
Binary file not shown.

app/fonts/fa-solid-900.svg

+4,700
Loading

app/fonts/fa-solid-900.ttf

189 KB
Binary file not shown.

app/fonts/fa-solid-900.woff

96.7 KB
Binary file not shown.

app/fonts/fa-solid-900.woff2

74.3 KB
Binary file not shown.

app/fonts/fontawesome-all.min.css

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/globals.css

-42
This file was deleted.

app/img/btn-danger-bg.png

123 Bytes
Loading

app/img/btn-primary-bg.png

123 Bytes
Loading

app/img/btn-success-bg.png

123 Bytes
Loading

app/img/btn-warning-bg.png

514 Bytes
Loading

app/img/of-3.png

83.2 KB
Loading

app/js/easter-eggs.js

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// You're kind of ruining the surprise by reading this, but whatever
2+
var today = new Date();
3+
4+
var christmasBegin = new Date(today.getFullYear(), 11, 21);
5+
var christmasEnd = new Date(today.getFullYear(), 11, 31);
6+
var sf;
7+
8+
if (today >= christmasBegin && today <= christmasEnd) {
9+
console.log("Christmas Activated.");
10+
sf = new Snowflakes({ zIndex: -100 });
11+
}
12+
13+
function stopEasterEggs() {
14+
if (sf != null) {
15+
sf.destroy();
16+
}
17+
}

app/js/snowflakes.min.js

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/layout.tsx

+12-17
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,17 @@
11
import type { Metadata } from "next";
22
import localFont from "next/font/local";
3-
import "./globals.css";
3+
import "./css/openfusion.css";
44

5-
const geistSans = localFont({
6-
src: "./fonts/GeistVF.woff",
7-
variable: "--font-geist-sans",
8-
weight: "100 900",
9-
});
10-
const geistMono = localFont({
11-
src: "./fonts/GeistMonoVF.woff",
12-
variable: "--font-geist-mono",
13-
weight: "100 900",
14-
});
15-
16-
export const metadata: Metadata = {
17-
title: "Create Next App",
18-
description: "Generated by create next app",
19-
};
5+
// const geistSans = localFont({
6+
// src: "./fonts/GeistVF.woff",
7+
// variable: "--font-geist-sans",
8+
// weight: "100 900",
9+
// });
10+
// const geistMono = localFont({
11+
// src: "./fonts/GeistMonoVF.woff",
12+
// variable: "--font-geist-mono",
13+
// weight: "100 900",
14+
// });
2015

2116
export default function RootLayout({
2217
children,
@@ -25,7 +20,7 @@ export default function RootLayout({
2520
}>) {
2621
return (
2722
<html lang="en">
28-
<body className={`${geistSans.variable} ${geistMono.variable}`}>
23+
<body>
2924
{children}
3025
</body>
3126
</html>

0 commit comments

Comments
 (0)