1
0
mirror of https://github.com/TheGreyDiamond/Enlight.git synced 2026-03-31 23:00:24 +02:00
This commit is contained in:
TheGreyDiamond
2020-11-24 17:38:17 +01:00
parent 216047f91d
commit 29be9597f1
16 changed files with 107 additions and 2155 deletions

View File

@@ -2,10 +2,23 @@
<html>
<head>
<meta charset="utf-8">
<title><%= htmlWebpackPlugin.options.title %></title>
<title>enlight</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>
<body>
<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 -->
</body>
</html>
</html>

View File

@@ -5,88 +5,11 @@
</template>
<script>
export default {
name: 'enlight'
}
export default {
name: 'enlight'
}
</script>
<style>
/*@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%;
}
/* CSS */
</style>

View File

@@ -1,12 +1,10 @@
import Vue from 'vue'
import axios from 'axios'
import App from './App'
import router from './router'
import store from './store'
if (!process.env.IS_WEB) Vue.use(require('vue-electron'))
Vue.http = Vue.prototype.$http = axios
Vue.config.productionTip = false
/* eslint-disable no-new */