diff options
Diffstat (limited to 'atom/packages/aesthetic-ui/styles/tooltips.less')
| -rw-r--r-- | atom/packages/aesthetic-ui/styles/tooltips.less | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/atom/packages/aesthetic-ui/styles/tooltips.less b/atom/packages/aesthetic-ui/styles/tooltips.less new file mode 100644 index 0000000..37550e0 --- /dev/null +++ b/atom/packages/aesthetic-ui/styles/tooltips.less @@ -0,0 +1,50 @@ +@import "ui-variables"; + +.tooltip { + @tip-background-color: #333; + @tip-text-color: #fff; + white-space: nowrap; + + .keystroke { + font-family: Helvetica, Arial, sans-serif; + font-size: 13px; + color: #c0c0c0; + padding-left: 2px; + } + + &.in { opacity: 1; } + + .tooltip-inner { + line-height: 19px; + border-radius: @component-border-radius; + background-color: @tip-background-color; + color: @tip-text-color; + white-space: nowrap; + max-width: none; + } + + &.top .tooltip-arrow { + border-top-color: @tip-background-color; + } + &.top-left .tooltip-arrow { + border-top-color: @tip-background-color; + } + &.top-right .tooltip-arrow { + border-top-color: @tip-background-color; + } + &.right .tooltip-arrow { + border-right-color: @tip-background-color; + } + &.left .tooltip-arrow { + border-left-color: @tip-background-color; + } + &.bottom .tooltip-arrow { + border-bottom-color: @tip-background-color; + } + &.bottom-left .tooltip-arrow { + border-bottom-color: @tip-background-color; + } + &.bottom-right .tooltip-arrow { + border-bottom-color: @tip-background-color; + } +} |