1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-21 17:34:25 +04:00

avatars, cards, steps, ui fixes

This commit is contained in:
chomik
2019-04-30 11:10:01 +02:00
parent 1d017c3aa4
commit 31c313873a
26 changed files with 197 additions and 95 deletions

View File

@@ -97,7 +97,12 @@ colors:
hex: '#354051' hex: '#354051'
name: Dark name: Dark
variants: [primary, secondary, success, info, warning, danger, dark] variants:
success: danger
info: danger
warning: danger
danger: danger
socials: [facebook, twitter, google, youtube, vimeo, dribbble, github, instagram, pinterest, vk, rss, flickr, bitbucket] socials: [facebook, twitter, google, youtube, vimeo, dribbble, github, instagram, pinterest, vk, rss, flickr, bitbucket]
months_short: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'] months_short: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
@@ -108,6 +113,6 @@ docs-menu:
- title: Getting started - title: Getting started
pages: [index] pages: [index]
- title: Components - title: Components
pages: [avatars, badges, buttons, carousel, spinners, steps, toasts, tooltips, typography] pages: [alerts, avatars, badges, buttons, carousel, spinners, steps, tabs, toasts, tooltips, typography]

View File

@@ -17,7 +17,7 @@
"css-minify": "cleancss --level 1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/tabler.min.css dist/css/tabler.css", "css-minify": "cleancss --level 1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/tabler.min.css dist/css/tabler.css",
"css-copy": "cross-env-shell shx mkdir -p site/static/dist/ && cross-env-shell shx cp -r dist/css/ site/static/dist/", "css-copy": "cross-env-shell shx mkdir -p site/static/dist/ && cross-env-shell shx cp -r dist/css/ site/static/dist/",
"css-lint": "stylelint \"scss/**/*.scss\" --cache --cache-location .cache/.stylelintcache", "css-lint": "stylelint \"scss/**/*.scss\" --cache --cache-location .cache/.stylelintcache",
"css-main": "npm-run-all css-compile", "css-main": "npm-run-all css-compile css-prefix",
"css-main-build": "npm-run-all css-lint css-compile css-prefix css-minify", "css-main-build": "npm-run-all css-lint css-compile css-prefix css-minify",
"watch": "npm-run-all --parallel watch-*", "watch": "npm-run-all --parallel watch-*",
"watch-css": "nodemon --watch scss/ --ext scss --exec \"npm run css-main\"", "watch-css": "nodemon --watch scss/ --ext scss --exec \"npm run css-main\"",

View File

@@ -1,6 +0,0 @@
---
title: Page 400
layout: error
error: 400
done: true
---

View File

@@ -1,6 +0,0 @@
---
title: Page 401
layout: error
error: 401
done: true
---

View File

@@ -1,6 +0,0 @@
---
title: Page 403
layout: error
error: 403
done: true
---

View File

@@ -1,6 +0,0 @@
---
title: Page 500
layout: error
error: 500
done: true
---

View File

@@ -1,6 +0,0 @@
---
title: Page 503
layout: error
error: 503
done: true
---

42
pages/_docs/alerts.md Normal file
View File

@@ -0,0 +1,42 @@
---
title: Alerts
---
Bootstrap provides an easy way to create predefined alert messages.
## Default markup
{% example html %}
{% for variant in site.variants %}
{% capture text_with_variant %}
This is a {{ variant }} alert — check it out!
{% endcapture %}
{% include ui/alert.html type=variant text=text_with_variant %}
{% endfor %}
{% endexample %}
## Alert Links
Add the `alert-link` class to any links inside the alert box to create "matching colored links":
{% example html %}
{% for variant in site.variants %}
{% capture text_with_variant %}
This is a {{ variant }} alert — <a href="#">check it out!</a>
{% endcapture %}
{% include ui/alert.html type=variant text=text_with_variant %}
{% endfor %}
{% endexample %}
## Closing Alerts
{% example html %}
{% for variant in site.variants %}
{% capture text_with_variant %}
This is a {{ variant }} alert — check it out!
{% endcapture %}
{% include ui/alert.html type=variant text=text_with_variant close=true %}
{% endfor %}
{% endexample %}

View File

