mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-25 04:06:01 +00:00
web-svelte => web
This commit is contained in:
5
packages/web/public/dimensions.css
Normal file
5
packages/web/public/dimensions.css
Normal file
@@ -0,0 +1,5 @@
|
||||
:root {
|
||||
--dim-widget-icon-size: 50px;
|
||||
--dim-statusbar-height: 20px;
|
||||
--dim-left-panel-width: 300px;
|
||||
}
|
||||
BIN
packages/web/public/favicon.png
Normal file
BIN
packages/web/public/favicon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.1 KiB |
75
packages/web/public/global.css
Normal file
75
packages/web/public/global.css
Normal file
@@ -0,0 +1,75 @@
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, Segoe WPC, Segoe UI, HelveticaNeue-Light, Ubuntu, Droid Sans,
|
||||
sans-serif;
|
||||
font-size: 14px;
|
||||
/* font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
||||
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
|
||||
sans-serif;
|
||||
*/
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
/* html, body {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
color: #333;
|
||||
margin: 0;
|
||||
padding: 8px;
|
||||
box-sizing: border-box;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
}
|
||||
|
||||
a {
|
||||
color: rgb(0,100,200);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: rgb(0,80,160);
|
||||
}
|
||||
|
||||
label {
|
||||
display: block;
|
||||
}
|
||||
|
||||
input, button, select, textarea {
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
-webkit-padding: 0.4em 0;
|
||||
padding: 0.4em;
|
||||
margin: 0 0 0.5em 0;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
input:disabled {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
button {
|
||||
color: #333;
|
||||
background-color: #f4f4f4;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
button:disabled {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
button:not(:disabled):active {
|
||||
background-color: #ddd;
|
||||
}
|
||||
|
||||
button:focus {
|
||||
border-color: #666;
|
||||
} */
|
||||
22
packages/web/public/index.html
Normal file
22
packages/web/public/index.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset='utf-8'>
|
||||
<meta name='viewport' content='width=device-width,initial-scale=1'>
|
||||
|
||||
<title>Svelte app</title>
|
||||
|
||||
<link rel='icon' type='image/png' href='/favicon.png'>
|
||||
<link rel='stylesheet' href='/global.css'>
|
||||
<link rel='stylesheet' href='/theme-light.css'>
|
||||
<link rel='stylesheet' href='/theme-dark.css'>
|
||||
<link rel='stylesheet' href='/dimensions.css'>
|
||||
<link rel='stylesheet' href='/build/bundle.css'>
|
||||
<link rel='stylesheet' href='/build/fonts/materialdesignicons.css'>
|
||||
|
||||
<script defer src='/build/bundle.js'></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
||||
25
packages/web/public/theme-dark.css
Normal file
25
packages/web/public/theme-dark.css
Normal file
@@ -0,0 +1,25 @@
|
||||
.theme-dark {
|
||||
--theme-font-1: #000000;
|
||||
--theme-font-2: #4d4d4d;
|
||||
--theme-font-3: #808080;
|
||||
--theme-font-4: #b3b3b3;
|
||||
|
||||
--theme-bg-1: #ededed;
|
||||
--theme-bg-2: #d4d4d4;
|
||||
--theme-bg-3: #bbbbbb;
|
||||
--theme-bg-4: #a2a2a2;
|
||||
|
||||
--theme-font-inv-1: #FFFFFF;
|
||||
--theme-font-inv-2: #b3b3b3;
|
||||
--theme-font-inv-3: #808080;
|
||||
--theme-font-inv-4: #4d4d4d;
|
||||
|
||||
--theme-bg-inv-1: #222;
|
||||
--theme-bg-inv-2: #3c3c3c;
|
||||
--theme-bg-inv-3: #565656;
|
||||
--theme-bg-inv-4: #707070;
|
||||
|
||||
--theme-border: #ccc;
|
||||
|
||||
--theme-bg-statusbar-inv: blue;
|
||||
}
|
||||
25
packages/web/public/theme-light.css
Normal file
25
packages/web/public/theme-light.css
Normal file
@@ -0,0 +1,25 @@
|
||||
.theme-light {
|
||||
--theme-font-1: #000000;
|
||||
--theme-font-2: #4d4d4d;
|
||||
--theme-font-3: #808080;
|
||||
--theme-font-4: #b3b3b3;
|
||||
|
||||
--theme-bg-1: #ededed;
|
||||
--theme-bg-2: #d4d4d4;
|
||||
--theme-bg-3: #bbbbbb;
|
||||
--theme-bg-4: #a2a2a2;
|
||||
|
||||
--theme-font-inv-1: #FFFFFF;
|
||||
--theme-font-inv-2: #b3b3b3;
|
||||
--theme-font-inv-3: #808080;
|
||||
--theme-font-inv-4: #4d4d4d;
|
||||
|
||||
--theme-bg-inv-1: #222;
|
||||
--theme-bg-inv-2: #3c3c3c;
|
||||
--theme-bg-inv-3: #565656;
|
||||
--theme-bg-inv-4: #707070;
|
||||
|
||||
--theme-border: #ccc;
|
||||
|
||||
--theme-bg-statusbar-inv: blue;
|
||||
}
|
||||
Reference in New Issue
Block a user