583cdc6e0e
This commit crate the Satellite Admin Web UI v1 * Bootstrap the files installing the project template: https://github.com/sveltejs/template * Add the prettier prettier-plugin-svelte NPM packages as dev dependencies. * Add an empty prettierrc.toml. * Transform the project template to use Typescript rather than Javasript. See: https://github.com/sveltejs/template#using-typescript * Replace the default favicon by the Storj logo. * Create components in companion of some Typescript code which allows to generate a simple HTML page based on an opinionated definition of API. * Implement all the Admin API client calls in the format that the UI generator components requires for rendering the UI from them. Change-Id: I58fa586d68dc8998e5d89db169b8e90204f0a96d
68 lines
901 B
CSS
68 lines
901 B
CSS
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);
|
|
}
|
|
|
|
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;
|
|
}
|