mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 13:44:41 +08:00
bc916a2530
Summary: Add docs for new RetinaImg modes Test Plan: Not much to test, except that it looks good! Reviewers: evan Reviewed By: evan Differential Revision: https://phab.nylas.com/D1595
52 lines
973 B
Text
52 lines
973 B
Text
@import "ui-variables";
|
|
|
|
#tooltip-container {
|
|
position: absolute;
|
|
z-index: 999;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
|
|
@tooltipHeight: 156px / 2;
|
|
@wingWidth: 42px / 2;
|
|
|
|
.tooltip-wrap {
|
|
position: absolute;
|
|
display: none;
|
|
// Position and display are set by React
|
|
|
|
background: #fff;
|
|
box-shadow: 0 10px 20px rgba(0,0,0,0.19), inset 0 0 1px rgba(0,0,0,0.5);
|
|
border-radius: @border-radius-base;
|
|
color: #313435;
|
|
|
|
font-weight: @font-weight-normal;
|
|
text-align: center;
|
|
text-transform: capitalize;
|
|
|
|
.tooltip-content {
|
|
padding: 0.5em;
|
|
}
|
|
|
|
.tooltip-pointer {
|
|
position: absolute;
|
|
width: 22.5px;
|
|
height: 10px;
|
|
background: transparent url('images/tooltip/tooltip-bg-pointer@2x.png') no-repeat;
|
|
background-size: 22.5px 10.5px;
|
|
margin-left: -11.2px;
|
|
}
|
|
|
|
&.above {
|
|
.tooltip-pointer {
|
|
transform: rotate(0deg);
|
|
bottom: -9px;
|
|
}
|
|
}
|
|
&.below {
|
|
.tooltip-pointer {
|
|
transform: rotate(180deg);
|
|
top: -9px;
|
|
}
|
|
}
|
|
}
|