diff --git a/package.json b/package.json
index 1cdc3a3b0b22ac2c35ce28304d4a7a2a651f623c..be93f58d44f30d443507fb5ba0fbf39e67b1fc90 100644
--- a/package.json
+++ b/package.json
@@ -110,7 +110,7 @@
"@fullcalendar/timegrid": "4.3.0",
"apexcharts": "3.11.2",
"autosize": "4.0.2",
- "bootstrap": "twbs/bootstrap#bd27834",
+ "bootstrap": "twbs/bootstrap#e2530d3",
"fullcalendar": "3.10.1",
"imask": "5.2.1",
"jquery": "3.4.1",
diff --git a/pages/_data/selects.yml b/pages/_data/selects.yml
index 9bcc496208a46d29c8428a752960cea8f618afb7..8d5480145334ddc16ec2ca4d35908ac12d3a54f4 100644
--- a/pages/_data/selects.yml
+++ b/pages/_data/selects.yml
@@ -11,6 +11,7 @@ users:
name: Nikola Tesla
tags:
+ max-items: 3
value: dev, test
options:
- dev
@@ -22,16 +23,16 @@ countries:
options:
pl:
name: Poland
- image: img/flags/pl.svg
+ flag: pl
de:
name: Germany
- image: img/flags/de.svg
+ flag: de
cz:
name: Czech Republic
- image: img/flags/cz.svg
+ flag: cz
br:
name: Brazil
- image: img/flags/br.svg
+ flag: br
people:
value: 4
diff --git a/pages/_includes/cards/invoices.html b/pages/_includes/cards/invoices.html
index 33c11bfc8ba95efc06f3e974011e46b96cf82f2e..beaa8bbd501a703d559c6bc29cdd7e99e731c895 100644
--- a/pages/_includes/cards/invoices.html
+++ b/pages/_includes/cards/invoices.html
@@ -1,84 +1,82 @@
-
-
-
-
-
-
Showing 1 to 8 of 16 entries
-
-
-
-
+
+
+
+
+
diff --git a/pages/_includes/parts/buttons-table.html b/pages/_includes/parts/buttons-table.html
index ca77de37788775d89453afd7c7f06be2b16a30ba..068a1c63631fe211f50fbedb256a3d16c6032b3a 100644
--- a/pages/_includes/parts/buttons-table.html
+++ b/pages/_includes/parts/buttons-table.html
@@ -24,8 +24,8 @@
{% endif %}
{% assign text = type[1].title %}
-
- {% include ui/button.html block=true class=class icon=icon icon-only=icon-only text=text %}
+ {% assign color = type[0] %}
+ {% include ui/button.html block=true color=false class=class icon=icon icon-only=icon-only text=text %}
{% endif %}
{% endfor %}
diff --git a/pages/_includes/ui/button.html b/pages/_includes/ui/button.html
index b1d85a2ecd8f81a4a3d9680aec069cdcfe1a040a..15bd5e47913a52221d603f707d15aae68083436b 100644
--- a/pages/_includes/ui/button.html
+++ b/pages/_includes/ui/button.html
@@ -1,6 +1,9 @@
{% removeemptylines %}
{% assign spinner-class = false %}
{% assign color = include.color | default: 'secondary' %}
+{% if include.color == false %}
+{% assign color = null %}
+{% endif %}
{% assign provider = include.provider | default: 'fe' %}
{% if include.text %}{% assign spinner-class="mr-2" %}{% endif %}
{% assign e = include.element | default: 'a' %}
diff --git a/pages/_includes/ui/form/selectize.html b/pages/_includes/ui/form/selectize.html
index b0d28fdabde6797326622edea46cead081f6bf42..84f86b4e3a5f9fd13f1e5ffcaa68383389eca102 100644
--- a/pages/_includes/ui/form/selectize.html
+++ b/pages/_includes/ui/form/selectize.html
@@ -2,32 +2,55 @@
{% assign data = site.data.selects[key] %}
{% assign options = data.options %}
{% append_lib selectize %}
{% capture_global scripts %}
{% endcapture_global %}
diff --git a/pages/_includes/parts/pagination.html b/pages/_includes/ui/pagination.html
similarity index 100%
rename from pages/_includes/parts/pagination.html
rename to pages/_includes/ui/pagination.html
diff --git a/pages/gallery.html b/pages/gallery.html
index d876d332da7659b331c691c1cb82769f88515d6f..a6a9f49951fd3f2e33771305f3e5e84dc8a0f18a 100644
--- a/pages/gallery.html
+++ b/pages/gallery.html
@@ -25,5 +25,5 @@ menu: gallery
- {% include parts/pagination.html class="ml-auto" %}
+ {% include ui/pagination.html class="ml-auto" %}
diff --git a/pages/pagination.html b/pages/pagination.html
index 067ae83a0238793cb900c6e4f1b8dc3a26beb046..313e97c24066d4626f4ac6a8fefc2a66c7febbdd 100644
--- a/pages/pagination.html
+++ b/pages/pagination.html
@@ -4,15 +4,15 @@ title: Pagination
{% card %}
- {% include parts/pagination.html %}
- {% include parts/pagination.html icons=true %}
+ {% include ui/pagination.html %}
+ {% include ui/pagination.html icons=true %}
{% endcard %}
{% card %}
- {% include parts/pagination.html count=0 prev-description="Getting started" next-description="Breadcrumbs" %}
+ {% include ui/pagination.html count=0 prev-description="Getting started" next-description="Breadcrumbs" %}
{% endcard %}
- {% include parts/pagination.html icons=true %}
+ {% include ui/pagination.html icons=true %}
diff --git a/pages/tmp4.html b/pages/tmp4.html
new file mode 100644
index 0000000000000000000000000000000000000000..41d9bd04943f104b374acad53f29b1cb2ce815ac
--- /dev/null
+++ b/pages/tmp4.html
@@ -0,0 +1,24 @@
+---
+tmp: true
+---
+
+
+
+ {% include ui/form/selectize.html key="tags" %}
+
+
+
+
+
+ {% include ui/form/selectize.html key="users" %}
+
+
+
+
+ {% include ui/form/selectize.html key="people" %}
+
+
+
+
+ {% include ui/form/selectize.html key="countries" %}
+
diff --git a/pages/users.html b/pages/users.html
index 7527d66bf158ed9c6203150e458a86c2abc5d2cf..dcd957ff34bb8ca70968c609a9498d14a5fd2c58 100644
--- a/pages/users.html
+++ b/pages/users.html
@@ -52,5 +52,5 @@ menu: base.users
- {% include parts/pagination.html class="ml-auto" %}
+ {% include ui/pagination.html class="ml-auto" %}
diff --git a/scss/_variables.scss b/scss/_variables.scss
index 526d0be6666cb1de108efb58e9dfb4a11c9b0faa..4c70617bbdf23e5994e36ad03e4382eb6a5958b6 100644
--- a/scss/_variables.scss
+++ b/scss/_variables.scss
@@ -18,14 +18,14 @@ $icon-fonts: () !default;
// COLORS
$theme-color-interval: 10% !default;
-$light-black: rgba(0, 0, 0, .4) !default;
-$light-white: rgba(255, 255, 255, .4) !default;
-$min-black: rgba(135, 150, 165, .032) !default;
-$min-white: rgba(255, 255, 255, .032) !default;
-
$light: #f5f7fb !default;
$dark: #354052 !default;
+$light-black: rgba($dark, .4) !default;
+$light-white: rgba($light, .4) !default;
+$min-black: rgba($dark, .02) !default;
+$min-white: rgba($light, .02) !default;
+
$gray-100: $light !default;
$gray-200: mix($light, $dark, 98%) !default;
$gray-300: mix($light, $dark, 94%) !default;
@@ -52,7 +52,7 @@ $black: #000000 !default;
$white: #ffffff !default;
$primary: $blue !default;
-$secondary: $white !default;
+$secondary: $gray-800 !default;
$success: $green !default;
$info: $azure !default;
$warning: $yellow !default;
@@ -102,6 +102,7 @@ $colors: (
) !default;
$avatar-sizes: (
+ "xs": 1.5rem,
"sm": 2rem,
"md": 3rem,
"lg": 4.5rem,
@@ -200,6 +201,7 @@ $badge-font-weight: $font-weight-bold !default;
$badge-empty-size: .5rem !default;
//buttons
+$input-color: $body-color !default;
$input-btn-line-height: (22/15) !default;
$input-btn-font-size: $font-size-base !default;
@@ -216,7 +218,7 @@ $input-height-sm: null !default;
$input-height-lg: null !default;
$btn-padding-x: 1rem !default;
-$btn-font-weight: $font-weight-bold !default;
+$btn-font-weight: 500 !default;
$btn-border-radius: 3px !default;
//cards
diff --git a/scss/ui/_buttons.scss b/scss/ui/_buttons.scss
index 77673c7c22aaab56688a7eab9c5e197e77d2a108..5f513b3b61bd64dda35537cb00cee76e2c97f2f9 100644
--- a/scss/ui/_buttons.scss
+++ b/scss/ui/_buttons.scss
@@ -1,5 +1,5 @@
.btn-secondary {
- @include button-variant($secondary, $border-color, $body-color);
+ @include button-variant($white, $border-color, $secondary);
}
.btn {
diff --git a/scss/vendor/_selectize.scss b/scss/vendor/_selectize.scss
index 8163712eb6ea43f409bde3894aff44e381ac75bd..681f43d0017a40fa982e5cef13f82fbb3626369c 100644
--- a/scss/vendor/_selectize.scss
+++ b/scss/vendor/_selectize.scss
@@ -1,9 +1,20 @@
.selectize-control {
padding: 0;
border: 0;
+
+ &.multi .selectize-input > div {
+ font-size: $h5-font-size;
+ margin: 0 8px 2px 0;
+ padding: 2px 8px;
+ border-radius: $border-radius;
+ background-color: $gray-200;
+ color: inherit;
+ }
}
.selectize-input {
+ display: flex !important;
+ height: 100%;
border: 1px solid $border-color;
padding: $input-padding-y $input-padding-x;
font-size: $input-font-size;