login now use local font

This commit is contained in:
BlasenhauerJ 2023-05-22 15:16:20 +02:00
parent 7553ffb632
commit ad71be4608
3 changed files with 16 additions and 10 deletions

View file

@ -0,0 +1,8 @@
@font-face {
font-family: "Open Sans";
src: url("../webfonts/OpenSans.ttf");
}
* {
font-family: "Open Sans", sans-serif !important;
}

Binary file not shown.

View file

@ -8,12 +8,8 @@
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>BunkerWeb UI</title>
<link href="images/favicon.ico" rel="icon" type="image/x-icon" />
<!-- Fonts and icons -->
<link
href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700"
rel="stylesheet"
/>
<link rel="stylesheet" href="css/dashboard.css" />
<link rel="stylesheet" href="css/login.css" />
</head>
<body>
<div
@ -221,7 +217,9 @@
window.addEventListener("click", (e) => {
try {
if (
e.target.closest("button").hasAttribute("data-close-flash-message")
e.target
.closest("button")
.hasAttribute("data-close-flash-message")
) {
const closeBtn = e.target.closest("button");
const flashEl = closeBtn.closest("[data-flash-message]");