diff --git a/src/pages/_docs/avatars.md b/src/pages/_docs/avatars.md index d76c8aab1..9440355e5 100644 --- a/src/pages/_docs/avatars.md +++ b/src/pages/_docs/avatars.md @@ -108,7 +108,7 @@ Change the shape of an avatar with the default Bootstrap image classes. You can {% include ui/avatar.html person-id=18 shape="rounded" %} {% include ui/avatar.html person-id=19 shape="rounded-circle" %} {% include ui/avatar.html person-id=20 shape="rounded-0" %} -{% include ui/avatar.html person-id=21 shape="rounded-lg" %} +{% include ui/avatar.html person-id=21 shape="rounded-3" %} {% endcapture %} {% include example.html code=code centered=true %} diff --git a/src/pages/_docs/badges.md b/src/pages/_docs/badges.md index 028bf82bc..2d6b1f752 100644 --- a/src/pages/_docs/badges.md +++ b/src/pages/_docs/badges.md @@ -12,7 +12,7 @@ The default badges are square and come in the basic set of colors. {% capture code %} {% for color in site.colors %} -{{ color[0] }} +{{ color[1].title }} {% endfor %} {% endcapture %} {% include example.html code=code centered=true %} @@ -47,7 +47,7 @@ You can create a soft colour variant of a corresponding contextual badge variati {% capture code %} {% for color in site.colors %} -{{ color[0] }} +{{ color[1].title }} {% endfor %} {% endcapture %} {% include example.html code=code centered=true %} @@ -59,7 +59,7 @@ Place the badge within an `` element if you want it to perform the function o {% capture code %} {% for color in site.colors %} -{{ color[0] }} +{{ color[1].title }} {% endfor %} {% endcapture %} {% include example.html code=code centered=true %} @@ -77,19 +77,6 @@ Leave the HTML element empty if you want to create badges without any text. Empt {% include example.html code=code centered=true %} -## Badge avatars - -Create the `.badge-avatar` class to add an avatar that will make a badge more personalized. - -{% capture code %} -{% include ui/badge.html person-id=1 %} -{% include ui/badge.html person-id=2 %} -{% include ui/badge.html person-id=3 %} -{% include ui/badge.html person-id=4 %} -{% include ui/badge.html person-id=5 %} -{% endcapture %} -{% include example.html code=code %} - ## Button with badge Badges can be used as part of links or buttons to provide a counter. diff --git a/src/pages/_includes/cards/company-lookup.html b/src/pages/_includes/cards/company-lookup.html index d185c0deb..6607d8c99 100644 --- a/src/pages/_includes/cards/company-lookup.html +++ b/src/pages/_includes/cards/company-lookup.html @@ -6,7 +6,7 @@ style="background-image: url(https://logo.clearbit.com/amazon.com?size=100)">
-
amazon.com
+
amazon.com
diff --git a/src/pages/_includes/cards/icons.html b/src/pages/_includes/cards/icons.html index ad87e8ffe..9dbe18d66 100644 --- a/src/pages/_includes/cards/icons.html +++ b/src/pages/_includes/cards/icons.html @@ -29,7 +29,7 @@ {% for icon in icons limit: limit %} {% include ui/icon.html icon=icon %} -
{{ icon }}
+
{{ icon }}
{% endfor %} {% for icon in (0..20) %} diff --git a/src/pages/_includes/cards/music/tracks-list.html b/src/pages/_includes/cards/music/tracks-list.html index b4377db73..77a5ccd10 100644 --- a/src/pages/_includes/cards/music/tracks-list.html +++ b/src/pages/_includes/cards/music/tracks-list.html @@ -3,7 +3,7 @@ {% for track in site.data.tracks limit: 12 %}
-
+
{{ forloop.index }}
diff --git a/src/pages/_includes/cards/order-statistics.html b/src/pages/_includes/cards/order-statistics.html index 122743fb4..b985c2fb4 100644 --- a/src/pages/_includes/cards/order-statistics.html +++ b/src/pages/_includes/cards/order-statistics.html @@ -16,7 +16,7 @@
{{ item.title }} -
{{ item.subtitle }}
+
{{ item.subtitle }}
{{ forloop.index | random_number: 500, 2000 | intcomma }} orders diff --git a/src/pages/_includes/cards/small-stats-2.html b/src/pages/_includes/cards/small-stats-2.html index 184919e83..d9acc0434 100644 --- a/src/pages/_includes/cards/small-stats-2.html +++ b/src/pages/_includes/cards/small-stats-2.html @@ -16,7 +16,7 @@
{% include ui/icon.html icon=icon %}
-
{{ include.title | default: 'Customers' }}
+
{{ include.title | default: 'Customers' }}

{{ include.count | default: "1,850" }}

{% include ui/trending.html value=include.growth %} diff --git a/src/pages/_includes/ui/progress-description.html b/src/pages/_includes/ui/progress-description.html index 738838377..86f6aabe2 100644 --- a/src/pages/_includes/ui/progress-description.html +++ b/src/pages/_includes/ui/progress-description.html @@ -3,11 +3,11 @@

-
{{ include.label | default: 'Label' }}
+
{{ include.label | default: 'Label' }}
{% if include.description %} -
{{ include.description }}
+
{{ include.description }}
{% endif %} - {{ include.value }}% + {{ include.value }}%
{% include ui/progress.html size=size value=include.value color=color %}
diff --git a/src/scss/_utilities.scss b/src/scss/_utilities.scss index 28c2af946..dfddb0f85 100644 --- a/src/scss/_utilities.scss +++ b/src/scss/_utilities.scss @@ -49,27 +49,6 @@ $utilities: ( grabbing: grabbing, ) ), - "font-size": ( - property: font-size, - class: text, - values: ( - h1: $h1-font-size, - h2: $h2-font-size, - h3: $h3-font-size, - h4: $h4-font-size, - h5: $h5-font-size, - h6: $h6-font-size, - ) - ), - "font-weight": ( - property: font-weight, - values: ( - light: $font-weight-light, - normal: $font-weight-normal, - medium: $font-weight-medium, - bold: $font-weight-bold, - ) - ), "border": ( property: border, values: $border-values diff --git a/src/scss/ui/_badges.scss b/src/scss/ui/_badges.scss index 161f77dfb..c43393c63 100644 --- a/src/scss/ui/_badges.scss +++ b/src/scss/ui/_badges.scss @@ -9,7 +9,6 @@ min-width: ($badge-padding-y * 2 ) + ($badge-font-size / 100% * 1em); font-weight: $headings-font-weight; letter-spacing: .04em; - text-transform: uppercase; @at-root a#{&} { color: $white; @@ -25,13 +24,6 @@ border-radius: $border-radius-pill; } - .avatar { - box-sizing: content-box; - width: 1.25rem; - height: 1.25rem; - margin: 0 .5rem 0 -.5rem; - } - .icon { width: 1em; height: 1em; @@ -47,6 +39,5 @@ } .badge-pill { - border-radius: 100px; - min-width: 1.75em; + border-radius: $border-radius-pill; } \ No newline at end of file