Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

EZEE-3296: Added ground-dark tooltip #1571

Merged
merged 4 commits into from
Oct 9, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions src/bundle/Resources/public/scss/core/_custom.tooltip.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,39 @@
font-size: calculateRem(14px);
line-height: calculateRem(15px);
}

&--ground-dark {
.ez-tooltip {
&__inner {
color: $ez-white;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$ibexa-white

background-color: $ibexa-color-ground-dark;
}
}

&.ez-tooltip {
&.bs-tooltip-top .ez-tooltip__arrow {
&::before {
border-top-color: $ibexa-color-ground-dark;
}
}

&.bs-tooltip-right .ez-tooltip__arrow {
&::before {
border-right-color: $ibexa-color-ground-dark;
}
}

&.bs-tooltip-bottom .ez-tooltip__arrow {
&::before {
border-bottom-color: $ibexa-color-ground-dark;
}
}

&.bs-tooltip-left .ez-tooltip__arrow {
&::before {
border-left-color: $ibexa-color-ground-dark;
}
}
}
}
}