-
{% include cards/user-card.html person-id=5 %}
-
{% include cards/user-card.html person-id=6 %}
-
{% include cards/user-card.html person-id=7 right=true %}
-
{% include cards/user-card.html person-id=8 right=true %}
+
{% include cards/user-card.html person-id=5 %}
+
{% include cards/user-card.html person-id=6 %}
+
{% include cards/user-card.html person-id=7 right=true %}
+
{% include cards/user-card.html person-id=8 right=true %}
-
{% include cards/user-card-big.html person-id=15 %}
-
{% include cards/user-card-big.html person-id=16 %}
-
{% include cards/user-card-big.html person-id=17 %}
-
{% include cards/user-card-big.html person-id=18 %}
+
{% include cards/user-card-big.html person-id=15 %}
+
{% include cards/user-card-big.html person-id=16 %}
+
{% include cards/user-card-big.html person-id=17 %}
+
{% include cards/user-card-big.html person-id=18 %}
-
{% include cards/user-card-bg.html person-id=25 %}
-
{% include cards/user-card-bg.html person-id=26 %}
-
{% include cards/user-card-bg.html person-id=27 blurred=true %}
-
{% include cards/user-card-bg.html person-id=28 blurred=true %}
+
{% include cards/user-card-bg.html person-id=25 %}
+
{% include cards/user-card-bg.html person-id=26 %}
+
{% include cards/user-card-bg.html person-id=27 blurred=true %}
+
{% include cards/user-card-bg.html person-id=28 blurred=true %}
-
- {% include cards/subscribe.html person-id=0 %}
-
-
- {% include cards/subscribe.html person-id=2 %}
-
-
{% include cards/small-stats.html icon="dollar-sign" color="blue" count=132 subtitle="Sales" description="12 waiting payments" %}
-
{% include cards/small-stats.html icon="shopping-bag" color="green" count=78 subtitle="Orders" description="32 shipped" %}
-
{% include cards/small-stats.html icon="users" color="red" count=1352 subtitle="Members" description="163 registered today" %}
-
{% include cards/small-stats.html icon="message-square" color="yellow" count=132 subtitle="Comments" description="16 waitings" %}
+
+ {% include cards/subscribe.html person-id=0 %}
+
+
+ {% include cards/subscribe.html person-id=2 %}
+
+
{% include cards/small-stats.html icon="dollar-sign" color="blue" count=132
+ subtitle="Sales" description="12 waiting payments" %}
+
+
{% include cards/small-stats.html icon="shopping-bag" color="green" count=78
+ subtitle="Orders" description="32 shipped" %}
+
+
{% include cards/small-stats.html icon="users" color="red" count=1352
+ subtitle="Members" description="163 registered today" %}
+
+
{% include cards/small-stats.html icon="message-square" color="yellow" count=132
+ subtitle="Comments" description="16 waitings" %}
+
-
{% include cards/small-stats.html chart-position="left" chart-type="donut" chart-data="56/100" color="blue" count=132 subtitle="Sales" description="12 waiting payments" %}
-
{% include cards/small-stats.html chart-position="left" chart-type="donut" chart-data="56/100" color="green" count=78 subtitle="Orders" description="32 shipped" %}
-
{% include cards/small-stats.html chart-position="left" chart-type="pie" chart-data="56/100" color="red" count=1352 subtitle="Members" description="163 registered today" %}
-
{% include cards/small-stats.html chart-position="left" chart-type="pie" chart-data="56/100" color="yellow" count=132 subtitle="Comments" description="16 waitings" %}
+
{% include cards/small-stats.html chart-position="left" chart-type="pie"
+ chart-data="56/100" color="blue" count=132 subtitle="Sales" description="12 waiting payments" %}
+
+
{% include cards/small-stats.html chart-position="left" chart-type="pie"
+ chart-data="56/100" color="green" count=78 subtitle="Orders" description="32 shipped" %}
+
+
{% include cards/small-stats.html chart-position="left" chart-type="pie"
+ chart-data="56/100" color="red" count=1352 subtitle="Members" description="163 registered today" %}
+
+
{% include cards/small-stats.html chart-position="left" chart-type="pie"
+ chart-data="56/100" color="yellow" count=132 subtitle="Comments" description="16 waitings" %}
+
-
- {% include cards/small-stats.html chart-type="line" chart-data="20,40,30,40,60,80,100" color="yellow" %}
- {% include cards/small-stats.html chart-type="bar" chart-data="20,40,30,40,60,80,70" color="red" icon="heart" %}
- {% include cards/small-stats.html chart-type="bar" chart-data="20,40,20,-10,-30,10,40,60,80,70" color="green" icon="github" %}
- {% include cards/small-stats.html chart-type="donut" chart-data="12/100" chart-label="12%" person-id=10 %}
- {% include cards/small-stats.html chart-type="donut" chart-data="12/100" chart-label-icon="trending-up" person-id=11 %}
- {% include cards/small-stats.html chart-type="pie" chart-data="56/100" person-id=1 %}
- {% include cards/small-stats.html second-icon="trending-up" color="green" person-id=4 %}
- {% include cards/small-stats.html small-icon="trending-down" color="red" person-id=3 %}
- {% include cards/code.html %}
-
-
- {% include cards/small-stats-2.html title="Customers" count="1,950" growth=5.2 color="yellow" %}
- {% include cards/small-stats-2.html title="Orders" count="8256" growth=0 color="green" %}
- {% include cards/small-stats-2.html title="Revenue" count="$58,924" growth=-3.1 color="red" light=true %}
-
-
- {% include cards/project-kanban.html title="Tabler UI" badge="v1.0" value=30 percentage-color="red" limit=4 offset=0 due="72 days" %}
- {% include cards/project-kanban.html title="Tabler React" value=80 offset=20 %}
- {% include cards/user-info.html %}
-
+
+ {% include cards/small-stats.html chart-type="line" chart-data="20,0,40,30,40,30,80,60" %}
+ {% include cards/small-stats.html chart-type="bar" chart-data="20,40,30,10,40,60,80,70" color="red" icon="heart" %}
+ {% include cards/small-stats.html chart-type="bar" chart-data="20,40,20,-10,-30,10,40,60,80,70" color="green"
+ icon="github" %}
+ {% include cards/small-stats.html chart-type="pie" chart-data="12/100" person-id=10 %}
+ {% include cards/small-stats.html chart-type="pie" chart-data="12/100" person-id=11 %}
+ {% include cards/small-stats.html chart-type="pie" chart-data="56/100" person-id=1 %}
+ {% include cards/small-stats.html color="green" person-id=4 %}
+ {% include cards/small-stats.html small-icon="trending-down" color="red" person-id=3 %}
+ {% include cards/code.html %}
+
+
+ {% include cards/small-stats-2.html title="Customers" count="1,950" growth=5.2 color="yellow" %}
+ {% include cards/small-stats-2.html title="Orders" count="8256" growth=0 color="green" %}
+ {% include cards/small-stats-2.html title="Revenue" count="$58,924" growth=-3.1 color="red" light=true %}
+
+
+ {% include cards/project-kanban.html title="Tabler UI" badge="v1.0" value=30 percentage-color="red" limit=4 offset=0
+ due="72 days" %}
+ {% include cards/project-kanban.html title="Tabler React" value=80 offset=20 %}
+ {% include cards/user-info.html %}
+
diff --git a/pages/tmp.html b/pages/tmp.html
index a96a562a8..b6bfc9483 100644
--- a/pages/tmp.html
+++ b/pages/tmp.html
@@ -4,7 +4,10 @@ tmp: true
- {% include cards/small-stats.html chart-position="right" %}
+ {% include cards/small-stats.html chart-type="bar" chart-data="20,40,30,40,60,80,70" color="red" icon="heart" %}
+
+
+ {% include cards/small-stats.html chart-type="bar" chart-data="5,8,2,5,-1,3,5,3" color="blue" icon="heart" %}
{% for chart in site.data.charts %}
diff --git a/scss/_debug.scss b/scss/_debug.scss
index cff7d531f..5d80477c2 100644
--- a/scss/_debug.scss
+++ b/scss/_debug.scss
@@ -1,4 +1,4 @@
-$debug: true;
+$debug: false;
@if $debug {
$colors: ("blue": $blue, "azure": $azure, "indigo": $indigo, "purple": $purple, "pink": $pink, "red": $red, "orange": $orange, "yellow": $yellow, "green": $green, "teal": $teal, "cyan": $cyan);
diff --git a/scss/_utilities.scss b/scss/_utilities.scss
index daa0c7e27..91884ea30 100644
--- a/scss/_utilities.scss
+++ b/scss/_utilities.scss
@@ -25,7 +25,7 @@ $utilities: (
class: leading,
values: (
none: 1,
- tight: 1.25,
+ tight: 1.3333334,
normal: $line-height-base,
loose: 2 !important,
)
diff --git a/scss/_variables.scss b/scss/_variables.scss
index e88435a4a..714a3c084 100644
--- a/scss/_variables.scss
+++ b/scss/_variables.scss
@@ -104,7 +104,7 @@ $colors: (
) !default;
$avatar-sizes: (
- "sm": 1.25rem,
+ "sm": 2rem,
"md": 3rem,
"lg": 4.5rem,
"xl": 6rem
@@ -228,7 +228,7 @@ $card-status-size: $border-width-wide !default;
$card-group-margin: 1.5rem !default;
$card-shadow: rgba($dark, .04) 0 2px 4px 0 !default;
-$card-shadow-hover: rgba($dark, .08) 0 2px 12px 0 !default;
+$card-shadow-hover: rgba($dark, .16) 0 2px 16px 0 !default;
//close
$close-font-weight: 400 !default;
diff --git a/scss/tabler.scss b/scss/tabler.scss
index 66b815617..11a6fd829 100644
--- a/scss/tabler.scss
+++ b/scss/tabler.scss
@@ -60,7 +60,6 @@
@import "vendor/selectize";
@import "vendor/jqvmap";
@import "vendor/apexcharts";
-@import "vendor/sparkline";
@import "vendor/fullcalendar";
@import "utils/border";
diff --git a/scss/ui/_avatars.scss b/scss/ui/_avatars.scss
index b226d8916..88056158a 100644
--- a/scss/ui/_avatars.scss
+++ b/scss/ui/_avatars.scss
@@ -1,11 +1,11 @@
.avatar {
position: relative;
display: inline-block;
- width: 2rem;
- height: 2rem;
+ width: 2.5rem;
+ height: 2.5rem;
+ line-height: 2.5rem;
font-size: .875rem;
font-weight: 400;
- line-height: 2rem;
color: $text-muted;
text-align: center;
text-transform: uppercase;
diff --git a/scss/ui/_charts.scss b/scss/ui/_charts.scss
index 242dc6b89..60ccd662f 100644
--- a/scss/ui/_charts.scss
+++ b/scss/ui/_charts.scss
@@ -17,8 +17,35 @@
//outline: 1px solid red;
}
-.chart-placeholder {
- background-image: linear-gradient(135deg, $border-color 25%, transparent 25%, transparent 50%, $border-color 50%, $border-color 75%, transparent 75%, transparent 100%);
- background-size: 14.14px 14.14px;
+
+.chart-sparkline {
+ position: relative;
+ width: 4rem;
+ height: 2.5rem;
+ line-height: 1;
}
+.chart-sparkline-square {
+ width: 2.5rem;
+}
+
+.chart-sparkline-wide {
+ width: 6rem;
+}
+
+.chart-sparkline-label {
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ font-size: $h6-font-size;
+
+ .icon {
+ width: 1rem;
+ height: 1rem;
+ }
+}
diff --git a/scss/vendor/_sparkline.scss b/scss/vendor/_sparkline.scss
deleted file mode 100644
index e51c76658..000000000
--- a/scss/vendor/_sparkline.scss
+++ /dev/null
@@ -1,31 +0,0 @@
-.sparkline {
- position: relative;
- width: 4rem;
- height: 2.5rem;
- line-height: 1;
-}
-
-.sparkline-square {
- width: 2.5rem;
-}
-
-.sparkline-wide {
- width: 6rem;
-}
-
-.sparkline-label {
- position: absolute;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: $h6-font-size;
-
- .icon {
- width: 1rem;
- height: 1rem;
- }
-}