diff options
author | Dan J Miller <danjm.com@gmail.com> | 2018-02-01 08:27:35 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@users.noreply.github.com> | 2018-02-01 08:27:35 +0800 |
commit | 78bce55858916ba9d3189f76db440768e6ae95b1 (patch) | |
tree | 90188eb367a8f0099405067d0a5f06cf1bf754ef /ui/app/css/itcss/components/newui-sections.scss | |
parent | 971112d413fd30ee1607a0516c1b030976067db8 (diff) | |
download | dexon-wallet-78bce55858916ba9d3189f76db440768e6ae95b1.tar.gz dexon-wallet-78bce55858916ba9d3189f76db440768e6ae95b1.tar.zst dexon-wallet-78bce55858916ba9d3189f76db440768e6ae95b1.zip |
[NewUI] Use tooltip for copy to clipboard helper text on main screen. (#3120)
* Use tooltip for display of helper text in wallet views copy to clipboard feature.
* Use react-tippy in wallet-view.js; center arrow tooltip throughout tooltip text change.
* Remove unnecessary tabIndex attribute from wallet view address element.
Diffstat (limited to 'ui/app/css/itcss/components/newui-sections.scss')
-rw-r--r-- | ui/app/css/itcss/components/newui-sections.scss | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/ui/app/css/itcss/components/newui-sections.scss b/ui/app/css/itcss/components/newui-sections.scss index 1c26882b..37fabf25 100644 --- a/ui/app/css/itcss/components/newui-sections.scss +++ b/ui/app/css/itcss/components/newui-sections.scss @@ -89,6 +89,12 @@ $wallet-view-bg: $alabaster; flex: 0 0 auto; } + &__tooltip { + display: flex; + justify-content: center; + padding: 24px; + } + &__address { border-radius: 3px; background-color: $alto; @@ -96,10 +102,13 @@ $wallet-view-bg: $alabaster; font-size: 14px; line-height: 12px; padding: 4px 12px; - margin: 24px auto; font-weight: 300; cursor: pointer; flex: 0 0 auto; + + &__pressed { + background-color: $manatee, + } } &__sidebar-close { |