diff --git a/pages/_includes/forms/form-elements-1.html b/pages/_includes/forms/form-elements-1.html index 089d5ce5c..673e65f6d 100644 --- a/pages/_includes/forms/form-elements-1.html +++ b/pages/_includes/forms/form-elements-1.html @@ -31,12 +31,21 @@
-
+
+
+
+ + {% include ui/dropdown-menu.html %} +
+ +
diff --git a/pages/_includes/forms/form-elements-2.html b/pages/_includes/forms/form-elements-2.html index 85c9f42b8..21d64a7e4 100644 --- a/pages/_includes/forms/form-elements-2.html +++ b/pages/_includes/forms/form-elements-2.html @@ -26,23 +26,9 @@ {% include ui/form/input-group.html prepend="$" append=".00" %}
-
- -
-
- - {% include ui/dropdown-menu.html %} -
- -
-
-
{% include ui/form/selectize.html key="tags" %} -
diff --git a/pages/_includes/forms/form-elements-3.html b/pages/_includes/forms/form-elements-3.html index c2610a436..43907be98 100644 --- a/pages/_includes/forms/form-elements-3.html +++ b/pages/_includes/forms/form-elements-3.html @@ -4,13 +4,13 @@
- +
Invalid feedback
- +
\ No newline at end of file diff --git a/pages/_includes/forms/form-elements-6.html b/pages/_includes/forms/form-elements-6.html index 2d2cd90c3..fbfaf2e62 100644 --- a/pages/_includes/forms/form-elements-6.html +++ b/pages/_includes/forms/form-elements-6.html @@ -1,8 +1,17 @@ {% include parts/input-datalist.html %} -{% include parts/input-sizes.html %} {% include parts/input-range.html %}
- - {% include ui/progress.html %} + + {% include ui/progress.html class="mb-2" %} + {% include ui/progress.html indeterminate=true color="green" %}
+ + +
+ +
+ {% include ui/button.html color="secondary" block=true icon="brand/github" icon-color="github" text="Login with Github" %} + {% include ui/button.html color="secondary" block=true icon="brand/twitter" icon-color="twitter" text="Login with Twitter" %} +
+
\ No newline at end of file diff --git a/pages/_includes/ui/progress.html b/pages/_includes/ui/progress.html index 7604cecde..1b8afc94b 100644 --- a/pages/_includes/ui/progress.html +++ b/pages/_includes/ui/progress.html @@ -2,7 +2,7 @@ {% assign colors = include.colors | default: 'blue,red,green,yellow,dark' | split: ',' %}
{% if include.indeterminate %} -
+
{% elsif include.values %} {% assign values = include.values | split: ',' %} {% for value in values %} diff --git a/pages/form-elements.html b/pages/form-elements.html index 2328e5be2..ce2ce9182 100644 --- a/pages/form-elements.html +++ b/pages/form-elements.html @@ -5,40 +5,39 @@ menu: forms ---
-
-
-
-

Form elements

-
-
-
-
-
-
{% include forms/form-elements-1.html %}
-
{% include forms/form-elements-2.html %}
-
-
-
-
-
{% include forms/form-elements-3.html %}
-
{% include forms/form-elements-4.html %}
-
-
-
-
-
{% include forms/form-elements-5.html %}
-
{% include forms/form-elements-6.html %}
-
-
-
-
- -
-
+
+
+
+

Form elements

+
+
+
+
+
+
{% include forms/form-elements-1.html %}
+
{% include forms/form-elements-2.html %}
+
+
+
+
+
{% include forms/form-elements-3.html %}
+
{% include forms/form-elements-4.html %}
+
+
+
+
+
{% include forms/form-elements-5.html %}
+
{% include forms/form-elements-6.html %}
+
+
+
+
+ +
+
diff --git a/scss/ui/_buttons.scss b/scss/ui/_buttons.scss index 113a670a9..9c8a362cc 100644 --- a/scss/ui/_buttons.scss +++ b/scss/ui/_buttons.scss @@ -97,8 +97,12 @@ > .btn, > .dropdown { - margin-bottom: .5rem; - margin-right: .5rem; + margin: 0 .5rem .5rem 0; + } + + >.btn-block { + flex: 1; + white-space: nowrap; } }