mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-02 20:44:53 +00:00
Improve contrast of Draftail tooltip buttons
This commit is contained in:
parent
5928662b95
commit
6e78b7fe3c
1 changed files with 20 additions and 13 deletions
|
|
@ -8,6 +8,8 @@ $tooltip-chrome-text: $draftail-tooltip-chrome-text;
|
|||
|
||||
$tooltip-z-index: $draftail-tooltip-z-index;
|
||||
|
||||
$tooltip-color-no: #f48880;
|
||||
|
||||
@mixin arrow--top {
|
||||
margin-top: $tooltip-arrow-spacing;
|
||||
transform: translateX(-50%);
|
||||
|
|
@ -68,20 +70,25 @@ $tooltip-z-index: $draftail-tooltip-z-index;
|
|||
&--top-left {
|
||||
@include arrow--top-left;
|
||||
}
|
||||
}
|
||||
|
||||
.Tooltip__link {
|
||||
@include font-smoothing;
|
||||
font-size: 0.875rem;
|
||||
margin-right: $controls-spacing * 4;
|
||||
display: inline-block;
|
||||
&__link {
|
||||
@include font-smoothing;
|
||||
font-size: 0.875rem;
|
||||
margin-right: $controls-spacing * 4;
|
||||
display: inline-block;
|
||||
|
||||
&,
|
||||
&:hover {
|
||||
color: $color-white;
|
||||
&,
|
||||
&:hover {
|
||||
color: $color-white;
|
||||
}
|
||||
}
|
||||
|
||||
&__button {
|
||||
padding: $button-spacing $controls-spacing;
|
||||
|
||||
&.no.button-secondary {
|
||||
color: $tooltip-color-no;
|
||||
border-color: currentColor;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.Tooltip__button {
|
||||
padding: $button-spacing $controls-spacing;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue