Initial token management
Change-Id: I6177b46961b7a0e53b9fa1fa9430a4d5562ae2da
diff --git a/dev/scss/base.scss b/dev/scss/base.scss
index f6dc152..2d71b4d 100644
--- a/dev/scss/base.scss
+++ b/dev/scss/base.scss
@@ -3,6 +3,7 @@
@import "base/flextable";
@import "base/fragment";
@import "base/load";
+@import "base/form";
/**
* Basic global CSS rules for Kalamar
@@ -84,6 +85,10 @@
}
}
+button {
+ cursor: pointer;
+}
+
button[type=submit] {
font-weight: normal;
@include choose-item;
diff --git a/dev/scss/base/form.scss b/dev/scss/base/form.scss
new file mode 100644
index 0000000..b2ae781
--- /dev/null
+++ b/dev/scss/base/form.scss
@@ -0,0 +1,87 @@
+// This class defines form views
+
+.form-table {
+ display: block;
+ padding: 0;
+
+ fieldset {
+ border-width: 0;
+ padding: 0;
+ margin: 0;
+ // margin-left: 5em;
+ }
+
+ fieldset > div {
+ white-space: nowrap;
+ }
+
+ legend {
+ background-color: transparent;
+ margin-left: 0;
+ font-weight: bold;
+ border-radius: $standard-border-radius;
+ }
+
+ label, input[type=radio] {
+ font-size: 80%;
+ }
+
+ label[for] {
+ display: block;
+ text-align: left;
+ }
+
+ label[for], input[type=submit] {
+ margin-top: 2em;
+ }
+
+ input, textarea, button {
+ border-radius: $standard-border-radius;
+ }
+
+ input, textarea {
+ border-color: $ids-grey-2;
+ background-color: $nearly-white;
+ border-style: solid;
+ }
+
+ input, textarea, select {
+ display: inline-block;
+ width: 20%;
+ min-width: 20em;
+ // margin: 0 20pt 0 20pt;
+ padding: $base-padding;
+ }
+
+ input[type=radio] {
+ display: inline;
+ text-aline: right;
+ background-color: red;
+ width: auto;
+ min-width: auto;
+ }
+
+ input[readonly=readonly],textarea[readonly] {
+ background-color: $light-orange; // rgba(0,0,0,0.5);
+ }
+
+ .field-with-error {
+ border-color: $ids-pink-1;
+ }
+
+ input:not([type=radio]), button {
+ height: 3em;
+ }
+
+ input[type=submit], button {
+ display: inline-block;
+ text-align: center;
+ background-color: $middle-green;
+ border-color: $dark-green;
+ }
+
+ label.field-required::after {
+ color: $ids-blue-1;
+ content:'*';
+ }
+}
\ No newline at end of file