Skip to content

Commit 1e237b3

Browse files
committed
Update for Bootstrap v4
1 parent d532b13 commit 1e237b3

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

bootstrap-v4.0.0-beta/bootstrap-tooltip-custom-class.js renamed to bootstrap-v4/bootstrap-tooltip-custom-class.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
/* ================================================
2-
* bootstrap4-tooltip-custom-class.js v0.0.1
2+
* bootstrap4-tooltip-custom-class.js v1.0.0
33
*
4-
* Extend Bootstrap v4.0.0-beta Tooltip plugin by adding custom classes.
4+
* Extend Bootstrap v4 Tooltip plugin by adding custom classes.
55
* Custom classes can be added by using `customClass` paramater or via `data-custom-class` attribute.
66
* There are 5 predefined custom classes in CSS: .tooltip-primary, .tooltip-success, .tooltip-info, .tooltip-warning, .tooltip-danger.
7+
* Compatible with Bootstrap v4.0.0-beta, v4.0.0 and v4.1.0
78
* ============================================= */
89

910
;(function($) {

bootstrap-v4.0.0-beta/bootstrap-tooltip-custom-class.scss renamed to bootstrap-v4/bootstrap-tooltip-custom-class.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ $tooltip-color: #fff;
2424

2525
//
2626
// Tooltip primary background color
27-
$tooltip-primary-bg: map-get($theme-colors, "primary") !default;
27+
$tooltip-primary-bg: map-get($theme-colors, "primary") !default;
2828
// Tooltip success background color
29-
$tooltip-success-bg: map-get($theme-colors, "success") !default;
29+
$tooltip-success-bg: map-get($theme-colors, "success") !default;
3030
// Tooltip info background color
31-
$tooltip-info-bg: map-get($theme-colors, "info") !default;
31+
$tooltip-info-bg: map-get($theme-colors, "info") !default;
3232
// Tooltip warning background color
33-
$tooltip-warning-bg: map-get($theme-colors, "warning") !default;
33+
$tooltip-warning-bg: map-get($theme-colors, "warning") !default;
3434
// Tooltip danger background color
35-
$tooltip-danger-bg: map-get($theme-colors, "danger") !default;
35+
$tooltip-danger-bg: map-get($theme-colors, "danger") !default;
3636

3737

3838
//== Tooltip Custom Mixin
File renamed without changes.

0 commit comments

Comments
 (0)