From e2a6083e221a78d8b12c8d2587f6b5888cd3954f Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Sun, 7 May 2023 04:31:04 +0000 Subject: [PATCH] fix icons and some styling --- config.html | 2 +- css/form.css | 28 ++++++++++++++++++++++ images/actions/disk/add-cd.svg | 2 +- images/actions/disk/add-disk.svg | 2 +- images/actions/disk/move-active.svg | 2 +- images/actions/disk/resize-active.svg | 2 +- images/actions/instance/config-active.svg | 2 +- images/actions/instance/console-active.svg | 2 +- images/resources/cpu.svg | 2 +- images/resources/disk.svg | 2 +- images/resources/drive.svg | 2 +- images/resources/ram.svg | 2 +- images/resources/swap.svg | 2 +- images/status/loading.svg | 2 +- 14 files changed, 41 insertions(+), 13 deletions(-) diff --git a/config.html b/config.html index 5be20aa..643a531 100644 --- a/config.html +++ b/config.html @@ -32,7 +32,7 @@ Resources
-
+
Disks
diff --git a/css/form.css b/css/form.css index 9762e18..e3bafac 100644 --- a/css/form.css +++ b/css/form.css @@ -12,4 +12,32 @@ .input-grid .last-item { text-align: right; +} + +legend { + display: table; + float: left; + margin: 8px 0; + padding: 0; + width: 100%; + + * { + clear: both; + } +} + +fieldset { + border: 0; + padding: 8px 16px; + margin: 0; + min-width: 0; + background-color: #202020; + box-shadow: 0 2px 5px 0px black; +} + +fieldset > *:last-child { + margin-bottom: 8px; +} + +body:not(:-moz-handler-blocked) fieldset { + display: table-cell; } \ No newline at end of file diff --git a/images/actions/disk/add-cd.svg b/images/actions/disk/add-cd.svg index 90a152d..f6aa518 100644 --- a/images/actions/disk/add-cd.svg +++ b/images/actions/disk/add-cd.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/images/actions/disk/add-disk.svg b/images/actions/disk/add-disk.svg index 2f4edd5..e4e110d 100644 --- a/images/actions/disk/add-disk.svg +++ b/images/actions/disk/add-disk.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/images/actions/disk/move-active.svg b/images/actions/disk/move-active.svg index fdf4ec8..67d87e4 100644 --- a/images/actions/disk/move-active.svg +++ b/images/actions/disk/move-active.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/images/actions/disk/resize-active.svg b/images/actions/disk/resize-active.svg index 8eba0c0..ea72ce2 100644 --- a/images/actions/disk/resize-active.svg +++ b/images/actions/disk/resize-active.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/images/actions/instance/config-active.svg b/images/actions/instance/config-active.svg index 3ce838f..472afaa 100644 --- a/images/actions/instance/config-active.svg +++ b/images/actions/instance/config-active.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/images/actions/instance/console-active.svg b/images/actions/instance/console-active.svg index c26c7af..8050672 100644 --- a/images/actions/instance/console-active.svg +++ b/images/actions/instance/console-active.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/images/resources/cpu.svg b/images/resources/cpu.svg index da3ee00..cd61ab2 100644 --- a/images/resources/cpu.svg +++ b/images/resources/cpu.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/images/resources/disk.svg b/images/resources/disk.svg index 002216b..c3e4366 100644 --- a/images/resources/disk.svg +++ b/images/resources/disk.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/images/resources/drive.svg b/images/resources/drive.svg index 90fbb81..77c1f4f 100644 --- a/images/resources/drive.svg +++ b/images/resources/drive.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/images/resources/ram.svg b/images/resources/ram.svg index 6541398..b6e3167 100644 --- a/images/resources/ram.svg +++ b/images/resources/ram.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/images/resources/swap.svg b/images/resources/swap.svg index 95e005e..9a979b9 100644 --- a/images/resources/swap.svg +++ b/images/resources/swap.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/images/status/loading.svg b/images/status/loading.svg index a4669ad..7a89420 100644 --- a/images/status/loading.svg +++ b/images/status/loading.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file