Skip to content
This repository was archived by the owner on Nov 17, 2025. It is now read-only.

Commit 679262c

Browse files
author
Jayraj Jog
committed
Make font sizes configurable
1 parent 57ef9cb commit 679262c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

lib/angular-tooltips.scss

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ $tooltip-border-radius: 3px !default;
88
$tooltip-fast-transition: .15s !default;
99
$tooltip-slow-transition: .65s !default;
1010
$tooltip-medium-transition: .35s !default;
11+
$tooltip-font-size-small: .8em !default;
12+
$tooltip-font-size-medium: .95em !default;
13+
$tooltip-font-size-large: 1.1em !default;
1114

1215
@mixin opacity-transition($speed) {
1316
animation: animate-tooltip $speed;
@@ -144,16 +147,16 @@ tooltip {
144147

145148
tip-tip {
146149

147-
font-size: .95em;
150+
font-size: $tooltip-font-size-medium;
148151

149152
&._large {
150153

151-
font-size: 1.1em;
154+
font-size: $tooltip-font-size-large;
152155
}
153156

154157
&._small {
155158

156-
font-size: .8em;
159+
font-size: $tooltip-font-size-small;
157160
}
158161
}
159162

0 commit comments

Comments
 (0)