Skip to content

Commit e7f0b23

Browse files
committed
Tweaked some colours and the tooltip arrow size. Changed the master tooltip z-index, as the previsou fix didn't work in all cases. This results in not being able to use tooltips on pop-overs.
- Legacy-Id: 9451
1 parent 25355f6 commit e7f0b23

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

bootstrap/less/variables.less

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@
301301
@zindex-navbar: 1000;
302302
@zindex-dropdown: 1000;
303303
@zindex-popover: 1060;
304-
@zindex-tooltip: 1070;
304+
@zindex-tooltip: 1035; //1070;
305305
@zindex-navbar-fixed: 1030;
306306
@zindex-modal-background: 1040;
307307
@zindex-modal: 1050;
@@ -525,7 +525,7 @@
525525
//## Define colors for form feedback states and, by default, alerts.
526526

527527
@state-success-text: darken(@brand-success, 70%);
528-
@state-success-bg: lighten(@brand-success, 40%);
528+
@state-success-bg: lighten(desaturate(@brand-success, 20%), 40%);
529529
@state-success-border: darken(spin(@state-success-bg, -10), 5%);
530530

531531
@state-info-text: darken(@brand-info, 70%);
@@ -546,17 +546,17 @@
546546
//##
547547

548548
//** Tooltip max width
549-
@tooltip-max-width: 200px;
549+
@tooltip-max-width: 250px;
550550
//** Tooltip text color
551551
@tooltip-color: @state-info-text;
552552
//** Tooltip background color
553-
@tooltip-bg: @state-info-bg;
553+
@tooltip-bg: darken(saturate(@state-info-bg, 15%), 25%);
554554
@tooltip-opacity: .9;
555555

556556
//** Tooltip arrow width
557-
@tooltip-arrow-width: 5px;
557+
@tooltip-arrow-width: 8px;
558558
//** Tooltip arrow color
559-
@tooltip-arrow-color: darken(@tooltip-bg, 60%);
559+
@tooltip-arrow-color: @tooltip-bg;
560560

561561

562562
//== Popovers

0 commit comments

Comments
 (0)