1
0
mirror of https://github.com/TheGreyDiamond/Enlight.git synced 2025-12-16 23:10:45 +01:00

retry that

This commit is contained in:
TheGreyDiamond
2020-11-24 17:25:03 +01:00
parent 45adfc9886
commit 216047f91d
3 changed files with 83 additions and 19 deletions

View File

@@ -2,23 +2,10 @@
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>enlight</title> <title><%= htmlWebpackPlugin.options.title %></title>
<% if (htmlWebpackPlugin.options.nodeModules) { %>
<!-- Add `node_modules/` to global paths so `require` works properly in development -->
<script>
require('module').globalPaths.push('<%= htmlWebpackPlugin.options.nodeModules.replace(/\\/g, '\\\\') %>')
</script>
<% } %>
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>
<!-- Set `__static` path to static files in production -->
<% if (!process.browser) { %>
<script>
if (process.env.NODE_ENV !== 'development') window.__static = require('path').join(__dirname, '/static').replace(/\\/g, '\\\\')
</script>
<% } %>
<!-- webpack builds are automatically injected --> <!-- webpack builds are automatically injected -->
</body> </body>
</html> </html>

View File

@@ -11,5 +11,82 @@
</script> </script>
<style> <style>
/* CSS */ /*@import url("./fonts/Quicksand-Regular.ttf");*/
body,
html {
margin: 0px;
background-color: rgb(51, 51, 51);
height: 100%;
width: 100%;
overflow: hidden;
font-family: "Quicksand", sans-serif;
color: white;
}
small {
font-size: 10px;
}
.header-bar {
margin: 0px;
padding: 0px;
width: 100%;
height: 34px;
background-color: rgba(36, 36, 36, 0.9);
}
.header-clock {
padding: 2px;
padding-right: 4px;
}
.battery {
right: 80px;
position: fixed;
padding: 2px;
padding-right: 4px;
}
.loader1 {
position: fixed;
right: 80px;
}
.areaRight {
float: right;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #f1f1f1;
min-width: 160px;
overflow: auto;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 1;
right: 0px;
}
.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
.dropdown a:hover {
background-color: #ddd;
}
.show {
display: block;
}
network {
cursor: pointer;
}
.headerIframe {
width: 100%;
border: 0px;
height: 2.5%;
}
</style> </style>