Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1041 from nogalpaulina/apply-material-style-to-to…
Browse files Browse the repository at this point in the history
…oltips

Make tooltips more readable by applying contrasting background
  • Loading branch information
nogalpaulina authored Jan 25, 2022
2 parents 52c5dce + 5b7ab75 commit fb8fcf8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 18 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ It is those war files that are being versioned.

## Next

+ Make tooltips more readable by applying contrasting background
+ Include lastName to be passed into myuw-login event listener
+ Updates `myuw-profile` to v.1.6.7
+ Updates `myuw-profile` to v.1.6.6
+ Remove additional startFade so that the skeleton content fades out on hiding.
+ Make tooltip text more accessible by adding contrasting background to it.
+ Show toast when layout reset fails.

## 21.0.2 - 2021-11-22
Expand Down
25 changes: 8 additions & 17 deletions components/css/buckyless/md-generated.less
Original file line number Diff line number Diff line change
Expand Up @@ -174,26 +174,17 @@ md-menu-content.top-bar-menu-content {
}

md-tooltip {
&.widget-action-tooltip {
max-width: 250px;
background: #fff;
white-space: normal;
height: auto;
line-height: 18px;
font-size: 12px;
max-width: 250px;
background-color: rgb(97,97,97);
color: rgba(255,255,255,0.87);
font-size: 12px !important;
@media (max-width: @xs) {
padding: 4px 8px;

@media (max-width: @xs) {
line-height: 20px;
padding: 4px 8px;
}
}
}

&.top-bar-tooltip {
.md-content {
background: #fff;
}
}
md-tooltip.widget-action-tooltip {
margin-top: 0px !important;
}

// Adjust z-index of tooltips
Expand Down

0 comments on commit fb8fcf8

Please sign in to comment.