MyCrypto/common/components/ui/Tooltip.scss
William O'Beirne 371e6e327c Wallet Decrypt Redesign (#677)
* Reorganize files to better match other components.

* Initial UI for wallet buttons.

* Fix leftover rebase conflict.

* Wallet selection, styling, mobile handling.

* Initial work on animations.

* Adjusted animations.

* Adjust wallet unlock forms to be more uniform. Fix view address saying 'unlock'

* Adjust tooltips.

* Fix embedded decrypt components.

* Cover whole sign msg form with decrypt.

* Give deploy contract a better unlock treatment like sign msg.

* Reset decrypt component on hide / show

* Unused var

* Fix tooltip hover.

* Fix hover lift.

* Make spacing better on mobile.

* Back button mobile handling.

* Redesign mobile button icons. Prevent clicking through when clicking on icons.

* TSCheck fixes.

* Attempt to unlock MetaMask onClick, and provide existing flow with notification when unlock fails.

* Get rid of outline.

* Remove decrypt min height. Make view only textarea.

* Add change wallet buttons to deploy contract and sign msg.

* Standardize
2018-01-01 13:46:28 -06:00

37 lines
812 B
SCSS

@import 'common/sass/variables';
@import 'common/sass/mixins';
.Tooltip {
position: absolute;
top: 0;
left: 50%;
width: 220px;
color: #FFF;
font-size: $font-size-xs;
font-family: $font-family-sans-serif;
pointer-events: none;
opacity: 0;
visibility: hidden;
transform: translate(-50%, -100%) translateY(-5px);
transition-property: opacity, transform, visibility;
transition-duration: 100ms, 100ms, 0ms;
transition-delay: 0ms, 0ms, 100ms;
z-index: $zindex-tooltip;
> span {
display: inline-block;
background: rgba(#000, 0.9);
border-radius: 2px;
padding: 4px 8px;
&:after {
position: absolute;
content: '';
bottom: 0;
left: 50%;
transform: translate(-50%, 100%);
@include triangle(8px, rgba(#000, 0.9), down);
}
}
}