aboutsummaryrefslogtreecommitdiff
path: root/src/settings/components/ui/Input.scss
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2019-04-29 15:27:23 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2019-04-29 16:06:13 +0900
commitbe900aa25ca205c467dcbbab9c284ef680441996 (patch)
treecaa3b4a799c162f5bd1651d054fb88491a762475 /src/settings/components/ui/Input.scss
parent25111f9de4b7959cdd97b51bfdd2f1c2a7124e48 (diff)
Clean settings components
Diffstat (limited to 'src/settings/components/ui/Input.scss')
-rw-r--r--src/settings/components/ui/Input.scss29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/settings/components/ui/Input.scss b/src/settings/components/ui/Input.scss
new file mode 100644
index 0000000..ad4daf8
--- /dev/null
+++ b/src/settings/components/ui/Input.scss
@@ -0,0 +1,29 @@
+.settings-ui-input {
+ page-break-inside: avoid;
+
+ * {
+ page-break-inside: avoid;
+ }
+
+ label {
+ font-weight: bold;
+ min-width: 14rem;
+ display: inline-block;
+ }
+
+ input[type='text'] {
+ padding: 4px;
+ width: 8rem;
+ }
+
+ input.input-crror,
+ textarea.input-error {
+ box-shadow: 0 0 2px red;
+ }
+
+ &-error {
+ font-weight: bold;
+ color: red;
+ min-height: 1.5em;
+ }
+}