From 736367738f1c32b0ba447be7c2ee2043adb68301 Mon Sep 17 00:00:00 2001 From: s2 Date: Tue, 21 Nov 2017 08:21:39 +0100 Subject: [PATCH] make form nicer --- src/popup/pwgen.css | 24 +++++++++++++++++++++--- src/popup/pwgen.html | 24 ++++++++++++++++++------ 2 files changed, 39 insertions(+), 9 deletions(-) diff --git a/src/popup/pwgen.css b/src/popup/pwgen.css index d5d8392..78c6182 100644 --- a/src/popup/pwgen.css +++ b/src/popup/pwgen.css @@ -1,4 +1,22 @@ body { - cursor: default; - font: caption; - } + margin: 15px; +} + +input[type="number"] { + -moz-appearance: none; + color: var(--in-content-text-color); + border: 1px solid var(--in-content-box-border-color); + -moz-border-top-colors: none !important; + -moz-border-right-colors: none !important; + -moz-border-bottom-colors: none !important; + -moz-border-left-colors: none !important; + border-radius: 2px; + background-color: var(--in-content-box-background); + + font-family: inherit; + font-size: inherit; + padding: 5px 10px; +} +input[type="checkbox"] { + margin-bottom: -7px; +} diff --git a/src/popup/pwgen.html b/src/popup/pwgen.html index 56405db..40f00d6 100644 --- a/src/popup/pwgen.html +++ b/src/popup/pwgen.html @@ -2,30 +2,42 @@ + + + + +
+
- - +
+
- +
+
- +
+
- +
+ +
+
- +
+