$tooltip-line-height: 16px; $tooltip-body-height: $tooltip-line-height * 6; // 6 lines high. $tooltip-width: 164px * 3 - 10; // 3 thumbnails wide. @mixin thin-scrollbar { &::-webkit-scrollbar { width: 5px; height: 5px; } &::-webkit-scrollbar-button { width: 0px; height: 0px; } &::-webkit-scrollbar-thumb { background: #999999; border: 0px none #FFFFFF; border-radius: 0px; } &::-webkit-scrollbar-thumb:hover { background: #AAAAAA; } &::-webkit-scrollbar-thumb:active { background: #AAAAAA; } &::-webkit-scrollbar-track { background: #EEEEEE; border: 0px none #ffffff; border-radius: 0px; } &::-webkit-scrollbar-track:hover { background: #EEEEEE; } &::-webkit-scrollbar-track:active { background: #EEEEEE; } &::-webkit-scrollbar-corner { background: transparent; } } .post-tooltip { max-width: $tooltip-width; min-width: $tooltip-width; box-sizing: border-box; font-size: 11px; line-height: $tooltip-line-height; border-color: #767676; .qtip-content { padding: 4px 6px; .post-tooltip-body { @include thin-scrollbar; max-height: $tooltip-body-height; overflow-y: auto; li { margin-right: 0; } } .post-tooltip-footer { .post-tooltip-disable { float: right; margin-top: 2px; } } } &:not(:hover) a { color: #666666; } &.post-tooltip-loading { visibility: hidden; } }