@@ -4,7 +4,7 @@ title: Avatars
Create and group avatars of various shapes and sizes with one component. Create and group avatars of various shapes and sizes with one component.
### Default markup ## Default markup
{% example html wrapper=avatar-list %} {% example html wrapper=avatar-list %}
{% include ui/avatar.html person-id=1 %} {% include ui/avatar.html person-id=1 %}
@@ -12,7 +12,7 @@ Create and group avatars of various shapes and sizes with one component.
{% include ui/avatar.html person-id=3 %} {% include ui/avatar.html person-id=3 %}
{% endexample %} {% endexample %}
### Avatar size ## Avatar size
Using Bootstraps typical naming structure, you can create a standard avatar, or scale it up to different sizes based on whats needed. Using Bootstraps typical naming structure, you can create a standard avatar, or scale it up to different sizes based on whats needed.
@@ -24,7 +24,7 @@ Using Bootstraps typical naming structure, you can create a standard avatar,
{% include ui/avatar.html person-id=6 size="sm" %} {% include ui/avatar.html person-id=6 size="sm" %}
{% endexample %} {% endexample %}
### Avatar status ## Avatar status
Add an online or offline status indicator to show user's availability. Add an online or offline status indicator to show user's availability.
@@ -37,7 +37,7 @@ Add an online or offline status indicator to show user's availability.
{% include ui/avatar.html person-id=16 status="gray" %} {% include ui/avatar.html person-id=16 status="gray" %}
{% endexample %} {% endexample %}
### Avatar shape ## Avatar shape
Change the shape of an avatar with the default Bootstrap image classes. Change the shape of an avatar with the default Bootstrap image classes.
@@ -49,7 +49,7 @@ Change the shape of an avatar with the default Bootstrap image classes.
{% include ui/avatar.html person-id=21 shape="rounded-lg" %} {% include ui/avatar.html person-id=21 shape="rounded-lg" %}
{% endexample %} {% endexample %}
### Initials ## Initials
{% example html wrapper=avatar-list %} {% example html wrapper=avatar-list %}
{% include ui/avatar.html placeholder="AB" size="xl" %} {% include ui/avatar.html placeholder="AB" size="xl" %}
@@ -60,7 +60,7 @@ Change the shape of an avatar with the default Bootstrap image classes.
{% endexample %} {% endexample %}
### Avatar initials color ## Avatar initials color
[See more]({% docs_url colors %}) [See more]({% docs_url colors %})
@@ -72,7 +72,7 @@ Change the shape of an avatar with the default Bootstrap image classes.
{% include ui/avatar.html placeholder="IJ" color="purple" %} {% include ui/avatar.html placeholder="IJ" color="purple" %}
{% endexample %} {% endexample %}
### Avatar initials icons ## Avatar initials icons
{% example html wrapper=avatar-list %} {% example html wrapper=avatar-list %}
{% include ui/avatar.html icon="user" %} {% include ui/avatar.html icon="user" %}
@@ -80,7 +80,7 @@ Change the shape of an avatar with the default Bootstrap image classes.
{% include ui/avatar.html icon="user-plus" %} {% include ui/avatar.html icon="user-plus" %}
{% endexample %} {% endexample %}
### Avatars list ## Avatars list
{% example html %} {% example html %}
<div class="avatar-list"> <div class="avatar-list">

View File

