Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / profiles / demo_umami / themes / umami / css / components / forms / buttons.css
diff --git a/web/core/profiles/demo_umami/themes/umami/css/components/forms/buttons.css b/web/core/profiles/demo_umami/themes/umami/css/components/forms/buttons.css
new file mode 100644 (file)
index 0000000..d820341
--- /dev/null
@@ -0,0 +1,27 @@
+/**
+ * @file
+ * This file is used to style form buttons generically, with overrides per form
+ */
+.form-actions {
+  display: inline-flex;
+}
+
+.form-actions .button {
+  margin-left: 1em;
+}
+.form-actions .button:first-child {
+  margin-left: 0;
+}
+
+.form-submit {
+  padding: 0.6em 1.25em 0.4em;
+  margin: 0;
+  border: 1px solid #dbdbdb;
+  font-size: 0.875rem;
+  background-color: #fff;
+  color: #000;
+}
+.form-submit:hover,
+.form-submit:focus {
+  padding: calc(0.6em - 2px) calc(1.25em - 2px) calc(0.4em - 2px) calc(1.25em - 2px);
+}