parent
a498e4edea
commit
6020a7c777
|
Before Width: | Height: | Size: 995 B |
|
Before Width: | Height: | Size: 2.5 KiB |
@ -0,0 +1,8 @@
|
||||
:root {
|
||||
--jet: hsla(0, 0%, 21%, 1);
|
||||
--gunmetal: hsla(216, 28%, 20%, 1);
|
||||
--cadet-gray: hsla(212, 8%, 58%, 1);
|
||||
--nyanza: hsla(114, 100%, 93%, 1);
|
||||
--rojo: hsla(357, 73%, 50%, 1);
|
||||
--basewhite: #f6f6f6;
|
||||
}
|
||||
@ -1,18 +0,0 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="stylesheet" href="styles.css" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Tauri App</title>
|
||||
<script type="module" src="/connect.js" defer></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<main class="container">
|
||||
<h1>Connect</h1>
|
||||
<div id="app">
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
@ -1,7 +0,0 @@
|
||||
const { once } = window.__TAURI__.event;
|
||||
const { getCurrentWebviewWindow } = window.__TAURI__.webviewWindow;
|
||||
|
||||
const appWebview = getCurrentWebviewWindow();
|
||||
appWebview.once("devices-loaded", (devices) => {
|
||||
console.log("Devices are loaded", devices);
|
||||
});
|
||||
@ -1 +1,7 @@
|
||||
const { once } = window.__TAURI__.event;
|
||||
|
||||
once("devices-loaded", (devices) => {
|
||||
console.log("Devices are loaded", devices);
|
||||
});
|
||||
|
||||
console.log("hello from main.js");
|
||||
|
||||
@ -0,0 +1,78 @@
|
||||
html, body, div, span, applet, object, iframe,
|
||||
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
||||
a, abbr, acronym, address, big, cite, code,
|
||||
del, dfn, em, img, ins, kbd, q, s, samp,
|
||||
small, strike, strong, sub, sup, tt, var,
|
||||
b, u, i, center,
|
||||
dl, dt, dd, ol, ul, li,
|
||||
fieldset, form, label, legend,
|
||||
table, caption, tbody, tfoot, thead, tr, th, td,
|
||||
article, aside, canvas, details, embed,
|
||||
figure, figcaption, footer, header, hgroup,
|
||||
menu, nav, output, ruby, section, summary,
|
||||
time, mark, audio, video {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
vertical-align: baseline;
|
||||
box-sizing: border-box;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
article, aside, details, figcaption, figure,
|
||||
footer, header, hgroup, menu, nav, section {
|
||||
display: block;
|
||||
}
|
||||
|
||||
ol, ul {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
img, picture, svg, video, iframe {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
button, input, select, textarea {
|
||||
font: inherit;
|
||||
color: inherit;
|
||||
background: transparent;
|
||||
border: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
outline: none;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
appearance: none;
|
||||
}
|
||||
|
||||
:focus {
|
||||
outline: 2px solid Highlight;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
button, [role="button"], a[type="button"] {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
:disabled, [disabled] {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.6;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*, *::before, *::after {
|
||||
animation-duration: 0.001ms !important;
|
||||
animation-iteration-count: 1 !important;
|
||||
transition-duration: 0.001ms !important;
|
||||
scroll-behavior: auto !important;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in new issue