diff --git a/pages/_includes/cards/most-visited-pages.html b/pages/_includes/cards/most-visited-pages.html index 691f35b99..49beea101 100644 --- a/pages/_includes/cards/most-visited-pages.html +++ b/pages/_includes/cards/most-visited-pages.html @@ -4,22 +4,27 @@
| Page name | +Page name | Visitors | Unique page visits | Bounce rate | |||||
|---|---|---|---|---|---|---|---|---|---|
| {{ page.uri }} | -{% include ui/icon.html icon="link" %} | -{{ page.visitors | format_number }} | -{{ page.unique | format_number }} | -{{ page.bounce-rate }} | ++ {{ page.uri }} + {% include ui/icon.html icon="link" %} + | +{{ page.visitors | format_number }} | +{{ page.unique | format_number }} | +{{ page.bounce-rate }} | - {% include ui/sparkline.html data="4,3,6,5,4,5,4,6,7,6,5,7,8,7,8,9,8,9,10" wide=true %} + {% include ui/sparkline.html type="line" data="4,3,6,5,4,5,4,6,7,6,5,7,8,7,8,9,8,9,10" %} | - % include ui/icon.html icon="message-square" %} {{ forloop.index | random_number: 0, 12 }} + {% include ui/icon.html icon="message-square" %} {{ forloop.index | random_number: 0, 12 }} | {% include ui/avatar.html person-id=forloop.index size="sm" %} diff --git a/pages/_includes/ui/sparkline.html b/pages/_includes/ui/sparkline.html index eba2f1506..6e8ce8db1 100644 --- a/pages/_includes/ui/sparkline.html +++ b/pages/_includes/ui/sparkline.html @@ -1,4 +1,4 @@ -{% assign type = include.type %} +{% assign type = include.type | default: 'bar' %} {% assign id = 0 | random_id %} {% assign color = include.color | default: 'blue' %} diff --git a/scss/_tabler-vendors.scss b/scss/_tabler-vendors.scss index 806144495..d613a54a0 100644 --- a/scss/_tabler-vendors.scss +++ b/scss/_tabler-vendors.scss @@ -1,4 +1,4 @@ -@import "vendor/pace"; +@import "vendor/peity"; @import "vendor/selectize"; @import "vendor/jqvmap"; @import "vendor/apexcharts"; diff --git a/scss/ui/_cards.scss b/scss/ui/_cards.scss index 91423d0f7..ec11052df 100644 --- a/scss/ui/_cards.scss +++ b/scss/ui/_cards.scss @@ -190,18 +190,18 @@ } .card-sm>& { - padding: map-get($spacers, 3); + padding: .75rem; } .card-md>& { @include media-breakpoint-up(md) { - padding: map-get($spacers, 5); + padding: 1.5rem; } } .card-lg>& { @include media-breakpoint-up(md) { - padding: map-get($spacers, 6); + padding: 3rem; } } diff --git a/scss/vendor/_pace.scss b/scss/vendor/_pace.scss deleted file mode 100644 index e69de29bb..000000000 diff --git a/scss/vendor/_peity.scss b/scss/vendor/_peity.scss new file mode 100644 index 000000000..f4d9ef0b6 --- /dev/null +++ b/scss/vendor/_peity.scss @@ -0,0 +1,4 @@ +.peity { + stroke-linejoin: round; + stroke-linecap: round; +} \ No newline at end of file |