@@ -4,7 +4,7 @@ title: Badges
A small count and labeling component. Please read the [official Bootstrap documentation](https://getbootstrap.com/docs/4.3/components/badge/) for a full list of options. A small count and labeling component. Please read the [official Bootstrap documentation](https://getbootstrap.com/docs/4.3/components/badge/) for a full list of options.
### Default markup ## Default markup
{% example html %} {% example html %}
{% for color in site.colors %} {% for color in site.colors %}
@@ -12,7 +12,7 @@ A small count and labeling component. Please read the [official Bootstrap docume
{% endfor %} {% endfor %}
{% endexample %} {% endexample %}
### Pill badges ## Pill badges
{% example html %} {% example html %}
{% for color in site.colors %} {% for color in site.colors %}
@@ -21,7 +21,7 @@ A small count and labeling component. Please read the [official Bootstrap docume
{% endexample %} {% endexample %}
### Soft badges ## Soft badges
{% example html %} {% example html %}
{% for color in site.colors %} {% for color in site.colors %}
@@ -30,7 +30,7 @@ A small count and labeling component. Please read the [official Bootstrap docume
{% endexample %} {% endexample %}
### Links ## Links
{% example html %} {% example html %}
{% for color in site.colors %} {% for color in site.colors %}
@@ -39,7 +39,7 @@ A small count and labeling component. Please read the [official Bootstrap docume
{% endexample %} {% endexample %}
### Empty badges ## Empty badges
{% example html %} {% example html %}
{% for color in site.colors %} {% for color in site.colors %}

View File

@@ -2,7 +2,7 @@
title: Buttons title: Buttons
--- ---
### Default markup ## Default markup
{% example html wrapper=btn-list %} {% example html wrapper=btn-list %}
{% include ui/button.html color="primary" text="Button" %} {% include ui/button.html color="primary" text="Button" %}

View File

@@ -8,7 +8,7 @@ Weve created this admin panel for everyone who wants to create any templates
### Setup environment ## Setup environment
To use our build system and run our documentation locally, you'll need a copy of Tabler's source files and Node. Follow these steps: To use our build system and run our documentation locally, you'll need a copy of Tabler's source files and Node. Follow these steps:
@@ -20,13 +20,13 @@ To use our build system and run our documentation locally, you'll need a copy of
When completed, you'll be able to run the various commands provided from the command line. When completed, you'll be able to run the various commands provided from the command line.
### Build Tabler locally ## Build Tabler locally
1. From the root `/tabler` directory, run `npm run serve` in the command line. 1. From the root `/tabler` directory, run `npm run serve` in the command line.
2. Open [http://localhost:4000](http://localhost:4000) in your browser, and voilà. 2. Open [http://localhost:4000](http://localhost:4000) in your browser, and voilà.
3. Any change in `/src` directory will build application and refresh the page. 3. Any change in `/src` directory will build application and refresh the page.
### Bugs and feature requests ## Bugs and feature requests
Have a bug or a feature request? [Please open a new issue](https://github.com/tabler/tabler/issues/new). Have a bug or a feature request? [Please open a new issue](https://github.com/tabler/tabler/issues/new).

View File

@@ -2,14 +2,14 @@
title: Spinners title: Spinners
--- ---
### Default markup ## Default markup
{% example html %} {% example html %}
{% include ui/spinner.html %} {% include ui/spinner.html %}
{% endexample %} {% endexample %}
### Colors ## Colors
{% example html %} {% example html %}
{% for color in site.colors %} {% for color in site.colors %}
@@ -18,14 +18,14 @@ title: Spinners
{% endfor %} {% endfor %}
{% endexample %} {% endexample %}
### Size ## Size
{% example html %} {% example html %}
{% include ui/spinner.html %} {% include ui/spinner.html %}
{% include ui/spinner.html size="sm" %} {% include ui/spinner.html size="sm" %}
{% endexample %} {% endexample %}
### Growing spinner ## Growing spinner
{% example html %} {% example html %}
{% include ui/spinner.html type="grow" %} {% include ui/spinner.html type="grow" %}
@@ -38,7 +38,7 @@ title: Spinners
{% endfor %} {% endfor %}
{% endexample %} {% endexample %}
### Buttons ## Buttons
{% example html wrapper=btn-list %} {% example html wrapper=btn-list %}
{% include ui/button.html spinner=true text="Button" color="primary" %} {% include ui/button.html spinner=true text="Button" color="primary" %}

View File

@@ -4,32 +4,32 @@ title: Steps
Steps are progress indicators of a sequence of task steps. Steps are progress indicators of a sequence of task steps.
### Default markup ## Default markup
{% example html %} {% example html %}
{% include ui/steps.html show-title=true %} {% include ui/steps.html show-title=true %}
{% endexample %} {% endexample %}
### Tooltips ## Tooltips
{% example html %} {% example html %}
{% include ui/steps.html show-title=true show-tooltip=true %} {% include ui/steps.html show-title=true show-tooltip=true %}
{% endexample %} {% endexample %}
### Color ## Color
{% example html %} {% example html %}
{% include ui/steps.html color="green" show-title=true %} {% include ui/steps.html color="green" show-title=true %}
{% include ui/steps.html color="red" show-title=true %} {% include ui/steps.html color="red" show-title=true %}
{% endexample %} {% endexample %}
### Steps without title ## Steps without title
{% example html %} {% example html %}
{% include ui/steps.html show-tooltip=true %} {% include ui/steps.html show-tooltip=true %}
{% endexample %} {% endexample %}
### Steps with numbers ## Steps with numbers
{% example html %} {% example html %}
{% include ui/steps.html count=5 active=2 numbers=true color="lime" %} {% include ui/steps.html count=5 active=2 numbers=true color="lime" %}

39
pages/_docs/tabs.md Normal file
View File

@@ -0,0 +1,39 @@
---
title: Tabs
---
## Default markup
{% example html columns=1 %}
{% include cards/tabs.html id="ex1" %}
{% endexample %}
## Tabs with icons
{% example html columns=1 %}
{% include cards/tabs.html icons=true settings=true id="ex2" %}
{% endexample %}
## Tabs only with icons
{% example html columns=1 %}
{% include cards/tabs.html icons=true settings=true hide-text=true id="ex3" %}
{% endexample %}
## Tabs with dropdown
{% example html columns=1 %}
{% include cards/tabs.html dropdown=true id="ex4" %}
{% endexample %}
## Full-width tabs
{% example html columns=1 %}
{% include cards/tabs.html justified=true icons=true hide-text=true activity=true id="ex5" %}
{% endexample %}
## Alternate style
{% example html columns=1 %}
{% include cards/tabs.html icons=true alternative=true settings=true id="ex6" %}
{% endexample %}

View File

@@ -4,7 +4,7 @@ title: Toasts
The toast component is like an alert box that is only shown for a couple of seconds when something happens (i.e. when the user clicks on a button, submits a form, etc.). The toast component is like an alert box that is only shown for a couple of seconds when something happens (i.e. when the user clicks on a button, submits a form, etc.).
### Default markup ## Default markup
{% example html %} {% example html %}
{% include ui/toast.html %} {% include ui/toast.html %}

View File

@@ -5,7 +5,7 @@ title: Tooltips
The Tooltip component is small pop-up box that appears when the user moves the mouse pointer over an element: The Tooltip component is small pop-up box that appears when the user moves the mouse pointer over an element:
### Default markup ## Default markup
{% example html wrapper=btn-list %} {% example html wrapper=btn-list %}
<button type="button" class="btn btn-secondary" data-toggle="tooltip" data-placement="top" title="Tooltip on top"> <button type="button" class="btn btn-secondary" data-toggle="tooltip" data-placement="top" title="Tooltip on top">
@@ -22,7 +22,7 @@ The Tooltip component is small pop-up box that appears when the user moves the m
</button> </button>
{% endexample %} {% endexample %}
### Tooltip with HTML ## Tooltip with HTML
{% example html wrapper=btn-list %} {% example html wrapper=btn-list %}
<button type="button" class="btn btn-secondary" data-toggle="tooltip" data-html="true" title="<em>Tooltip</em> <u>with</u> <b>HTML</b>"> <button type="button" class="btn btn-secondary" data-toggle="tooltip" data-html="true" title="<em>Tooltip</em> <u>with</u> <b>HTML</b>">

View File

@@ -3,7 +3,7 @@ title: Typography
description: Documentation and examples for common text utilities to control alignment, wrapping, weight, and more. description: Documentation and examples for common text utilities to control alignment, wrapping, weight, and more.
--- ---
### Text alignment ## Text alignment
Easily realign text to components with text alignment classes. Easily realign text to components with text alignment classes.
@@ -14,7 +14,7 @@ Easily realign text to components with text alignment classes.
<p class="text-justify">Both aligned text on all viewport sizes. Ambitioni dedisse scripsisse iudicaretur. Cras mattis iudicium purus sit amet fermentum. Donec sed odio operae, eu vulputate felis rhoncus.</p> <p class="text-justify">Both aligned text on all viewport sizes. Ambitioni dedisse scripsisse iudicaretur. Cras mattis iudicium purus sit amet fermentum. Donec sed odio operae, eu vulputate felis rhoncus.</p>
{% endexample %} {% endexample %}
### Text transform ## Text transform
Transform text in components with text capitalization classes. Transform text in components with text capitalization classes.
@@ -24,7 +24,7 @@ Transform text in components with text capitalization classes.
<p class="text-capitalize">Capitalized text.</p> <p class="text-capitalize">Capitalized text.</p>
{% endexample %} {% endexample %}
### Letter spacing ## Letter spacing
Utilities for controlling the tracking (letter spacing) of an element. Utilities for controlling the tracking (letter spacing) of an element.
@@ -34,7 +34,7 @@ Utilities for controlling the tracking (letter spacing) of an element.
<p class="tracking-wide">Lorem ipsum dolor sit amet. Wide letter spacing.</p> <p class="tracking-wide">Lorem ipsum dolor sit amet. Wide letter spacing.</p>
{% endexample %} {% endexample %}
### Line Height ## Line Height
Utilities for controlling the leading (line height) of an element. Utilities for controlling the leading (line height) of an element.
@@ -45,7 +45,7 @@ Utilities for controlling the leading (line height) of an element.
<p class="leading-loose">Lorem ipsum dolor sit amet.<br>Dolor sit amet.</p> <p class="leading-loose">Lorem ipsum dolor sit amet.<br>Dolor sit amet.</p>
{% endexample %} {% endexample %}
### Basic elements ## Basic elements
When you can't use the CSS classes you want, or when you just want to directly use HTML tags, use `.text-wrap` as container. It can handle almost any HTML tag. When you can't use the CSS classes you want, or when you just want to directly use HTML tags, use `.text-wrap` as container. It can handle almost any HTML tag.

View File

@@ -1,21 +1,29 @@
{% assign id = 0 | random_id %} {% assign id = 0 | random_id %}
{% if include.id %}
{% assign id = include.id %}
{% endif %}
{% assign icon-class = "mr-2" %}
{% if include.hide-text %}
{% assign icon-class = "" %}
{% endif %}
{% assign reverse = include.reverse | default: false %} {% assign reverse = include.reverse | default: false %}
<div class="card"> <div class="card">
<ul class="nav nav-tabs{% if include.alternative %} nav-tabs-alt{% endif %}{% if reverse %} flex-row-reverse{% endif %}{% if include.justified %} nav-fill{% endif %}" data-toggle="tabs"> <ul class="nav nav-tabs{% if include.alternative %} nav-tabs-alt{% endif %}{% if reverse %} flex-row-reverse{% endif %}{% if include.justified %} nav-fill{% endif %}" data-toggle="tabs">
<li class="nav-item "> <li class="nav-item">
<a href="#tabs-home-{{ id }}" class="nav-link active" data-toggle="tab">{% if include.icons %}{% include ui/icon.html icon="home" class="mr-2" %}{% endif %}Home</a> <a href="#tabs-home-{{ id }}" class="nav-link active" data-toggle="tab">{% if include.icons %}{% include ui/icon.html icon="home" class=icon-class %}{% endif %}{% unless include.hide-text %}Home{% endunless %}</a>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a href="#tabs-profile-{{ id }}" class="nav-link" data-toggle="tab">{% if include.icons %}{% include ui/icon.html icon="user" class="mr-2" %}{% endif %}Profile</a> <a href="#tabs-profile-{{ id }}" class="nav-link" data-toggle="tab">{% if include.icons %}{% include ui/icon.html icon="user" class=icon-class %}{% endif %}{% unless include.hide-text %}Profile{% endunless %}</a>
</li> </li>
{% if include.activity %} {% if include.activity %}
<li class="nav-item"> <li class="nav-item">
<a href="#tabs-activity-{{ id }}" class="nav-link" data-toggle="tab">{% if include.icons %}{% include ui/icon.html icon="activity" class="mr-2" %}{% endif %}Activity</a> <a href="#tabs-activity-{{ id }}" class="nav-link" data-toggle="tab">{% if include.icons %}{% include ui/icon.html icon="activity" class=icon-class %}{% endif %}{% unless include.hide-text %}Activity{% endunless %}</a>
</li> </li>
{% endif %} {% endif %}
{% if include.disabled %} {% if include.disabled %}
<li class="nav-item"> <li class="nav-item">
<a href="#tabs-activity-{{ id }}" class="nav-link disabled" data-toggle="tab">{% if include.icons %}{% include ui/icon.html icon="x" class="mr-2" %}{% endif %}Disabled</a> <a href="#tabs-activity-{{ id }}" class="nav-link disabled" data-toggle="tab">{% if include.icons %}{% include ui/icon.html icon="x" class=icon-class %}{% endif %}{% unless include.hide-text %}Disabled{% endunless %}</a>
</li> </li>
{% endif %} {% endif %}
{% if include.dropdown %} {% if include.dropdown %}

View File

@@ -1,3 +1,4 @@
<div class="alert alert-{{ include.type | default: 'primary'}}" role="alert"> <div class="alert alert-{{ include.type | default: 'primary'}}" role="alert">
{% if include.close %}<a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a>{% endif %}
{% if include.icon %}{% include ui/icon.html icon=include.icon %}{% endif %} {{ include.text | default: "This is a custom alert box!" }} {% if include.icon %}{% include ui/icon.html icon=include.icon %}{% endif %} {{ include.text | default: "This is a custom alert box!" }}
</div> </div>

View File

@@ -29,7 +29,7 @@ page-title: Documentation
<div class="card-body p-lg-5"> <div class="card-body p-lg-5">
<div class="text-wrap"> <div class="text-wrap">
<h2 class="mt-0 mb-4">{{ page.title }}</h2> <h2 class="h1 mt-0 mb-4">{{ page.title }}</h2>
{% if page.description %} {% if page.description %}
<p>{{ page.description }}</p> <p>{{ page.description }}</p>

View File

@@ -1,13 +0,0 @@
---
title: Alerts
page-title: Alerts
done: true
---
{% for variant in site.variants %}
{% capture text_with_variant %}
This is a {{ variant }} alert — check it out!
{% endcapture %}
{% include ui/alert.html type=variant text=text_with_variant %}
{% endfor %}

45
pages/forms.html Normal file
View File

@@ -0,0 +1,45 @@
---
layout: default
---
<div class="row">
<div class="col-lg-3">
<div class="card">
<div class="card-body">
<h3 class="card-title">Add a new Credit Card</h3>
<div class="row row-xs">
<div class="col-12 form-group">
<input class="form-control" type="text" placeholder="Card Number" />
<!-- todo: input mask -->
</div>
<div class="col-4 form-group">
<select class="form-control custom-select">
<option>01</option>
</select>
</div>
<div class="col-4 form-group">
<select class="form-control custom-select">
<option>2020</option>
</select>
</div>
<div class="col-4 form-group">
<input class="form-control" type="text" placeholder="CVV" />
</div>
</div>
{% include ui/button.html text="Save" color="primary" block=true %}
<div class="small text-muted mt-3">
{% include ui/icon.html icon="lock" %}
128-Bit SSL Encryption
</div>
</div>
</div>
</div>
<div class="col-3">2</div>
<div class="col-3">3</div>
<div class="col-3">4</div>
</div>

View File

@@ -26,7 +26,7 @@ $gray-700: #495057 !default;
$gray-800: #343a40 !default; $gray-800: #343a40 !default;
$gray-900: #212529 !default; $gray-900: #212529 !default;
$blue: #467fcf !default; $blue: #2E7CD9 !default;
$azure: #45aaf2 !default; $azure: #45aaf2 !default;
$indigo: #6574cd !default; $indigo: #6574cd !default;
$purple: #a55eea !default; $purple: #a55eea !default;
@@ -110,9 +110,9 @@ $line-height-base: (24 / 15) !default;
$border-radius: 3px !default; $border-radius: 3px !default;
$h1-font-size: 1.875rem !default; $h1-font-size: 2rem !default;
$h2-font-size: 1.625rem !default; $h2-font-size: 1.5rem !default;
$h3-font-size: 1.25rem !default; $h3-font-size: 1.125rem !default;
$h4-font-size: $font-size-base !default; $h4-font-size: $font-size-base !default;
$h5-font-size: .8125rem !default; $h5-font-size: .8125rem !default;
$h6-font-size: .75rem !default; $h6-font-size: .75rem !default;
@@ -154,6 +154,10 @@ $container-max-widths: (
xl: 1200px xl: 1200px
) !default; ) !default;
//close
$close-font-weight: 400 !default;
$close-font-size: 1.5rem !default;
//badges //badges
$badge-font-weight: 600 !default; $badge-font-weight: 600 !default;

View File

@@ -66,7 +66,7 @@
.avatar-list-stacked { .avatar-list-stacked {
.avatar { .avatar {
margin-right: -.5em; margin-right: -.5em !important;
box-shadow: 0 0 0 2px #fff; box-shadow: 0 0 0 2px #fff;
} }
} }

View File

@@ -89,8 +89,9 @@
.card-title { .card-title {
display: block; display: block;
font-size: $h4-font-size; font-size: $h3-font-size;
font-weight: 500; font-weight: 500;
margin: 0 0 1.5rem;
line-height: 1; line-height: 1;
color: inherit; color: inherit;